acqui - template cleanup of toggle "highlight" and required field formatting
authorJoe Atzberger <joe.atzberger@liblime.com>
Fri, 7 Mar 2008 07:09:44 +0000 (01:09 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Sat, 8 Mar 2008 17:19:25 +0000 (11:19 -0600)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/bookfund.tmpl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tmpl

index 4e3e2a3..60d11d0 100755 (executable)
 
 <!--TMPL_LOOP NAME="commitedloop"-->
        <!--TMPL_IF name="toggle"-->
-               <tr class="hilighted">
+       <tr class="hilighted">
        <!--TMPL_ELSE-->
-               <tr class="hilighted2">
-       <!--/TMPL_IF-->
        <tr>
+       <!--/TMPL_IF-->
                <td><!--TMPL_VAR NAME="title"-->        </td>
                <td>    <a href="/cgi-bin/koha/acqui/newbiblio.pl?ordnum=<!--TMPL_VAR NAME="ordnum"-->&amp;booksellerid=<!--TMPL_VAR NAME="booksellerid"-->&amp;basket=<!--TMPL_VAR NAME="basketno"-->"><!--TMPL_VAR NAME="ordnum"--></a></td>
                <td><!--TMPL_VAR NAME="itemtype"-->     </td>
index 9a41b27..ad55081 100644 (file)
@@ -41,7 +41,7 @@ f.GST.value=GST;
 return true;
 }
 
-function messenger(X,Y,etc){
+function messenger(X,Y,etc){   // FIXME: unused?
     win=window.open("","mess","height="+X+",width="+Y+",screenX=150,screenY=0");
     win.focus();
     win.document.close();
@@ -204,10 +204,10 @@ if (quantity ==0) {
                <ol>
             <li>
                 <!-- TMPL_IF name="close" -->
-                       <span class="label">Quantity: </span>
+                       <span class="label required">Quantity: </span>
                     <input type="hidden" size="20" id="quantity" name="quantity" value="<!-- TMPL_VAR NAME="quantity" -->" /><!-- TMPL_VAR NAME="quantity" -->
                 <!-- TMPL_ELSE -->
-                <label for="quantity">Quantity: </label>
+                <label class="required" for="quantity">Quantity: </label>
                     <input type="text" size="20" id="quantity" name="quantity" value="<!-- TMPL_VAR NAME="quantity" -->" onchange="update(this.form);" />
                 <!--/TMPL_IF-->
             </li>