Completed
Pull Request — master (#7600)
by John
28:20
created
settings/templates/users/part.userlist.php 1 patch
Spacing   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@  discard block
 block discarded – undo
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;?>
13
+			<?php endif; ?>
14 14
 				<th id="headerQuota" scope="col"><?php p($l->t('Quota')); ?></th>
15 15
 				<th class="storageLocation" scope="col"><?php p($l->t('Storage location')); ?></th>
16 16
 				<th class="userBackend" scope="col"><?php p($l->t('User backend')); ?></th>
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 						<span class="icon-triangle-s"></span>
46 46
 					</div>
47 47
 				</th>
48
-			<?php if((bool)$_['recoveryAdminEnabled']): ?>
48
+			<?php if ((bool) $_['recoveryAdminEnabled']): ?>
49 49
 				<th class="recoveryPassword">
50 50
 					<input id="recoveryPassword"
51 51
 						   type="password"
@@ -54,9 +54,9 @@  discard block
 block discarded – undo
54 54
 						   alt="<?php p($l->t('Enter the recovery password in order to recover the users files during password change'))?>"/>
55 55
 				</th>
56 56
 			<?php endif; ?>
57
-			<?php if(is_array($_['subadmins']) || $_['subadmins']): ?>
57
+			<?php if (is_array($_['subadmins']) || $_['subadmins']): ?>
58 58
 				<th id="headerSubAdmins" scope="col"></th>
59
-			<?php endif;?>
59
+			<?php endif; ?>
60 60
 				<th class="storageLocation" scope="col"></th>
61 61
 				<th class="userBackend" scope="col"></th>
62 62
 				<th class="lastLogin" scope="col"></th>
@@ -85,26 +85,26 @@  discard block
 block discarded – undo
85 85
 				<td class="groups"><div class="groupsListContainer multiselect button"
86 86
 					><span class="title groupsList"></span><span class="icon-triangle-s"></span></div>
87 87
 				</td>
88
-			<?php if(is_array($_['subadmins']) || $_['subadmins']): ?>
88
+			<?php if (is_array($_['subadmins']) || $_['subadmins']): ?>
89 89
 				<td class="subadmins"><div class="groupsListContainer multiselect button"
90 90
 					><span class="title groupsList"></span><span class="icon-triangle-s"></span></div>
91 91
 				</td>
92
-			<?php endif;?>
92
+			<?php endif; ?>
93 93
 				<td class="quota">
94 94
 					<select class="quota-user" data-inputtitle="<?php p($l->t('Please enter storage quota (ex: "512 MB" or "12 GB")')) ?>">
95 95
 						<option	value='default'>
96
-							<?php p($l->t('Default'));?>
96
+							<?php p($l->t('Default')); ?>
97 97
 						</option>
98 98
 						<option value='none'>
99
-							<?php p($l->t('Unlimited'));?>
99
+							<?php p($l->t('Unlimited')); ?>
100 100
 						</option>
101
-						<?php foreach($_['quota_preset'] as $preset):?>
102
-							<option value='<?php p($preset);?>'>
103
-								<?php p($preset);?>
101
+						<?php foreach ($_['quota_preset'] as $preset):?>
102
+							<option value='<?php p($preset); ?>'>
103
+								<?php p($preset); ?>
104 104
 							</option>
105
-						<?php endforeach;?>
105
+						<?php endforeach; ?>
106 106
 						<option value='other' data-new>
107
-							<?php p($l->t('Other'));?> ...
107
+							<?php p($l->t('Other')); ?> ...
108 108
 						</option>
109 109
 					</select>
110 110
 					<progress class="quota-user-progress" value="" max="100"></progress>
Please login to merge, or discard this patch.