|
|
@@ -3,20 +3,20 @@
|
|
|
<div class="toolbar-inner">
|
|
|
<div class="toolbar-buttons">
|
|
|
<?php if ($_SESSION["userContext"] === "admin" && $_SESSION["look"] === "admin") { ?>
|
|
|
- <a href="/list/user/" class="button button-secondary" id="btn-back">
|
|
|
+ <a href="/list/user/" class="button button-secondary button-back js-button-back">
|
|
|
<i class="fas fa-arrow-left icon-blue"></i><?= _("Back") ?>
|
|
|
</a>
|
|
|
<?php } elseif ($_SESSION["userContext"] === "admin" && htmlentities($_GET["user"]) === "system") { ?>
|
|
|
- <a href="/list/server/" class="button button-secondary" id="btn-back">
|
|
|
+ <a href="/list/server/" class="button button-secondary button-back js-button-back">
|
|
|
<i class="fas fa-arrow-left icon-blue"></i><?= _("Back") ?>
|
|
|
</a>
|
|
|
<?php } else { ?>
|
|
|
<?php if (($_SESSION['userContext'] === 'admin') && (isset($_GET['user'])) && ($_GET['user'] !== 'admin')) { ?>
|
|
|
- <a href="/edit/user/?user=<?=htmlentities($_GET['user']); ?>&token=<?=$_SESSION['token']?>" class="button button-secondary" id="btn-back">
|
|
|
+ <a href="/edit/user/?user=<?=htmlentities($_GET['user']); ?>&token=<?=$_SESSION['token']?>" class="button button-secondary button-back js-button-back">
|
|
|
<i class="fas fa-arrow-left icon-blue"></i><?= _("Back") ?>
|
|
|
</a>
|
|
|
<?php } else { ?>
|
|
|
- <a href="/edit/user/?token=<?= $_SESSION["token"] ?>" class="button button-secondary" id="btn-back">
|
|
|
+ <a href="/edit/user/?token=<?= $_SESSION["token"] ?>" class="button button-secondary button-back js-button-back">
|
|
|
<i class="fas fa-arrow-left icon-blue"></i><?= _("Back") ?>
|
|
|
</a>
|
|
|
<?php } ?>
|
|
|
@@ -25,18 +25,18 @@
|
|
|
if (($_SESSION['userContext'] === 'admin') && (htmlentities($_GET['user']) !== 'admin')) { ?>
|
|
|
<?php if (($_SESSION['userContext'] === 'admin') && ($_GET['user'] != '') && (htmlentities($_GET['user']) !== 'admin')) { ?>
|
|
|
<?php if (htmlentities($_GET['user']) !== 'system') {?>
|
|
|
- <a href="/list/log/auth/?user=<?=htmlentities($_GET['user']); ?>&token=<?=$_SESSION['token']?>" class="button button-secondary" id="btn-back" title="<?= _("Login history") ?>">
|
|
|
+ <a href="/list/log/auth/?user=<?=htmlentities($_GET['user']); ?>&token=<?=$_SESSION['token']?>" class="button button-secondary button-back js-button-back" title="<?= _("Login history") ?>">
|
|
|
<i class="fas fa-binoculars icon-green"></i><?= _("Login history") ?>
|
|
|
</a>
|
|
|
<?php } ?>
|
|
|
<?php } else { ?>
|
|
|
- <a href="/list/log/auth/" class="button button-secondary" id="btn-back" title="<?= _("Login history") ?>">
|
|
|
+ <a href="/list/log/auth/" class="button button-secondary button-back js-button-back" title="<?= _("Login history") ?>">
|
|
|
<i class="fas fa-binoculars icon-green"></i><?= _("Login history") ?>
|
|
|
</a>
|
|
|
<?php } ?>
|
|
|
<?php } ?>
|
|
|
<?php if ($_SESSION["userContext"] === "user") { ?>
|
|
|
- <a href="/list/log/auth/" class="button button-secondary" id="btn-back" title="<?= _("Login history") ?>">
|
|
|
+ <a href="/list/log/auth/" class="button button-secondary button-back js-button-back" title="<?= _("Login history") ?>">
|
|
|
<i class="fas fa-binoculars icon-green"></i><?= _("Login history") ?>
|
|
|
</a>
|
|
|
<?php }
|