first go at moving templates to a modules/ dir
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / authorities / authorities-home.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Authorities</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4
5 <!-- TMPL_INCLUDE NAME="menus.inc" -->
6 <!-- TMPL_INCLUDE NAME="menu-authorities.inc" -->
7
8 <fieldset id="authorities_authorities_home_search">
9   <legend>Authority search</legend>
10
11   <form name="f" action="/cgi-bin/koha/authorities/authorities-home.pl" method="post">
12     <input type="hidden" name="op" value="do_search">
13     <input type="hidden" name="type" value="intranet">
14     <input type="hidden" name="nbstatements" value="<!-- TMPL_VAR NAME="nbstatements" -->">
15
16     <table>
17       <tr>
18         <th>
19           <label for="authtypecode">Search on</label>
20         </th>
21         <td colspan="2">
22           <select id="authtypecode" name="authtypecode">
23 <!-- TMPL_LOOP NAME="authtypesloop" -->
24   <!-- TMPL_IF name="selected" -->
25             <option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="authtypetext" --></option>
26   <!-- TMPL_ELSE -->
27             <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="authtypetext" --></option>
28   <!-- /TMPL_IF -->
29 <!-- /TMPL_LOOP -->
30           </select>
31         </td>
32       </tr>
33       <tr>
34         <th>
35           <label for="value_mainmainentry">Main entry ($a only)</label>
36           <input type="hidden" name="marclist" value="mainmainentry">
37         </th>
38         <td>
39           <select name="operator">
40             <option value="contains">contains</option>
41             <option value="start">start by</option>
42             <option value="is">is exactly</option>
43           </select>
44         </td>
45         <td>
46           <input id="value_mainmainentry" type="text" name="value" value="<!-- TMPL_VAR NAME="value" -->">
47         </td>
48       </tr>
49       <tr>
50         <th>
51           <label for="value_mainentry">Main entry</label>
52           <input type="hidden" name="marclist" value="mainentry">
53           <input type="hidden" name="and_or" value="and">
54           <input type="hidden" name="excluding" value="">
55         </th>
56         <td>
57           <select name="operator">
58             <option value="contains">contains</option>
59             <option value="start">start by</option>
60             <option value="is">is exactly</option>
61           </select>
62         </td>
63         <td>
64           <input id="value_mainentry" type="text" name="value" value="<!-- TMPL_VAR NAME="value" -->">
65         </td>
66       </tr>
67
68       <tr>
69         <th>
70           <label for="value_anywhere">Anywhere</label>
71           <input type="hidden" name="marclist" value="">
72           <input type="hidden" name="and_or" value="and">
73           <input type="hidden" name="excluding" value="">
74         </th>
75         <td>
76           <select name="operator">
77             <option value="contains">contains</option>
78             <option value="start">start by</option>
79             <option value="is">is exactly</option>
80           </select>
81         </td>
82         <td>
83           <input id="value_anywhere" type="text" name="value" value="<!-- TMPL_VAR NAME="value" -->">
84         </td>
85       </tr>
86     </table>
87     
88     <div id="action">
89           Order by :<select name="orderby">
90          <option value="">None</option>
91             <option value="HeadingAsc">Heading Ascendant</option>
92             <option value="HeadingDsc">Heading Descendant</option>
93           </select>
94       <input type="submit" value="Start search">
95     </div>
96   </form>
97 </fieldset>
98     
99 <fieldset id="authorities_authorities_home_add">
100   <legend>Add authority</legend>
101
102   <form name="f2" method="post" action="authorities.pl">
103     <table>
104       <tr>
105         <th>
106           <label for="add_authtypecode">Authority type</label>
107         </th>
108         <td>
109           <select id="add_authtypecode" name="authtypecode">
110 <!-- TMPL_LOOP name="authtypesloop" -->
111   <!-- TMPL_IF name="selected" -->
112             <option value="<!-- TMPL_VAR name="value" -->" selected="selected"><!-- TMPL_VAR name="authtypetext" --></option>
113   <!-- TMPL_ELSE -->
114             <option value="<!-- TMPL_VAR name="value" -->"><!-- TMPL_VAR name="authtypetext" --></option>
115   <!-- /TMPL_IF -->
116 <!-- /TMPL_LOOP -->
117           </select>
118         </td>
119       </tr>
120     </table>
121
122     <div id="action">
123       <input type="submit" value="Add" class="button authority">
124     </div>
125   </form>
126 </fieldset>
127
128 <!-- TMPL_INCLUDE name="intranet-bottom.inc" -->