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', + ), + ), + ), + ), + ); + +?>