diff options
author | Robin Appelman <icewind@owncloud.com> | 2012-02-24 21:19:23 +0100 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2012-02-24 23:54:38 +0100 |
commit | 0d3181b6d1fc8b2af1b222cae29fff89a0754797 (patch) | |
tree | aed1512de7083139aff4fd1f4cc0da5df544e942 /settings/users.php | |
parent | 4230e217af16b400cf6eba26c2333ee4ea1f884c (diff) | |
download | nextcloud-server-0d3181b6d1fc8b2af1b222cae29fff89a0754797.tar.gz nextcloud-server-0d3181b6d1fc8b2af1b222cae29fff89a0754797.zip |
add configure option for default quota
Diffstat (limited to 'settings/users.php')
-rw-r--r-- | settings/users.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/settings/users.php b/settings/users.php index 1ae75752115..96515a90ce4 100644 --- a/settings/users.php +++ b/settings/users.php @@ -31,10 +31,13 @@ foreach($quotaPreset as &$preset){ $preset=trim($preset); } +$defaultQuota=OC_Appconfig::getValue('files','default_quota','none'); + $tmpl = new OC_Template( "settings", "users", "user" ); $tmpl->assign( "users", $users ); $tmpl->assign( "groups", $groups ); $tmpl->assign( 'quota_preset', $quotaPreset); +$tmpl->assign( 'default_quota', $defaultQuota); $tmpl->printPage(); ?> |