Fix for Bug 4820, Alter layout of Circulation and fines rules page for clarity
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / admin / preferences.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Administration &rsaquo; System Preferences</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
5 <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang"-->/css/preferences.css" />
6 <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang"-->/css/humanmsg.css" />
7 <script src="<!-- TMPL_VAR NAME="themelang" -->/lib/jquery/plugins/humanmsg.js" type="text/javascript"></script>
8 <script src="<!-- TMPL_VAR NAME="themelang" -->/js/ajax.js" type="text/javascript"></script>
9 <script src="<!-- TMPL_VAR NAME="themelang" -->/js/pages/preferences.js" type="text/javascript"></script>
10 <script src="<!-- TMPL_VAR NAME="themelang" -->/lib/jquery/plugins/jquery.highlight-3.js" type="text/javascript"></script>
11 <script type="text/javascript">
12  //<![CDATA[
13     // This is here because of its dependence on template variables, everything else should go in js/pages/preferences.js - jpw
14     var to_highlight = "<!-- TMPL_VAR NAME="searchfield" ESCAPE="JS"-->";
15     var search_jumped = <!-- TMPL_IF NAME="search_jumped" -->true<!-- TMPL_ELSE -->false<!-- /TMPL_IF -->;
16 //]]>
17 </script>
18 </head>
19 <body>
20 <!-- TMPL_INCLUDE NAME="header.inc" -->
21 <!-- TMPL_INCLUDE NAME="prefs-admin-search.inc" -->
22
23 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; System Preferences</div>
24
25 <div id="doc3" class="yui-t2">
26
27    <div id="bd">
28     <div id="yui-main">
29     <div class="yui-b">
30
31     <!-- TMPL_IF NAME="jump_not_found" -->
32     <h2>System preferences</h2>
33     <div class="dialog alert">
34         Could not find a system preference named <code><!-- TMPL_VAR NAME="jumpfield" --></code>.
35     </div>
36     <!-- /TMPL_IF -->
37     <!-- TMPL_IF NAME="search_not_found" -->
38     <div class="dialog alert">
39         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>
40     </div>
41     <!-- /TMPL_IF -->
42     <!-- TMPL_LOOP NAME="TABS" -->
43     <div class="prefs-tab">
44     <h2><!-- TMPL_VAR NAME="tab_title" --> preferences</h2>
45     <form action="/cgi-bin/koha/admin/preferences.pl" method="post">
46         <input type="hidden" name="op" value="save" />
47         <input type="hidden" name="tab" value="<!-- TMPL_VAR NAME="tab" -->" />
48
49             <!-- TMPL_LOOP NAME="LINES" -->
50             <!-- TMPL_IF NAME="is_group_title" -->
51             <!-- TMPL_UNLESS NAME="__first__" --></tbody></table><!-- /TMPL_UNLESS -->
52             <h3><!-- TMPL_VAR NAME="title" --></h3>
53             <table class="preferences">
54             <thead><tr><th>Preference</th><th>Value</th></tr></thead>
55             <!-- TMPL_UNLESS NAME="__last__" --><tbody><!-- /TMPL_UNLESS -->
56             <!-- TMPL_ELSE -->
57             <!-- TMPL_IF NAME="__first__" --><table class="preferences"><thead><tr><th>Preference</th><th>Value</th></tr></thead><tbody><!-- /TMPL_IF -->
58             <tr class="name-row">
59                 <td class="name-cell">
60                     <code>
61                         <!-- TMPL_LOOP NAME="NAMES" -->
62                                                 <label for="pref_<!-- TMPL_VAR NAME="name" -->">
63                                                         <!-- TMPL_IF NAME="jumped" -->
64                                                         <span class="term" id="jumped"><!-- TMPL_VAR NAME="name" --></span>
65                             <!-- TMPL_ELSIF NAME="highlighted" -->
66                                                         <span class="term"><!-- TMPL_VAR NAME="name" --></span>
67                                                         <!-- TMPL_ELSE -->
68                                                         <!-- TMPL_VAR NAME="name" -->
69                                                         <!-- /TMPL_IF -->
70                                                 </label>
71                         <!-- TMPL_UNLESS NAME="__last__" --><br /><!-- /TMPL_UNLESS -->
72                         <!-- /TMPL_LOOP -->
73                     </code>
74                 </td>
75                 <td>
76                     <!-- TMPL_LOOP NAME="CHUNKS" -->
77                     <!-- TMPL_IF NAME="type_text" -->
78                     <!-- TMPL_VAR NAME="contents" -->
79                     <!-- TMPL_ELSIF NAME="type_input" -->
80                     <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" /> <!-- TMPL_IF NAME="dateinput" --><span class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></span><!-- /TMPL_IF -->
81                     <!-- TMPL_ELSIF NAME="type_select" -->
82                     <select name="pref_<!-- TMPL_VAR NAME="name" -->" id="pref_<!-- TMPL_VAR NAME="name" -->" class="preference preference-<!-- TMPL_VAR NAME="class" DEFAULT="choice" -->">
83                         <!-- TMPL_LOOP NAME="CHOICES" -->
84                         <!-- TMPL_IF NAME="selected" -->
85                         <option value="<!-- TMPL_VAR NAME="value" -->" selected="selected">
86                         <!-- TMPL_ELSE -->
87                         <option value="<!-- TMPL_VAR NAME="value" -->">
88                         <!-- /TMPL_IF -->
89                             <!-- TMPL_VAR NAME="text" -->
90                         </option>
91                         <!-- /TMPL_LOOP -->
92                     </select>
93                     <!-- TMPL_ELSIF NAME="type_textarea" -->
94                                         <a class="expand-textarea" style="display: none" href="#">Click to Edit</a>
95                                         <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>
96                     <!-- TMPL_ELSIF NAME="type_languages" -->
97                     <dl>
98                     <!-- TMPL_LOOP NAME="languages" -->
99                         <!-- TMPL_IF NAME="plural" -->
100                         <dt>
101                             <!-- TMPL_IF NAME="native_description" --><!-- TMPL_VAR NAME="native_description" --><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="rfc4646_subtag" --><!-- /TMPL_IF -->
102                         </dt>
103                         <!-- TMPL_LOOP NAME="sublanguages_loop" -->
104                         <dd>
105                             <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>
106                             <!-- TMPL_IF NAME="enabled" -->
107                             <input value="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" name="pref_<!-- TMPL_VAR NAME="name" -->" id="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" type="checkbox" checked="checked" class="preference preference-checkbox"/>
108                             <!-- TMPL_ELSE -->
109                             <input value="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" name="pref_<!-- TMPL_VAR NAME="name" -->" id="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" type="checkbox" class="preference preference-checkbox"/>
110                             <!-- /TMPL_IF -->
111                         </dd>
112                         <!-- /TMPL_LOOP -->
113                         <!-- TMPL_ELSE -->
114                         <dt>
115                             <label for="<!-- TMPL_VAR NAME="rfc4646_subtag" -->"><!-- TMPL_VAR NAME="native_description" -->(<!-- TMPL_VAR NAME="rfc4646_subtag" -->)</label>
116                             <!-- TMPL_IF NAME="group_enabled" -->
117                             <input value="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" name="pref_<!-- TMPL_VAR NAME="name" -->" id="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" type="checkbox" checked="checked" class="preference preference-checkbox"/>
118                             <!-- TMPL_ELSE -->
119                             <input value="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" name="pref_<!-- TMPL_VAR NAME="name" -->" id="<!-- TMPL_VAR NAME="rfc4646_subtag" -->" type="checkbox" class="preference preference-checkbox"/>
120                             <!-- /TMPL_IF -->
121                         </dt>
122                         <!-- /TMPL_IF -->
123                     <!-- /TMPL_LOOP -->
124                     </dl>
125                     <!-- /TMPL_IF -->
126                     <!-- /TMPL_LOOP -->
127                 </td>
128             </tr>
129             <!-- TMPL_IF NAME="__last__" --></tbody></table><!-- /TMPL_IF -->
130             <!-- /TMPL_IF -->
131         <!-- /TMPL_LOOP -->
132         <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>
133     </form>
134     </div>
135     <!-- /TMPL_LOOP -->
136 </div>
137 </div>
138 <div class="yui-b">
139 <!-- TMPL_INCLUDE NAME="prefs-menu.inc" -->
140 </div>
141 </div>
142 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->