From 18f16a2646b3b8801eb1757c2a5572597b1da11f Mon Sep 17 00:00:00 2001 From: zlaxy Date: Thu, 9 Sep 2021 13:39:58 +0300 Subject: [PATCH] navbar tpl fix --- ussrbasicpub/tpl/navbar_default.tpl | 620 ++++++++++++++++++---------- 1 file changed, 393 insertions(+), 227 deletions(-) diff --git a/ussrbasicpub/tpl/navbar_default.tpl b/ussrbasicpub/tpl/navbar_default.tpl index 025ff16..c4eb47c 100644 --- a/ussrbasicpub/tpl/navbar_default.tpl +++ b/ussrbasicpub/tpl/navbar_default.tpl @@ -1,249 +1,415 @@ -{{if $nav.login && !$userinfo}} -
- {{if $nav.loginmenu.1.4}} - - {{$nav.loginmenu.1.1}} - - {{else}} - - {{$nav.loginmenu.1.1}} - - {{/if}} - {{if $nav.register}} - - {{$nav.register.1}} - - {{/if}} -
-{{/if}} -{{if $userinfo}} - - -{{if $sel.name}} - -{{/if}} -{{/if}} - - + {{if $sel.name}} + + {{if $settings_url}} + + {{/if}} + {{/if}} + + {{/if}} + + +
+
+
+ {{if $name}} + +
+
{{$name}}
+
{{$sitelocation}}
+
+ {{/if}} +
+ +
+
+ {{if $channel_apps.0}} + {{foreach $channel_apps as $channel_app}} {{$channel_app}} {{/foreach}} - - - - {{/if}} - {{if $is_owner}} - - {{$addapps}} - {{$orderapps}} - {{/if}} -
- - {{/if}} - {{if $channel_menu && $channel_apps.0}} - - {{/if}} - {{if $navbar_apps}} - {{foreach $navbar_apps as $navbar_app}} -
  • - {{$navbar_app}} -
  • - {{/foreach}} - {{/if}} - -
    - -{{if $nav.help.6}} -
    - {{$nav.help.5}} - -
    +{{if $is_owner}} + {{/if}}