koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/search.marc sear


From: Owen Leonard
Subject: [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/search.marc search.tmpl,1.20,1.21
Date: Thu, 09 Dec 2004 08:30:17 -0800

Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/search.marc
In directory 
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30928/koha-tmpl/intranet-tmpl/default/en/search.marc

Modified Files:
        search.tmpl 
Log Message:
Changes to help template validate, adding 'for' attribute to labels.

Index: search.tmpl
===================================================================
RCS file: 
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/search.marc/search.tmpl,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** search.tmpl 8 Dec 2004 10:25:12 -0000       1.20
--- search.tmpl 9 Dec 2004 16:30:14 -0000       1.21
***************
*** 8,100 ****
  <h1 class="catalogue">Catalogue search</h1>
  
! <form name="f" 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 id="bloc25">
                <h2 class="catalogue">Search on</h2>
                <p>
!                       <input type="hidden" name="op" value="do_search" />
!                       <input type="hidden" name="nbstatements" value="<!-- 
TMPL_VAR NAME="nbstatements" -->" />
!                       <label class="label100">Any word</label>
!                       <input type="hidden" name="marclist" value="" />
!                       <input type="hidden" name="and_or" value="and" />
!                       <input type="hidden" name="excluding" value="" />
!                       <input type="hidden" name="operator" value="contains" />
!                       <input type="text" name="value" onchange="sql_update()" 
size="35" />
!               </p>
!               <p>
!                       <label class="label100">Title</label>
!                       <input type="hidden" name="marclist" 
value="biblio.title" />
!                       <input type="hidden" name="and_or" value="and" />
!                       <input type="hidden" name="excluding" value="" />
!                       <input type="hidden" name="operator" value="contains" />
!                       <input type="text" name="value" onchange="sql_update()" 
size="35" />
!               </p>
!               <p>
!                       <label class="label100">Author</label> <input 
type="hidden" name="marclist" value="biblio.author" />
!                       <input type="hidden" name="and_or" value="and" />
!                       <input type="hidden" name="excluding" value="" />
!                       <input type="hidden" name="operator" value="contains" />
!                       <input type="text" name="value" onchange="sql_update()" 
size="35" />
!               </p>
!               <p>
!                       <label class="label100">Subject</label>
!                       <input type="hidden" name="marclist" 
value="bibliosubject.subject" />
!                       <input type="hidden" name="and_or" value="and" />
!                       <input type="hidden" name="excluding" value="" />
!                       <input type="hidden" name="operator" value="contains" 
/>  
!                       <input type="text" name="value" onchange="sql_update()" 
size="35" />
!               </p>
!               <p>
!                       <label class="label100">Item Type</label>
!                       <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="=" />
                        <!-- TMPL_VAR name="CGIitemtype" -->
                </p>
                <p>
!                               <label class="label100">Branch</label>
!                               <input type="hidden" name="marclist" 
value="items.holdingbranch" />
!                               <input type="hidden" name="and_or" value="and" 
/>
!                               <input type="hidden" name="excluding" value="" 
/>
!                               <input type="hidden" name="operator" value="=" 
/>  
                                <!-- TMPL_VAR name="CGIbranch" -->
                </p>
        </div>
!       <div id="bloc25">
                <h2 class="catalogue">Other options</h2>
                <p>
!                               <label class="label100">Item barcode</label>
!                               <input type="hidden" name="marclist" 
value="items.barcode" />
!                               <input type="hidden" name="and_or" value="and" 
/>
!                               <input type="hidden" name="excluding" value="" 
/>
!                               <input type="hidden" name="operator" 
value="contains" />
!                               <input type="text" name="value" 
onchange="sql_update()" /> 
!               </p>
!               <p>
!                       <label class="label100">Call Number</label>
!                       <input type="hidden" name="marclist" 
value="items.itemcallnumber" />
!                       <input type="hidden" name="and_or" value="and" />
!                       <input type="hidden" name="excluding" value="" />
!                       <input type="hidden" name="operator" value="start" />
!                       <input type="text" name="value" onchange="sql_update()" 
/>
!               </p>
!               <p>
!                       <label class="label100">ISBN</label>
!                       <input type="hidden" name="marclist" 
value="biblioitems.isbn" />
!                       <input type="hidden" name="and_or" value="and" />
!                       <input type="hidden" name="excluding" value="" />
!                       <input type="hidden" name="operator" value="=" />
!                       <input type="text" name="value" onchange="sql_update()" 
/>
!               </p>
!               <p>
!                       <label class="label100">Publisher</label>
!                       <input type="hidden" name="marclist" 
value="biblioitems.publishercode" />
!                       <input type="hidden" name="and_or" value="and" />
!                       <input type="hidden" name="excluding" value="" />
!                       <input type="hidden" name="operator" value="contains" />
!                       <input type="text" name="value" onchange="sql_update()" 
/>
                </p>
        </div>
--- 8,100 ----
  <h1 class="catalogue">Catalogue search</h1>
  
! <form name="f" method="post" action="/cgi-bin/koha/search.marc/search.pl">
        <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="bloc25">
                <h2 class="catalogue">Search on</h2>
                <p>
!                       <input type="hidden" name="op" value="do_search">
!                       <input type="hidden" name="nbstatements" value="<!-- 
TMPL_VAR NAME="nbstatements" -->">
!                       <label class="label100" for="keyword">Any word</label>
!                       <input type="hidden" name="marclist" value="">
!                       <input type="hidden" name="and_or" value="and">
!                       <input type="hidden" name="excluding" value="">
!                       <input type="hidden" name="operator" value="contains">
!                       <input type="text" name="value" id="keyword" 
onchange="sql_update()" size="35">
!               </p>
!               <p>
!                       <label class="label100" for="title">Title</label>
!                       <input type="hidden" name="marclist" 
value="biblio.title">
!                       <input type="hidden" name="and_or" value="and">
!                       <input type="hidden" name="excluding" value="">
!                       <input type="hidden" name="operator" value="contains">
!                       <input type="text" name="value" id="title" 
onchange="sql_update()" size="35">
!               </p>
!               <p>
!                       <label class="label100" for="author">Author</label> 
<input type="hidden" name="marclist" value="biblio.author">
!                       <input type="hidden" name="and_or" value="and">
!                       <input type="hidden" name="excluding" value="">
!                       <input type="hidden" name="operator" value="contains">
!                       <input type="text" name="value" id="author" 
onchange="sql_update()" size="35">
!               </p>
!               <p>
!                       <label class="label100" for="subject">Subject</label>
!                       <input type="hidden" name="marclist" 
value="bibliosubject.subject">
!                       <input type="hidden" name="and_or" value="and">
!                       <input type="hidden" name="excluding" value="">
!                       <input type="hidden" name="operator" value="contains">  
!                       <input type="text" name="value" id="subject" 
onchange="sql_update()" size="35">
!               </p>
!               <p>
!                       <label class="label100" for="itemtype">Item Type</label>
!                       <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="=">
                        <!-- TMPL_VAR name="CGIitemtype" -->
                </p>
                <p>
!                               <label class="label100" 
for="branch">Branch</label>
!                               <input type="hidden" name="marclist" 
value="items.holdingbranch">
!                               <input type="hidden" name="and_or" value="and">
!                               <input type="hidden" name="excluding" value="">
!                               <input type="hidden" name="operator" value="="> 
 
                                <!-- TMPL_VAR name="CGIbranch" -->
                </p>
        </div>
!       <div class="bloc25">
                <h2 class="catalogue">Other options</h2>
                <p>
!                               <label class="label100" for="barcode">Item 
barcode</label>
!                               <input type="hidden" name="marclist" 
value="items.barcode">
!                               <input type="hidden" name="and_or" value="and">
!                               <input type="hidden" name="excluding" value="">
!                               <input type="hidden" name="operator" 
value="contains">
!                               <input type="text" name="value" id="barcode" 
onchange="sql_update()"> 
!               </p>
!               <p>
!                       <label class="label100" for="callno">Call Number</label>
!                       <input type="hidden" name="marclist" 
value="items.itemcallnumber">
!                       <input type="hidden" name="and_or" value="and">
!                       <input type="hidden" name="excluding" value="">
!                       <input type="hidden" name="operator" value="start">
!                       <input type="text" name="value" id="callno" 
onchange="sql_update()">
!               </p>
!               <p>
!                       <label class="label100" for="isbn">ISBN</label>
!                       <input type="hidden" name="marclist" 
value="biblioitems.isbn">
!                       <input type="hidden" name="and_or" value="and">
!                       <input type="hidden" name="excluding" value="">
!                       <input type="hidden" name="operator" value="=">
!                       <input type="text" name="value" id="isbn" 
onchange="sql_update()">
!               </p>
!               <p>
!                       <label class="label100" 
for="publisher">Publisher</label>
!                       <input type="hidden" name="marclist" 
value="biblioitems.publishercode">
!                       <input type="hidden" name="and_or" value="and">
!                       <input type="hidden" name="excluding" value="">
!                       <input type="hidden" name="operator" value="contains">
!                       <input type="text" name="value" id="publisher" 
onchange="sql_update()">
                </p>
        </div>
***************
*** 125,139 ****
                <!-- /TMPL_LOOP -->
                <p>
!               <input type="button catalogue" value="Add criteria" 
onClick="AddStatement()" class="button catalogue">
!               Warning : the "contains" statement does NOT work if you enter 2 
or less letters
        </div>
!       <div id="bloc25">
!               <p>
!                       <div name="sql">
!                               <textarea name="sql" rows="3" cols="70" 
disabled readonly></textarea>
!                       </div>
!               </p>
                <p>Results per page :
!                       <select align="right" name="resultsperpage" size="1">
                                <option value="20">20</option>
                                <option value="50">50</option>
--- 125,135 ----
                <!-- /TMPL_LOOP -->
                <p>
!               <input type="button" value="Add criteria" 
onClick="AddStatement()" class="button catalogue">
!               Warning : the "contains" statement does NOT work if you enter 2 
or less letters</p>
        </div>
!       <div class="bloc25">
!               <p><textarea name="sql" rows="3" cols="70" disabled 
readonly></textarea></p>
                <p>Results per page :
!                       <select name="resultsperpage" size="1">
                                <option value="20">20</option>
                                <option value="50">50</option>
***************
*** 151,155 ****
                <p>
                        <input type="submit" value="Start search" class="button 
catalogue">
!                       <a href="javascript:PopupSuggestion()" class="button 
catalogue">Suggestions</a>
                </p>
        </div>
--- 147,151 ----
                <p>
                        <input type="submit" value="Start search" class="button 
catalogue">
!                       <a href="/cgi-bin/koha/search.marc/suggest.pl" 
onclick="PopupSuggestion(); return false;" class="button 
catalogue">Suggestions</a>
                </p>
        </div>




reply via email to

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