]> git.mxchange.org Git - friendica.git/blob - view/theme/vier/templates/nav.tpl
removed blank lines
[friendica.git] / view / theme / vier / templates / nav.tpl
1
2 <header>
3         {{* {{$langselector}} *}}
4
5         <div id="site-location">{{$sitelocation}}</div>
6         <div id="banner">{{$banner}}</div>
7 </header>
8 <nav role="menubar">
9         <ul>
10                 <li class="mobile-aside-toggle" style="display:none;">
11                         <a href="#">
12                                 <i class="icons icon-reorder"></i>
13                         </a>
14                 </li>
15                 {{if $nav.home}}
16                         <li role="menuitem" id="nav-home-link" class="nav-menu {{$sel.home}}">
17                                 <a accesskey="p" class="{{$nav.home.2}} desktop-view" href="{{$nav.home.0}}" title="{{$nav.home.3}}" >{{$nav.home.1}}</a>
18                                 <a class="{{$nav.home.2}} mobile-view" href="{{$nav.home.0}}" title="{{$nav.home.3}}" ><i class="icon s22 icon-home"></i></a>
19                                 <span id="home-update" class="nav-notify"></span>
20                         </li>
21                 {{/if}}
22                 {{if $nav.network}}
23                         <li role="menuitem" id="nav-network-link" class="nav-menu {{$sel.network}}">
24                                 <a accesskey="n" class="{{$nav.network.2}} desktop-view" href="{{$nav.network.0}}" title="{{$nav.network.3}}" >{{$nav.network.1}}</a>
25                                 <a class="{{$nav.network.2}} mobile-view" href="{{$nav.network.0}}" title="{{$nav.network.3}}" ><i class="icon s22 icon-th"></i></a>
26                                 <span id="net-update" class="nav-notify"></span>
27                         </li>
28                 {{/if}}
29                 {{if $nav.events}}
30                         <li role="menuitem" id="nav-events-link" class="nav-menu {{$sel.events}}">
31                                 <a accesskey="e" class="{{$nav.events.2}} desktop-view" href="{{$nav.events.0}}" title="{{$nav.events.3}}" >{{$nav.events.1}}</a>
32                                 <a class="{{$nav.events.2}} mobile-view" href="{{$nav.events.0}}" title="{{$nav.events.3}}" ><i class="icon s22 icon-calendar"></i></a>
33                         </li>
34                 {{/if}}
35                 {{if $nav.community}}
36                         <li role="menuitem" id="nav-community-link" class="nav-menu {{$sel.community}}">
37                                 <a accesskey="c" class="{{$nav.community.2}} desktop-view" href="{{$nav.community.0}}" title="{{$nav.community.3}}" >{{$nav.community.1}}</a>
38                                 <a class="{{$nav.community.2}} mobile-view" href="{{$nav.community.0}}" title="{{$nav.community.3}}" ><i class="icon s22 icon-bullseye"></i></a>
39                         </li>
40                 {{/if}}
41
42                 <li role="menu" aria-haspopup="true" id="nav-site-linkmenu" class="nav-menu-icon"><a><span class="icon s22 icon-question"><span class="sr-only">{{$nav.help.3}}</span></span></a>
43                         <ul id="nav-site-menu" class="menu-popup">
44                                 {{if $nav.help}} <li role="menuitem"><a class="{{$nav.help.2}}" href="{{$nav.help.0}}" title="{{$nav.help.3}}" >{{$nav.help.1}}</a></li>{{/if}}
45                                 <li role="menuitem"><a class="{{$nav.about.2}}" href="{{$nav.about.0}}" title="{{$nav.about.3}}" >{{$nav.about.1}}</a></li>
46                                 <li role="menuitem"><a class="{{$nav.directory.2}}" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}" >{{$nav.directory.1}}</a></li>
47                         </ul>
48                 </li>
49
50                 {{if $nav.notifications}}
51                         <li role="menu" aria-haspopup="true" id="nav-notifications-linkmenu" class="nav-menu-icon"><a title="{{$nav.notifications.1}}"><span class="icon s22 icon-bell tilted-icon"><span class="sr-only">{{$nav.notifications.1}}</span></span></a>
52                                 <span id="notify-update" class="nav-notify"></span>
53                                 <ul id="nav-notifications-menu" class="menu-popup">
54                                         <li role="menuitem" id="nav-notifications-mark-all"><a onclick="notifyMarkAll(); return false;">{{$nav.notifications.mark.1}}</a></li>
55                                         <li role="menuitem" id="nav-notifications-see-all"><a href="{{$nav.notifications.all.0}}">{{$nav.notifications.all.1}}</a></li>
56                                         <li role="menuitem" class="empty">{{$emptynotifications}}</li>
57                                 </ul>
58                         </li>
59                 {{/if}}
60
61                 {{if $userinfo}}
62                         <li role="menu" aria-haspopup="true" id="nav-user-linkmenu" class="nav-menu">
63                                 <a accesskey="u" title="{{$sitelocation}}"><img src="{{$userinfo.icon}}" alt="{{$userinfo.name}}"><span id="nav-user-linklabel">{{$userinfo.name}}</span><span id="intro-update" class="nav-notify"></span></a>
64                                 <ul id="nav-user-menu" class="menu-popup">
65                                         {{if $nav.introductions}}<li role="menuitem"><a class="{{$nav.introductions.2}}" href="{{$nav.introductions.0}}" title="{{$nav.introductions.3}}" >{{$nav.introductions.1}}</a><span id="intro-update-li" class="nav-notify"></span></li>{{/if}}
66                                         {{if $nav.contacts}}<li role="menuitem"><a class="{{$nav.contacts.2}}" href="{{$nav.contacts.0}}" title="{{$nav.contacts.3}}" >{{$nav.contacts.1}}</a></li>{{/if}}
67                                         {{if $nav.messages}}<li role="menuitem"><a class="{{$nav.messages.2}}" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}" >{{$nav.messages.1}}</a><span id="mail-update" class="nav-notify"></span></a></li>{{/if}}
68                                         {{if $nav.manage}}<li role="menuitem"><a class="{{$nav.manage.2}}" href="{{$nav.manage.0}}" title="{{$nav.manage.3}}">{{$nav.manage.1}}</a></li>{{/if}}
69                                         {{if $nav.usermenu.1}}<li role="menuitem"><a class="{{$nav.usermenu.1.2}}" href="{{$nav.usermenu.1.0}}" title="{{$nav.usermenu.1.3}}">{{$nav.usermenu.1.1}}</a></li>{{/if}}
70                                         {{if $nav.settings}}<li role="menuitem"><a class="{{$nav.settings.2}}" href="{{$nav.settings.0}}" title="{{$nav.settings.3}}">{{$nav.settings.1}}</a></li>{{/if}}
71                                         {{if $nav.logout}}<li role="menuitem"><a class="menu-sep {{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}" >{{$nav.logout.1}}</a></li>{{/if}}
72                                 </ul>
73                         </li>
74                 {{/if}}
75
76                 {{if $nav.login}}
77                         <li role="menuitem" id="nav-login-link" class="nav-menu">
78                                 <a class="{{$nav.login.2}}" href="{{$nav.login.0}}" title="{{$nav.login.3}}" >{{$nav.login.1}}</a>
79                         </li>
80                 {{/if}}
81
82                 {{if $nav.search}}
83                         <li role="search" id="nav-search-box">
84                                 <form method="get" action="{{$nav.search.0}}">
85                                         <input accesskey="s" id="nav-search-text" class="nav-menu-search" type="text" value="" name="search" placeholder=" {{$search_hint}}">
86                                         <select name="search-option">
87                                                 <option value="fulltext">{{$nav.searchoption.0}}</option>
88                                                 <option value="tags">{{$nav.searchoption.1}}</option>
89                                                 <option value="contacts">{{$nav.searchoption.2}}</option>
90                                                 {{if $nav.searchoption.3}}<option value="forums">{{$nav.searchoption.3}}</option>{{/if}}
91                                         </select>
92                                 </form>
93                         </li>
94                 {{/if}}
95
96                 {{if $nav.admin}}
97                         <li role="menuitem" id="nav-admin-link" class="nav-menu">
98                                 <a accesskey="a" class="{{$nav.admin.2}} icon-sliders" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}" ><span class="sr-only">{{$nav.admin.3}}</span></a>
99                         </li>
100                 {{/if}}
101
102                 {{if $nav.apps}}
103                         <li role="menu" aria-haspopup="true" id="nav-apps-link" class="nav-menu {{$sel.apps}}">
104                                 <a class=" {{$nav.apps.2}}" title="{{$nav.apps.3}}" >{{$nav.apps.1}}</a>
105                                 <ul id="nav-apps-menu" class="menu-popup">
106                                         {{foreach $apps as $ap}}
107                                         <li role="menuitem">{{$ap}}</li>
108                                         {{/foreach}}
109                                 </ul>
110                         </li>
111                 {{/if}}
112         </ul>
113
114 </nav>
115 <ul id="nav-notifications-template" style="display:none;" rel="template">
116         <li class="{4}" onclick="location.href='{0}';">
117                 <div class="notif-entry-wrapper">
118                         <div class="notif-photo-wrapper"><a href="{6}"><img data-src="{1}"></a></div>
119                         <div class="notif-desc-wrapper">
120                                 {8}{7}
121                                 <div><time class="notif-when" title="{5}">{3}</time></div>
122                         </div>
123                 </div>
124         </li>
125 </ul>
126 <!--
127 <div class="icon-flag" style="position: fixed; bottom: 10px; left: 20px; z-index:9;">{{$langselector}}</div>
128 -->