Bug 14675: Don't update details if no changes made
[koha.git] / koha-tmpl / opac-tmpl / bootstrap / en / modules / opac-authorities-home.tt
1 [% USE Koha %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog &rsaquo; Authority search</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 [% BLOCK cssinclude %][% END %]
6 </head>
7 [% INCLUDE 'bodytag.inc' bodyid='opac-authorities' bodyclass='scrollto' %]
8 [% INCLUDE 'masthead.inc' %]
9
10     <div class="main">
11         <ul class="breadcrumb">
12             <li><a href="/cgi-bin/koha/opac-main.pl">Home</a> <span class="divider">&rsaquo;</span></li>
13             <li><a href="#">Authority search</a></li>
14         </ul>
15
16         <div class="container-fluid">
17             <div class="row-fluid">
18                 [% IF ( OpacNav || OpacNavBottom ) %]
19                     <div class="span2">
20                         <div id="navigation">
21                             [% INCLUDE 'navigation.inc' %]
22                         </div>
23                     </div>
24                     <div class="span10">
25                 [% ELSE %]
26                     <div class="span12">
27                 [% END %]
28                     <div id="userauthhome" class="maincontent">
29                         <form name="f" action="/cgi-bin/koha/opac-authorities-home.pl" method="get">
30                             <input type="hidden" name="op" value="do_search" />
31                             <input type="hidden" name="type" value="opac" />
32                             <fieldset class="rows">
33                                 <legend>Authority search</legend>
34                                 <ol>
35                                     <li>
36                                         <label for="authtypecode">Authority type: </label>
37                                         <select name="authtypecode" id="authtypecode">
38                                             [% FOREACH authtypesloo IN authtypesloop %]
39                                                 [% IF ( authtypesloo.selected ) %]
40                                                     <option value="[% authtypesloo.value %]" selected="selected">[% authtypesloo.authtypetext %]</option>
41                                                 [% ELSE %]
42                                                     <option value="[% authtypesloo.value %]"> [% authtypesloo.authtypetext %]</option>
43                                                 [% END %]
44                                             [% END %]
45                                         </select>
46                                     </li>
47                                     <li>
48                                         <label for="anywhere">Search options:</label>
49                                         <select name="operator" id="anywhere">
50                                             <option value="contains">contains</option>
51                                             <option value="start">starts with</option>
52                                             <option value="is">is exactly</option>
53                                         </select>
54                                     </li>
55                                     <li>
56                                         <label for="value">Term(s):</label>
57                                         <input type="text" name="value" id="value" value="[% value %]" />
58                                     </li>
59                                     <li>
60                                         <label for="marclist">Where:</label>
61                                         <select name="marclist" id="marclist">
62                                             <option value="any" selected="selected">in the complete record</option>
63                                             <option value="match">in any heading</option>
64                                             <option value="mainentry">in main entry</option>
65                                         </select>
66                                     </li>
67                                     <li>
68                                         <input type="hidden" name="and_or" value="and" />
69                                         <input type="hidden" name="excluding" value="" />
70                                         <label for="orderby">Order by: </label>
71                                         <select name="orderby" id="orderby">
72                                             <option value="">None</option>
73                                             <option value="HeadingAsc" selected="selected">Heading ascendant</option>
74                                             <option value="HeadingDsc">Heading descendant</option>
75                                         </select>
76                                     </li>
77                                 </ol>
78                             </fieldset>
79                             <fieldset class="action">
80                                 <input type="submit" value="Submit" class="btn" />
81                             </fieldset>
82                         </form>
83                     </div> <!-- / #userauthhome -->
84                 </div> <!-- / .span10/12 -->
85             </div> <!-- / .row-fluid -->
86         </div> <!-- / .container-fluid -->
87     </div> <!-- / .main -->
88
89 [% INCLUDE 'opac-bottom.inc' %]
90 [% BLOCK jsinclude %][% END %]