[Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/acqui acqu... [rel_3_0]

Antoine Farnault antoine at koha-fr.org
Mon Nov 27 16:53:17 CET 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Antoine Farnault <toins>	06/11/27 15:53:17

Modified files:
	koha-tmpl/intranet-tmpl/prog/en/acqui: acqui-home.tmpl 

Log message:
	bug fix (SAN OP #42)

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/acqui/acqui-home.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.5.2.2&r2=1.5.2.3

Patches:
Index: acqui-home.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/acqui/acqui-home.tmpl,v
retrieving revision 1.5.2.2
retrieving revision 1.5.2.3
diff -u -b -r1.5.2.2 -r1.5.2.3
--- acqui-home.tmpl	1 Nov 2006 21:21:31 -0000	1.5.2.2
+++ acqui-home.tmpl	27 Nov 2006 15:53:17 -0000	1.5.2.3
@@ -6,8 +6,14 @@
 <div id="acqui_acqui_home_order">
 	<!-- TMPL_IF name="nobudget" -->
 		You must define a budget in parameters
+		<form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
+			<h2>Start, recieve, or modify any order</h2>
+			<p><label for="supplier">Supplier </label><input type="text" size="25" name="supplier" id="supplier" />
+			<input type="submit" value="Search" />
+			</p>
+		</form>
 	<!-- TMPL_ELSE -->
-		<form action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
+		<form name="findsupplier" action="/cgi-bin/koha/acqui/booksellers.pl" method="post">
 			<h2>Start, recieve, or modify any order</h2>
 			<p><label for="supplier">Supplier </label><input type="text" size="25" name="supplier" id="supplier" />
 			<input type="submit" value="Search" />
@@ -16,7 +22,6 @@
 	<!-- /TMPL_IF -->
 </div>
 
-
 <div id="acqui_acqui_home_currency">
 <!-- TMPL_IF NAME="loop_currency" -->
 	<h2>Exchange rates</h2>
@@ -98,4 +103,8 @@
 	<p>To close off a shopping basket click on "view shopping baskets" or search above, and the click on "confirm basket".</p>
 </div>
 
+<script type="text/JavaScript">
+    document.findsupplier.supplier.focus();
+</script>
+
 <!-- TMPL_INCLUDE name="intranet-bottom.inc" -->





More information about the Koha-cvs mailing list