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.
 
 
 
 
 
 

169 lines
7.5 KiB

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