Changeset 13816

Show
Ignore:
Timestamp:
12/10/07 16:28:18 (9 months ago)
Author:
bergie
Message:

Started working on a filesystem/VCS-to-Midgard synchronization helper

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/midcom.core/midcom/db/host.php

    r3766 r13816  
    4949    } 
    5050 
    51  
    52  
     51    function get_label() 
     52    { 
     53        if (   $this->port == 0 
     54            || $this->port == 80) 
     55        { 
     56            return "{$this->name}{$this->prefix}"; 
     57        } 
     58        return "{$this->name}:{$this->port}{$this->prefix}"; 
     59    } 
    5360 
    5461}