Changeset 1330

Show
Ignore:
Timestamp:
08/18/08 14:31:53 (4 months ago)
Author:
scitech
Message:

Fixed #1461: Call-time pass-by-reference has been deprecated

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/CHANGELOG

    r1329 r1330  
    55        - ENGINE: 
    66                * Fixed #940: Logfile problem 
     7        - GUI: 
     8                * Fixed #1461: Call-time pass-by-reference has been deprecated 
    79 
    8102008-08-17 Daniel Andreca 
  • trunk/gui/admin/circular.php

    r1327 r1330  
    164164        if (isset($_POST['uaction']) && $_POST['uaction'] === 'send_circular') { 
    165165                if (check_user_data($tpl)) { 
    166                         send_reseller_message(&$sql); 
     166                        send_reseller_message($sql); 
    167167                        unset($_POST['uaction']); 
    168168                        gen_page_data($tpl, $sql); 
  • trunk/gui/admin/reseller_statistics.php

    r1327 r1330  
    300300gen_admin_menu($tpl, Config::get('ADMIN_TEMPLATE_PATH') . '/menu_statistics.tpl'); 
    301301 
    302 generate_page (&$tpl); 
     302generate_page ($tpl); 
    303303 
    304304$tpl->assign( 
  • trunk/gui/admin/settings.php

    r1327 r1330  
    112112                ) 
    113113        ); 
    114  
    115 gen_def_language($tpl, $sql, Config::get('USER_INITIAL_LANG')); 
     114$language=Config::get('USER_INITIAL_LANG'); 
     115gen_def_language($tpl, $sql, $language); 
    116116 
    117117if (Config::get('LOSTPASSWORD')) { 
  • trunk/gui/client/protected_group_add.php

    r1327 r1330  
    4343        ); 
    4444 
    45 function padd_group(&$tpl, &$sql, &$dmn_id) { 
     45function padd_group(&$tpl, &$sql, $dmn_id) { 
    4646        if (isset($_POST['uaction']) && $_POST['uaction'] == 'add_group') { 
    4747                // we have user to add 
  • trunk/gui/client/protected_user_add.php

    r1327 r1330  
    4343        ); 
    4444 
    45 function padd_user(&$tpl, &$sql, &$dmn_id) { 
     45function padd_user(&$tpl, &$sql, $dmn_id) { 
    4646        if (isset($_POST['uaction']) && $_POST['uaction'] == 'add_user') { 
    4747                // we have user to add 
  • trunk/gui/include/reseller-functions.php

    r1294 r1330  
    526526        $sql_db_max = $data['domain_sqld_limit']; 
    527527 
    528         $sql_user_current = get_domain_running_sqlu_acc_cnt(&$sql, $user_id); 
     528        $sql_user_current = get_domain_running_sqlu_acc_cnt($sql, $user_id); 
    529529 
    530530        $sql_user_max = $data['domain_sqlu_limit']; 
  • trunk/gui/reseller/circular.php

    r1327 r1330  
    107107        if (isset($_POST['uaction']) && $_POST['uaction'] === 'send_circular') { 
    108108                if (check_user_data($tpl)) { 
    109                         send_reseller_users_message (&$sql, $_SESSION['user_id']); 
     109                        send_reseller_users_message ($sql, $_SESSION['user_id']); 
    110110                        unset($_POST['uaction']); 
    111111                        gen_page_data($tpl, $sql); 
     
    202202                ); 
    203203 
    204 send_circular(&$tpl, &$sql); 
     204send_circular($tpl, $sql); 
    205205 
    206206gen_page_data ($tpl, $sql);