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/templates | |
parent | 4230e217af16b400cf6eba26c2333ee4ea1f884c (diff) | |
download | nextcloud-server-0d3181b6d1fc8b2af1b222cae29fff89a0754797.tar.gz nextcloud-server-0d3181b6d1fc8b2af1b222cae29fff89a0754797.zip |
add configure option for default quota
Diffstat (limited to 'settings/templates')
-rw-r--r-- | settings/templates/users.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/settings/templates/users.php b/settings/templates/users.php index 4d75b7a06db..a23a5bafe61 100644 --- a/settings/templates/users.php +++ b/settings/templates/users.php @@ -21,6 +21,21 @@ foreach($_["groups"] as $group) { </select> <input type="submit" value="<?php echo $l->t('Create')?>" /> </form> + <div class="quota"> + <span><?php echo $l->t('Default Quota');?>:</span> + <select class='quota'> + <?php foreach($_['quota_preset'] as $preset):?> + <?php if($preset!='default'):?> + <option <?php if($_['default_quota']==$preset) echo 'selected="selected"';?> value='<?php echo $preset;?>'><?php echo $preset;?></option> + <?php endif;?> + <?php endforeach;?> + <?php if(array_search($_['default_quota'],$_['quota_preset'])===false):?> + <option selected="selected" value='<?php echo $_['default_quota'];?>'><?php echo $_['default_quota'];?></option> + <?php endif;?> + <option value='other'><?php echo $l->t('Other');?>...</option> + </select> + <input class='quota-other'></input> + </div> </div> <table data-groups="<?php echo implode(', ',$allGroups);?>"> |