2121 <li entity="sort-name"><span class="name <?php if ($ _SESSION ['userSortOrder ' ] === 'name ' ) { echo 'active ' ; } ?> "><?= _ ("Name " ) ?> <i class="fas fa-arrow-down-a-z"></i></span><span class="up"><i class="fas fa-arrow-up-a-z"></i></span></li>
2222 </ul>
2323 <form x-data x-bind="BulkEdit" action="/bulk/user/" method="post">
24- <input type="hidden" name="token" value="<?= $ _SESSION [' token ' ] ?> ">
24+ <input type="hidden" name="token" value="<?= $ _SESSION [" token " ] ?> ">
2525 <select class="form-select" name="action">
2626 <option value=""><?= _ ("apply to selected " ) ?> </option>
2727 <option value="rebuild"><?= _ ("rebuild " ) ?> </option>
9999 sort-bandwidth="<?= $ data [$ key ]['U_BANDWIDTH ' ]?> " sort-disk="<?= $ data [$ key ]['U_DISK ' ]?> ">
100100 <div class="l-unit__col l-unit__col--right" style="<?php if (($ _SESSION ['POLICY_SYSTEM_HIDE_ADMIN ' ] === 'yes ' ) && ($ _SESSION ['user ' ] !== 'admin ' ) && ($ key === 'admin ' )) { echo 'display: none ' ;} else {echo 'display: table-cell ' ;}?> ">
101101 <div class="clearfix l-unit__stat-col--left super-compact">
102- <input id="check<?= $ i ?> " class="ch-toggle" type="checkbox" title="<?= _ ("Select " ) ?> " name="user[]" value="<?= $ key?> ">
102+ <input id="check<?= $ i ?> " class="ch-toggle" type="checkbox" title="<?= _ ("Select " ) ?> " name="user[]" value="<?= $ key ?> ">
103103 </div>
104104 <div class="clearfix l-unit__stat-col--left wide-3 userlist-username">
105105 <?php if ($ key == $ user_plain ) { ?>
108108 <b><a href="/login/?loginas=<?= $ key?> &token=<?= $ _SESSION ['token ' ]?> " title="<?= _ ("login as " ) ?> <?= $ key?> "><?= $ key?> <span style="font-weight: normal !important;">(<?= $ data [$ key ]['NAME ' ];?> )</span></a></b>
109109 <?php } ?>
110110 <br>
111- <div class="userlist-email"><b><?= _ ("Email " ) ?> :</b> <?= $ data [$ key ][' CONTACT ' ] ?> </div>
111+ <div class="userlist-email"><b><?= _ ("Email " ) ?> :</b> <?= $ data [$ key ][" CONTACT " ] ?> </div>
112112 </div>
113113 <!-- START QUICK ACTION TOOLBAR AREA -->
114114 <div class="clearfix l-unit__stat-col--left u-text-right compact-3">
115115 <div class="l-unit-toolbar__col l-unit-toolbar__col--right u-noselect">
116116 <div class="actions-panel clearfix">
117117 <?php if ($ key == $ user_plain ) { ?>
118- <i class="fas fa-user-check icon-dim" title="<?= $ key?> (<?= $ data [$ key ][' NAME ' ] ?> )"></i>
118+ <i class="fas fa-user-check icon-dim" title="<?= $ key ?> (<?= $ data [$ key ][" NAME " ] ?> )"></i>
119119 <?php } else { ?>
120- <a href="/login/?loginas=<?= $ key?> &token=<?= $ _SESSION [' token ' ] ?> " title="<?= _ ("login as " ) ?> <?= $ key?> "><i class="fas fa-right-to-bracket icon-green icon-dim"></i></a>
120+ <a href="/login/?loginas=<?= $ key ?> &token=<?= $ _SESSION [" token " ] ?> " title="<?= _ ("login as " ) ?> <?= $ key ?> "><i class="fas fa-right-to-bracket icon-green icon-dim"></i></a>
121121 <?php } ?>
122- <?php if (( $ _SESSION [' userContext ' ] === ' admin ' ) && ( $ key == ' admin ' ) && ( $ _SESSION [' user ' ] != ' admin ' ) ) { ?>
122+ <?php if ($ _SESSION [" userContext " ] === " admin " && $ key == " admin " && $ _SESSION [" user " ] != " admin " ) { ?>
123123 <!-- Hide edit button from admin user when logged in with another admin user -->
124124
125125 <?php } else { ?>
126126 <div class="actions-panel__col actions-panel__edit shortcut-enter" key-action="href"><a href="/edit/user/?user=<?= $ key?> &token=<?= $ _SESSION ['token ' ]?> " title="<?= _ ("Editing User " ) ?> "><i class="fas fa-pencil icon-orange icon-dim"></i></a></div>
127127 <?php } ?>
128- <?php if ($ key == ' admin ' ) { ?>
128+ <?php if ($ key == " admin " ) { ?>
129129 <!-- Hide suspend and delete buttons in the user list for primary 'admin' account -->
130130 <?php } else { ?>
131131 <?php if ($ key == $ user_plain ) { ?>
134134 <div class="actions-panel__col actions-panel__suspend shortcut-s" key-action="js">
135135 <a
136136 class="data-controls js-confirm-action"
137- href="/<?= $ spnd_action?> /user/?user=<?= $ key?> &token=<?= $ _SESSION [' token ' ] ?> "
137+ href="/<?= $ spnd_action ?> /user/?user=<?= $ key ?> &token=<?= $ _SESSION [" token " ] ?> "
138138 data-confirm-title="<?= _ ($ spnd_action ) ?> "
139139 data-confirm-message="<?= sprintf ($ spnd_confirmation , $ key ) ?> "
140140 >
@@ -144,9 +144,9 @@ class="data-controls js-confirm-action"
144144 <div class="actions-panel__col actions-panel__delete shortcut-delete" key-action="js">
145145 <a
146146 class="data-controls js-confirm-action"
147- href="/delete/user/?user=<?= $ key?> &token=<?= $ _SESSION [' token ' ] ?> "
147+ href="/delete/user/?user=<?= $ key ?> &token=<?= $ _SESSION [" token " ] ?> "
148148 data-confirm-title="<?= _ ("Delete " ) ?> "
149- data-confirm-message="<?= sprintf (_ (' DELETE_USER_CONFIRMATION ' ), $ key ) ?> "
149+ data-confirm-message="<?= sprintf (_ (" DELETE_USER_CONFIRMATION " ), $ key ) ?> "
150150 >
151151 <i class="fas fa-trash icon-red icon-dim"></i>
152152 </a>
0 commit comments