Changeset 713

Show
Ignore:
Timestamp:
09/03/05 15:02:33 (8 years ago)
Author:
aprilp
Message:

Typos, small changes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/wifidog/classes/Network.php

    r708 r713  
    218218        } 
    219219         
    220         /** Retreives the network name  
    221          * @return A string */ 
     220        /** 
     221     * Retrieves the network name  
     222         * @return A string 
     223     */ 
    222224        public function getName() 
    223225        { 
     
    227229        /** Set the network's name 
    228230         * @param $value The new value  
    229          * @return true on success, false on failure */ 
     231         * @return true on success, false on failure 
     232     */ 
    230233        function setName($value) 
    231234        { 
     
    421424        public function getSplashOnlyNodesAllowed() 
    422425        { 
    423                 ($this->mRow['allow_splash_only_nodes']=='t')?$retval=true:$retval=false; 
    424                 return $retval; 
     426                return (($this->mRow['allow_splash_only_nodes']=='t') ? true : false); 
    425427        } 
    426428 
     
    445447        public function getCustomPortalRedirectAllowed() 
    446448        { 
    447                 ($this->mRow['allow_custom_portal_redirect']=='t')?$retval=true:$retval=false; 
    448                 return $retval; 
     449                return (($this->mRow['allow_custom_portal_redirect']=='t') ? true : false); 
    449450        } 
    450451