friendica-github/view/theme/frost-mobile/nav.tpl

147 lines
6.4 KiB
Smarty
Raw Normal View History

2012-07-24 15:16:51 +00:00
<nav>
2013-02-10 17:21:52 +00:00
{#<!-- $langselector -->#}
2012-07-24 15:16:51 +00:00
2013-02-10 17:21:52 +00:00
{#<!-- <div id="site-location">$sitelocation</div> -->#}
2012-07-24 15:16:51 +00:00
<span id="nav-link-wrapper" >
2013-02-10 17:21:52 +00:00
{#<!-- <a id="system-menu-link" class="nav-link" href="#system-menu" title="Menu">Menu</a>-->#}
2012-07-24 15:16:51 +00:00
<div class="nav-button-container">
2013-02-10 17:21:52 +00:00
{#<!-- <a class="system-menu-link nav-link" href="#system-menu" title="Menu">-->#}
<img rel="#system-menu-list" class="nav-link" src="$baseurl/view/theme/frost-mobile/images/menu.png">
2013-02-10 17:21:52 +00:00
{#<!-- </a>-->#}
2012-07-24 15:16:51 +00:00
<ul id="system-menu-list" class="nav-menu-list">
{{ if $nav.login }}
<a id="nav-login-link" class="nav-load-page-link $nav.login.2" href="$nav.login.0" title="$nav.login.3" >$nav.login.1</a>
{{ endif }}
{{ if $nav.register }}
<a id="nav-register-link" class="nav-load-page-link $nav.register.2 $sel.register" href="$nav.register.0" title="$nav.register.3" >$nav.register.1</a>
{{ endif }}
{{ if $nav.settings }}
<li><a id="nav-settings-link" class="$nav.settings.2 nav-load-page-link" href="$nav.settings.0" title="$nav.settings.3">$nav.settings.1</a></li>
{{ endif }}
{{ if $nav.manage }}
<li>
<a id="nav-manage-link" class="nav-load-page-link $nav.manage.2 $sel.manage" href="$nav.manage.0" title="$nav.manage.3">$nav.manage.1</a>
</li>
{{ endif }}
2012-07-24 15:16:51 +00:00
{{ if $nav.profiles }}
<li><a id="nav-profiles-link" class="$nav.profiles.2 nav-load-page-link" href="$nav.profiles.0" title="$nav.profiles.3" >$nav.profiles.1</a></li>
{{ endif }}
{{ if $nav.admin }}
<li><a id="nav-admin-link" class="$nav.admin.2 nav-load-page-link" href="$nav.admin.0" title="$nav.admin.3" >$nav.admin.1</a></li>
{{ endif }}
<li><a id="nav-search-link" class="$nav.search.2 nav-load-page-link" href="$nav.search.0" title="$nav.search.3" >$nav.search.1</a></li>
{{ if $nav.apps }}
<li><a id="nav-apps-link" class="$nav.apps.2 nav-load-page-link" href="$nav.apps.0" title="$nav.apps.3" >$nav.apps.1</a></li>
{{ endif }}
{{ if $nav.help }}
2012-10-19 04:51:45 +00:00
<li><a id="nav-help-link" class="$nav.help.2 nav-load-page-link" target="friendica-help" href="$nav.help.0" title="$nav.help.3" >$nav.help.1</a></li>
2012-07-24 15:16:51 +00:00
{{ endif }}
{{ if $nav.logout }}
<li><a id="nav-logout-link" class="$nav.logout.2" href="$nav.logout.0" title="$nav.logout.3" >$nav.logout.1</a></li>
{{ endif }}
</ul>
</div>
{{ if $nav.notifications }}
2013-02-10 17:21:52 +00:00
{#<!-- <a id="nav-notifications-linkmenu" class="nav-link" href="$nav.notifications.0" rel="#nav-notifications-menu" title="$nav.notifications.1">$nav.notifications.1</a>-->#}
2012-07-24 15:16:51 +00:00
<div class="nav-button-container">
2013-02-10 17:21:52 +00:00
{#<!-- <a id="nav-notifications-linkmenu" class="nav-link" href="$nav.notifications.0" rel="#nav-notifications-menu" title="$nav.notifications.1">-->#}
<img rel="#nav-notifications-menu" class="nav-link" src="$baseurl/view/theme/frost-mobile/images/notifications.png">
2013-02-10 17:21:52 +00:00
{#<!-- </a>-->#}
2012-07-24 15:16:51 +00:00
<span id="notify-update" class="nav-ajax-left"></span>
<ul id="nav-notifications-menu" class="notifications-menu-popup">
<li id="nav-notifications-see-all"><a href="$nav.notifications.all.0">$nav.notifications.all.1</a></li>
<li id="nav-notifications-mark-all"><a href="#" onclick="notifyMarkAll(); return false;">$nav.notifications.mark.1</a></li>
<li class="empty">$emptynotifications</li>
</ul>
</div>
{{ endif }}
2013-02-10 17:21:52 +00:00
{#<!-- <a id="contacts-menu-link" class="nav-link" href="#contacts-menu" title="Contacts">Contacts</a>-->#}
2012-07-24 15:16:51 +00:00
<div class="nav-button-container">
2013-02-10 17:21:52 +00:00
{#<!-- <a class="contacts-menu-link nav-link" href="#contacts-menu" title="Contacts">-->#}
<img rel="#contacts-menu-list" class="nav-link" src="$baseurl/view/theme/frost-mobile/images/contacts.png">
2013-02-10 17:21:52 +00:00
{#<!--</a>-->#}
2012-07-24 15:16:51 +00:00
{{ if $nav.introductions }}
<span id="intro-update" class="nav-ajax-left"></span>
{{ endif }}
<ul id="contacts-menu-list" class="nav-menu-list">
{{ if $nav.contacts }}
<li><a id="nav-contacts-link" class="$nav.contacts.2 nav-load-page-link" href="$nav.contacts.0" title="$nav.contacts.3" >$nav.contacts.1</a><li>
{{ endif }}
<li><a id="nav-directory-link" class="$nav.directory.2 nav-load-page-link" href="$nav.directory.0" title="$nav.directory.3" >$nav.directory.1</a><li>
{{ if $nav.introductions }}
<li>
<a id="nav-notify-link" class="$nav.introductions.2 $sel.introductions nav-load-page-link" href="$nav.introductions.0" title="$nav.introductions.3" >$nav.introductions.1</a>
</li>
{{ endif }}
</ul>
</div>
{{ if $nav.messages }}
2013-02-10 17:21:52 +00:00
{#<!-- <a id="nav-messages-link" class="nav-link $nav.messages.2 $sel.messages nav-load-page-link" href="$nav.messages.0" title="$nav.messages.3" >$nav.messages.1</a>-->#}
2012-07-24 15:16:51 +00:00
<div class="nav-button-container">
<a id="nav-messages-link" class="$nav.messages.2 $sel.messages nav-load-page-link" href="$nav.messages.0" title="$nav.messages.3" >
<img src="$baseurl/view/theme/frost-mobile/images/message.png" class="nav-link">
2012-07-24 15:16:51 +00:00
</a>
<span id="mail-update" class="nav-ajax-left"></span>
</div>
{{ endif }}
2013-02-10 17:21:52 +00:00
{#<!-- <a id="network-menu-link" class="nav-link" href="#network-menu" title="Network">Network</a>-->#}
2012-07-24 15:16:51 +00:00
<div class="nav-button-container">
2013-02-10 17:21:52 +00:00
{#<!-- <a class="network-menu-link nav-link" href="#network-menu" title="Network">-->#}
<img rel="#network-menu-list" class="nav-link" src="$baseurl/view/theme/frost-mobile/images/network.png">
2013-02-10 17:21:52 +00:00
{#<!-- </a>-->#}
2012-07-24 15:16:51 +00:00
{{ if $nav.network }}
<span id="net-update" class="nav-ajax-left"></span>
{{ endif }}
<ul id="network-menu-list" class="nav-menu-list">
{{ if $nav.network }}
<li>
<a id="nav-network-link" class="$nav.network.2 $sel.network nav-load-page-link" href="$nav.network.0" title="$nav.network.3" >$nav.network.1</a>
</li>
2013-02-10 17:21:52 +00:00
{#<!--<span id="net-update" class="nav-ajax-left"></span>-->#}
2012-07-24 15:16:51 +00:00
{{ endif }}
2012-11-22 16:14:22 +00:00
{{ if $nav.network }}
<li>
<a class="nav-menu-icon network-reset-link nav-link" href="$nav.net_reset.0" title="$nav.net_reset.3">$nav.net_reset.1</a>
</li>
{{ endif }}
2012-07-24 15:16:51 +00:00
{{ if $nav.home }}
<li><a id="nav-home-link" class="$nav.home.2 $sel.home nav-load-page-link" href="$nav.home.0" title="$nav.home.3" >$nav.home.1</a></li>
2013-02-10 17:21:52 +00:00
{#<!--<span id="home-update" class="nav-ajax-left"></span>-->#}
2012-07-24 15:16:51 +00:00
{{ endif }}
{{ if $nav.community }}
<li>
<a id="nav-community-link" class="$nav.community.2 $sel.community nav-load-page-link" href="$nav.community.0" title="$nav.community.3" >$nav.community.1</a>
</li>
{{ endif }}
</ul>
</div>
</span>
2013-02-10 17:21:52 +00:00
{#<!--<span id="nav-end"></span>-->#}
2012-07-24 15:16:51 +00:00
<span id="banner">$banner</span>
</nav>
<ul id="nav-notifications-template" style="display:none;" rel="template">
<li class="{4}"><a href="{0}"><img data-src="{1}" height="24" width="24" alt="" />{2} <span class="notif-when">{3}</span></a></li>
2012-07-24 15:16:51 +00:00
</ul>