Completed
Pull Request — master (#7600)
by John
89:48 queued 69:43
created
settings/templates/users/part.userlist.php 1 patch
Spacing   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -1,17 +1,17 @@  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;?>
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
 block discarded – undo
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
 block discarded – undo
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>
Please login to merge, or discard this patch.