[Koha-cvs] koha/koha-tmpl/opac-tmpl/npl/en opac-authoritie... [rel_2_2]

Joshua Ferraro jmf at kados.org
Thu Aug 3 03:24:53 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_2_2
Changes by:	Joshua Ferraro <kados>	06/08/03 01:24:53

Modified files:
	koha-tmpl/opac-tmpl/npl/en: opac-authorities-home.tmpl 

Log message:
	fix for bug 1126: Authorities search needs updating in OPAC
	ONLY FOR NPL TEMPLATES ... default will need to be updated
	still.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/opac-tmpl/npl/en/opac-authorities-home.tmpl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.1.2.2&r2=1.1.2.3

Patches:
Index: opac-authorities-home.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/opac-tmpl/npl/en/Attic/opac-authorities-home.tmpl,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -b -r1.1.2.2 -r1.1.2.3
--- opac-authorities-home.tmpl	6 Mar 2006 19:44:37 -0000	1.1.2.2
+++ opac-authorities-home.tmpl	3 Aug 2006 01:24:52 -0000	1.1.2.3
@@ -22,27 +22,46 @@
 			</select>
 		</h2>
 		<p>
-			<label for="mainentry">Main entry</label>
-			<input type="hidden" name="marclist" value="mainentry">
-			<input type="hidden" name="and_or" value="and">
-			<input type="hidden" name="excluding" value="">
-			<select name="operator">
+                        <label for="authtypecode">Authority type</label>
+                        <!-- TMPL_VAR NAME="authtypecode" -->
+                        <input type="hidden" id="authtypecode" name="authtypecode" value="<!-- TMPL_VAR NAME="authtypecode" -->" />
+                </p>
+		<p>
+                        <label for="mainentryaoperator">Main entry ($a only)</label>
+                        <select name="operator" id="mainentryaoperator">
+                                <option value="contains">contains</option>
+                                <option value="start">starts with</option>
+                        </select>
+                        <input type="text" name="value" value="<!-- TMPL_VAR NAME="value" -->" />
+                        <input type="hidden" name="marclist" value="$a" />
+                        <input type="hidden" name="and_or" value="and" />
+                        <input type="hidden" name="excluding" value="" />
+                </p>
+                <p>
+                        <label for="mainentryoperator">Main entry</label>
+                        <select name="operator" id="mainentryoperator">
 				<option value="contains">contains</option>
-				<option value="start">start by</option>
+                                <option value="start">starts with</option>
 			</select>
-			<input type="text" id="mainentry" name="value" value="<!-- TMPL_VAR NAME="value" -->">
+                        <input type="text" name="value" value="<!-- TMPL_VAR NAME="value" -->" />
+                        <input type="hidden" name="marclist" value="mainentry" />
+                        <input type="hidden" name="and_or" value="and" />
+                        <input type="hidden" name="excluding" value="" />
 		</p>
 		<p>
-			<label for="anywhere">Anywhere</label>
-			<input type="hidden" name="marclist" value="">
-			<input type="hidden" name="and_or" value="and">
-			<input type="hidden" name="excluding" value="">
-			<select name="operator">
+                        <label for="anywhereoperator">Anywhere</label>
+                        <select name="operator" id="">
 				<option value="contains">contains</option>
-				<option value="start">start by</option>
+                                <option value="start">starts with</option>
 			</select>
-			<input type="text" id="anywhere" name="value" value="<!-- TMPL_VAR NAME="value" -->">
+                        <input type="text" name="value">
+                        <input type="hidden" name="marclist" value="" />
+                        <input type="hidden" name="and_or" value="and" />
+                        <input type="hidden" name="excluding" value="" />
+                        <input type="hidden" name="index" value="<!-- TMPL_VAR NAME="index" -->" />
+                        <input type="hidden" name="tagid" value="<!-- TMPL_VAR NAME="tagid" -->" />
 		</p>
+		<p>(add % at the end of your word if you want to use right-truncation : theor% will find theory &amp; theories)</p>
 		<p>
 			<input type="submit" value="Start search" class="submit">
 		</p>





More information about the Koha-cvs mailing list