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 $(document).ready(function(){
13 $("h3").attr("class","expanded").attr("title",_("Click to expand this section"));
14 var collapsible = $(".collapsed,.expanded");
16 $(collapsible).toggle(function () {
17 $(this).addClass("collapsed").removeClass("expanded").attr("title",_("Click to expand this section"));
18 $(this).next("table").hide();
21 $(this).addClass("expanded").removeClass("collapsed").attr("title",_("Click to collapse this section"));
22 $(this).next("table").show();
28 <!-- TMPL_IF NAME="searchfield" -->
29 var to_highlight = "<!-- TMPL_VAR NAME="searchfield" ESCAPE="JS"-->";
32 var words = to_highlight.split( ' ' );
33 $( document ).ready( function () {
34 $( '.prefs-tab table' ).find( 'td, th' ).not( '.name-cell' ).each( function ( i, td ) {
35 $.each( words, function ( i, word ) { $( td ).highlight( word ) } );
36 } ).find( 'option' ).removeHighlight();
44 <!-- TMPL_INCLUDE NAME="header.inc" -->
45 <!-- TMPL_INCLUDE NAME="prefs-admin-search.inc" -->
47 <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>
49 <div id="doc3" class="yui-t2">
55 <form action="/cgi-bin/koha/admin/preferences.pl" method="get">
56 <input type="hidden" name="op" value="jump" />
57 <input type="hidden" name="tab" value="<!-- TMPL_VAR NAME="tab" -->" />
58 <label for="jumpfield">Jump to named preference:</label>
59 <input type="text" name="jumpfield" id="jumpfield" value="<!-- TMPL_VAR NAME="jumpfield" -->" />
60 <input type="submit" value="Jump" />
64 <!-- TMPL_IF NAME="jump_not_found" -->
65 <h2>System preferences</h2>
66 <div class="dialog error">
67 Could not find a system preference named <code><!-- TMPL_VAR NAME="jumpfield" --></code>.
70 <!-- TMPL_IF NAME="search_not_found" -->
71 <div class="dialog error">
72 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>
75 <!-- TMPL_LOOP NAME="TABS" -->
76 <div class="prefs-tab">
77 <h2><!-- TMPL_VAR NAME="tab_title" --> preferences</h2>
78 <form action="/cgi-bin/koha/admin/preferences.pl" method="post">
79 <input type="hidden" name="op" value="save" />
80 <input type="hidden" name="tab" value="<!-- TMPL_VAR NAME="tab" -->" />
82 <!-- TMPL_LOOP NAME="LINES" -->
83 <!-- TMPL_IF NAME="is_group_title" -->
84 <!-- TMPL_IF NAME="__first__" -->
85 <h3><!-- TMPL_IF NAME="highlighted" -->
86 <span class="term"><!-- TMPL_VAR NAME="title" --></span>
88 <!-- TMPL_VAR NAME="title" -->
89 <!-- /TMPL_IF --></h3><table><!-- TMPL_ELSE --></tbody></table>
90 <h3><!-- TMPL_IF NAME="highlighted" -->
91 <span class="term"><!-- TMPL_VAR NAME="title" --></span>
93 <!-- TMPL_VAR NAME="title" -->
94 <!-- /TMPL_IF --></h3><table><!-- /TMPL_IF -->
95 <thead><tr><th>Preference</th><th>Value</th></tr></thead>
96 <!-- TMPL_UNLESS NAME="__last__" --><tbody><!-- /TMPL_UNLESS -->
98 <!-- TMPL_IF NAME="__first__" --><table><thead><tr><th>Preference</th><th>Value</th></tr></thead><tbody><!-- /TMPL_IF -->
100 <td class="name-cell">
102 <!-- TMPL_LOOP NAME="NAMES" -->
103 <label for="pref_<!-- TMPL_VAR NAME="name" -->">
104 <!-- TMPL_IF NAME="highlighted" -->
105 <span class="term" id="highlighted"><!-- TMPL_VAR NAME="name" --></span>
107 <!-- TMPL_VAR NAME="name" -->
110 <!-- TMPL_UNLESS NAME="__last__" --><br /><!-- /TMPL_UNLESS -->
115 <!-- TMPL_LOOP NAME="CHUNKS" -->
116 <!-- TMPL_IF NAME="type_text" -->
117 <!-- TMPL_IF NAME="highlighted" -->
118 <span class="term"><!-- TMPL_VAR NAME="contents" --></span>
120 <!-- TMPL_VAR NAME="contents" -->
122 <!-- TMPL_ELSIF NAME="type_input" -->
123 <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" />
124 <!-- TMPL_ELSIF NAME="type_select" -->
125 <select name="pref_<!-- TMPL_VAR NAME="name" -->" id="pref_<!-- TMPL_VAR NAME="name" -->" class="preference preference-<!-- TMPL_VAR NAME="class" DEFAULT="choice" -->">
126 <!-- TMPL_LOOP NAME="CHOICES" -->
127 <!-- TMPL_IF NAME="selected" -->
128 <option value="<!-- TMPL_VAR NAME="value" -->" selected="selected">
130 <option value="<!-- TMPL_VAR NAME="value" -->">
132 <!-- TMPL_VAR NAME="text" -->
136 <!-- TMPL_ELSIF NAME="type_textarea" -->
137 <a class="expand-textarea" style="display: none" href="#">Click to Edit</a>
138 <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>
139 <!-- TMPL_ELSIF NAME="type_languages" -->
141 <!-- TMPL_LOOP NAME="languages" -->
143 <!-- TMPL_IF NAME="plural" -->
145 <!-- TMPL_IF NAME="native_description" --><!-- TMPL_VAR NAME="native_description" --><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="rfc4646_subtag" --><!-- /TMPL_IF -->
147 <!-- TMPL_LOOP NAME="sublanguages_loop" -->
149 <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>
150 <!-- TMPL_IF NAME="enabled" -->
151 <input value="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" name="pref_<!-- TMPL_VAR NAME="name" -->" id="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" type="checkbox" checked="checked" />
153 <input value="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" name="pref_<!-- TMPL_VAR NAME="name" -->" id="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" type="checkbox" />
159 <label for="<!-- TMPL_VAR NAME="rfc4646_subtag" -->"><!-- TMPL_VAR NAME="native_description" -->(<!-- TMPL_VAR NAME="rfc4646_subtag" -->)</label>
160 <!-- TMPL_IF NAME="group_enabled" -->
161 <input value="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" name="pref_<!-- TMPL_VAR NAME="name" -->" id="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" type="checkbox" checked="checked" />
163 <input value="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" name="pref_<!-- TMPL_VAR NAME="name" -->" id="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" type="checkbox" />
173 <!-- TMPL_IF NAME="__last__" --></tbody></table><!-- /TMPL_IF -->
176 <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>
183 <!-- TMPL_INCLUDE NAME="prefs-menu.inc" -->
186 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->