Bug 25898: Fix indirect object notation in debian/list-deps
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / includes / admin-menu.inc
1 [% USE Koha %]
2
3 <div id="navmenu">
4 <div id="navmenulist">
5
6     [% IF ( CAN_user_parameters_manage_sysprefs ) %]
7         <h5>System preferences</h5>
8         <ul>
9             <li><a href="/cgi-bin/koha/admin/preferences.pl">System preferences</a></li>
10         </ul>
11     [% END %]
12
13     [% IF ( CAN_user_parameters_manage_libraries || CAN_user_parameters_manage_itemtypes || CAN_user_parameters_manage_auth_values ) %]
14         <h5>Basic parameters</h5>
15         <ul>
16             [% IF ( CAN_user_parameters_manage_libraries ) %]
17                 <li><a href="/cgi-bin/koha/admin/branches.pl">Libraries</a></li>
18                 <li><a href="/cgi-bin/koha/admin/library_groups.pl">Library groups</a></li>
19                 [% IF ( Koha.Preference('UseCirculationDesks') ) %]
20                     <li><a href="/cgi-bin/koha/admin/desks.pl">Desks</a></li>
21                 [% END %]
22             [% END %]
23             [% IF ( CAN_user_parameters_manage_itemtypes ) %]
24                 <li><a href="/cgi-bin/koha/admin/itemtypes.pl">Item types</a></li>
25             [% END %]
26             [% IF ( CAN_user_parameters_manage_auth_values ) %]
27                 <li><a href="/cgi-bin/koha/admin/authorised_values.pl">Authorized values</a></li>
28             [% END %]
29         </ul>
30     [% END %]
31
32     [% IF ( CAN_user_parameters_manage_patron_categories || CAN_user_parameters_manage_circ_rules || CAN_user_parameters_manage_patron_attributes || CAN_user_parameters_manage_transfers || CAN_user_parameters_manage_item_circ_alerts || CAN_user_parameters_manage_cities ) %]
33         <h5>Patrons and circulation</h5>
34         <ul>
35             [% IF ( CAN_user_parameters_manage_patron_categories ) %]
36                 <li><a href="/cgi-bin/koha/admin/categories.pl">Patron categories</a></li>
37             [% END %]
38             [% IF ( CAN_user_parameters_manage_circ_rules ) %]
39                 <li><a href="/cgi-bin/koha/admin/smart-rules.pl">Circulation and fines rules</a></li>
40             [% END %]
41             [% IF ( CAN_user_parameters_manage_patron_attributes ) %]
42                 <li><a href="/cgi-bin/koha/admin/patron-attr-types.pl">Patron attribute types</a></li>
43             [% END %]
44             [% IF ( CAN_user_parameters_manage_transfers ) %]
45                 <li><a href="/cgi-bin/koha/admin/branch_transfer_limits.pl">Library transfer limits</a></li>
46                 <li><a href="/cgi-bin/koha/admin/transport-cost-matrix.pl">Transport cost matrix</a></li>
47             [% END %]
48             [% IF ( CAN_user_parameters_manage_item_circ_alerts ) %]
49                 <li><a href="/cgi-bin/koha/admin/item_circulation_alerts.pl">Item circulation alerts</a></li>
50             [% END %]
51             [% IF ( CAN_user_parameters_manage_cities ) %]
52                 <li><a href="/cgi-bin/koha/admin/cities.pl">Cities and towns</a></li>
53             [% END %]
54         </ul>
55     [% END %]
56
57     [% IF ( CAN_user_parameters_manage_accounts || ( Koha.Preference('UseCashRegisters') && CAN_user_parameters_manage_cash_registers ) ) %]
58         <h5>Accounting</h5>
59         <ul>
60             [% IF ( CAN_user_parameters_manage_accounts ) %]
61                 <li><a href="/cgi-bin/koha/admin/debit_types.pl">Debit types</a></li>
62                 <li><a href="/cgi-bin/koha/admin/credit_types.pl">Credit types</a></li>
63             [% END %]
64             [% IF ( Koha.Preference('UseCashRegisters') && CAN_user_parameters_manage_cash_registers ) %]
65                 <li><a href="/cgi-bin/koha/admin/cash_registers.pl">Cash registers</a></li>
66             [% END %]
67         </ul>
68     [% END %]
69
70     [% IF ( CAN_user_parameters_manage_marc_frameworks || CAN_user_parameters_manage_classifications || CAN_user_parameters_manage_matching_rules || CAN_user_parameters_manage_oai_sets || CAN_user_parameters_manage_item_search_fields || CAN_user_parameters_manage_search_engine_config ) %]
71         <h5>Catalog</h5>
72         <ul>
73             [% IF ( CAN_user_parameters_manage_marc_frameworks ) %]
74                 <li><a href="/cgi-bin/koha/admin/biblio_framework.pl">MARC bibliographic framework</a></li>
75                 <li><a href="/cgi-bin/koha/admin/koha2marclinks.pl">Koha to MARC mapping</a></li>
76             [% END %]
77             [% IF ( CAN_user_parameters_manage_marc_frameworks ) %]
78                 <li><a href="/cgi-bin/koha/admin/checkmarc.pl">MARC bibliographic framework test</a></li>
79                 <li><a href="/cgi-bin/koha/admin/authtypes.pl">Authority types</a></li>
80             [% END %]
81             [% IF ( CAN_user_parameters_manage_classifications ) %]
82                 <li><a href="/cgi-bin/koha/admin/classsources.pl">Classification sources</a></li>
83             [% END %]
84             [% IF ( CAN_user_parameters_manage_matching_rules ) %]
85                 <li><a href="/cgi-bin/koha/admin/matching-rules.pl">Record matching rules</a></li>
86             [% END %]
87             [% IF ( CAN_user_parameters_manage_oai_sets ) %]
88                 <li><a href="/cgi-bin/koha/admin/oai_sets.pl">OAI sets configuration</a></li>
89             [% END %]
90             [% IF ( CAN_user_parameters_manage_item_search_fields ) %]
91                 <li><a href="/cgi-bin/koha/admin/items_search_fields.pl">Item search fields</a></li>
92             [% END %]
93             [% IF ( CAN_user_parameters_manage_search_engine_config ) %]
94                 <li><a href="/cgi-bin/koha/admin/searchengine/elasticsearch/mappings.pl">Search engine configuration (Elasticsearch)</a></li>
95             [% END %]
96         </ul>
97     [% END %]
98
99     [% IF ( CAN_user_acquisition_currencies_manage || CAN_user_acquisition_period_manage || CAN_user_acquisition_budget_manage || CAN_user_acquisition_edi_manage ) %]
100         <h5>Acquisition parameters</h5>
101
102         <ul>
103             [% IF ( CAN_user_acquisition_currencies_manage ) %]
104                 <li><a href="/cgi-bin/koha/admin/currency.pl">Currencies and exchange rates</a></li>
105             [% END %]
106             [% IF ( CAN_user_acquisition_period_manage ) %]
107                 <li><a href="/cgi-bin/koha/admin/aqbudgetperiods.pl">Budgets</a></li>
108             [% END %]
109             [% IF ( CAN_user_acquisition_budget_manage ) %]
110                 <li><a href="/cgi-bin/koha/admin/aqbudgets.pl">Funds</a></li>
111             [% END %]
112             [% IF ( CAN_user_acquisition_edi_manage ) %]
113                 <li><a href="/cgi-bin/koha/admin/edi_accounts.pl">EDI accounts</a></li>
114                 <li><a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a></li>
115             [% END %]
116         </ul>
117     [% END %]
118
119     [% IF CAN_user_plugins && plugins_enabled %]
120         <h5>Plugins</h5>
121         <ul>
122             <li><a href="/cgi-bin/koha/plugins/plugins-home.pl">Manage plugins</a></li>
123         </ul>
124     [% END %]
125
126     [% IF ( CAN_user_parameters_manage_smtp_servers || CAN_user_parameters_manage_search_targets || CAN_user_parameters_manage_didyoumean || CAN_user_parameters_manage_column_config || CAN_user_parameters_manage_audio_alerts || ( CAN_user_parameters_manage_sms_providers && Koha.Preference('SMSSendDriver') == 'Email' ) || CAN_user_parameters_manage_usage_stats || CAN_user_parameters_manage_additional_fields || ( Koha.Preference('EnableAdvancedCatalogingEditor') && CAN_user_parameters_manage_keyboard_shortcuts ) ) %]
127         <h5>Additional parameters</h5>
128         <ul>
129             [% IF ( CAN_user_parameters_manage_search_targets ) %]
130                 <li><a href="/cgi-bin/koha/admin/z3950servers.pl">Z39.50/SRU servers</a></li>
131             [% END %]
132             [% IF ( CAN_user_parameters_manage_smtp_servers ) %]
133                 <li><a href="/cgi-bin/koha/admin/smtp_servers.pl">SMTP servers</a></li>
134             [% END %]
135             [% IF ( CAN_user_parameters_manage_didyoumean ) %]
136                 <li><a href="/cgi-bin/koha/admin/didyoumean.pl">Did you mean?</a></li>
137             [% END %]
138             [% IF ( CAN_user_parameters_manage_column_config ) %]
139                 <li><a href="/cgi-bin/koha/admin/columns_settings.pl">Table settings</a></li>
140             [% END %]
141             [% IF ( CAN_user_parameters_manage_audio_alerts ) %]
142                 <li><a href="/cgi-bin/koha/admin/audio_alerts.pl">Audio alerts</a></li>
143             [% END %]
144             [% IF ( CAN_user_parameters_manage_sms_providers && Koha.Preference('SMSSendDriver') == 'Email' ) %]
145                     <li><a href="/cgi-bin/koha/admin/sms_providers.pl">SMS cellular providers</a></li>
146             [% END %]
147             [% IF ( CAN_user_parameters_manage_usage_stats ) %]
148                 <li><a href="/cgi-bin/koha/admin/usage_statistics.pl">Share usage statistics</a></li>
149             [% END %]
150             [% IF ( CAN_user_parameters_manage_mana ) %]
151                 <li><a href="/cgi-bin/koha/admin/share_content.pl">Share content with Mana KB</a></li>
152             [% END %]
153             [% IF ( CAN_user_parameters_manage_additional_fields ) %]
154                 <li><a href="/cgi-bin/koha/admin/additional-fields.pl">Additional fields</a></li>
155             [% END %]
156             [% IF ( Koha.Preference('EnableAdvancedCatalogingEditor') && CAN_user_parameters_manage_keyboard_shortcuts ) %]
157                 <li><a href="/cgi-bin/koha/admin/adveditorshortcuts.pl">Keyboard shortcuts</a></li>
158             [% END %]
159         </ul>
160     [% END %]
161 </div>
162 </div>