[Koha-cvs] koha/koha-tmpl/opac-tmpl/npl/en opac-zoomsearch... [dev_week]

Joshua Ferraro jmf at kados.org
Sun Jul 23 21:15:29 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		dev_week
Changes by:	Joshua Ferraro <kados>	06/07/23 19:15:29

Modified files:
	koha-tmpl/opac-tmpl/npl/en: opac-zoomsearch.tmpl 

Log message:
	cleaning up templates.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/npl/en/opac-zoomsearch.tmpl?cvsroot=koha&only_with_tag=dev_week&r1=1.1.2.8&r2=1.1.2.9

Patches:
Index: opac-zoomsearch.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/opac-tmpl/npl/en/Attic/opac-zoomsearch.tmpl,v
retrieving revision 1.1.2.8
retrieving revision 1.1.2.9
diff -u -b -r1.1.2.8 -r1.1.2.9
--- opac-zoomsearch.tmpl	23 Jul 2006 18:02:09 -0000	1.1.2.8
+++ opac-zoomsearch.tmpl	23 Jul 2006 19:15:29 -0000	1.1.2.9
@@ -6,7 +6,7 @@
     @import url(<!-- TMPL_VAR NAME="themelang" -->/includes/livesearch.css);
 </style>
 
-<!--TMPL_INCLUDE NAME="masthead_adv.inc" -->
+<!--TMPL_INCLUDE NAME="masthead.inc" -->
 <!--TMPL_INCLUDE NAME="navigation.inc" -->
 <div id="main">
 <ul class="link-tabs">
@@ -35,8 +35,8 @@
 <input type="hidden" name="op" value="get_results" />
 <input name="ccl_query" type="text" autocomplete="off" id="ccl_search" size="38" /><a href="#" class="help" onclick="window.open('http://indexdata.dk/yaz/doc/tools.tkl#id2548157','CCL Query Syntax','width=600,top=50,left=50,resizable,scrollbars,height=650'); return false;">[ ? ]</a>
 <p style="text-align:center;"><input type="submit" value="Catalog Search" class="submit" /></p></form>
-<!--
 <!-- LIVESEARCH -->
+<!--
 <form style="margin:0px;" name="searchform" method="get" action="/cgi-bin/koha/opac-zoomsearch.pl" id="searchform">
 <input type="hidden" name="query_form" value="ccl" />
 <input type="hidden" name="op" value="get_results" />
@@ -51,9 +51,8 @@
 </div>
 <p style="text-align:center;"><input type="submit" value="Catalog Search" class="submit" /></p>
 </form>
-
-<!-- /LIVESEARCH -->
 -->	
+<!-- /LIVESEARCH -->
 	<p>Find the latest additions: <br /><a href="/cgi-bin/koha/opac-zoomsearch.pl" onclick="showForm(); return false;">Search by Format and Date</a></p>
 <script>	
 	function showForm() {
@@ -93,21 +92,45 @@
 </form>
 </div>
 
-
 	<p><em class="new">New!</em> You can now <strong>renew items online</strong>!  <a href="http://www.athenscounty.lib.oh.us/online-renewals.html">Find out more</a> or <a href="/cgi-bin/koha/opac-user.pl">log in to your account</a> to try it now.</p>
 	
 </form>
 <br/><br/><br/>
-
-<!--
-<h2>PQF Search</h2>
-<form action="/cgi-bin/koha/opac-zoomsearch.pl" method="get">
-        <input type="hidden" name="query_form" value="pqf" />
-	<input type="hidden" name="op" value="get_results" />
-        <input type="text" name="pqf_query" />
+<div class="content-block">
+    <h3>Recent acquisitions</h3>
+    <form action="/cgi-bin/koha/opac-zoomsearch.pl">
+            <input type="hidden" name="marclist" value="biblioitems.itemtype" />
+            <input type="hidden" name="and_or" value="and" />
+            <input type="hidden" name="excluding" value="" />
+            <input type="hidden" name="operator" value="=" />
+            <input type="hidden" name="op" value="do_search" />
+            <input type="hidden" name="type" value="opac" />                                                                                    <select name="value">
+                    <option value="">Any item type</option>
+                        <!-- TMPL_LOOP name="itemtypeloop" -->
+                                <option value="<!-- TMPL_VAR name="value" -->"><!-- TMPL_VAR name="description" -->
+                                </option>
+                        <!-- /TMPL_LOOP -->
+                </select>
+            Acquired by
+            <input type="hidden" name="marclist" value="items.homebranch" />
+            <input type="hidden" name="and_or" value="and" />
+            <input type="hidden" name="excluding" value="" />
+            <input type="hidden" name="operator" value="=" />
+            <input type="hidden" name="op" value="do_search" />
+            <input type="hidden" name="type" value="opac" />
+                        <select name="value">
+                                <option value="">Any Branch</option>
+                        <!-- TMPL_LOOP name="branchloop" -->
+                        <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name
+="branchname" --></option>
+                        <!-- /TMPL_LOOP -->
+                        </select>
+            <br />over the last <input type="text" name="desc_or_asc" size="3" /> days
+            <input type="hidden" name="orderby" value="biblio.timestamp" />
         <input type="submit" value="Search" class="submit" />
 </form>
--->
+</div>
+
 </div>
 
 <!-- ADVANCED SEARCH  -->





More information about the Koha-cvs mailing list