began to 'clean up' for future releases (APS, Autoresponder and Backup)

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2013-12-04 18:32:46 +01:00
parent 47b1675dea
commit 2800ca05a1
29 changed files with 81 additions and 5821 deletions

View File

@@ -177,14 +177,6 @@ return array(
'mandatory' => true,
'ul_field' => $email_quota_ul
),
'email_autoresponder' => array(
'label' => $lng['customer']['autoresponder'],
'type' => 'textul',
'value' => 0,
'maxlength' => 9,
'visible' => ($settings['autoresponder']['autoresponder_active'] == '1' ? true : false),
'ul_field' => $email_autoresponder_ul
),
'ftps' => array(
'label' => $lng['customer']['ftps'],
'type' => 'textul',
@@ -215,23 +207,6 @@ return array(
'maxlength' => 9,
'mandatory' => true,
'ul_field' => $mysqls_ul
),
'can_manage_aps_packages' => array(
'label' => $lng['aps']['canmanagepackages'],
'type' => 'checkbox',
'values' => array(
array ('label' => $lng['panel']['yes'], 'value' => '1')
),
'value' => array(),
'visible' => ($settings['aps']['aps_active'] == '1' ? true : false)
),
'number_of_aps_packages' => array(
'label' => $lng['aps']['numberofapspackages'],
'type' => 'textul',
'value' => 0,
'maxlength' => 9,
'visible' => ($settings['aps']['aps_active'] == '1' ? true : false),
'ul_field' => $number_of_aps_packages_ul
)
)
)

View File

@@ -191,14 +191,6 @@ return array(
'mandatory' => true,
'ul_field' => $email_quota_ul
),
'email_autoresponder' => array(
'label' => $lng['customer']['autoresponder'],
'type' => 'textul',
'value' => $result['email_autoresponder'],
'maxlength' => 9,
'visible' => ($settings['autoresponder']['autoresponder_active'] == '1' ? true : false),
'ul_field' => $email_autoresponder_ul
),
'ftps' => array(
'label' => $lng['customer']['ftps'],
'type' => 'textul',
@@ -229,23 +221,6 @@ return array(
'maxlength' => 9,
'mandatory' => true,
'ul_field' => $mysqls_ul
),
'can_manage_aps_packages' => array(
'label' => $lng['aps']['canmanagepackages'],
'type' => 'checkbox',
'values' => array(
array ('label' => $lng['panel']['yes'], 'value' => '1')
),
'value' => array($result['can_manage_aps_packages']),
'visible' => ($settings['aps']['aps_active'] == '1' ? true : false)
),
'number_of_aps_packages' => array(
'label' => $lng['aps']['numberofapspackages'],
'type' => 'textul',
'value' => $result['aps_packages'],
'maxlength' => 9,
'visible' => ($settings['aps']['aps_active'] == '1' ? true : false),
'ul_field' => $number_of_aps_packages_ul
)
)
)

View File

@@ -1,36 +0,0 @@
<?php
/**
* This file is part of the Froxlor project.
* Copyright (c) 2010 the Froxlor Team (see authors).
*
* For the full copyright and license information, please view the COPYING
* file that was distributed with this source code. You can also view the
* COPYING file online at http://files.froxlor.org/misc/COPYING.txt
*
* @copyright (c) the authors
* @author Froxlor team <team@froxlor.org> (2010-)
* @license GPLv2 http://files.froxlor.org/misc/COPYING.txt
* @package Formfields
*/
return array(
'backup' => array(
'title' => $lng['backup'],
'image' => 'icons/backup.png',
'sections' => array(
'section_a' => array(
'title' => $lng['backup'],
'image' => 'icons/backup.png',
'fields' => array(
'path' => array(
'label' => $lng['extras']['backup_create'],
'desc' => sprintf($lng['extras']['backup_info'], $userinfo['loginname']).'<br />'.($settings['system']['backup_bigfile'] == 1 ? $lng['extras']['backup_info_big'] : $lng['extras']['backup_info_sep']).'<br />'.($settings['system']['backup_count'] == 1 ? $lng['extras']['backup_count_info'] : ''),
'type' => 'yesno',
'yesno_var' => $backup_enabled
)
)
)
)
)
);