Merge remote branch 'kc/new/bug_5370' into kcmaster
[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 <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">
11  //<![CDATA[
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 -->;
15 //]]>
16 </script>
17 </head>
18 <body>
19 <!-- TMPL_INCLUDE NAME="header.inc" -->
20 <!-- TMPL_INCLUDE NAME="prefs-admin-search.inc" -->
21
22 <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>
23
24 <div id="doc3" class="yui-t2">
25
26    <div id="bd">
27     <div id="yui-main">
28     <div class="yui-b">
29
30     <!-- TMPL_IF NAME="jump_not_found" -->
31     <h2>System preferences</h2>
32     <div class="dialog alert">
33         Could not find a system preference named <code><!-- TMPL_VAR NAME="jumpfield" --></code>.
34     </div>
35     <!-- /TMPL_IF -->
36     <!-- TMPL_IF NAME="search_not_found" -->
37     <div class="dialog alert">
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>
39     </div>
40     <!-- /TMPL_IF -->
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" -->" />
47
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 -->
54             <!-- TMPL_ELSE -->
55             <!-- TMPL_IF NAME="__first__" --><table><thead><tr><th>Preference</th><th>Value</th></tr></thead><tbody><!-- /TMPL_IF -->
56             <tr class="name-row">
57                 <td class="name-cell">
58                     <code>
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>
65                                                         <!-- TMPL_ELSE -->
66                                                         <!-- TMPL_VAR NAME="name" -->
67                                                         <!-- /TMPL_IF -->
68                                                 </label>
69                         <!-- TMPL_UNLESS NAME="__last__" --><br /><!-- /TMPL_UNLESS -->
70                         <!-- /TMPL_LOOP -->
71                     </code>
72                 </td>
73                 <td>
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" /> <!-- TMPL_IF NAME="dateinput" --><span class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></span><!-- /TMPL_IF -->
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">
84                         <!-- TMPL_ELSE -->
85                         <option value="<!-- TMPL_VAR NAME="value" -->">
86                         <!-- /TMPL_IF -->
87                             <!-- TMPL_VAR NAME="text" -->
88                         </option>
89                         <!-- /TMPL_LOOP -->
90                     </select>
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" -->
95                     <dl>
96                     <!-- TMPL_LOOP NAME="languages" -->
97                         <!-- TMPL_IF NAME="plural" -->
98                         <dt>
99                             <!-- TMPL_IF NAME="native_description" --><!-- TMPL_VAR NAME="native_description" --><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="rfc4646_subtag" --><!-- /TMPL_IF -->
100                         </dt>
101                         <!-- TMPL_LOOP NAME="sublanguages_loop" -->
102                         <dd>
103                             <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>
104                             <!-- TMPL_IF NAME="enabled" -->
105                             <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"/>
106                             <!-- TMPL_ELSE -->
107                             <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"/>
108                             <!-- /TMPL_IF -->
109                         </dd>
110                         <!-- /TMPL_LOOP -->
111                         <!-- TMPL_ELSE -->
112                         <dt>
113                             <label for="<!-- TMPL_VAR NAME="rfc4646_subtag" -->"><!-- TMPL_VAR NAME="native_description" -->(<!-- TMPL_VAR NAME="rfc4646_subtag" -->)</label>
114                             <!-- TMPL_IF NAME="group_enabled" -->
115                             <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"/>
116                             <!-- TMPL_ELSE -->
117                             <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"/>
118                             <!-- /TMPL_IF -->
119                         </dt>
120                         <!-- /TMPL_IF -->
121                     <!-- /TMPL_LOOP -->
122                     </dl>
123                     <!-- /TMPL_IF -->
124                     <!-- /TMPL_LOOP -->
125                 </td>
126             </tr>
127             <!-- TMPL_IF NAME="__last__" --></tbody></table><!-- /TMPL_IF -->
128             <!-- /TMPL_IF -->
129         <!-- /TMPL_LOOP -->
130         <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>
131     </form>
132     </div>
133     <!-- /TMPL_LOOP -->
134 </div>
135 </div>
136 <div class="yui-b">
137 <!-- TMPL_INCLUDE NAME="prefs-menu.inc" -->
138 </div>
139 </div>
140 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->