@@ -1,17 +1,17 @@ discard block |
||
| 1 | 1 | <form class="newUserMenu" id="newuser" autocomplete="off"> |
| 2 | - <table id="userlist" class="grid" data-groups="<?php p($_['allGroups']);?>"> |
|
| 2 | + <table id="userlist" class="grid" data-groups="<?php p($_['allGroups']); ?>"> |
|
| 3 | 3 | <thead> |
| 4 | 4 | <tr> |
| 5 | 5 | <th id="headerAvatar" scope="col"></th> |
| 6 | 6 | <th id="headerName" scope="col"><?php p($l->t('Username'))?></th> |
| 7 | - <th id="headerDisplayName" scope="col"><?php p($l->t( 'Full name' )); ?></th> |
|
| 8 | - <th id="headerPassword" scope="col"><?php p($l->t( 'Password' )); ?></th> |
|
| 9 | - <th class="mailAddress" scope="col"><?php p($l->t( 'Email' )); ?></th> |
|
| 10 | - <th id="headerGroups" scope="col"><?php p($l->t( 'Groups' )); ?></th> |
|
| 11 | - <?php if(is_array($_['subadmins']) || $_['subadmins']): ?> |
|
| 7 | + <th id="headerDisplayName" scope="col"><?php p($l->t('Full name')); ?></th> |
|
| 8 | + <th id="headerPassword" scope="col"><?php p($l->t('Password')); ?></th> |
|
| 9 | + <th class="mailAddress" scope="col"><?php p($l->t('Email')); ?></th> |
|
| 10 | + <th id="headerGroups" scope="col"><?php p($l->t('Groups')); ?></th> |
|
| 11 | + <?php if (is_array($_['subadmins']) || $_['subadmins']): ?> |
|
| 12 | 12 | <th id="headerSubAdmins" scope="col"><?php p($l->t('Group admin for')); ?></th> |
| 13 | - <?php endif;?> |
|
| 14 | - <?php if((bool)$_['recoveryAdminEnabled']): ?> |
|
| 13 | + <?php endif; ?> |
|
| 14 | + <?php if ((bool) $_['recoveryAdminEnabled']): ?> |
|
| 15 | 15 | <th id="recoveryPassword" scope="col"><?php p($l->t('Recovery password')); ?></th> |
| 16 | 16 | <?php endif; ?> |
| 17 | 17 | <th id="headerQuota" scope="col"><?php p($l->t('Quota')); ?></th> |
@@ -48,10 +48,10 @@ discard block |
||
| 48 | 48 | <span class="icon-triangle-s"></span> |
| 49 | 49 | </div> |
| 50 | 50 | </td> |
| 51 | - <?php if(is_array($_['subadmins']) || $_['subadmins']): ?> |
|
| 51 | + <?php if (is_array($_['subadmins']) || $_['subadmins']): ?> |
|
| 52 | 52 | <td></td> |
| 53 | - <?php endif;?> |
|
| 54 | - <?php if((bool)$_['recoveryAdminEnabled']): ?> |
|
| 53 | + <?php endif; ?> |
|
| 54 | + <?php if ((bool) $_['recoveryAdminEnabled']): ?> |
|
| 55 | 55 | <td class="recoveryPassword"> |
| 56 | 56 | <input id="recoveryPassword" |
| 57 | 57 | type="password" |
@@ -89,29 +89,29 @@ discard block |
||
| 89 | 89 | <td class="groups"><div class="groupsListContainer multiselect button" |
| 90 | 90 | ><span class="title groupsList"></span><span class="icon-triangle-s"></span></div> |
| 91 | 91 | </td> |
| 92 | - <?php if(is_array($_['subadmins']) || $_['subadmins']): ?> |
|
| 92 | + <?php if (is_array($_['subadmins']) || $_['subadmins']): ?> |
|
| 93 | 93 | <td class="subadmins"><div class="groupsListContainer multiselect button" |
| 94 | 94 | ><span class="title groupsList"></span><span class="icon-triangle-s"></span></div> |
| 95 | 95 | </td> |
| 96 | - <?php endif;?> |
|
| 97 | - <?php if((bool)$_['recoveryAdminEnabled']): ?> |
|
| 96 | + <?php endif; ?> |
|
| 97 | + <?php if ((bool) $_['recoveryAdminEnabled']): ?> |
|
| 98 | 98 | <td></td> |
| 99 | 99 | <?php endif; ?> |
| 100 | 100 | <td class="quota"> |
| 101 | 101 | <select class="quota-user" data-inputtitle="<?php p($l->t('Please enter storage quota (ex: "512 MB" or "12 GB")')) ?>"> |
| 102 | 102 | <option value='default'> |
| 103 | - <?php p($l->t('Default'));?> |
|
| 103 | + <?php p($l->t('Default')); ?> |
|
| 104 | 104 | </option> |
| 105 | 105 | <option value='none'> |
| 106 | - <?php p($l->t('Unlimited'));?> |
|
| 106 | + <?php p($l->t('Unlimited')); ?> |
|
| 107 | 107 | </option> |
| 108 | - <?php foreach($_['quota_preset'] as $preset):?> |
|
| 109 | - <option value='<?php p($preset);?>'> |
|
| 110 | - <?php p($preset);?> |
|
| 108 | + <?php foreach ($_['quota_preset'] as $preset):?> |
|
| 109 | + <option value='<?php p($preset); ?>'> |
|
| 110 | + <?php p($preset); ?> |
|
| 111 | 111 | </option> |
| 112 | - <?php endforeach;?> |
|
| 112 | + <?php endforeach; ?> |
|
| 113 | 113 | <option value='other' data-new> |
| 114 | - <?php p($l->t('Other'));?> ... |
|
| 114 | + <?php p($l->t('Other')); ?> ... |
|
| 115 | 115 | </option> |
| 116 | 116 | </select> |
| 117 | 117 | <progress class="quota-user-progress" value="" max="100"></progress> |
@@ -48,21 +48,30 @@ |
||
| 48 | 48 | <div id="userlistoptions"> |
| 49 | 49 | <p> |
| 50 | 50 | <input type="checkbox" name="StorageLocation" value="StorageLocation" id="CheckboxStorageLocation" |
| 51 | - class="checkbox" <?php if ($_['show_storage_location'] === 'true') print_unescaped('checked="checked"'); ?> /> |
|
| 51 | + class="checkbox" <?php if ($_['show_storage_location'] === 'true') { |
|
| 52 | + print_unescaped('checked="checked"'); |
|
| 53 | +} |
|
| 54 | +?> /> |
|
| 52 | 55 | <label for="CheckboxStorageLocation"> |
| 53 | 56 | <?php p($l->t('Show storage location')) ?> |
| 54 | 57 | </label> |
| 55 | 58 | </p> |
| 56 | 59 | <p> |
| 57 | 60 | <input type="checkbox" name="UserBackend" value="UserBackend" id="CheckboxUserBackend" |
| 58 | - class="checkbox" <?php if ($_['show_backend'] === 'true') print_unescaped('checked="checked"'); ?> /> |
|
| 61 | + class="checkbox" <?php if ($_['show_backend'] === 'true') { |
|
| 62 | + print_unescaped('checked="checked"'); |
|
| 63 | +} |
|
| 64 | +?> /> |
|
| 59 | 65 | <label for="CheckboxUserBackend"> |
| 60 | 66 | <?php p($l->t('Show user backend')) ?> |
| 61 | 67 | </label> |
| 62 | 68 | </p> |
| 63 | 69 | <p> |
| 64 | 70 | <input type="checkbox" name="LastLogin" value="LastLogin" id="CheckboxLastLogin" |
| 65 | - class="checkbox" <?php if ($_['show_last_login'] === 'true') print_unescaped('checked="checked"'); ?> /> |
|
| 71 | + class="checkbox" <?php if ($_['show_last_login'] === 'true') { |
|
| 72 | + print_unescaped('checked="checked"'); |
|
| 73 | +} |
|
| 74 | +?> /> |
|
| 66 | 75 | <label for="CheckboxLastLogin"> |
| 67 | 76 | <?php p($l->t('Show last login')) ?> |
| 68 | 77 | </label> |