1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Administration › System Preferences</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang"-->/css/preferences.css" />
5 <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang"-->/css/humanmsg.css" />
6 <script src="<!-- TMPL_VAR NAME="themelang" -->/lib/jquery/plugins/humanmsg.js" type="text/javascript"></script>
7 <script src="<!-- TMPL_VAR NAME="themelang" -->/js/ajax.js" type="text/javascript"></script>
8 <script src="<!-- TMPL_VAR NAME="themelang" -->/js/pages/preferences.js" type="text/javascript"></script>
9 <script src="<!-- TMPL_VAR NAME="themelang" -->/lib/jquery/plugins/jquery.highlight-3.js" type="text/javascript"></script>
10 <script type="text/javascript">
12 // This is here because of its dependence on template variables, everything else should go in js/pages/preferences.js - jpw
13 var to_highlight = "<!-- TMPL_VAR NAME="searchfield" ESCAPE="JS"-->";
14 var search_jumped = <!-- TMPL_IF NAME="search_jumped" -->true<!-- TMPL_ELSE -->false<!-- /TMPL_IF -->;
19 <!-- TMPL_INCLUDE NAME="header.inc" -->
20 <!-- TMPL_INCLUDE NAME="prefs-admin-search.inc" -->
22 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> › System Preferences</div>
24 <div id="doc3" class="yui-t2">
30 <!-- TMPL_IF NAME="jump_not_found" -->
31 <h2>System preferences</h2>
32 <div class="dialog error">
33 Could not find a system preference named <code><!-- TMPL_VAR NAME="jumpfield" --></code>.
36 <!-- TMPL_IF NAME="search_not_found" -->
37 <div class="dialog error">
38 No system preferences matched your search for <strong><!-- TMPL_VAR NAME="searchfield" --></strong>. You can try a different search or <a href="/cgi-bin/koha/admin/preferences.pl?tab=<!-- TMPL_VAR NAME="last_tab" -->">return to where you were before.</a>
41 <!-- TMPL_LOOP NAME="TABS" -->
42 <div class="prefs-tab">
43 <h2><!-- TMPL_VAR NAME="tab_title" --> preferences</h2>
44 <form action="/cgi-bin/koha/admin/preferences.pl" method="post">
45 <input type="hidden" name="op" value="save" />
46 <input type="hidden" name="tab" value="<!-- TMPL_VAR NAME="tab" -->" />
48 <!-- TMPL_LOOP NAME="LINES" -->
49 <!-- TMPL_IF NAME="is_group_title" -->
50 <!-- TMPL_UNLESS NAME="__first__" --></tbody></table><!-- /TMPL_UNLESS -->
51 <h3><!-- TMPL_VAR NAME="title" --></h3><table>
52 <thead><tr><th>Preference</th><th>Value</th></tr></thead>
53 <!-- TMPL_UNLESS NAME="__last__" --><tbody><!-- /TMPL_UNLESS -->
55 <!-- TMPL_IF NAME="__first__" --><table><thead><tr><th>Preference</th><th>Value</th></tr></thead><tbody><!-- /TMPL_IF -->
57 <td class="name-cell">
59 <!-- TMPL_LOOP NAME="NAMES" -->
60 <label for="pref_<!-- TMPL_VAR NAME="name" -->">
61 <!-- TMPL_IF NAME="jumped" -->
62 <span class="term" id="jumped"><!-- TMPL_VAR NAME="name" --></span>
63 <!-- TMPL_ELSIF NAME="highlighted" -->
64 <span class="term"><!-- TMPL_VAR NAME="name" --></span>
66 <!-- TMPL_VAR NAME="name" -->
69 <!-- TMPL_UNLESS NAME="__last__" --><br /><!-- /TMPL_UNLESS -->
74 <!-- TMPL_LOOP NAME="CHUNKS" -->
75 <!-- TMPL_IF NAME="type_text" -->
76 <!-- TMPL_VAR NAME="contents" -->
77 <!-- TMPL_ELSIF NAME="type_input" -->
78 <input type="<!-- TMPL_VAR NAME="input_type" DEFAULT="text" -->" name="pref_<!-- TMPL_VAR NAME="name" -->" id="pref_<!-- TMPL_VAR NAME="name" -->" class="preference preference-<!-- TMPL_VAR NAME="class" DEFAULT="short" -->" value="<!-- TMPL_VAR NAME="value" -->" autocomplete="off" />
79 <!-- TMPL_ELSIF NAME="type_select" -->
80 <select name="pref_<!-- TMPL_VAR NAME="name" -->" id="pref_<!-- TMPL_VAR NAME="name" -->" class="preference preference-<!-- TMPL_VAR NAME="class" DEFAULT="choice" -->">
81 <!-- TMPL_LOOP NAME="CHOICES" -->
82 <!-- TMPL_IF NAME="selected" -->
83 <option value="<!-- TMPL_VAR NAME="value" -->" selected="selected">
85 <option value="<!-- TMPL_VAR NAME="value" -->">
87 <!-- TMPL_VAR NAME="text" -->
91 <!-- TMPL_ELSIF NAME="type_textarea" -->
92 <a class="expand-textarea" style="display: none" href="#">Click to Edit</a>
93 <textarea name="pref_<!-- TMPL_VAR NAME="name" -->" id="pref_<!-- TMPL_VAR NAME="name" -->" class="preference preference-<!-- TMPL_VAR NAME="class" DEFAULT="short" -->"><!-- TMPL_VAR NAME="value" --></textarea>
94 <!-- TMPL_ELSIF NAME="type_languages" -->
96 <!-- TMPL_LOOP NAME="languages" -->
98 <!-- TMPL_IF NAME="plural" -->
100 <!-- TMPL_IF NAME="native_description" --><!-- TMPL_VAR NAME="native_description" --><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="rfc4646_subtag" --><!-- /TMPL_IF -->
102 <!-- TMPL_LOOP NAME="sublanguages_loop" -->
104 <label for="<!-- TMPL_VAR NAME="rfc4646_subtag" -->"><!-- TMPL_VAR NAME="native_description" --> <!-- TMPL_VAR NAME="script_description" --> <!-- TMPL_VAR NAME="region_description" --> <!-- TMPL_VAR NAME="variant_description" -->(<!-- TMPL_VAR NAME="rfc4646_subtag" -->)</label>
105 <!-- TMPL_IF NAME="enabled" -->
106 <input value="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" name="pref_<!-- TMPL_VAR NAME="name" -->" id="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" type="checkbox" checked="checked" />
108 <input value="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" name="pref_<!-- TMPL_VAR NAME="name" -->" id="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" type="checkbox" />
114 <label for="<!-- TMPL_VAR NAME="rfc4646_subtag" -->"><!-- TMPL_VAR NAME="native_description" -->(<!-- TMPL_VAR NAME="rfc4646_subtag" -->)</label>
115 <!-- TMPL_IF NAME="group_enabled" -->
116 <input value="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" name="pref_<!-- TMPL_VAR NAME="name" -->" id="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" type="checkbox" checked="checked" />
118 <input value="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" name="pref_<!-- TMPL_VAR NAME="name" -->" id="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" type="checkbox" />
128 <!-- TMPL_IF NAME="__last__" --></tbody></table><!-- /TMPL_IF -->
131 <fieldset class="action"><button class="save-all submit" type="submit">Save all <!-- TMPL_VAR NAME="tab_title" --> preferences</button> <a href="/cgi-bin/koha/admin/preferences.pl?tab=<!-- TMPL_VAR NAME="tab" -->" class="cancel">Cancel</a></fieldset>
138 <!-- TMPL_INCLUDE NAME="prefs-menu.inc" -->
141 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->