Changeset 1330
- 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
| r1329 |
r1330 |
|
| 5 | 5 | - ENGINE: |
|---|
| 6 | 6 | * Fixed #940: Logfile problem |
|---|
| | 7 | - GUI: |
|---|
| | 8 | * Fixed #1461: Call-time pass-by-reference has been deprecated |
|---|
| 7 | 9 | |
|---|
| 8 | 10 | 2008-08-17 Daniel Andreca |
|---|
| r1327 |
r1330 |
|
| 164 | 164 | if (isset($_POST['uaction']) && $_POST['uaction'] === 'send_circular') { |
|---|
| 165 | 165 | if (check_user_data($tpl)) { |
|---|
| 166 | | send_reseller_message(&$sql); |
|---|
| | 166 | send_reseller_message($sql); |
|---|
| 167 | 167 | unset($_POST['uaction']); |
|---|
| 168 | 168 | gen_page_data($tpl, $sql); |
|---|
| r1327 |
r1330 |
|
| 300 | 300 | gen_admin_menu($tpl, Config::get('ADMIN_TEMPLATE_PATH') . '/menu_statistics.tpl'); |
|---|
| 301 | 301 | |
|---|
| 302 | | generate_page (&$tpl); |
|---|
| | 302 | generate_page ($tpl); |
|---|
| 303 | 303 | |
|---|
| 304 | 304 | $tpl->assign( |
|---|
| r1327 |
r1330 |
|
| 112 | 112 | ) |
|---|
| 113 | 113 | ); |
|---|
| 114 | | |
|---|
| 115 | | gen_def_language($tpl, $sql, Config::get('USER_INITIAL_LANG')); |
|---|
| | 114 | $language=Config::get('USER_INITIAL_LANG'); |
|---|
| | 115 | gen_def_language($tpl, $sql, $language); |
|---|
| 116 | 116 | |
|---|
| 117 | 117 | if (Config::get('LOSTPASSWORD')) { |
|---|
| r1327 |
r1330 |
|
| 43 | 43 | ); |
|---|
| 44 | 44 | |
|---|
| 45 | | function padd_group(&$tpl, &$sql, &$dmn_id) { |
|---|
| | 45 | function padd_group(&$tpl, &$sql, $dmn_id) { |
|---|
| 46 | 46 | if (isset($_POST['uaction']) && $_POST['uaction'] == 'add_group') { |
|---|
| 47 | 47 | // we have user to add |
|---|
| r1327 |
r1330 |
|
| 43 | 43 | ); |
|---|
| 44 | 44 | |
|---|
| 45 | | function padd_user(&$tpl, &$sql, &$dmn_id) { |
|---|
| | 45 | function padd_user(&$tpl, &$sql, $dmn_id) { |
|---|
| 46 | 46 | if (isset($_POST['uaction']) && $_POST['uaction'] == 'add_user') { |
|---|
| 47 | 47 | // we have user to add |
|---|
| r1294 |
r1330 |
|
| 526 | 526 | $sql_db_max = $data['domain_sqld_limit']; |
|---|
| 527 | 527 | |
|---|
| 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); |
|---|
| 529 | 529 | |
|---|
| 530 | 530 | $sql_user_max = $data['domain_sqlu_limit']; |
|---|
| r1327 |
r1330 |
|
| 107 | 107 | if (isset($_POST['uaction']) && $_POST['uaction'] === 'send_circular') { |
|---|
| 108 | 108 | if (check_user_data($tpl)) { |
|---|
| 109 | | send_reseller_users_message (&$sql, $_SESSION['user_id']); |
|---|
| | 109 | send_reseller_users_message ($sql, $_SESSION['user_id']); |
|---|
| 110 | 110 | unset($_POST['uaction']); |
|---|
| 111 | 111 | gen_page_data($tpl, $sql); |
|---|
| … | … | |
| 202 | 202 | ); |
|---|
| 203 | 203 | |
|---|
| 204 | | send_circular(&$tpl, &$sql); |
|---|
| | 204 | send_circular($tpl, $sql); |
|---|
| 205 | 205 | |
|---|
| 206 | 206 | gen_page_data ($tpl, $sql); |
|---|
|
Download in other formats:
#########################################################################
# Site footer - Contents are automatically inserted after main Trac HTML
?>