Cleanup of catalogue files, previously excluded from layout fixes. Some bugs may...
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / catalogue / dictionary.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Dictionary Search</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 </head>
5 <body>
6
7 <!-- TMPL_INCLUDE NAME="header.inc" -->
8 <div id="doc3" class="yui-t2">
9    
10    <div id="bd">
11         <div id="yui-main">
12         <div class="yui-b"><div class="yui-g">
13
14         <h1>Dictionary Search</h1>
15 <form name="f" method="post" action="/cgi-bin/koha/catalogue/dictionary.pl">
16         <input type="hidden" name="op" value="do_search" />
17                                 <label for="keyword">Search for keyword(s): </label>
18                                 <input type="hidden" name="marclist" value="<!-- TMPL_VAR Name="marclist" -->" />
19                                 <input type="text" name="search" value="<!-- TMPL_VAR Name="search" -->" size="35" />
20                                 <input type="submit" value="Start search" class="submit" />
21                                 <input type="hidden" name="type" value="<!-- TMPL_VAR Name="type" -->" />
22                                 <input type="hidden" name="index" value="<!-- TMPL_VAR Name="anindex" ESCAPE="URL" -->" /></form>
23
24 <!-- TMPL_IF Name="search" -->
25         <!-- TMPL_IF NAME="authresult" -->
26                 
27                         <!-- TMPL_IF NAME="displayprev" --> 
28                                         <a href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE="URL"-->&amp;search=<!-- TMPL_VAR NAME="search" ESCAPE="URL"-->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&amp;index=<!-- TMPL_VAR Name="anindex" -->">&lt;&lt;Previous</a>
29                                 <!-- /TMPL_IF -->
30                                 <!-- TMPL_LOOP NAME="numbers" -->
31                                         <!-- TMPL_IF NAME="highlight" -->
32                                                 <!-- TMPL_VAR NAME="number" -->
33                                         <!-- TMPL_ELSE --> 
34                                                 <a href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE="URL" -->&amp;search=<!-- TMPL_VAR NAME="search" ESCAPE="URL" -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&amp;index=<!-- TMPL_VAR Name="anindex" -->"><!-- TMPL_VAR NAME="number" --></a>
35                                         <!-- /TMPL_IF -->
36                                 <!-- /TMPL_LOOP --> 
37                                 <!-- TMPL_IF NAME="displaynext" -->
38                                         <a href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" -->&amp;search=<!-- TMPL_VAR NAME="search" -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&amp;index=<!-- TMPL_VAR Name="anindex" -->">Next&gt;&gt;</a>
39                                 <!-- /TMPL_IF -->
40                         
41                         
42                         <!-- TMPL_IF NAME="nbresults" -->
43                                         Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="nbresults" --> in Authorities<!-- TMPL_ELSE -->No results found.
44                         <!-- /TMPL_IF -->
45                         
46                 
47                 
48                         <table>
49                                 <caption>Authority Results</caption>
50                                 <tr>
51                                         <th>Summary</th>
52                                         <th>Used in</th>
53                                         <th>Select</th>
54                                 </tr>
55                                 <!-- TMPL_LOOP NAME="authresult" -->
56                                         <!-- TMPL_IF NAME="even" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
57                                         <td>
58                                                         <!-- TMPL_VAR NAME="summary" -->
59                                                 </td>
60                                                 <td>
61                                                         <!-- TMPL_VAR NAME="used" --> records(s)
62                                                 </td>
63                                                         <td>
64                                                         <a  href="javascript:SelectEntry('<!-- TMPL_VAR NAME="mainentry" ESCAPE="URL" -->',<!-- TMPL_VAR NAME="anindex" ESCAPE="URL"  -->,0)">Select</a> | 
65                                                         <a  href="javascript:SelectEntry('<!-- TMPL_VAR NAME="mainentry" ESCAPE="URL" -->',<!-- TMPL_VAR NAME="anindex" ESCAPE="URL"  -->,1)">Sel. &amp; close</a>
66                                                 </td>
67                                         </tr>
68                                 <!-- /TMPL_LOOP -->
69                         </table>
70                 
71                 <!-- TMPL_ELSE -->
72                         <h3>No results in Authorities</h3>
73         <!-- /TMPL_IF -->
74                 
75                 
76         <!-- TMPL_IF Name="catresult" -->
77         <h2>Catalog Results</h2>
78                         
79                         <!-- TMPL_IF NAME="total" -->
80                                         Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --> in the Catalog<!-- TMPL_ELSE -->No results found.
81                         <!-- /TMPL_IF -->
82                 
83                         <table>
84                                 <tr>
85                                         <th>Summary</th>
86                                         <th>Used in</th>
87                                         <th>Select</th>
88                                 </tr>
89                                 <!-- TMPL_LOOP NAME="catresult" -->
90                                 <!-- TMPL_IF NAME="even" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
91                                 <td>
92                                         <!-- TMPL_IF name="MARC_ON" -->
93                                                                         <!-- TMPL_VAR NAME="value" -->
94                                                                 <!-- TMPL_ELSE -->
95                                                                         <!-- TMPL_VAR NAME="value" -->
96                                                                 <!-- /TMPL_IF -->
97                                         </td>
98                                         <td>
99                                                 <!-- TMPL_VAR NAME="count" --> records(s)
100                                         </td>
101                                         <td>
102                                                         <a  href="javascript:SelectEntry('<!-- TMPL_VAR NAME="value" ESCAPE="URL" -->',<!-- TMPL_VAR NAME="anindex" ESCAPE="URL"  -->,0)">Select</a> | 
103                                                         <a  href="javascript:SelectEntry('<!-- TMPL_VAR NAME="value" ESCAPE="URL" -->',<!-- TMPL_VAR NAME="anindex" ESCAPE="URL"  -->,1)">Sel. &amp; close</a>
104                                         </td>
105                                 </tr>
106                                 <!-- /TMPL_LOOP -->
107                         </table>
108                 
109                         <!-- TMPL_IF NAME="displayprev" --> 
110                                         <a href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromprev" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE="URL"-->&amp;search=<!-- TMPL_VAR NAME="search" ESCAPE="URL"-->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&amp;index=<!-- TMPL_VAR Name="anindex" -->">&lt;&lt;Previous</a>
111                                 <!-- /TMPL_IF -->
112                                 <!-- TMPL_LOOP NAME="numbers" -->
113                                         <!-- TMPL_IF NAME="highlight" -->
114                                                 <!-- TMPL_VAR NAME="number" -->
115                                         <!-- TMPL_ELSE --> 
116                                                 <a href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfrom" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" ESCAPE="URL" -->&amp;search=<!-- TMPL_VAR NAME="search" ESCAPE="URL" -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&amp;index=<!-- TMPL_VAR Name="anindex" -->"><!-- TMPL_VAR NAME="number" --></a>
117                                         <!-- /TMPL_IF -->
118                                 <!-- /TMPL_LOOP --> 
119                                 <!-- TMPL_IF NAME="displaynext" -->
120                                         <a href="dictionary.pl?startfrom=<!-- TMPL_VAR NAME="startfromnext" -->&amp;marclist=<!-- TMPL_VAR NAME="marclist" -->&amp;search=<!-- TMPL_VAR NAME="search" -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search&amp;index=<!-- TMPL_VAR Name="anindex" -->">Next&gt;&gt;</a>
121                                 <!-- /TMPL_IF -->
122
123                         
124                         <!-- TMPL_IF NAME="total" -->
125                                         Results <!-- TMPL_VAR NAME="from" --> to <!-- TMPL_VAR NAME="to" --> of <!-- TMPL_VAR NAME="total" --> in the Catalog<!-- TMPL_ELSE -->No results found.
126                         <!-- /TMPL_IF -->
127                         
128                 
129         <!-- /TMPL_IF -->
130         <script language="JavaScript" type="text/javascript">
131         function SelectEntry(myentry, myindex, wclose){
132                 if (opener.document.f.value[myindex].value!=""){ 
133                         opener.document.f.value[myindex].value=opener.document.f.value[myindex].value+" "+myentry
134                 } else {
135                         opener.document.f.value[myindex].value=myentry
136                 }
137                 if (wclose == 1) {
138         //      alert("closing")
139                         self.close();
140                 }
141         }
142         </script>
143         
144 <!-- /TMPL_IF -->
145
146 </div>
147 </div>
148 </div>
149
150 <!-- TMPL_INCLUDE NAME="mainmenu.inc" -->
151 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->