koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/authorities... [rel_2_2]


From: Owen Leonard
Subject: [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/authorities... [rel_2_2]
Date: Mon, 31 Jul 2006 16:55:36 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     Owen Leonard <oleonard> 06/07/31 16:55:36

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

Log message:
        Updating search form to match default

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

Patches:
Index: authorities-home.tmpl
===================================================================
RCS file: 
/sources/koha/koha/koha-tmpl/intranet-tmpl/npl/en/authorities/authorities-home.tmpl,v
retrieving revision 1.1.2.6
retrieving revision 1.1.2.7
diff -u -b -r1.1.2.6 -r1.1.2.7
--- authorities-home.tmpl       7 Mar 2006 20:52:17 -0000       1.1.2.6
+++ authorities-home.tmpl       31 Jul 2006 16:55:36 -0000      1.1.2.7
@@ -6,44 +6,63 @@
 
 <h1>Authority search</h1>
 
-<form name="f" action="/cgi-bin/koha/authorities/authorities-home.pl" 
method="post">
-       <input type="hidden" name="op" value="do_search">
-       <input type="hidden" name="type" value="intranet">
-       <input type="hidden" name="nbstatements" value="<!-- TMPL_VAR 
NAME="nbstatements" -->">
+<form name="f" action="/cgi-bin/koha/authorities/auth_finder.pl" method="post">
+       <input type="hidden" name="op" value="do_search" />
+       <input type="hidden" name="type" value="intranet" />
+       <input type="hidden" name="nbstatements" value="<!-- TMPL_VAR 
NAME="nbstatements" -->" />
        <div class="details">
-               <h2>Search on
+               <h2>Search For: 
                        <select name="authtypecode">
                        <!-- TMPL_LOOP NAME="authtypesloop" -->
-                       <!-- TMPL_IF name="selected" --><option value="<!-- 
TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR 
NAME="authtypetext" --></option>
-                       <!-- TMPL_ELSE --><option value="<!-- TMPL_VAR 
NAME="value" -->"> <!-- TMPL_VAR NAME="authtypetext" --></option>
-                       <!-- /TMPL_IF -->
+                               <option value="<!-- TMPL_VAR NAME="value" -->" 
<!-- TMPL_IF name="selected" -->selected="selected"<!-- /TMPL_IF -->>
+                                       <!-- TMPL_VAR NAME="authtypetext" -->
+                               </option>
                        <!-- /TMPL_LOOP -->
                        </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">start by</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>
                        </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>
                        </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">
+                       <input type="submit" value="Start search" 
class="submit" />
                </p>
        </div>
 </form>




reply via email to

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