File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 66include $ _SERVER ["DOCUMENT_ROOT " ] . "/inc/main.php " ;
77
88// Data
9- if ($ _SESSION ["userContext " ] === "admin " && ! isset ( $ _SESSION ["look " ]) ) {
9+ if ($ _SESSION ["userContext " ] === "admin " && $ _SESSION ["look " ] == "" ) {
1010 if (empty ($ _GET ["user " ])) {
1111 exec (HESTIA_CMD . "v-list-users-stats json " , $ output , $ return_var );
1212 $ data = json_decode (implode ("" , $ output ), true );
Original file line number Diff line number Diff line change 22<div class="toolbar">
33 <div class="toolbar-inner">
44 <div class="toolbar-buttons">
5- <?php if ($ _SESSION ["userContext " ] === "admin " && ! isset ( $ _SESSION ["look " ]) ) { ?>
5+ <?php if ($ _SESSION ["userContext " ] === "admin " && $ _SESSION ["look " ] == '' ) { ?>
66 <a class="button button-secondary" href='/list/stats/'><i class="fas fa-binoculars icon-lightblue"></i><?= _ ("Overall Statistics " ) ?> </a>
77 <?php } ?>
88 </div>
99 <div class="toolbar-right">
10- <?php if ($ _SESSION ["userContext " ] === "admin " && ! isset ( $ _SESSION ["look " ]) ) { ?>
10+ <?php if ($ _SESSION ["userContext " ] === "admin " && $ _SESSION ["look " ] == '' ) { ?>
1111 <form x-data x-bind="BulkEdit" action="/list/stats/" method="get">
1212 <input type="hidden" name="token" value="<?= $ _SESSION ["token " ] ?> ">
1313 <select class="form-select" name="user">
You can’t perform that action at this time.
0 commit comments