Koha/koha-tmpl/opac-tmpl/bootstrap/en/includes/usermenu.inc
Jonathan Druart f510627842 Bug 14544: Make the OPAC side independent of Page.pm
Bug 14544: Fix redirect on editing a list

If you edit a list from the list view, after saving the form, you are
not redirected to the list view (but on the edit form).

Bug 14544: Cosmetic: › should be a class divider

Signed-off-by: Alex Arnaud <alex.arnaud@biblibre.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2015-11-05 09:58:01 -03:00

107 lines
3.8 KiB
HTML

[% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && loggedinusername ) %]
<div id="menu">
<h4><a href="#" class="menu-collapse-toggle">Your account menu</a></h4>
<ul class="menu-collapse">
[% IF ( userview ) %]
<li class="active">
[% ELSE %]
<li>
[% END %]
<a href="/cgi-bin/koha/opac-user.pl">your summary</a></li>
[% IF ( OPACFinesTab ) %]
[% IF ( accountview ) %]
<li class="active">
[% ELSE %]
<li>
[% END %]
<a href="/cgi-bin/koha/opac-account.pl">your fines</a></li>
[% END %]
[% IF ( userupdateview ) %]
<li class="active">
[% ELSE %]
<li>
[% END %]
<a href="/cgi-bin/koha/opac-memberentry.pl">your personal details</a></li>
[% IF Koha.Preference( 'TagsEnabled' ) == 1 %]
[% IF ( tagsview ) %]
<li class="active">
[% ELSE %]
<li>
[% END %]
<a href="/cgi-bin/koha/opac-tags.pl?mine=1">your tags</a></li>
[% END %]
[% IF ( OpacPasswordChange ) %]
[% IF ( passwdview ) %]
<li class="active">
[% ELSE %]
<li>
[% END %]
<a href="/cgi-bin/koha/opac-passwd.pl">change your password</a></li>
[% END %]
[% IF EnableOpacSearchHistory %]
[% IF ( searchhistoryview ) %]
<li class="active">
[% ELSE %]
<li>
[% END %]
<a href="/cgi-bin/koha/opac-search-history.pl">your search history</a></li>
[% END %]
[% IF ( opacreadinghistory ) %]
[% IF ( readingrecview ) %]
<li class="active">
[% ELSE %]
<li>
[% END %]
<a href="/cgi-bin/koha/opac-readingrecord.pl">your reading history</a></li>
[% IF ( OPACPrivacy ) %]
[% IF ( privacyview ) %]
<li class="active">
[% ELSE %]
<li>
[% END %]
<a href="/cgi-bin/koha/opac-privacy.pl">your privacy</a></li>
[% END %]
[% END # / opacreadinghistory %]
[% IF Koha.Preference( 'suggestion' ) == 1 %]
[% IF ( suggestionsview ) %]
<li class="active">
[% ELSE %]
<li>
[% END %]
<a href="/cgi-bin/koha/opac-suggestions.pl">your purchase suggestions</a></li>
[% END %]
[% IF ( EnhancedMessagingPreferences ) %]
[% IF ( messagingview ) %]
<li class="active">
[% ELSE %]
<li>
[% END %]
<a href="/cgi-bin/koha/opac-messaging.pl">your messaging</a></li>
[% END %]
[% IF Koha.Preference( 'virtualshelves' ) == 1 %]
[% IF ( listsview ) %]
<li class="active">
[% ELSE %]
<li>
[% END %]
<a href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;category=1">your lists</a></li>
[% END %]
[% IF Koha.Preference( 'useDischarge' ) == 1 %]
[% IF ( dischargeview ) %]
<li class="active">
[% ELSE %]
<li>
[% END %]
<a href="/cgi-bin/koha/opac-discharge.pl">ask for a discharge</a></li>
[% END %]
</ul>
</div>
[% END %]