@@ -18,11 +18,11 @@ discard block |
||
18 | 18 | style('settings', 'settings'); |
19 | 19 | |
20 | 20 | $userlistParams = array(); |
21 | -$allGroups=array(); |
|
22 | -foreach($_["adminGroup"] as $group) { |
|
21 | +$allGroups = array(); |
|
22 | +foreach ($_["adminGroup"] as $group) { |
|
23 | 23 | $allGroups[] = $group['name']; |
24 | 24 | } |
25 | -foreach($_["groups"] as $group) { |
|
25 | +foreach ($_["groups"] as $group) { |
|
26 | 26 | $allGroups[] = $group['name']; |
27 | 27 | } |
28 | 28 | $userlistParams['subadmingroups'] = $allGroups; |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | <?php print_unescaped($this->inc('users/part.grouplist')); ?> |
39 | 39 | <div id="app-settings"> |
40 | 40 | <div id="app-settings-header"> |
41 | - <button class="settings-button" tabindex="0" data-apps-slide-toggle="#app-settings-content"><?php p($l->t('Settings'));?></button> |
|
41 | + <button class="settings-button" tabindex="0" data-apps-slide-toggle="#app-settings-content"><?php p($l->t('Settings')); ?></button> |
|
42 | 42 | </div> |
43 | 43 | <div id="app-settings-content"> |
44 | 44 | <?php print_unescaped($this->inc('users/part.setquota')); ?> |
@@ -46,28 +46,40 @@ discard block |
||
46 | 46 | <div id="userlistoptions"> |
47 | 47 | <p> |
48 | 48 | <input type="checkbox" name="StorageLocation" value="StorageLocation" id="CheckboxStorageLocation" |
49 | - class="checkbox" <?php if ($_['show_storage_location'] === 'true') print_unescaped('checked="checked"'); ?> /> |
|
49 | + class="checkbox" <?php if ($_['show_storage_location'] === 'true') { |
|
50 | + print_unescaped('checked="checked"'); |
|
51 | +} |
|
52 | +?> /> |
|
50 | 53 | <label for="CheckboxStorageLocation"> |
51 | 54 | <?php p($l->t('Show storage location')) ?> |
52 | 55 | </label> |
53 | 56 | </p> |
54 | 57 | <p> |
55 | 58 | <input type="checkbox" name="LastLogin" value="LastLogin" id="CheckboxLastLogin" |
56 | - class="checkbox" <?php if ($_['show_last_login'] === 'true') print_unescaped('checked="checked"'); ?> /> |
|
59 | + class="checkbox" <?php if ($_['show_last_login'] === 'true') { |
|
60 | + print_unescaped('checked="checked"'); |
|
61 | +} |
|
62 | +?> /> |
|
57 | 63 | <label for="CheckboxLastLogin"> |
58 | 64 | <?php p($l->t('Show last log in')) ?> |
59 | 65 | </label> |
60 | 66 | </p> |
61 | 67 | <p> |
62 | 68 | <input type="checkbox" name="UserBackend" value="UserBackend" id="CheckboxUserBackend" |
63 | - class="checkbox" <?php if ($_['show_backend'] === 'true') print_unescaped('checked="checked"'); ?> /> |
|
69 | + class="checkbox" <?php if ($_['show_backend'] === 'true') { |
|
70 | + print_unescaped('checked="checked"'); |
|
71 | +} |
|
72 | +?> /> |
|
64 | 73 | <label for="CheckboxUserBackend"> |
65 | 74 | <?php p($l->t('Show user backend')) ?> |
66 | 75 | </label> |
67 | 76 | </p> |
68 | 77 | <p> |
69 | 78 | <input type="checkbox" name="MailOnUserCreate" value="MailOnUserCreate" id="CheckboxMailOnUserCreate" |
70 | - class="checkbox" <?php if ($_['send_email'] === 'true') print_unescaped('checked="checked"'); ?> /> |
|
79 | + class="checkbox" <?php if ($_['send_email'] === 'true') { |
|
80 | + print_unescaped('checked="checked"'); |
|
81 | +} |
|
82 | +?> /> |
|
71 | 83 | <label for="CheckboxMailOnUserCreate"> |
72 | 84 | <?php p($l->t('Send email to new user')) ?> |
73 | 85 | </label> |
@@ -77,7 +89,10 @@ discard block |
||
77 | 89 | </p> |
78 | 90 | <p> |
79 | 91 | <input type="checkbox" name="EmailAddress" value="EmailAddress" id="CheckboxEmailAddress" |
80 | - class="checkbox" <?php if ($_['show_email'] === 'true') print_unescaped('checked="checked"'); ?> /> |
|
92 | + class="checkbox" <?php if ($_['show_email'] === 'true') { |
|
93 | + print_unescaped('checked="checked"'); |
|
94 | +} |
|
95 | +?> /> |
|
81 | 96 | <label for="CheckboxEmailAddress"> |
82 | 97 | <?php p($l->t('Show email address')) ?> |
83 | 98 | </label> |