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