From 30344b0dce137c7b8cfc8b774d21f0d5a6ad2add Mon Sep 17 00:00:00 2001 From: "Florian Aders (EleRas)" Date: Sat, 18 Jun 2011 19:52:47 +0200 Subject: [PATCH] Forgot to add settings, fixes #814 Signed-off-by: Florian Aders (EleRas) --- actions/admin/settings/220.quota.php | 60 ++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 actions/admin/settings/220.quota.php diff --git a/actions/admin/settings/220.quota.php b/actions/admin/settings/220.quota.php new file mode 100644 index 00000000..f29e1a00 --- /dev/null +++ b/actions/admin/settings/220.quota.php @@ -0,0 +1,60 @@ + (2011-) + * @license GPLv2 http://files.froxlor.org/misc/COPYING.txt + * @package Settings + * + */ + +return array( + 'groups' => array( + 'diskquota' => array( + 'title' => $lng['diskquota'], + 'fields' => array( + 'diskquota_enabled' => array( + 'label' => $lng['serversettings']['diskquota_enabled'], + 'settinggroup' => 'system', + 'varname' => 'diskquota_enabled', + 'type' => 'bool', + 'default' => false, + 'save_method' => 'storeSettingField', + 'overview_option' => true + ), + 'diskquota_repquota_path' => array( + 'label' => $lng['serversettings']['diskquota_repquota_path']['description'], + 'settinggroup' => 'system', + 'varname' => 'diskquota_repquota_path', + 'type' => 'string', + 'default' => '/usr/sbin/repquota', + 'save_method' => 'storeSettingField', + ), + 'diskquota_quotatool_path' => array( + 'label' => $lng['serversettings']['diskquota_quotatool_path']['description'], + 'settinggroup' => 'system', + 'varname' => 'diskquota_quotatool_path', + 'type' => 'string', + 'default' => '/usr/bin/quotatool', + 'save_method' => 'storeSettingField', + ), + 'diskquota_customer_partition' => array( + 'label' => $lng['serversettings']['diskquota_customer_partition']['description'], + 'settinggroup' => 'system', + 'varname' => 'diskquota_customer_partition', + 'type' => 'string', + 'default' => '/dev/root', + 'save_method' => 'storeSettingField', + ), + ), + ), + ), + ); + +?>