2024-08-24 18:23:27 +00:00
|
|
|
{{*
|
|
|
|
* Copyright (C) 2010-2024, the Friendica project
|
|
|
|
* SPDX-FileCopyrightText: 2010-2024 the Friendica project
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
*}}
|
2014-09-05 22:14:25 +00:00
|
|
|
|
2013-04-23 11:47:57 +00:00
|
|
|
<header>
|
|
|
|
{{* {{$langselector}} *}}
|
|
|
|
|
|
|
|
<div id="site-location">{{$sitelocation}}</div>
|
2018-12-15 01:42:24 +00:00
|
|
|
<div id="banner">{{$banner nofilter}}</div>
|
2013-04-23 11:47:57 +00:00
|
|
|
</header>
|
2015-08-06 06:13:15 +00:00
|
|
|
<nav role="menubar">
|
2013-04-23 11:47:57 +00:00
|
|
|
<ul>
|
2015-11-08 18:08:00 +00:00
|
|
|
<li class="mobile-aside-toggle" style="display:none;">
|
|
|
|
<a href="#">
|
2015-11-11 18:06:35 +00:00
|
|
|
<i class="icons icon-reorder"></i>
|
2015-11-08 18:08:00 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
2015-02-02 20:00:32 +00:00
|
|
|
{{if $nav.home}}
|
2015-08-06 06:13:15 +00:00
|
|
|
<li role="menuitem" id="nav-home-link" class="nav-menu {{$sel.home}}">
|
2021-05-19 21:47:15 +00:00
|
|
|
<a accesskey="p" class="{{$nav.home.2}}" href="{{$nav.home.0}}" title="{{$nav.home.3}}">
|
2019-01-04 04:07:03 +00:00
|
|
|
<span class="desktop-view">{{$nav.home.1}}</span>
|
|
|
|
<i class="icon s22 icon-home mobile-view"><span class="sr-only">{{$nav.home.1}}</span></i>
|
2020-01-24 17:56:34 +00:00
|
|
|
<span id="home-update" class="nav-notification"></span>
|
2019-01-04 04:07:03 +00:00
|
|
|
</a>
|
2013-04-23 11:47:57 +00:00
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{if $nav.network}}
|
2015-08-06 06:13:15 +00:00
|
|
|
<li role="menuitem" id="nav-network-link" class="nav-menu {{$sel.network}}">
|
2021-05-19 21:47:15 +00:00
|
|
|
<a accesskey="n" class="{{$nav.network.2}}" href="{{$nav.network.0}}" title="{{$nav.network.3}}">
|
2019-01-04 04:07:03 +00:00
|
|
|
<span class="desktop-view">{{$nav.network.1}}</span>
|
|
|
|
<i class="icon s22 icon-th mobile-view"><span class="sr-only">{{$nav.network.1}}</span></i>
|
2020-01-24 17:56:34 +00:00
|
|
|
<span id="net-update" class="nav-notification"></span>
|
2019-01-04 04:07:03 +00:00
|
|
|
</a>
|
2013-04-23 11:47:57 +00:00
|
|
|
</li>
|
|
|
|
{{/if}}
|
2015-09-27 12:00:15 +00:00
|
|
|
{{if $nav.events}}
|
2022-11-06 01:35:09 +00:00
|
|
|
<li role="menuitem" id="nav-calendar-link" class="nav-menu {{$sel.events}}">
|
2021-05-19 21:47:15 +00:00
|
|
|
<a accesskey="e" class="{{$nav.events.2}} desktop-view" href="{{$nav.events.0}}" title="{{$nav.events.3}}">{{$nav.events.1}}</a>
|
|
|
|
<a class="{{$nav.events.2}} mobile-view" href="{{$nav.events.0}}" title="{{$nav.events.3}}"><i class="icon s22 icon-calendar"></i></a>
|
2015-09-27 12:00:15 +00:00
|
|
|
</li>
|
|
|
|
{{/if}}
|
2023-09-01 21:56:59 +00:00
|
|
|
{{if $nav.channel}}
|
|
|
|
<li role="menuitem" id="nav-channel-link" class="nav-menu {{$sel.channel}}">
|
|
|
|
<a accesskey="l" class="{{$nav.channel.2}} desktop-view" href="{{$nav.channel.0}}" title="{{$nav.channel.3}}">{{$nav.channel.1}}</a>
|
|
|
|
<a class="{{$nav.channel.2}} mobile-view" href="{{$nav.channel.0}}" title="{{$nav.channel.3}}"><i class="icon s22 icon-bullseye"></i></a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
2015-02-02 20:00:32 +00:00
|
|
|
{{if $nav.community}}
|
2015-08-06 06:13:15 +00:00
|
|
|
<li role="menuitem" id="nav-community-link" class="nav-menu {{$sel.community}}">
|
2021-05-19 21:47:15 +00:00
|
|
|
<a accesskey="c" class="{{$nav.community.2}} desktop-view" href="{{$nav.community.0}}" title="{{$nav.community.3}}">{{$nav.community.1}}</a>
|
|
|
|
<a class="{{$nav.community.2}} mobile-view" href="{{$nav.community.0}}" title="{{$nav.community.3}}"><i class="icon s22 icon-bullseye"></i></a>
|
2013-04-23 11:47:57 +00:00
|
|
|
</li>
|
|
|
|
{{/if}}
|
2015-11-08 18:08:00 +00:00
|
|
|
|
2015-08-29 08:14:41 +00:00
|
|
|
<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>
|
2013-04-23 11:47:57 +00:00
|
|
|
<ul id="nav-site-menu" class="menu-popup">
|
2021-05-19 21:47:15 +00:00
|
|
|
{{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}}
|
|
|
|
<li role="menuitem"><a class="{{$nav.about.2}}" href="{{$nav.about.0}}" title="{{$nav.about.3}}">{{$nav.about.1}}</a></li>
|
|
|
|
{{if $nav.tos}}<a class="{{$nav.tos.2}}" href="{{$nav.tos.0}}" title="{{$nav.tos.3}}">{{$nav.tos.1}}</a></li>{{/if}}
|
|
|
|
<li role="menuitem"><a class="{{$nav.directory.2}}" href="{{$nav.directory.0}}" title="{{$nav.directory.3}}">{{$nav.directory.1}}</a></li>
|
2015-02-02 20:00:32 +00:00
|
|
|
</ul>
|
2013-04-23 11:47:57 +00:00
|
|
|
</li>
|
2015-02-02 20:00:32 +00:00
|
|
|
|
2019-01-04 04:07:03 +00:00
|
|
|
{{if $nav.messages}}
|
|
|
|
<li role="menu" aria-haspopup="true" id="nav-messages-linkmenu" class="nav-menu-icon">
|
|
|
|
<a href="{{$nav.messages.0}}" title="{{$nav.messages.1}}">
|
|
|
|
<span class="icon s22 icon-envelope"><span class="sr-only">{{$nav.messages.1}}</span></span>
|
2020-01-24 17:56:34 +00:00
|
|
|
<span id="mail-update" class="nav-notification"></span>
|
2019-01-04 04:07:03 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
2013-04-23 11:47:57 +00:00
|
|
|
{{if $nav.notifications}}
|
2019-01-04 04:07:03 +00:00
|
|
|
<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>
|
2020-01-24 17:56:34 +00:00
|
|
|
<span id="notification-update" class="nav-notification"></span>
|
2019-01-04 04:07:03 +00:00
|
|
|
</a>
|
2013-04-23 11:47:57 +00:00
|
|
|
<ul id="nav-notifications-menu" class="menu-popup">
|
2020-01-24 18:08:03 +00:00
|
|
|
<li role="menuitem" id="nav-notifications-mark-all"><a onclick="notificationMarkAll(); return false;">{{$nav.notifications.mark.1}}</a></li>
|
2015-08-06 06:13:15 +00:00
|
|
|
<li role="menuitem" id="nav-notifications-see-all"><a href="{{$nav.notifications.all.0}}">{{$nav.notifications.all.1}}</a></li>
|
|
|
|
<li role="menuitem" class="empty">{{$emptynotifications}}</li>
|
2013-04-23 11:47:57 +00:00
|
|
|
</ul>
|
2015-02-02 20:00:32 +00:00
|
|
|
</li>
|
2013-04-23 11:47:57 +00:00
|
|
|
{{/if}}
|
2015-11-08 18:08:00 +00:00
|
|
|
|
2013-04-23 11:47:57 +00:00
|
|
|
{{if $userinfo}}
|
2015-08-26 22:02:06 +00:00
|
|
|
<li role="menu" aria-haspopup="true" id="nav-user-linkmenu" class="nav-menu">
|
2020-01-24 17:56:34 +00:00
|
|
|
<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-notification"></span></a>
|
2013-04-23 11:47:57 +00:00
|
|
|
<ul id="nav-user-menu" class="menu-popup">
|
2021-05-19 21:47:15 +00:00
|
|
|
<li role="menuitem"> <a class="{{$nav.search.2}}" href="{{$nav.search.0}}" title="{{$nav.search.3}}">{{$nav.search.1}}</a> </li>
|
2021-05-21 22:58:35 +00:00
|
|
|
{{if $nav.introductions}}<li role="menuitem"><a class="{{$nav.introductions.2}}" href="{{$nav.introductions.0}}" title="{{$nav.introductions.3}}">{{$nav.introductions.1}}<span id="intro-update-li" class="nav-notification"></span></a></li>{{/if}}
|
2021-05-19 21:47:15 +00:00
|
|
|
{{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}}
|
|
|
|
{{if $nav.messages}}<li role="menuitem"><a class="{{$nav.messages.2}}" href="{{$nav.messages.0}}" title="{{$nav.messages.3}}">{{$nav.messages.1}} <span id="mail-update-li" class="nav-notification"></span></a></li>{{/if}}
|
2019-10-11 16:37:24 +00:00
|
|
|
{{if $nav.delegation}}<li role="menuitem"><a class="{{$nav.delegation.2}}" href="{{$nav.delegation.0}}" title="{{$nav.delegation.3}}">{{$nav.delegation.1}}</a></li>{{/if}}
|
2018-12-14 03:28:12 +00:00
|
|
|
{{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}}
|
|
|
|
{{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}}
|
2019-03-31 09:17:59 +00:00
|
|
|
{{if $nav.admin}}
|
|
|
|
<li role="menuitem">
|
2021-05-19 21:47:15 +00:00
|
|
|
<a accesskey="a" class="{{$nav.admin.2}}" href="{{$nav.admin.0}}" title="{{$nav.admin.3}}">{{$nav.admin.1}}</a>
|
2019-03-31 09:17:59 +00:00
|
|
|
</li>
|
|
|
|
{{/if}}
|
2022-11-06 01:01:06 +00:00
|
|
|
{{if $nav.moderation}}
|
|
|
|
<li role="menuitem">
|
|
|
|
<a accesskey="m" class="{{$nav.moderation.2}}" href="{{$nav.moderation.0}}" title="{{$nav.moderation.3}}">{{$nav.moderation.1}}</a>
|
|
|
|
</li>
|
2022-11-08 14:16:36 +00:00
|
|
|
{{/if}}
|
|
|
|
{{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}}
|
2013-04-23 11:47:57 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
2015-02-02 20:00:32 +00:00
|
|
|
|
|
|
|
{{if $nav.login}}
|
2015-08-06 06:13:15 +00:00
|
|
|
<li role="menuitem" id="nav-login-link" class="nav-menu">
|
2021-05-19 21:47:15 +00:00
|
|
|
<a class="{{$nav.login.2}}" href="{{$nav.login.0}}" title="{{$nav.login.3}}">{{$nav.login.1}}</a>
|
2015-08-06 06:13:15 +00:00
|
|
|
</li>
|
2015-02-02 20:00:32 +00:00
|
|
|
{{/if}}
|
2019-06-11 23:42:08 +00:00
|
|
|
{{if $nav.logout}}
|
|
|
|
<li role="menuitem" id="nav-logout-link" class="nav-menu">
|
2021-05-19 21:47:15 +00:00
|
|
|
<a class="{{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}">{{$nav.logout.1}}</a>
|
2019-06-11 23:42:08 +00:00
|
|
|
</li>
|
|
|
|
{{/if}}
|
2015-11-08 18:08:00 +00:00
|
|
|
|
2013-04-23 11:47:57 +00:00
|
|
|
{{if $nav.search}}
|
2016-01-24 18:56:23 +00:00
|
|
|
<li role="search" id="nav-search-box">
|
2015-02-02 20:00:32 +00:00
|
|
|
<form method="get" action="{{$nav.search.0}}">
|
2019-10-07 18:19:50 +00:00
|
|
|
<input accesskey="s" id="nav-search-text" class="nav-menu-search" type="text" value="" name="q" placeholder=" {{$search_hint}}">
|
2015-08-24 09:55:29 +00:00
|
|
|
<select name="search-option">
|
|
|
|
<option value="fulltext">{{$nav.searchoption.0}}</option>
|
|
|
|
<option value="tags">{{$nav.searchoption.1}}</option>
|
|
|
|
<option value="contacts">{{$nav.searchoption.2}}</option>
|
2023-05-30 13:15:17 +00:00
|
|
|
{{if $nav.searchoption.3}}<option value="groups">{{$nav.searchoption.3}}</option>{{/if}}
|
2015-08-24 09:55:29 +00:00
|
|
|
</select>
|
2015-02-02 20:00:32 +00:00
|
|
|
</form>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
{{if $nav.admin}}
|
2015-08-06 06:13:15 +00:00
|
|
|
<li role="menuitem" id="nav-admin-link" class="nav-menu">
|
2021-05-19 21:47:15 +00:00
|
|
|
<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>
|
2015-02-02 20:00:32 +00:00
|
|
|
</li>
|
2013-04-23 11:47:57 +00:00
|
|
|
{{/if}}
|
2015-11-08 18:08:00 +00:00
|
|
|
|
2022-11-08 14:16:36 +00:00
|
|
|
{{if $nav.moderation}}
|
|
|
|
<li role="menuitem" id="nav-moderation-link" class="nav-menu">
|
|
|
|
<a accesskey="a" class="{{$nav.moderation.2}} icon-sliders" href="{{$nav.moderation.0}}" title="{{$nav.moderation.3}}"><span class="sr-only">{{$nav.moderation.3}}</span></a>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
|
2013-04-23 11:47:57 +00:00
|
|
|
{{if $nav.apps}}
|
2015-08-08 15:33:43 +00:00
|
|
|
<li role="menu" aria-haspopup="true" id="nav-apps-link" class="nav-menu {{$sel.apps}}">
|
2021-05-19 21:47:15 +00:00
|
|
|
<a class=" {{$nav.apps.2}}" title="{{$nav.apps.3}}">{{$nav.apps.1}}</a>
|
2013-04-23 11:47:57 +00:00
|
|
|
<ul id="nav-apps-menu" class="menu-popup">
|
|
|
|
{{foreach $apps as $ap}}
|
2018-12-14 03:35:51 +00:00
|
|
|
<li role="menuitem">{{$ap nofilter}}</li>
|
2013-04-23 11:47:57 +00:00
|
|
|
{{/foreach}}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
</nav>
|
2022-03-04 05:21:06 +00:00
|
|
|
|
2014-05-12 19:30:53 +00:00
|
|
|
<!--
|
2014-05-18 18:30:27 +00:00
|
|
|
<div class="icon-flag" style="position: fixed; bottom: 10px; left: 20px; z-index:9;">{{$langselector}}</div>
|
2014-05-12 19:30:53 +00:00
|
|
|
-->
|