diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2012-12-14 23:22:55 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2012-12-14 23:22:55 +0100 |
commit | 4ee9d394222e2546f02cc2795b352f3fecc1889e (patch) | |
tree | 4f52f0cba3d89ed81bfe511eaebf4bcbb6ef1bfd /settings/users.php | |
parent | 4acb2f70e16b4510577b7344de5c7b6fd1bca035 (diff) | |
download | nextcloud-server-4ee9d394222e2546f02cc2795b352f3fecc1889e.tar.gz nextcloud-server-4ee9d394222e2546f02cc2795b352f3fecc1889e.zip |
change storage space 'none' to 'Unlimited' and capitalize Default
Diffstat (limited to 'settings/users.php')
-rw-r--r-- | settings/users.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/users.php b/settings/users.php index 93a259f1cd8..2fd10f1d6ec 100644 --- a/settings/users.php +++ b/settings/users.php @@ -33,7 +33,7 @@ foreach($accessibleusers as $i) { $users[] = array( "name" => $i, "groups" => join( ", ", /*array_intersect(*/OC_Group::getUserGroups($i)/*, OC_SubAdmin::getSubAdminsGroups(OC_User::getUser()))*/), - 'quota'=>OC_Preferences::getValue($i, 'files', 'quota', 'default'), + 'quota'=>OC_Preferences::getValue($i, 'files', 'quota', 'Default'), 'subadmin'=>implode(', ', OC_SubAdmin::getSubAdminsGroups($i))); } @@ -41,13 +41,13 @@ foreach( $accessiblegroups as $i ) { // Do some more work here soon $groups[] = array( "name" => $i ); } -$quotaPreset=OC_Appconfig::getValue('files', 'quota_preset', 'default,none,1 GB, 5 GB, 10 GB'); +$quotaPreset=OC_Appconfig::getValue('files', 'quota_preset', 'Default, Unlimited, 1 GB, 5 GB, 10 GB'); $quotaPreset=explode(',', $quotaPreset); foreach($quotaPreset as &$preset) { $preset=trim($preset); } -$defaultQuota=OC_Appconfig::getValue('files', 'default_quota', 'none'); +$defaultQuota=OC_Appconfig::getValue('files', 'default_quota', 'Unlimited'); $tmpl = new OC_Template( "settings", "users", "user" ); $tmpl->assign( "users", $users ); |