@@ -243,6 +243,11 @@ return array(
|
||||
array ('label' => $lng['panel']['yes'], 'value' => '1')
|
||||
)
|
||||
),
|
||||
'backup_allowed' => array(
|
||||
'label' => $lng['backup_allowed'].'?',
|
||||
'type' => 'yesno',
|
||||
'yesno_var' => $backup_allowed
|
||||
),
|
||||
'number_of_aps_packages' => array(
|
||||
'label' => $lng['aps']['numberofapspackages'],
|
||||
'type' => 'textul',
|
||||
|
||||
@@ -252,6 +252,11 @@ return array(
|
||||
),
|
||||
'value' => array($result['perlenabled'])
|
||||
),
|
||||
'backup_allowed' => array(
|
||||
'label' => $lng['backup_allowed'].'?',
|
||||
'type' => 'yesno',
|
||||
'yesno_var' => $backup_allowed
|
||||
),
|
||||
'number_of_aps_packages' => array(
|
||||
'label' => $lng['aps']['numberofapspackages'],
|
||||
'type' => 'textul',
|
||||
|
||||
@@ -34,7 +34,8 @@ function inserttask($type, $param1 = '', $param2 = '', $param3 = '', $param4 = '
|
||||
if($type == '1'
|
||||
|| $type == '3'
|
||||
|| $type == '4'
|
||||
|| $type == '5')
|
||||
|| $type == '5'
|
||||
|| $type == '9')
|
||||
{
|
||||
$db->query('DELETE FROM `' . TABLE_PANEL_TASKS . '` WHERE `type`="' . $type . '"');
|
||||
$db->query('INSERT INTO `' . TABLE_PANEL_TASKS . '` (`type`) VALUES ("' . $type . '")');
|
||||
|
||||
@@ -129,6 +129,11 @@ return array (
|
||||
'url' => 'customer_extras.php?page=htaccess',
|
||||
'label' => $lng['menue']['extras']['pathoptions'],
|
||||
),
|
||||
array (
|
||||
'url' => 'customer_extras.php?page=backup',
|
||||
'label' => $lng['backup'],
|
||||
'required_resources' => 'backup_allowed',
|
||||
),
|
||||
),
|
||||
),
|
||||
'traffic' => array (
|
||||
|
||||
Reference in New Issue
Block a user