Move account and update prompt to right of menu
This commit is contained in:
parent
3effed3e8b
commit
3180b50f86
1 changed files with 33 additions and 29 deletions
|
@ -265,6 +265,15 @@ class Page
|
|||
My lists
|
||||
</a>
|
||||
|
||||
<div class="right menu">
|
||||
<?php global $options; ?>
|
||||
|
||||
<?php if ($options->updateAvailable && $user && 100 === $user->power) { ?>
|
||||
<a class="item" href="/?page=update">
|
||||
<i class="upload icon"></i> Update
|
||||
</a>
|
||||
<?php } ?>
|
||||
|
||||
<?php if (count($pagesAccount) === 1) { ?>
|
||||
<a class="item" href="<?= $pagesAccount[0]['url'] ?>">
|
||||
<i class="<?= $pagesAccount[0]['icon'] ?> icon"></i>
|
||||
|
@ -290,12 +299,7 @@ class Page
|
|||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php global $options; ?>
|
||||
<?php if ($options->updateAvailable && $user && 100 === $user->power) { ?>
|
||||
<a class="item" href="/?page=update">
|
||||
<i class="upload icon"></i> Update
|
||||
</a>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ui hidden divider"></div>
|
||||
|
|
Loading…
Reference in a new issue