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/barcodes la... [rel_2_2]


From: Owen Leonard
Subject: [Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en/barcodes la... [rel_2_2]
Date: Thu, 13 Apr 2006 21:41:30 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         rel_2_2
Changes by:     Owen Leonard <address@hidden>   06/04/13 21:41:30

Modified files:
        koha-tmpl/intranet-tmpl/npl/en/barcodes: label-bib-search.tmpl 
                                                 label-home.tmpl 
                                                 label-manager.tmpl 
                                                 result.tmpl search.tmpl 

Log message:
        First round of basic markup cleanup

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-bib-search.tmpl.diff?only_with_tag=rel_2_2&tr1=1.1.2.1&tr2=1.1.2.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-home.tmpl.diff?only_with_tag=rel_2_2&tr1=1.1.2.1&tr2=1.1.2.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-manager.tmpl.diff?only_with_tag=rel_2_2&tr1=1.1.2.1&tr2=1.1.2.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/result.tmpl.diff?only_with_tag=rel_2_2&tr1=1.1.2.1&tr2=1.1.2.2&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/koha/koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/search.tmpl.diff?only_with_tag=rel_2_2&tr1=1.1.2.1&tr2=1.1.2.2&r1=text&r2=text

Patches:
Index: koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-bib-search.tmpl
diff -u 
koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-bib-search.tmpl:1.1.2.1 
koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-bib-search.tmpl:1.1.2.2
--- koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-bib-search.tmpl:1.1.2.1  
Tue Apr 11 05:29:06 2006
+++ koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-bib-search.tmpl  Thu Apr 
13 21:41:30 2006
@@ -1,33 +1,33 @@
-    <!-- TMPL_INCLUDE NAME="popup-top.inc" -->
-<div id="mainbloc">
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Barcodes and Labels: 
Search<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<div id="main-compact">
 
-<h1 class="authority">Bib search</h1>
+<h1>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="authority">Search on</h2>
+       <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>
                <p>
-                       <label class="label100">Name or ISSN</label>
+                       <label for="category">Name or ISSN: </label>
                        <!-- TMPL_VAR name="category" -->
                </p>
                <p>
-                       <label class="label100">Search value</label>
-                       <input type="text" name="value" value="<!-- TMPL_VAR 
name="value" -->">
-                       <input type="hidden" name="authtypecode" value="<!-- 
TMPL_VAR name="category" -->">
-                       <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="hidden" name="index" value="<!-- TMPL_VAR 
name="index" -->">
+                       <label for="index">Search value: </label>
+                       <input type="text" name="value" value="<!-- TMPL_VAR 
name="value" -->" />
+                       <input type="hidden" name="authtypecode" value="<!-- 
TMPL_VAR name="category" -->" />
+                       <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="hidden" id="index" name="index" 
value="<!-- TMPL_VAR name="index" -->" />
                </p>
                <p>
-                       <input type="submit" value="Start search" class="button 
authority">
+                       <input type="submit" value="Start search" 
class="submit" />
                </p>
        </div>
 </form>
 </div>
-<!-- TMPL_INCLUDE NAME="popup-bottom.inc" -->
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
 
Index: koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-home.tmpl
diff -u koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-home.tmpl:1.1.2.1 
koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-home.tmpl:1.1.2.2
--- koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-home.tmpl:1.1.2.1        
Tue Apr 11 05:29:06 2006
+++ koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-home.tmpl        Thu Apr 
13 21:41:30 2006
@@ -1,170 +1,175 @@
-<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Acquisitions<!-- 
TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Barcodes and Labels<!-- 
TMPL_INCLUDE NAME="doc-head-close.inc" -->
 <!-- TMPL_INCLUDE name="masthead.inc" -->
 <!-- TMPL_INCLUDE NAME="label-topmenu.inc" -->
 <!-- TMPL_INCLUDE name="intranet-nav.inc" -->
-<!--------------------------MAIN BODY OF PAGE-------------------------->
+
 <div id="main">
 <form name="input" action="barcodes/label-manager.pl" method="get">
 
-<h3>
-        Choose Fields to Print
-</h3>
-<table summary="fields to print">
+<h3>Choose Fields to Print</h3>
+<table summary="Fields to Print">
 <tr>
         <td>
-                <input type="checkbox" name="itemtype" value=1 
                 <!-- TMPL_IF NAME="itemtype"-->
-                     checked
-                <!-- /TMPL_IF --> 
+                    <input type="checkbox" id="itemtype" name="itemtype" 
value="1" checked="checked" />
+               <!-- TMPL_ELSE -->
+                    <input type="checkbox" id="itemtype" name="itemtype" 
value="1" />
+               <!-- /TMPL_IF --> 
                 <label for="itemtype">Item Type</label>
         </td>
 
         <td>
-                <input type="checkbox" name="isbn" value=1 
                 <!-- TMPL_IF NAME="isbn" -->
-                     checked
-                <!-- /TMPL_IF --> 
+                    <input type="checkbox" id="isbn" name="isbn" value="1" 
checked="checked" />
+               <!-- TMPL_ELSE -->
+                    <input type="checkbox" id="isbn" name="isbn" value="1" />
+               <!-- /TMPL_IF --> 
                 <label for="isbn">ISBN</label>
         </td>
 
 </tr>
 <tr>
         <td>
-                <input type="checkbox" name="dcn" value=1 
                 <!-- TMPL_IF NAME="dewey" -->
-                     checked
-                <!-- /TMPL_IF -->
+                     <input type="checkbox" id="dcn" name="dcn" value="1" 
checked="checked" />
+               <!-- TMPL_ELSE -->
+                     <input type="checkbox" id="dcn" name="dcn" value="1" />
+               <!-- /TMPL_IF -->
                 <label for="dcn">Dewey / Call Number</label>
         </td>
         <td>
-                <input type="checkbox" name="classif" value=1  
                 <!-- TMPL_IF NAME="class" -->
-                     checked
-                <!-- /TMPL_IF -->
+                     <input type="checkbox" id="classif" name="classif" 
value="1" checked="checked" />
+               <!-- TMPL_ELSE -->
+                     <input type="checkbox" id="classif" name="classif" 
value="1" />
+               <!-- /TMPL_IF -->
                 <label for="classif">Classification</label>
         </td>
 </tr>
 </table>
 
-
-
-<h3>
-        Confirm Label Type
-</h3>
-        <select name="papertype">
+<p><label for="papertype">Confirm Label Type</label>
+        <select id="papertype" name="papertype">
                 <option value="Gaylord8511">Gaylord-8511</option>
-        </select>
-
+        </select></p>
 
-<h3>
-        Confirm Barcode Type
-</h3>
-
-
-
- <select name="barcodetype">
-                <option value="COOP2of5"
-                        <!-- TMPL_IF NAME="COOP2of5_checked" -->
-                             selected
-                        <!--/TMPL_IF -->
-                        >COOP2of5</option>
-                <option value="Code39"
-                        <!-- TMPL_IF NAME="Code39_checked" -->
-                             selected
-                        <!-- /TMPL_IF -->
-                        >Code39</option>
-                <option value="EAN13"
-                        <!-- TMPL_IF NAME="EAN13_checked" -->
-                             selected
-                        <!-- /TMPL_IF -->
-                        >EAN13(JAN13)</option>
-                <option value="EAN8"
-                        <!-- TMPL_IF NAME="EAN8_checked" -->
-                             selected<!-- /TMPL_IF -->
-                        >EAN8(JAN8)</option>
-                <option value="ITF"
-                        <!-- TMPL_IF NAME="ITF_checked" -->
-                             selected
-                        <!-- /TMPL_IF -->
-                        >ITF(Interleaved2of5)</option>
-                <option value="Industrial2of5"
-                        <!-- TMPL_IF NAME="Industrial2of5_checked" -->
-                             selected
-                        <!-- /TMPL_IF -->
-                        >Industrial2of5</option>
-                <option value="Matrix2of5"
-                        <!-- TMPL_IF NAME="Matrix2of5_checked" -->
-                             selected
-                        <!-- /TMPL_IF -->
-                        >Matrix2of5</option>
-                <option value="NW7"
-                        <!-- TMPL_IF NAME="NW7_checked" -->
-                             selected
-                        <!-- /TMPL_IF -->
-                        >NW7</option>
-                <option value="QRcode"
-                        <!-- TMPL_IF NAME="QRcode_checked" -->
-                             selected
-                        <!-- /TMPL_IF -->
-                        >QRcode</option>
-                <option value="UPC-A"
-                        <!-- TMPL_IF NAME="UPC-A_checked" -->
-                             selected
-                        <!-- /TMPL_IF -->
-                        >UPC-A</option>
-                <option value="UPC-E"
-                        <!-- TMPL_IF NAME="UPC-E_checked" -->
-                             selected
-                        <!-- /TMPL_IF -->
-                        >UPC-E</option>
+<p><label for="barcodetype">Confirm Barcode Type</label>
+ <select id="barcodetype" name="barcodetype">
+               <!-- TMPL_IF NAME="COOP2of5_checked" -->
+                   <option value="COOP2of5" 
selected="selected">COOP2of5</option>
+               <!-- TMPL_ELSE -->
+                   <option value="COOP2of5">COOP2of5</option>
+               <!-- /TMPL_IF -->
+               <!-- TMPL_IF NAME="Code39_checked" -->
+                   <option value="Code39" selected="selected">Code39</option>
+               <!-- TMPL_ELSE -->
+                   <option value="Code39">Code39</option>
+               <!-- /TMPL_IF -->
+               <!-- TMPL_IF NAME="EAN13_checked" -->
+                   <option value="EAN13" 
selected="selected">EAN13(JAN13)</option>
+               <!-- TMPL_ELSE -->
+                   <option value="EAN13">EAN13(JAN13)</option>
+               <!-- /TMPL_IF -->
+               <!-- TMPL_IF NAME="EAN8_checked" -->
+                    <option value="EAN8" 
selected="selected">EAN8(JAN8)</option>
+                                                        <!-- TMPL_ELSE -->
+                    <option value="EAN8">EAN8(JAN8)</option>
+                                                        <!-- /TMPL_IF -->
+               <!-- TMPL_IF NAME="ITF_checked" -->
+                   <option value="ITF" 
selected="selected">ITF(Interleaved2of5)</option>
+               <!-- TMPL_ELSE -->
+                   <option value="ITF">ITF(Interleaved2of5)</option>
+               <!-- /TMPL_IF -->
+               <!-- TMPL_IF NAME="Industrial2of5_checked" -->
+                   <option value="Industrial2of5" 
selected="selected">Industrial2of5</option>
+               <!-- TMPL_ELSE -->
+                   <option value="Industrial2of5">Industrial2of5</option>
+               <!-- /TMPL_IF -->
+               <!-- TMPL_IF NAME="Matrix2of5_checked" -->
+                   <option value="Matrix2of5" 
selected="selected">Matrix2of5</option>
+               <!-- TMPL_ELSE -->
+                   <option value="Matrix2of5">Matrix2of5</option>
+               <!-- /TMPL_IF -->
+               <!-- TMPL_IF NAME="NW7_checked" -->
+                   <option value="NW7" selected="selected">NW7</option>
+               <!-- TMPL_ELSE -->
+                   <option value="NW7">NW7</option>
+               <!-- /TMPL_IF -->
+               <!-- TMPL_IF NAME="QRcode_checked" -->
+                   <option value="QRcode" selected="selected">QRcode</option>
+               <!-- TMPL_ELSE -->
+                   <option value="QRcode">QRcode</option>
+               <!-- /TMPL_IF -->
+               <!-- TMPL_IF NAME="UPC-A_checked" -->
+                   <option value="UPC-A" selected="selected">UPC-A</option>
+               <!-- TMPL_ELSE -->
+                   <option value="UPC-A">UPC-A</option>
+               <!-- /TMPL_IF -->
+               <!-- TMPL_IF NAME="UPC-E_checked" -->
+                   <option value="UPC-E" selected="selected">UPC-E</option>
+               <!-- TMPL_ELSE -->
+                   <option value="UPC-E">UPC-E</option>
+               <!-- /TMPL_IF -->
+               
         </select>
+</p>
 
-
-
-<h3>
-        Start printing from Row number:<select name="startrow">
-              <option value="1"
+<p>
+<label for="startrow">Start printing from Row number:</label>
+       <select id="startrow" name="startrow">
+              
                       <!-- TMPL_IF NAME="startrow1_checked" -->
-                           selected
-                      <!-- /TMPL_IF -->>1</option>
-              <option value="2"
+                 <option value="1" selected="selected">1</option>
+               <!-- TMPL_ELSE -->
+                 <option value="1">1</option>
+               <!-- /TMPL_IF -->
+              
                       <!-- TMPL_IF NAME="startrow2_checked" -->
-                           selected
-                      <!-- /TMPL_IF -->>2</option>
-              <option value="3"
+                 <option value="2" selected="selected">2</option>
+               <!-- TMPL_ELSE -->
+                 <option value="2">2</option>
+               <!-- /TMPL_IF -->
+              
                       <!-- TMPL_IF NAME="startrow3_checked" -->
-                           selected
-                      <!-- /TMPL_IF -->>3</option>
-              <option value="4"
+                 <option value="3" selected="selected">3</option>
+               <!-- TMPL_ELSE -->
+                 <option value="3">3</option>
+               <!-- /TMPL_IF -->
+              
                       <!-- TMPL_IF NAME="startrow4_checked" -->
-                          selected
-                      <!-- /TMPL_IF -->>4</option>
-              <option value="5"
+                <option value="4" selected="selected">4</option>
+               <!-- TMPL_ELSE -->
+                <option value="4">4</option>
+               <!-- /TMPL_IF -->
+              
                       <!-- TMPL_IF NAME="startrow5_checked" -->
-                           selected
-                      <!-- /TMPL_IF -->>5</option>
-              <option value="6"
+                 <option value="5" selected="selected">5</option>
+               <!-- TMPL_ELSE -->
+                 <option value="5">5</option>
+               <!-- /TMPL_IF -->
+              
                       <!-- TMPL_IF NAME="startrow6_checked" -->
-                           selected
-                      <!-- /TMPL_IF -->>6</option>
-              <option value="7"
+                 <option value="6" selected="selected">6</option>
+               <!-- TMPL_ELSE -->
+                 <option value="6">6</option>
+               <!-- /TMPL_IF -->
+              
                       <!-- TMPL_IF NAME="startrow7_checked" -->
-                           selected
-                      <!-- /TMPL_IF -->>7</option>
-              <option value="8"
+                 <option value="7" selected="selected">7</option>
+               <!-- TMPL_ELSE -->
+                 <option value="7">7</option>
+               <!-- /TMPL_IF -->
+              
                       <!-- TMPL_IF NAME="startrow8_checked" -->
-                           selected
-                      <!-- /TMPL_IF -->>8</option>
+                 <option value="8" selected="selected">8</option>
+               <!-- TMPL_ELSE -->
+                 <option value="8">8</option>
+               <!-- /TMPL_IF -->
         </select>
-</h3>
-
-
-
-
+</p>
 <p>
-        <input type="submit" value="Submit">
-        <input type="reset" value="Reset">
-        <input type="hidden" name=op value="save_conf">
+        <input type="submit" value="Submit" class="submit" />
+        <input type="hidden" name=op value="save_conf" />
 
 </p>
 </form>
@@ -172,5 +177,5 @@
 
 
 </div>
- <!-- TMPL_INCLUDE NAME="label-bottom.inc" -->
+ <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
 
Index: koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-manager.tmpl
diff -u koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-manager.tmpl:1.1.2.1 
koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-manager.tmpl:1.1.2.2
--- koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-manager.tmpl:1.1.2.1     
Tue Apr 11 05:29:06 2006
+++ koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/label-manager.tmpl     Thu Apr 
13 21:41:30 2006
@@ -3,7 +3,7 @@
 <!-- TMPL_INCLUDE NAME="label-topmenu.inc" -->
 <!-- TMPL_INCLUDE name="intranet-nav.inc" -->
 <div id="main">
-<h1 class="bull">Labels to be Printed</h1>
+<h1>Labels to be Printed</h1>
 <p>
        Printing will start on row number <b><!-- TMPL_VAR NAME="startrow" 
--></b><br />
        Printing will use <b><!-- TMPL_VAR NAME="sheets"--> sheets</b><br />
@@ -12,26 +12,26 @@
 
 <!-- TMPL_IF NAME="resultsloop" -->
 <h2>Items</h2>
-<table border="0" cellspacing="0" cellpadding="0" class="collapse">
-<tr valign="top">
-        <td class="cell-header">Label Number</td>
-        <td class="cell-header">Summary</td>
-        <td class="cell-header">Item Type</td>
-        <td class="cell-header">Delete</td>
+<table>
+<tr>
+        <th>Label Number</th>
+        <th>Summary</th>
+        <th>Item Type</th>
+        <th>Delete</th>
 </tr>
 <!-- TMPL_LOOP NAME="resultsloop" -->
 <tr>
-        <td class="cell">
+        <td>
                 <!-- TMPL_VAR NAME="labelno" -->
         </td>
-        <td class="cell">
+        <td>
                 <b><!-- TMPL_VAR NAME="title" -->:</b> <!-- TMPL_VAR 
NAME="author" -->:
                 <!-- TMPL_VAR NAME="isbn" -->: <!-- TMPL_VAR NAME="barcode" -->
         </td>
-        <td class="cell">
+        <td>
                 <!-- TMPL_VAR NAME="itemtype" -->
         </td>
-        <td class="cell">
+        <td>
                 <a 
href="/cgi-bin/koha/barcodes/label-manager.pl?op=delete&amp;itemnumber=<!-- 
TMPL_VAR NAME="itemnumber" -->">Delete</a>
         </td>
 </tr>
@@ -39,12 +39,12 @@
 </table>
 
 <p><br />
-        <a href="#" onClick="Plugin()">Add Item</a> &nbsp;&nbsp;
+        <a href="#" onclick="Plugin(); return false;">Add Item</a> &nbsp;&nbsp;
         <a href="/cgi-bin/koha/barcodes/label-print.pl">Preview</a> 
&nbsp;&nbsp;
         <a href="/cgi-bin/koha/barcodes/label-manager.pl?op=deleteall">Delete 
All</a>
 </p>
  <!-- TMPL_ELSE -->
-        <a href="#" onClick="Plugin()">Add Item</a>
+        <a href="#" onclick="Plugin(); return false;">Add Item</a>
 <!-- /TMPL_IF -->
 </form>
 </div>
@@ -55,4 +55,4 @@
 }
 </script>
 
-<!-- TMPL_INCLUDE NAME="label-bottom.inc" -->
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
Index: koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/result.tmpl
diff -u koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/result.tmpl:1.1.2.1 
koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/result.tmpl:1.1.2.2
--- koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/result.tmpl:1.1.2.1    Tue Apr 
11 05:29:06 2006
+++ koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/result.tmpl    Thu Apr 13 
21:41:30 2006
@@ -1,22 +1,22 @@
-<!-- TMPL_INCLUDE NAME="popup-top.inc" -->
-<div id="popup-block">
-       <h1 class="catalogue">Search results</h1>
-       <div>
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Barcodes and Labels: 
Search Results<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<div id="main-compact">
+       <h1>Search results</h1>
+       <div class="results">
                <p>
                        <!-- TMPL_IF NAME=displayprev -->
                                <a href="label-bib-search.pl?startfrom=<!-- 
TMPL_VAR NAME="startfromprev" -->&amp;<!-- TMPL_LOOP NAME=searchdata --><!-- 
TMPL_VAR NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&amp;<!-- 
/TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" 
-->&amp;type=intranet&amp;op=do_search">
-                                       <img 
src="/intranet-tmpl/default/images/numbers/prev.gif" border="0">
+                                       &lt;&lt;
                                </a>
                        <!-- /TMPL_IF -->
                        <!-- TMPL_LOOP NAME=numbers -->
                                <!-- TMPL_IF NAME=highlight -->
-                                       <img 
src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME=number 
-->-highlight.gif">
+                                       <span class="current"><!-- TMPL_VAR 
NAME="number" --></span>
                                <!-- TMPL_ELSE -->
-                                       <a 
href="label-bib-search.pl?startfrom=<!-- TMPL_VAR NAME=startfrom -->&amp;<!-- 
TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR 
name="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR 
NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search"><img 
src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME=number -->.gif" 
border="0"></a>
+                                       <a 
href="label-bib-search.pl?startfrom=<!-- TMPL_VAR NAME=startfrom -->&amp;<!-- 
TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR NAME="term" -->=<!-- TMPL_VAR 
name="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP -->resultsperpage=<!-- TMPL_VAR 
NAME="resultsperpage" -->&amp;type=intranet&amp;op=do_search"><!-- TMPL_VAR 
NAME="number" --></a>
                                <!-- /TMPL_IF -->
                        <!-- /TMPL_LOOP -->
                        <!-- TMPL_IF NAME=displaynext -->
-                               <a href="label-bib-search.pl?startfrom=<!-- 
TMPL_VAR NAME="startfromnext" -->&amp;<!-- TMPL_LOOP NAME=searchdata --><!-- 
TMPL_VAR NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&amp;<!-- 
/TMPL_LOOP -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" 
-->&amp;type=intranet&amp;op=do_search"><img 
src="/intranet-tmpl/default/images/numbers/next.gif" border="0"></a>
+                               <a href="label-bib-search.pl?startfrom=<!-- 
TMPL_VAR NAME="startfromnext" -->&amp;<!-- TMPL_LOOP NAME=searchdata --><!-- 
TMPL_VAR NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&amp;<!-- 
/TMPL_LOOP -->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" 
-->&amp;type=intranet&amp;op=do_search">&gt;&gt;</a>
                                <!-- /TMPL_IF -->
                </p>
                <p>
@@ -28,19 +28,19 @@
                </p>
        </div>
 
-       <table width="460">
+       <table>
        <tr>
-               <td class="cell-header">Summary</th>
-               <td class="cell-header">Item Type</th>
-               <td class="cell-header">Add</th>
+               <th>Summary</th>
+               <th>Item Type</th>
+               <th>Add</th>
        </tr>
        <!-- TMPL_LOOP name="result" -->
                <!-- TMPL_IF name="even" -->
-                       <tr class="hilighted">
+                       <tr class="highlight">
                <!-- TMPL_ELSE -->
-                       <tr class="hilighted2">
+                       <tr>
                <!-- /TMPL_IF -->
-                               <td class="cell">
+                               <td>
                                        <p><b><!-- TMPL_VAR NAME="title" 
--></b></p>
                                        <p><!-- TMPL_VAR NAME="author" -->
                                        <!-- TMPL_IF name="publishercode" -->- 
<!-- TMPL_VAR name="publishercode" --><!-- /TMPL_IF -->
@@ -52,10 +52,10 @@
                                        </p>
                                </td>
 <!-- NEW -->
-                               <td class="cell">
+                               <td>
                                        <!-- TMPL_VAR NAME="itemtype" -->
                                </td>
-                               <td class="cell">
+                               <td>
                                        <a onclick="add_item(<!-- TMPL_VAR 
NAME="itemnumber" -->); return false" 
href="/cgi-bin/koha/barcodes/label-manager.pl?itemnumber=<!-- TMPL_VAR 
NAME="itemnumber" -->&amp;op=add">Add</a>
 
 <!-- /NEW -->
@@ -64,27 +64,25 @@
                        <!-- /TMPL_LOOP -->
                </table>
 
-       <div>
+       <div class="results">
                <p>
                        <!-- TMPL_IF NAME=displayprev -->
-                       <a href="label-bib-search.pl?startfrom=<!-- TMPL_VAR 
NAME="startfromprev" -->&amp;<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR 
NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP 
-->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" 
-->&amp;type=intranet&amp;op=do_search"><img 
src="/intranet-tmpl/default/images/numbers/prev.gif" border="0"></a>
+                       <a href="label-bib-search.pl?startfrom=<!-- TMPL_VAR 
NAME="startfromprev" -->&amp;<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR 
NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP 
-->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" 
-->&amp;type=intranet&amp;op=do_search">&lt;&lt;</a>
                        <!-- /TMPL_IF -->
                        <!-- TMPL_LOOP NAME=numbers -->
                                <!-- TMPL_IF NAME=highlight -->
-                               <img 
src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME=number 
-->-highlight.gif">
+                               <span class="current"><!-- TMPL_VAR 
NAME="number" --></span>
                                <!-- TMPL_ELSE -->
-                               <a href="label-bib-search.pl?startfrom=<!-- 
TMPL_VAR NAME=startfrom -->&amp;<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR 
NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP 
-->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" 
-->&amp;type=intranet&amp;op=do_search"><img 
src="/intranet-tmpl/default/images/numbers/<!-- TMPL_VAR NAME=number -->.gif" 
border="0"></a>
+                               <a href="label-bib-search.pl?startfrom=<!-- 
TMPL_VAR NAME=startfrom -->&amp;<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR 
NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP 
-->resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" 
-->&amp;type=intranet&amp;op=do_search"><!-- TMPL_VAR NAME="number" --></a>
                                <!-- /TMPL_IF -->
                        <!-- /TMPL_LOOP -->
                        <!-- TMPL_IF NAME=displaynext -->
-                       <a href="label-bib-search.pl?startfrom=<!-- TMPL_VAR 
NAME="startfromnext" -->&amp;<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR 
NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP 
-->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" 
-->&amp;type=intranet&amp;op=do_search"><img 
src="/intranet-tmpl/default/images/numbers/next.gif" border="0"></a>
+                       <a href="label-bib-search.pl?startfrom=<!-- TMPL_VAR 
NAME="startfromnext" -->&amp;<!-- TMPL_LOOP NAME=searchdata --><!-- TMPL_VAR 
NAME="term" -->=<!-- TMPL_VAR name="val" ESCAPE=URL -->&amp;<!-- /TMPL_LOOP 
-->&amp;resultsperpage=<!-- TMPL_VAR NAME="resultsperpage" 
-->&amp;type=intranet&amp;op=do_search">&gt;&gt;</a>
                                <!-- /TMPL_IF -->
                </p>
        </div> 
 </div>
 
-
-
 <script type="text/javascript">
 <!--
 
Index: koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/search.tmpl
diff -u koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/search.tmpl:1.1.2.1 
koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/search.tmpl:1.1.2.2
--- koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/search.tmpl:1.1.2.1    Wed Apr 
12 05:20:52 2006
+++ koha/koha-tmpl/intranet-tmpl/npl/en/barcodes/search.tmpl    Thu Apr 13 
21:41:30 2006
@@ -1,46 +1,45 @@
-    <!-- TMPL_INCLUDE NAME="popup-top.inc" -->
-<div class="popup-block">
+<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->Koha -- Barcodes and Labels: 
Search<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
+<div id="main-compact">
 
-<h1 class="catalogue">Catalogue Item Search</h1>
+<h1>Catalogue Item 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" -->">
-
-       <h2 class="catalogue">Search On</h2>
-       <table cellpadding="0" cellspacing="5" border="0">
-       <tr><td>
-               <label class="label20">Title</label>
-           </td>
+       <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" -->" />
+
+       <table>
+       <tr><th scope="row">
+               <label for="title">Title</label>
+           </th>
            <td>
-               <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()"  
class="form-box-small">
+               <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" id="title" name="value" />
            </td></tr>
-       <tr><td>
-               <label class="label20">ISSN</label>
-           </td>
+       <tr><th scope="row">
+               <label for="issn">ISSN</label>
+           </th>
            <td>
-               <input type="hidden" name="marclist" value="biblioitems.issn">
-               <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="issn" 
onchange="sql_update()" class="form-box-small">
+               <input type="hidden" name="marclist" value="biblioitems.issn" />
+               <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="issn" />
            </td></tr>
-       <tr><td>
-               Results per page:
-           </td>
+       <tr><th scope="row">
+               <label for="resultsperpage">Results per page:</label>
+           </th>
            <td>
-               <select align="right" name="resultsperpage" size="1">
+               <select align="right" name="resultsperpage" id="resultsperpage" 
size="1">
                        <option value="20">20</option>
                        <option value="50">50</option>
                        <option value="100">100</option>
                </select>
-               Ordered by
-               <select name="orderby" size="1">
+               <label for="orderby">Ordered by</label>
+               <select name="orderby" id="orderby" size="1">
                        <option value="biblio.title">Title</option>
                        <option value="biblio.author">Author</option>
                        <option value="biblioitems.dewey">Dewey</option>
@@ -48,46 +47,8 @@
                        <option 
value="biblioitems.publishercode">Publisher</option>
                </select>
            </td></tr>
-       <tr><td>
-               &nbsp;
-           </td>
-           <td>
-               <input type="submit" value="Start search" class="button 
catalogue">
-               <!--    <a href="javascript:PopupSuggestion()" class="button 
catalogue">Suggestions</a> -->
-           </td></tr>
        </table>
+<p>            <input type="submit" value="Start search" class="submit" /></p>
 </form>
-
-<script>
-function sql_update() {
-document.f.sql.value="";
-       for (i=0 ; i<document.f.marclist.length ; i++) {
-               if (document.f.value[i].value.length>0) {
-                       document.f.sql.value = document.f.sql.value+
-                                                                               
document.f.and_or[i].value + ' (' +
-                                                                               
document.f.excluding[i].value + ' ' +
-                                                                               
document.f.marclist[i].value + ' ' +
-                                                                               
document.f.operator[i].value + ' ' +
-                                                                               
'\''+document.f.value[i].value + '\') ';
-               }
-       }
-}
-
-function AddStatement() {
-
-       document.forms[0].op.value="AddStatement";
-       document.f.submit();
-}
-
-function PopupSuggestion() {
-    var strQuery="";
-       for (i=0 ; i<document.f.marclist.length ; i++) {
-               if (document.f.value[i].value.length>0) {
-                   strQuery += " "+document.f.value[i].value;
-               }
-       }
-       
newin=window.open("suggest.pl?Q="+strQuery,"Suggestions",'width=500,height=400,toolbar=false,scrollbars=yes');
-}
-
-</script>
 </div>
+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
\ No newline at end of file




reply via email to

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