Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6befe85656 | ||
|
|
27f8c8b438 | ||
|
|
fc0c796b68 |
@@ -55,7 +55,7 @@ if ($page == 'domains' || $page == 'overview') {
|
||||
$syshostname = "AND `d`.`id` <> " . Settings::Get('system.hostname_id');
|
||||
}
|
||||
$result_stmt = Database::prepare("
|
||||
SELECT `d`.*, `c`.`loginname`, `c`.`name`, `c`.`firstname`, `c`.`company`, `c`.`standardsubdomain`, `ad`.`id` AS `aliasdomainid`, `ad`.`domain` AS `aliasdomain`
|
||||
SELECT `d`.*, `c`.`loginname`, `c`.`deactivated`, `c`.`name`, `c`.`firstname`, `c`.`company`, `c`.`standardsubdomain`, `ad`.`id` AS `aliasdomainid`, `ad`.`domain` AS `aliasdomain`
|
||||
FROM `" . TABLE_PANEL_DOMAINS . "` `d`
|
||||
LEFT JOIN `" . TABLE_PANEL_CUSTOMERS . "` `c` USING(`customerid`)
|
||||
LEFT JOIN `" . TABLE_PANEL_DOMAINS . "` `ad` ON `d`.`aliasdomain`=`ad`.`id`
|
||||
|
||||
@@ -244,6 +244,11 @@ if ($page == '' || $page == 'overview') {
|
||||
}
|
||||
}
|
||||
|
||||
// dummy to avoid unknown variables
|
||||
$language_options = null;
|
||||
$gender_options = null;
|
||||
$hosting_plans = null;
|
||||
|
||||
$plans_add_data = include_once dirname(__FILE__) . '/lib/formfields/admin/plans/formfield.plans_add.php';
|
||||
$cust_add_data = include_once dirname(__FILE__) . '/lib/formfields/admin/customer/formfield.customer_add.php';
|
||||
// unset unneeded stuff
|
||||
@@ -462,7 +467,31 @@ if ($page == '' || $page == 'overview') {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// dummy to avoid unknown variables
|
||||
$result['loginname'] = null;
|
||||
$result['documentroot'] = null;
|
||||
$result['standardsubdomain'] = null;
|
||||
$result['deactivated'] = null;
|
||||
$language_options = null;
|
||||
$result['firstname'] = null;
|
||||
$gender_options = null;
|
||||
$result['company'] = null;
|
||||
$result['street'] = null;
|
||||
$result['zipcode'] = null;
|
||||
$result['city'] = null;
|
||||
$result['phone'] = null;
|
||||
$result['fax'] = null;
|
||||
$result['email'] = null;
|
||||
$result['customernumber'] = null;
|
||||
$result['custom_notes'] = null;
|
||||
$result['custom_notes_show'] = null;
|
||||
$hosting_plans = null;
|
||||
$result['imap'] = null;
|
||||
$result['pop3'] = null;
|
||||
$admin_select_cnt = null;
|
||||
$admin_select = null;
|
||||
|
||||
$plans_edit_data = include_once dirname(__FILE__) . '/lib/formfields/admin/plans/formfield.plans_edit.php';
|
||||
$cust_edit_data = include_once dirname(__FILE__) . '/lib/formfields/admin/customer/formfield.customer_edit.php';
|
||||
// unset unneeded stuff
|
||||
|
||||
@@ -687,7 +687,7 @@ opcache.interned_strings_buffer'),
|
||||
('panel', 'password_special_char_required', '0'),
|
||||
('panel', 'password_special_char', '!?<>§$%+#=@'),
|
||||
('panel', 'customer_hide_options', ''),
|
||||
('panel', 'version', '0.9.39.3'),
|
||||
('panel', 'version', '0.9.39.4'),
|
||||
('panel', 'db_version', '201802130');
|
||||
|
||||
|
||||
|
||||
@@ -3927,3 +3927,9 @@ if (isFroxlorVersion('0.9.39.2')) {
|
||||
showUpdateStep("Updating from 0.9.39.2 to 0.9.39.3", false);
|
||||
updateToVersion('0.9.39.3');
|
||||
}
|
||||
|
||||
if (isFroxlorVersion('0.9.39.3')) {
|
||||
|
||||
showUpdateStep("Updating from 0.9.39.3 to 0.9.39.4", false);
|
||||
updateToVersion('0.9.39.4');
|
||||
}
|
||||
|
||||
@@ -133,7 +133,7 @@ return array(
|
||||
'rows' => 12
|
||||
),
|
||||
'notryfiles' => array(
|
||||
'visible' => (Settings('system.webserver') == 'nginx' && $userinfo['change_serversettings'] == '1'),
|
||||
'visible' => (Settings::Get('system.webserver') == 'nginx' && $userinfo['change_serversettings'] == '1'),
|
||||
'label' => $lng['admin']['notryfiles']['title'],
|
||||
'desc' => $lng['admin']['notryfiles']['description'],
|
||||
'type' => 'checkbox',
|
||||
|
||||
@@ -163,7 +163,7 @@ return array(
|
||||
)
|
||||
),
|
||||
'notryfiles' => array(
|
||||
'visible' => (Settings('system.webserver') == 'nginx' && $userinfo['change_serversettings'] == '1'),
|
||||
'visible' => (Settings::Get('system.webserver') == 'nginx' && $userinfo['change_serversettings'] == '1'),
|
||||
'label' => $lng['admin']['notryfiles']['title'],
|
||||
'desc' => $lng['admin']['notryfiles']['description'],
|
||||
'type' => 'checkbox',
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
// Main version variable
|
||||
$version = '0.9.39.3';
|
||||
$version = '0.9.39.4';
|
||||
|
||||
// Database version (YYYYMMDDC where C is a daily counter)
|
||||
$dbversion = '201802130';
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<if $row['termination_css'] != ''>
|
||||
<tr class="{$row['termination_css']}">
|
||||
<tr class="{$row['termination_css']}<if $row['deactivated'] == 1> disabled</if>">
|
||||
</if>
|
||||
<if $row['termination_css'] == ''>
|
||||
<tr>
|
||||
<tr <if $row['deactivated'] == 1>class="disabled"</if>>
|
||||
</if>
|
||||
<td>{$row['domain']}
|
||||
<if (isset($row['standardsubdomain']) && $row['standardsubdomain'] == $row['id'])>
|
||||
|
||||
2
templates/Sparkle/admin/plans/plans.tpl
vendored
2
templates/Sparkle/admin/plans/plans.tpl
vendored
@@ -26,7 +26,7 @@ $header
|
||||
<tr>
|
||||
<th>{$lng['admin']['plans']['name']} {$arrowcode['p.name']}</th>
|
||||
<th>{$lng['admin']['plans']['description']} {$arrowcode['p.description']}</th>
|
||||
<th>{$lng['admin']['admin']} {$arrowcode['a.adminname']}</th>
|
||||
<th>{$lng['admin']['admin']} {$arrowcode['adminname']}</th>
|
||||
<th>{$lng['admin']['plans']['last_update']} {$arrowcode['p.ts']}</th>
|
||||
<th>{$lng['panel']['options']}</th>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user