friendica/view/theme/frost/templates/nav.tpl

152 lines
7.2 KiB
Smarty
Raw Normal View History

2013-04-23 13:47:57 +02:00
<nav>
{{$langselector}}
<div id="site-location">{{$sitelocation}}</div>
<span id="nav-link-wrapper" >
{{*<!-- <a id="system-menu-link" class="nav-link" href="#system-menu" title="Menu">Menu</a>-->*}}
<div class="nav-button-container nav-menu-link" rel="#system-menu-list">
<a class="system-menu-link nav-link nav-menu-icon" href="{{$nav.settings.0}}" title="Main Menu" point="#system-menu-list">
<img class="system-menu-link" src="{{$baseurl}}/view/theme/frost/images/menu.png">
</a>
<ul id="system-menu-list" class="nav-menu-list" point="#system-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>
{{/if}}
{{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>
{{/if}}
{{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>
{{/if}}
{{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>
{{/if}}
{{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>
{{/if}}
{{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>
{{/if}}
<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>
{{/if}}
{{if $nav.help}}
<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>
{{/if}}
{{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>
{{/if}}
</ul>
</div>
{{if $nav.notifications}}
{{*<!-- <a id="nav-notifications-linkmenu" class="nav-link" href="{{$nav.notifications.0}}" rel="#nav-notifications-menu" title="{{$nav.notifications.1}}">{{$nav.notifications.1}}</a>-->*}}
<div class="nav-button-container">
<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" src="{{$baseurl}}/view/theme/frost/images/notifications.png">
</a>
<span id="notify-update" class="nav-ajax-left" rel="#nav-network-notifications-popup"></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.3}}</a></li>
2013-04-23 13:47:57 +02:00
<li class="empty">{{$emptynotifications}}</li>
</ul>
</div>
{{/if}}
{{*<!-- <a id="contacts-menu-link" class="nav-link" href="#contacts-menu" title="Contacts">Contacts</a>-->*}}
<div class="nav-button-container nav-menu-link" rel="#contacts-menu-list">
<a class="contacts-menu-link nav-link nav-menu-icon" href="{{$nav.contacts.0}}" title="Contacts" point="#contacts-menu-list">
<img class="contacts-menu-link" src="{{$baseurl}}/view/theme/frost/images/contacts.png">
</a>
{{if $nav.introductions}}
<a id="nav-notify-link" class="{{$nav.introductions.2}} {{$sel.introductions}} nav-load-page-link" href="{{$nav.introductions.0}}" title="{{$nav.introductions.3}}" >
<span id="intro-update" class="nav-ajax-left"></span>
</a>
{{/if}}
<ul id="contacts-menu-list" class="nav-menu-list" point="#contacts-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>
{{/if}}
<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>
{{/if}}
</ul>
</div>
{{if $nav.messages}}
{{*<!-- <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>-->*}}
<div class="nav-button-container">
<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}}" >
<img src="{{$baseurl}}/view/theme/frost/images/message.png">
</a>
<span id="mail-update" class="nav-ajax-left"></span>
</div>
{{/if}}
{{*<!-- <a id="network-menu-link" class="nav-link" href="#network-menu" title="Network">Network</a>-->*}}
<div class="nav-button-container nav-menu-link" rel="#network-menu-list">
<a class="nav-menu-icon network-menu-link nav-link" href="{{$nav.network.0}}" title="Network" point="#network-menu-list">
<img class="network-menu-link" src="{{$baseurl}}/view/theme/frost/images/network.png">
</a>
{{if $nav.network}}
<span id="net-update" class="nav-ajax-left"></span>
{{/if}}
<ul id="network-menu-list" class="nav-menu-list" point="#network-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>
{{*<!--<span id="net-update" class="nav-ajax-left"></span>-->*}}
{{/if}}
{{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>
{{*<!--<span id="home-update" class="nav-ajax-left"></span>-->*}}
{{/if}}
{{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>
{{/if}}
</ul>
</div>
{{if $nav.network}}
<div class="nav-button-container nav-menu-link" rel="#network-reset-button">
<a class="nav-menu-icon network-reset-link nav-link" href="{{$nav.net_reset.0}}" title="{{$nav.net_reset.3}}">
<img class="network-reset-link" src="{{$baseurl}}/view/theme/frost/images/net-reset.png">
</a>
</div>
{{/if}}
</span>
{{*<!--<span id="nav-end"></span>-->*}}
<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>
</ul>