Cleanup of catalogue files, previously excluded from layout fixes. Some bugs may...
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / catalogue / suggest.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Suggestions</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         <table>
15         <caption>Catalog Search</caption>
16             <tr>
17                 <th>Initial word</th>
18                 <th>Suggested</th>
19                 <th>Used X times</th>
20             </tr>
21         <!-- TMPL_LOOP NAME="loop" -->
22             <tr>
23                 <td><!-- TMPL_VAR NAME="word" --></td>
24                 <td><a href="javascript:Import('<!-- TMPL_VAR NAME="word" -->','<!-- TMPL_VAR NAME="suggestion" -->')">
25                         <!-- TMPL_VAR NAME="suggestion" -->
26                     </a></td>
27                 <td><!-- TMPL_VAR NAME="count" --></td>
28             </tr>
29         <!-- /TMPL_LOOP -->
30         </table>
31
32 <script language="javascript" type="text/javascript">
33     function Import(Replaced,ReplaceBy) {
34         for (i=0 ; i<opener.document.f.value.length ; i++) {
35                 opener.document.forms['f'].value[i].value = opener.document.forms['f'].value[i].value.replace(Replaced,ReplaceBy);
36 //            if (document.forms[0].kohafield[i].value == "biblioitems.isbn" && document.forms[0].field_value[i].value.length>0) {
37 //                strQuery += "&isbn="+document.forms[0].field_value[i].value;
38 //            }
39 //            opener.document.location= "../cataloguing/addbiblio.pl?z3950=1&oldbiblionumber=<!-- TMPL_VAR NAME="oldbiblionumber" -->&breedingid="+GetThisOne;
40 //            self.close();
41 //            return false;
42         }
43     }
44 </script>
45
46 </div>
47 </div>
48 </div>
49
50 <!-- TMPL_INCLUDE NAME="mainmenu.inc" -->
51 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->