Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

163 lines
7.3KB

  1. <header>
  2. {# $langselector #}
  3. <div id="site-location">$sitelocation</div>
  4. <div id="banner">$banner</div>
  5. </header>
  6. <nav>
  7. <ul>
  8. {{ if $nav.network }}
  9. <li id="nav-network-link" class="nav-menu-icon">
  10. <a class="$nav.network.2" href="$nav.network.0" title="$nav.network.3" >
  11. <span class="icon notifications">Benachrichtigungen</span></a>
  12. <span id="net-update" class="nav-notify"></span>
  13. </li>
  14. {{ endif }}
  15. <li class="nav-menu-icon" id="nav-contacts-linkmenu">
  16. <a href="$nav.contacts.0" rel="#nav-contacts-menu" title="$nav.contacts.1">
  17. <span class="icon contacts">$nav.contacts.1</span></a>
  18. <span id="intro-update" class="nav-notify"></span>
  19. <ul id="nav-contacts-menu" class="menu-popup">
  20. <li id="nav-contacts-see-intro"><a href="$nav.notifications.0">Kontaktanfragen</a><span id="intro-update" class="nav-notify"></span></li>
  21. <li id="nav-contacts-all"><a href="contacts">$nav.contacts.1</a></li>
  22. </ul>
  23. </li>
  24. <li id="nav-messages-linkmenu" class="nav-menu-icon">
  25. <a href="$nav.messages.0" rel="#nav-messages-menu" title="$nav.messages.1">
  26. <span class="icon messages">$nav.messages.1</span></a>
  27. <span id="mail-update" class="nav-notify"></span>
  28. <ul id="nav-messages-menu" class="menu-popup">
  29. <li id="nav-messages-see-all"><a href="$nav.messages.0">$nav.messages.1</a></li>
  30. <li id="nav-messages-inbox"><a href="$nav.messages.0">Eingang</a></li>
  31. <li id="nav-messages-outbox"><a href="message/sent">Ausgang</a></li>
  32. <li id="nav-messages-new"><a href="message/new">Neue Nachricht</a></li>
  33. </ul>
  34. </li>
  35. {{ if $nav.notifications }}
  36. <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>
  37. <span id="notify-update" class="nav-notify"></span>
  38. <ul id="nav-notifications-menu" class="menu-popup">
  39. <li id="nav-notifications-mark-all"><a href="#" onclick="notifyMarkAll(); return false;">$nav.notifications.mark.1</a></li>
  40. <li id="nav-notifications-see-all"><a href="$nav.notifications.all.0">$nav.notifications.all.1</a></li>
  41. <li class="empty">$emptynotifications</li>
  42. </ul>
  43. </li>
  44. {{ endif }}
  45. <li id="nav-site-linkmenu" class="nav-menu-icon"><a href="#" rel="#nav-site-menu"><span class="icon s22 gear">Site</span></a>
  46. <ul id="nav-site-menu" class="menu-popup">
  47. {{ if $nav.manage }}<li><a class="$nav.manage.2" href="$nav.manage.0" title="$nav.manage.3">$nav.manage.1</a></li>{{ endif }}
  48. {{ if $nav.help }} <li><a class="$nav.help.2" target="friendika-help" href="$nav.help.0" title="$nav.help.3" >$nav.help.1</a></li>{{ endif }}
  49. <li><a class="$nav.search.2" href="$nav.search.0" title="$nav.search.3" >$nav.search.1</a></li>
  50. {{ if $nav.settings }}<li><a class="menu-sep $nav.settings.2" href="$nav.settings.0" title="$nav.settings.3">$nav.settings.1</a></li>{{ endif }}
  51. {{ if $nav.admin }}<li><a class="$nav.admin.2" href="$nav.admin.0" title="$nav.admin.3" >$nav.admin.1</a></li>{{ endif }}
  52. {{ 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 }}
  53. {{ if $nav.login }}<li><a class="$nav.login.2" href="$nav.login.0" title="$nav.login.3" >$nav.login.1</a><li>{{ endif }}
  54. </ul>
  55. </li>
  56. <li id="nav-directory-link" class="nav-menu $sel.directory">
  57. <a class="$nav.directory.2" href="$nav.directory.0" title="$nav.directory.3" >$nav.directory.1</a>
  58. </li>
  59. {{ if $nav.apps }}
  60. <li id="nav-apps-link" class="nav-menu $sel.apps">
  61. <a class=" $nav.apps.2" href="#" rel="#nav-apps-menu" title="$nav.apps.3" >$nav.apps.1</a>
  62. <ul id="nav-apps-menu" class="menu-popup">
  63. {{ for $apps as $ap }}
  64. <li>$ap</li>
  65. {{ endfor }}
  66. </ul>
  67. </li>
  68. {{ endif }}
  69. {{ if $nav.home }}
  70. <li id="nav-home-link" class="nav-menu $sel.home">
  71. <a class="$nav.home.2" href="$nav.home.0" title="$nav.home.3" >$nav.home.1</a>
  72. <span id="home-update" class="nav-notify"></span>
  73. </li>
  74. {{ endif }}
  75. {{ if $userinfo }}
  76. <li id="nav-user-linkmenu" class="nav-menu-icon"><a href="#" rel="#nav-user-menu" title="$sitelocation"><img src="$userinfo.icon" alt="$userinfo.name"></a>
  77. <ul id="nav-user-menu" class="menu-popup">
  78. {{ for $nav.usermenu as $usermenu }}
  79. <li><a class="$usermenu.2" href="$usermenu.0" title="$usermenu.3">$usermenu.1</a></li>
  80. {{ endfor }}
  81. {{ if $nav.notifications }}<li><a class="menu-sep $nav.notifications.2" href="$nav.notifications.0" title="$nav.notifications.3" >$nav.notifications.1</a></li>{{ endif }}
  82. {{ if $nav.messages }}<li><a class="$nav.messages.2" href="$nav.messages.0" title="$nav.messages.3" >$nav.messages.1</a></li>{{ endif }}
  83. {{ if $nav.contacts }}<li><a class="$nav.contacts.2" href="$nav.contacts.0" title="$nav.contacts.3" >$nav.contacts.1</a></li>{{ endif }}
  84. </ul>
  85. </li>
  86. {{ endif }}
  87. </ul>
  88. </div>
  89. </nav>
  90. <ul id="nav-notifications-template" style="display:none;" rel="template">
  91. <li><a href="{0}"><img src="{1}">{2} <span class="notif-when">{3}</span></a></li>
  92. </ul>
  93. {#
  94. {{ if $nav.logout }}<a id="nav-logout-link" class="nav-link $nav.logout.2" href="$nav.logout.0" title="$nav.logout.3" >$nav.logout.1</a> {{ endif }}
  95. {{ if $nav.login }}<a id="nav-login-link" class="nav-login-link $nav.login.2" href="$nav.login.0" title="$nav.login.3" >$nav.login.1</a> {{ endif }}
  96. <span id="nav-link-wrapper" >
  97. {{ if $nav.register }}<a id="nav-register-link" class="nav-commlink $nav.register.2" href="$nav.register.0" title="$nav.register.3" >$nav.register.1</a>{{ endif }}
  98. <a id="nav-help-link" class="nav-link $nav.help.2" target="friendika-help" href="$nav.help.0" title="$nav.help.3" >$nav.help.1</a>
  99. {{ if $nav.apps }}<a id="nav-apps-link" class="nav-link $nav.apps.2" href="$nav.apps.0" title="$nav.apps.3" >$nav.apps.1</a>{{ endif }}
  100. <a id="nav-search-link" class="nav-link $nav.search.2" href="$nav.search.0" title="$nav.search.3" >$nav.search.1</a>
  101. <a id="nav-directory-link" class="nav-link $nav.directory.2" href="$nav.directory.0" title="$nav.directory.3" >$nav.directory.1</a>
  102. {{ if $nav.admin }}<a id="nav-admin-link" class="nav-link $nav.admin.2" href="$nav.admin.0" title="$nav.admin.3" >$nav.admin.1</a>{{ endif }}
  103. {{ if $nav.notifications }}
  104. <a id="nav-notify-link" class="nav-commlink $nav.notifications.2" href="$nav.notifications.0" title="$nav.notifications.3" >$nav.notifications.1</a>
  105. <span id="notify-update" class="nav-ajax-left"></span>
  106. {{ endif }}
  107. {{ if $nav.messages }}
  108. <a id="nav-messages-link" class="nav-commlink $nav.messages.2" href="$nav.messages.0" title="$nav.messages.3" >$nav.messages.1</a>
  109. <span id="mail-update" class="nav-ajax-left"></span>
  110. {{ endif }}
  111. {{ if $nav.manage }}<a id="nav-manage-link" class="nav-commlink $nav.manage.2" href="$nav.manage.0" title="$nav.manage.3">$nav.manage.1</a>{{ endif }}
  112. {{ if $nav.settings }}<a id="nav-settings-link" class="nav-link $nav.settings.2" href="$nav.settings.0" title="$nav.settings.3">$nav.settings.1</a>{{ endif }}
  113. {{ if $nav.profiles }}<a id="nav-profiles-link" class="nav-link $nav.profiles.2" href="$nav.profiles.0" title="$nav.profiles.3" >$nav.profiles.1</a>{{ endif }}
  114. </span>
  115. <span id="nav-end"></span>
  116. <span id="banner">$banner</span>
  117. #}