koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/koha-tmpl/opac-tmpl/prog/en opac-main.tmpl [rel_3_0]


From: Antoine Farnault
Subject: [Koha-cvs] koha/koha-tmpl/opac-tmpl/prog/en opac-main.tmpl [rel_3_0]
Date: Thu, 28 Sep 2006 08:19:50 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_3_0
Changes by:     Antoine Farnault <toins>        06/09/28 08:19:50

Modified files:
        koha-tmpl/opac-tmpl/prog/en: opac-main.tmpl 

Log message:
        using the new search API.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/prog/en/opac-main.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.1&r2=1.1.2.1

Patches:
Index: opac-main.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/opac-tmpl/prog/en/opac-main.tmpl,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -b -r1.1 -r1.1.2.1
--- opac-main.tmpl      3 Mar 2006 20:10:26 -0000       1.1
+++ opac-main.tmpl      28 Sep 2006 08:19:50 -0000      1.1.2.1
@@ -17,7 +17,27 @@
 </form>
 <!-- /TMPL_IF -->
 
-<form action="/cgi-bin/koha/opac-search.pl">
+<form name="searchform" method="get" action="opac-search.pl" id="searchform">
+<p>
+<label for="masthead_search">Search</label>
+<select name="idx" id="masthead_search">
+        <option selected="selected" value="">Library Catalog</option>
+        <option value="ti">Title</option>
+        <option value="au">Author</option>
+        <option value="su">Subject</option>
+        <option value="isbn">ISBN</option>
+        <option value="se">Series</option>
+        <option value="publisher">Publisher</option>
+        <option value="acqdate">Acquisition Date</option>
+        <option value="callnum">Call Number</option>
+</select>
+<input type="text" name="q" style="width: 30%;"/>
+<input type="submit" name="do" value="Search" class="submit" /> <a 
href="opac-search.pl">Advanced Search</a></p>
+</form>
+
+    <!--  HERE IS THE OLDER SEARCH FORM....
+
+     <form action="/cgi-bin/koha/opac-search.pl">
 <h3>Search the Library Catalog</h3>
 <p>
 <label for="value">Enter Keyword(s):</label>
@@ -34,6 +54,7 @@
                </p>
 
        </form>
+     -->
 </div>
 
 <div>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]