diff options
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);?>"> |