From 7d175324eedb35d3549d5d69daaa5094c661f10f Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Tue, 19 Apr 2016 02:06:02 +0200 Subject: [PATCH] make nav menu available for remote user and friendica visitors --- css/style.css | 9 ++++- templates/nav.tpl | 31 ++++++++++------- theme.php | 88 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 114 insertions(+), 14 deletions(-) diff --git a/css/style.css b/css/style.css index 42e6b57a5..b1cbaaff1 100644 --- a/css/style.css +++ b/css/style.css @@ -186,7 +186,8 @@ header #banner { font-weight: bold; whitespace: nowrap; } -header #banner #logo-img { +header #banner #logo-img, +.navbar-brand #logo-img { mask: url('img/friendica-logo.svg#logo_mask'); mask-image: url('img/friendica-25.png'); -webkit-mask-image: url('img/friendica-25.png'); @@ -196,6 +197,12 @@ header #banner #logo-img { margin-left: auto; margin-right: auto; } +#navbrand-container { + display: flex; +} +#navbrand-container #navbar-brand-text { + padding-left: 5px; +} /* NavBar */ .topbar { diff --git a/templates/nav.tpl b/templates/nav.tpl index b66415d0a..9beebf1a5 100644 --- a/templates/nav.tpl +++ b/templates/nav.tpl @@ -1,10 +1,16 @@ -{{if $userinfo}} +{{* we have modified the navmenu (look at function frio_remote_nav() ) to have remote links. $nav.userinfo is a new variable and replaces the original $userinfo variable *}} +{{if $nav.userinfo}}
{{* {{$langselector}} *}}
{{$sitelocation}}