aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook/nav.tpl
diff options
context:
space:
mode:
authorSimon L'nu <simon.lnu@gmail.com>2012-03-03 08:05:53 -0500
committerSimon L'nu <simon.lnu@gmail.com>2012-03-03 08:05:53 -0500
commitba284044707e0f66fed98c711b9262bd623a0d42 (patch)
tree8f9bfbf8047d65ef8691b9353d1124aeed765129 /view/theme/diabook/nav.tpl
parent7ef861907e32cd3d01877c0fdf8e2544f4f659b1 (diff)
parent8ffe15fbb1290fac839189f2de337efec223c5e1 (diff)
downloadvolse-hubzilla-ba284044707e0f66fed98c711b9262bd623a0d42.tar.gz
volse-hubzilla-ba284044707e0f66fed98c711b9262bd623a0d42.tar.bz2
volse-hubzilla-ba284044707e0f66fed98c711b9262bd623a0d42.zip
Merge branch 'master', remote-tracking branch 'remotes/upstream/master'
* remotes/upstream/master: fix text-editor in theme german strings as of 28th Feb from transilex small fix in style.css fix star/unstar fixes in wall_item.tpl and style.css in theme diabook fix in wall_item.tpl new icon link.png add diabook to default themes fixed broken tags and notifications in theme * master:
Diffstat (limited to 'view/theme/diabook/nav.tpl')
-rw-r--r--view/theme/diabook/nav.tpl34
1 files changed, 20 insertions, 14 deletions
diff --git a/view/theme/diabook/nav.tpl b/view/theme/diabook/nav.tpl
index 80240f4ae..17df8e652 100644
--- a/view/theme/diabook/nav.tpl
+++ b/view/theme/diabook/nav.tpl
@@ -1,5 +1,5 @@
<header>
- {# $langselector #}
+ {# $langselector version 0.01#}
<div id="site-location">$sitelocation</div>
<div id="banner">$banner</div>
@@ -18,7 +18,7 @@
</li>
{{ endif }}
-
+ {{ if $nav.contacts }}
<li class="nav-menu-icon" id="nav-contacts-linkmenu">
<a href="$nav.contacts.0" rel="#nav-contacts-menu" title="$nav.contacts.1">
<span class="icon contacts">$nav.contacts.1</span></a>
@@ -28,9 +28,9 @@
<li id="nav-contacts-all"><a href="contacts">$nav.contacts.1</a></li>
</ul>
</li>
+ {{ endif }}
-
-
+ {{ if $nav.messages }}
<li id="nav-messages-linkmenu" class="nav-menu-icon">
<a href="$nav.messages.0" rel="#nav-messages-menu" title="$nav.messages.1">
<span class="icon messages">$nav.messages.1</span></a>
@@ -42,9 +42,8 @@
<li id="nav-messages-new"><a href="message/new">Neue Nachricht</a></li>
</ul>
</li>
+ {{ endif }}
-
-
{{ if $nav.notifications }}
<li id="nav-notifications-linkmenu" class="nav-menu-icon"><a href="$nav.notifications.0" rel="#nav-notifications-menu" title="$nav.notifications.1"><span class="icon notify">$nav.notifications.1</span></a>
<span id="notify-update" class="nav-notify"></span>
@@ -54,9 +53,7 @@
<li class="empty">$emptynotifications</li>
</ul>
</li>
- {{ endif }}
-
-
+ {{ endif }}
<li id="nav-site-linkmenu" class="nav-menu-icon"><a href="#" rel="#nav-site-menu"><span class="icon s22 gear">Site</span></a>
<ul id="nav-site-menu" class="menu-popup">
@@ -70,16 +67,17 @@
{{ if $nav.admin }}<li><a class="$nav.admin.2" href="$nav.admin.0" title="$nav.admin.3" >$nav.admin.1</a></li>{{ endif }}
{{ if $nav.logout }}<li><a class="menu-sep $nav.logout.2" href="$nav.logout.0" title="$nav.logout.3" >$nav.logout.1</a></li>{{ endif }}
- {{ if $nav.login }}<li><a class="$nav.login.2" href="$nav.login.0" title="$nav.login.3" >$nav.login.1</a><li>{{ endif }}
+
</ul>
</li>
-
+ {{ if $nav.directory }}
<li id="nav-directory-link" class="nav-menu $sel.directory">
<a class="$nav.directory.2" href="$nav.directory.0" title="$nav.directory.3" >$nav.directory.1</a>
</li>
+ {{ endif }}
{{ if $nav.apps }}
<li id="nav-apps-link" class="nav-menu $sel.apps">
@@ -113,14 +111,22 @@
</li>
{{ endif }}
+ {{ if $nav.login }}
+ <li id="nav-home-link" class="nav-menu $sel.home">
+ <a class="$nav.login.2" href="$nav.login.0" title="$nav.login.3" >$nav.login.1</a>
+ <li>
+ {{ endif }}
+
- </ul>
- </div>
+ </ul>
</nav>
+
+
+
<ul id="nav-notifications-template" style="display:none;" rel="template">
- <li><a href="{0}"><img src="{1}">{2} <span class="notif-when">{3}</span></a></li>
+ <li class="{4}"><a href="{0}"><img src="{1}" height="24" width="24" alt="" />{2} <span class="notif-when">{3}</span></a></li>
</ul>
{#