Changeset 1144

Show
Ignore:
Timestamp:
05/10/08 17:57:20 (5 months ago)
Author:
rats
Message:

Added patch by Thomas Wacker

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/gui/client/add_alias.php

    r1020 r1144  
    153153 
    154154function add_domain_alias(&$sql, &$err_al) { 
    155         global $cr_user_id, $alias_name, $domain_ip, $forward, $mount_point
     155        global $cr_user_id, $alias_name, $domain_ip, $forward, $mount_point, $cfg
    156156 
    157157 
  • trunk/gui/client/edit_alias.php

    r1014 r1144  
    164164                        $ed_error = tr("Incorrect forward syntax"); 
    165165                } 
    166                 if (!preg_match("/\/$/", $forward)) { 
    167                 $forward .= "/"; 
     166                if (!preg_match("/\/$/", $forward_url)) { 
     167                $forward_url .= "/"; 
    168168            } 
    169169        } 
  • trunk/gui/include/admin-functions.php

    r1113 r1144  
    22252225 
    22262226function gen_purchase_haf(&$tpl, &$sql, $user_id, $encode = false) { 
     2227        global $cfg; 
     2228         
    22272229        $query = <<<SQL_QUERY 
    22282230                        SELECT 
  • trunk/gui/include/class.pTemplate.php

    r780 r1144  
    171171                        $this->dtpl_data[$t_name] = $t_value; 
    172172 
    173                         $this->dtpl_data[strtoupper($t_name)] = @$value; 
     173                        $this->dtpl_data[strtoupper($t_name)] = @$t_value; 
    174174 
    175175                        $this->dtpl_options[$t_name] = ''; 
  • trunk/gui/include/input-checks.php

    r1073 r1144  
    150150        } 
    151151 
    152         if (!empty($permitted) && preg_match($pemitted, $password)) { 
     152        if (!empty($permitted) && preg_match($permitted, $password)) { 
    153153                return false; 
    154154        } 
  • trunk/gui/include/reseller-functions.php

    r1020 r1144  
    729729                return false; 
    730730        } 
    731  
    732         return false; 
    733731} //End of check_ruser_data() 
    734732 
     
    15501548                        $name = $ulname; 
    15511549                } else { 
    1552                         $name = $uname
     1550                        $name = $uemail
    15531551                } 
    15541552                $to = $uemail; 
     
    16311629                        $from_name = $ulname; 
    16321630                } else { 
    1633                         $from_name = $uname
     1631                        $from_name = $uemail
    16341632                } 
    16351633                $from = $uemail; 
  • trunk/gui/reseller/ahp.php

    r1014 r1144  
    258258                return false; 
    259259        } 
    260  
    261         return TRUE; 
    262260} // End of check_data_correction() 
    263261 
  • trunk/gui/reseller/ehp.php

    r1014 r1144  
    310310                return false; 
    311311        } 
    312  
    313         return TRUE; 
    314312} // End of check_data_iscorrect() 
    315313