1 <!-- TMPL_INCLUDE NAME="popup-top.inc" -->
4 <h1 class="catalogue">Suche im Katalog</h1>
6 <form name="f" method="post">
7 <input type="hidden" name="op" value="do_search">
8 <input type="hidden" name="type" value="intranet">
9 <input type="hidden" name="nbstatements" value="<!-- TMPL_VAR NAME="nbstatements" -->">
11 <h2 class="catalogue">Suche nach</h2>
13 <label class="label20">Stichwort</label>
14 <input type="hidden" name="marclist" value="">
15 <input type="hidden" name="and_or" value="and">
16 <input type="hidden" name="excluding" value="">
17 <input type="hidden" name="operator" value="contains">
18 <input type="text" name="value" onchange="sql_update()">
22 <p>Ergebnisse pro Seite
23 <select align="right" name="resultsperpage" size="1">
24 <option value="20">20</option>
25 <option value="50">50</option>
26 <option value="100">100</option>
29 <select name="orderby" size="1">
30 <option value="biblio.title">Titel</option>
31 <option value="biblio.author">Verfasser</option>
32 <option value="biblioitems.dewey">Dewey</option>
33 <option value="biblioitems.publicationyear">Erscheinungsjahr</option>
34 <option value="biblioitems.publishercode">Verlag</option>
38 <input type="submit" value="Suche starten" class="button catalogue">
39 <a href="javascript:PopupSuggestion()" class="button catalogue">Vorschläge</a>
45 function sql_update() {
46 document.f.sql.value="";
47 for (i=0 ; i<document.f.marclist.length ; i++) {
48 if (document.f.value[i].value.length>0) {
49 document.f.sql.value = document.f.sql.value+
50 document.f.and_or[i].value + ' (' +
51 document.f.excluding[i].value + ' ' +
52 document.f.marclist[i].value + ' ' +
53 document.f.operator[i].value + ' ' +
54 '\''+document.f.value[i].value + '\') ';
59 function AddStatement() {
61 document.forms[0].op.value="AddStatement";
65 function PopupSuggestion() {
67 for (i=0 ; i<document.f.marclist.length ; i++) {
68 if (document.f.value[i].value.length>0) {
69 strQuery += " "+document.f.value[i].value;
72 newin=window.open("suggest.pl?Q="+strQuery,"Suggestions",'width=500,height=400,toolbar=false,scrollbars=yes');