diff options
-rw-r--r-- | settings/templates/users/part.setquota.php | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/settings/templates/users/part.setquota.php b/settings/templates/users/part.setquota.php index b58df49998a..18ec3fa8cd7 100644 --- a/settings/templates/users/part.setquota.php +++ b/settings/templates/users/part.setquota.php @@ -25,10 +25,11 @@ </select> <?php endif; ?> <?php if((bool) !$_['isAdmin']): ?> - <select class='quota' disabled="disabled"> - <option selected="selected"> - <?php p($_['default_quota']);?> - </option> - </select> + : + <?php if( $_['default_quota'] === 'none'): ?> + <?php p($l->t('Unlimited'));?> + <?php else: ?> + <?php p($_['default_quota']);?> + <?php endif; ?> <?php endif; ?> </div> |