aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-08 02:05:33 -0700
committerFriendika <info@friendika.com>2011-10-08 02:05:33 -0700
commit24745314517eac403b421fa17a51bdbec94f3b6e (patch)
treecd774361a2f27cc7af77e54ecb532c7a05ef26e9
parent1d05c564d498866a8d653e6940f3e79ab2e4cb8e (diff)
downloadvolse-hubzilla-24745314517eac403b421fa17a51bdbec94f3b6e.tar.gz
volse-hubzilla-24745314517eac403b421fa17a51bdbec94f3b6e.tar.bz2
volse-hubzilla-24745314517eac403b421fa17a51bdbec94f3b6e.zip
bug #175 - hide_help config option not working
-rw-r--r--view/nav.tpl3
-rw-r--r--view/theme/dispy/nav.tpl2
-rw-r--r--view/theme/duepuntozero/nav.tpl2
-rw-r--r--view/theme/loozah/nav.tpl2
-rw-r--r--view/theme/testbubble/nav.tpl2
5 files changed, 6 insertions, 5 deletions
diff --git a/view/nav.tpl b/view/nav.tpl
index b6caa2c23..16aa99cb3 100644
--- a/view/nav.tpl
+++ b/view/nav.tpl
@@ -68,10 +68,11 @@
</ul>
</li>
-
+ {{ if $nav.help }}
<li id="nav-help-link" class="nav-menu $sel.help">
<a class="$nav.help.2" target="friendika-help" href="$nav.help.0" title="$nav.help.3" >$nav.help.1</a>
</li>
+ {{ endif }}
<li id="nav-search-link" class="nav-menu $sel.search">
<a class="$nav.search.2" href="$nav.search.0" title="$nav.search.3" >$nav.search.1</a>
diff --git a/view/theme/dispy/nav.tpl b/view/theme/dispy/nav.tpl
index f84f49292..79852217f 100644
--- a/view/theme/dispy/nav.tpl
+++ b/view/theme/dispy/nav.tpl
@@ -3,7 +3,7 @@
<span id="banner">$banner</span>
- <a id="nav-help-link" class="nav-link $nav.help.2" href="$nav.help.0" title="$nav.help.1">$nav.help.1</a>
+ {{ if $nav.help }}<a id="nav-help-link" class="nav-link $nav.help.2" href="$nav.help.0" title="$nav.help.1">$nav.help.1</a>{{ endif }}
{{ if $nav.login }}<a id="nav-login-link" class="nav-link $nav.login.2" href="$nav.login.0" title="$nav.login.1">$nav.login.1</a> {{ endif }}
<a id="nav-search-link" class="nav-link $nav.search.2" href="$nav.search.0" title="$nav.search.1">$nav.search.1</a>
<a id="nav-directory-link" class="nav-link $nav.directory.2" href="$nav.directory.0" title="$nav.directory.1">$nav.directory.1</a>
diff --git a/view/theme/duepuntozero/nav.tpl b/view/theme/duepuntozero/nav.tpl
index 9191d7ac3..b13ea9ae2 100644
--- a/view/theme/duepuntozero/nav.tpl
+++ b/view/theme/duepuntozero/nav.tpl
@@ -10,7 +10,7 @@
{{ if $nav.register }}<a id="nav-register-link" class="nav-commlink $nav.register.2 $sel.register" href="$nav.register.0" title="$nav.register.3" >$nav.register.1</a>{{ endif }}
- <a id="nav-help-link" class="nav-link $nav.help.2" target="friendika-help" href="$nav.help.0" title="$nav.help.3" >$nav.help.1</a>
+ {{ if $nav.help }} <a id="nav-help-link" class="nav-link $nav.help.2" target="friendika-help" href="$nav.help.0" title="$nav.help.3" >$nav.help.1</a>{{ endif }}
{{ if $nav.apps }}<a id="nav-apps-link" class="nav-link $nav.apps.2" href="$nav.apps.0" title="$nav.apps.3" >$nav.apps.1</a>{{ endif }}
diff --git a/view/theme/loozah/nav.tpl b/view/theme/loozah/nav.tpl
index 2cd29a7c2..6ab45b74f 100644
--- a/view/theme/loozah/nav.tpl
+++ b/view/theme/loozah/nav.tpl
@@ -10,7 +10,7 @@
{{ if $nav.register }}<a id="nav-register-link" class="nav-commlink $nav.register.2" href="$nav.register.0" title="$nav.register.3" >$nav.register.1</a>{{ endif }}
- <a id="nav-help-link" class="nav-link $nav.help.2" target="friendika-help" href="$nav.help.0" title="$nav.help.3" >$nav.help.1</a>
+ {{ if $nav.help }}<a id="nav-help-link" class="nav-link $nav.help.2" target="friendika-help" href="$nav.help.0" title="$nav.help.3" >$nav.help.1</a>{{ endif }}
{{ if $nav.apps }}<a id="nav-apps-link" class="nav-link $nav.apps.2" href="$nav.apps.0" title="$nav.apps.3" >$nav.apps.1</a>{{ endif }}
diff --git a/view/theme/testbubble/nav.tpl b/view/theme/testbubble/nav.tpl
index 3fbd73e31..c7d616826 100644
--- a/view/theme/testbubble/nav.tpl
+++ b/view/theme/testbubble/nav.tpl
@@ -46,7 +46,7 @@
{{ if $nav.admin }}<li><a id="nav-admin-link" class="nav-commlink $nav.admin.2" href="$nav.admin.0">$nav.admin.1</a></li>{{ endif }}
- <li><a id="nav-help-link" class="nav-link $nav.help.2" href="$nav.help.0">$nav.help.1</a></li>
+ {{ if $nav.help }}<li><a id="nav-help-link" class="nav-link $nav.help.2" href="$nav.help.0">$nav.help.1</a></li>{{ endif }}
{{ if $nav.login }}<li><a id="nav-login-link" class="nav-link $nav.login.2" href="$nav.login.0">$nav.login.1</a></li> {{ endif }}
{{ if $nav.logout }}<li><a id="nav-logout-link" class="nav-commlink nav-sep $nav.logout.2" href="$nav.logout.0">$nav.logout.1</a></li> {{ endif }}