diff options
Diffstat (limited to 'src/web/_views/header.php')
-rw-r--r-- | src/web/_views/header.php | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/web/_views/header.php b/src/web/_views/header.php index 8a0333e..f1aef01 100644 --- a/src/web/_views/header.php +++ b/src/web/_views/header.php @@ -11,7 +11,7 @@ <div class="nav-center" :class="{hidden: !visible}"> <a id="action-home" - class="btn" + class="btn<?=$this->main->info['app'] == 'home' ? ' btn-blue btn-border' : ''?>" href="/home" title="<?=lang('action_home_tip')?>" > @@ -20,35 +20,33 @@ </a> <a id="action-people" - class="btn" + class="btn<?=$this->main->info['app'] == 'people' ? ' btn-blue btn-border' : ''?>" href="/people" title="<?=lang('action_people_tip')?>" > <i class="mi mi-lg">people</i> <span><?=lang('action_people_text')?></span> </a> - <a + <!--a id="action-chat" - class="btn" + class="btn<?=$this->main->info['app'] == 'chat' ? ' btn-blue btn-border' : ''?>" href="/chat" title="<?=lang('action_chat_tip')?>" > <i class="mi mi-lg">chat</i> <span><?=lang('action_chat_text')?></span> - </a> + </a--> </div> <div class="nav-right"> <button id="action-hamburger" title="<?=lang('action_hamburger_tip')?>" + class="btn mr" > <i class="mi mi-lg">menu</i> </button> <?php if($self): ?> - <?php $this->view('template/pfp', array( - 'user' => $self, - 'class' => 'pfp-sm ml', - )); ?> + <?=pfp($self)?> <?php else: ?> <?=ilang('action_login', class: 'btn', href: '/auth/login')?> <?php endif; ?> |