messaging removed from user menu
[koha.git] / koha-tmpl / opac-tmpl / prog / en / includes / usermenu.inc
index 78be709..dda49ea 100644 (file)
@@ -1,16 +1,38 @@
-<div id="usermenu">
-        <p><a href="/cgi-bin/koha/opac-user.pl">my summary</a>
-        <a href="/cgi-bin/koha/opac-account.pl">my fines</a>
-        <a href="/cgi-bin/koha/opac-userdetails.pl">my personal details</a>
-        <a href="/cgi-bin/koha/opac-passwd.pl">change my password</a>
-        <!-- TMPL_IF NAME="opacreadinghistory" -->
-             <a href="/cgi-bin/koha/opac-readingrecord.pl">my reading history</a>
-        <!-- /TMPL_IF -->
-        <!-- TMPL_IF name="virtualshelves" -->
-             <a href="/cgi-bin/koha/opac-shelves.pl" class="button">my book lists</a>
-        <!-- /TMPL_IF -->
-        <!-- TMPL_IF name="suggestion" -->
-            <a href="/cgi-bin/koha/opac-suggestions.pl">purchase suggestions</a>
-        <!-- /TMPL_IF -->
-        </p>
-</div>
\ No newline at end of file
+<!-- TMPL_IF NAME="opacuserlogin" --><!-- TMPL_IF NAME="loggedinusername" -->
+<div id="menu">
+<ul>
+  <!-- TMPL_IF NAME="userview" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a href="/cgi-bin/koha/opac-user.pl">my summary</a></li>
+  <!-- TMPL_IF NAME="OPACFinesTab" -->
+  <!-- TMPL_IF NAME="accountview" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a href="/cgi-bin/koha/opac-account.pl">my fines</a></li>
+  <!-- /TMPL_IF -->
+  <!-- TMPL_IF NAME="userupdateview" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a href="/cgi-bin/koha/opac-userupdate.pl">my personal details</a></li>
+  <!-- TMPL_IF NAME="TagsEnabled" -->
+    <!-- TMPL_IF NAME="tagsview" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a href="/cgi-bin/koha/opac-tags.pl?mine=1">my tags</a></li>
+  <!-- /TMPL_IF -->
+  <!-- TMPL_IF NAME="OpacPasswordChange" -->
+    <!-- TMPL_IF NAME="passwdview" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a href="/cgi-bin/koha/opac-passwd.pl">change my password</a></li>
+  <!-- /TMPL_IF -->
+  <!-- TMPL_IF NAME="ShowOpacRecentSearchLink" -->
+  <!-- TMPL_IF NAME="searchhistoryview" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a href="/cgi-bin/koha/opac-search-history.pl">my search history</a></li>
+  <!-- /TMPL_IF -->
+  <!-- TMPL_IF NAME="opacreadinghistory" -->
+  <!-- TMPL_IF NAME="readingrecview" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a href="/cgi-bin/koha/opac-readingrecord.pl">my reading history</a></li>
+  <!-- /TMPL_IF -->
+  <!-- TMPL_IF name="suggestion" -->
+    <!-- TMPL_UNLESS NAME="AnonSuggestions" -->
+      <!-- TMPL_IF NAME="suggestionsview" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a href="/cgi-bin/koha/opac-suggestions.pl">my purchase suggestions</a></li>
+    <!-- /TMPL_UNLESS -->
+  <!-- /TMPL_IF -->
+<!--
+  <!-- TMPL_IF NAME="EnhancedMessagingPreferences" -->
+    <!-- TMPL_IF NAME="messagingview" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a href="/cgi-bin/koha/opac-messaging.pl">my messaging</a></li>
+  <!-- /TMPL_IF -->
+-->  
+<!-- TMPL_IF NAME="virtualshelves" --> 
+  <!-- TMPL_IF NAME="listsview" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF --><a href="/cgi-bin/koha/opac-shelves.pl?display=privateshelves">my lists</a></li>
+  <!-- /TMPL_IF -->
+
+</ul>
+</div>
+<!-- /TMPL_IF --><!-- TMPL_ELSE --><!-- /TMPL_IF -->
+