Completed
Pull Request — master (#7600)
by John
16:39
created
settings/templates/users/part.userlist.php 1 patch
Spacing   +17 added lines, -17 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"
@@ -79,26 +79,26 @@  discard block
 block discarded – undo
79 79
 				<td class="groups"><div class="groupsListContainer multiselect button"
80 80
 					><span class="title groupsList"></span><span class="icon-triangle-s"></span></div>
81 81
 				</td>
82
-			<?php if(is_array($_['subadmins']) || $_['subadmins']): ?>
82
+			<?php if (is_array($_['subadmins']) || $_['subadmins']): ?>
83 83
 				<td class="subadmins"><div class="groupsListContainer multiselect button"
84 84
 					><span class="title groupsList"></span><span class="icon-triangle-s"></span></div>
85 85
 				</td>
86
-			<?php endif;?>
86
+			<?php endif; ?>
87 87
 				<td class="quota">
88 88
 					<select class="quota-user" data-inputtitle="<?php p($l->t('Please enter storage quota (ex: "512 MB" or "12 GB")')) ?>">
89 89
 						<option	value='default'>
90
-							<?php p($l->t('Default'));?>
90
+							<?php p($l->t('Default')); ?>
91 91
 						</option>
92 92
 						<option value='none'>
93
-							<?php p($l->t('Unlimited'));?>
93
+							<?php p($l->t('Unlimited')); ?>
94 94
 						</option>
95
-						<?php foreach($_['quota_preset'] as $preset):?>
96
-							<option value='<?php p($preset);?>'>
97
-								<?php p($preset);?>
95
+						<?php foreach ($_['quota_preset'] as $preset):?>
96
+							<option value='<?php p($preset); ?>'>
97
+								<?php p($preset); ?>
98 98
 							</option>
99
-						<?php endforeach;?>
99
+						<?php endforeach; ?>
100 100
 						<option value='other' data-new>
101
-							<?php p($l->t('Other'));?> ...
101
+							<?php p($l->t('Other')); ?> ...
102 102
 						</option>
103 103
 					</select>
104 104
 					<progress class="quota-user-progress" value="" max="100"></progress>
Please login to merge, or discard this patch.