Bug 7317: Interlibrary loans framework for Koha.
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / includes / usermenu.inc
1 [% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && loggedinusername ) %]
2     <div id="menu">
3         <h4><a href="#" class="menu-collapse-toggle">Your account menu</a></h4>
4         <ul class="menu-collapse">
5             [% IF ( userview ) %]
6                 <li class="active">
7             [% ELSE %]
8                 <li>
9             [% END %]
10                 <a href="/cgi-bin/koha/opac-user.pl">your summary</a></li>
11             [% IF ( OPACFinesTab ) %]
12                 [% IF ( accountview ) %]
13                     <li class="active">
14                 [% ELSE %]
15                     <li>
16                 [% END %]
17                 <a href="/cgi-bin/koha/opac-account.pl">your fines</a></li>
18             [% END %]
19
20             [% IF ( userupdateview ) %]
21                 <li class="active">
22             [% ELSE %]
23                 <li>
24             [% END %]
25                 <a href="/cgi-bin/koha/opac-memberentry.pl">your personal details</a></li>
26             [% IF Koha.Preference( 'TagsEnabled' ) == 1 %]
27                 [% IF ( tagsview ) %]
28                     <li class="active">
29                 [% ELSE %]
30                     <li>
31                 [% END %]
32                 <a href="/cgi-bin/koha/opac-tags.pl?mine=1">your tags</a></li>
33             [% END %]
34
35             [% IF ( OpacPasswordChange ) %]
36                 [% IF ( passwdview ) %]
37                     <li class="active">
38                 [% ELSE %]
39                     <li>
40                 [% END %]
41                 <a href="/cgi-bin/koha/opac-passwd.pl">change your password</a></li>
42             [% END %]
43
44             [% IF EnableOpacSearchHistory %]
45                 [% IF ( searchhistoryview ) %]
46                     <li class="active">
47                 [% ELSE %]
48                     <li>
49                 [% END %]
50                 <a href="/cgi-bin/koha/opac-search-history.pl">your search history</a></li>
51             [% END %]
52
53             [% IF ( opacreadinghistory ) %]
54                 [% IF ( readingrecview ) %]
55                     <li class="active">
56                 [% ELSE %]
57                     <li>
58                 [% END %]
59                 <a href="/cgi-bin/koha/opac-readingrecord.pl">your reading history</a></li>
60                 [% IF ( OPACPrivacy ) %]
61                     [% IF ( privacyview ) %]
62                         <li class="active">
63                     [% ELSE %]
64                         <li>
65                     [% END %]
66                     <a href="/cgi-bin/koha/opac-privacy.pl">your privacy</a></li>
67                 [% END %]
68             [% END # / opacreadinghistory %]
69
70             [% IF Koha.Preference( 'suggestion' ) == 1 %]
71                 [% IF ( suggestionsview ) %]
72                     <li class="active">
73                 [% ELSE %]
74                     <li>
75                 [% END %]
76                 <a href="/cgi-bin/koha/opac-suggestions.pl">your purchase suggestions</a></li>
77             [% END %]
78
79             [% IF ( EnhancedMessagingPreferences ) %]
80                 [% IF Koha.Preference( 'EnhancedMessagingPreferencesOPAC' ) %]
81                     [% IF ( messagingview ) %]
82                         <li class="active">
83                     [% ELSE %]
84                         <li>
85                     [% END %]
86                     <a href="/cgi-bin/koha/opac-messaging.pl">your messaging</a></li>
87                  [% END %]
88             [% END %]
89
90             [% IF Koha.Preference( 'virtualshelves' ) == 1 %]
91                 [% IF ( listsview ) %]
92                     <li class="active">
93                 [% ELSE %]
94                     <li>
95                 [% END %]
96                 <a href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;category=1">your lists</a></li>
97             [% END %]
98
99             [% IF Koha.Preference( 'useDischarge' ) == 1 %]
100                 [% IF ( dischargeview ) %]
101                     <li class="active">
102                 [% ELSE %]
103                     <li>
104                 [% END %]
105                 <a href="/cgi-bin/koha/opac-discharge.pl">ask for a discharge</a></li>
106             [% END %]
107
108             [% IF Koha.Preference( 'ILLModule' ) == 1 %]
109                 [% IF ( illrequestsview ) %]
110                     <li class="active">
111                 [% ELSE %]
112                     <li>
113                 [% END %]
114                 <a href="/cgi-bin/koha/opac-illrequests.pl">your interlibrary loan requests</a></li>
115             [% END %]
116         </ul>
117     </div>
118 [% END %]