[Koha-cvs] koha/koha-tmpl/intranet-tmpl/prog/en/admin item... [rel_3_0]

Antoine Farnault antoine at koha-fr.org
Thu Oct 19 11:02:54 CEST 2006


CVSROOT:	/sources/koha
Module name:	koha
Branch:		rel_3_0
Changes by:	Antoine Farnault <toins>	06/10/19 09:02:54

Modified files:
	koha-tmpl/intranet-tmpl/prog/en/admin: itemtypes.tmpl 

Log message:
	allow 10 chars for itemtype & display images correctly.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/prog/en/admin/itemtypes.tmpl?cvsroot=koha&only_with_tag=rel_3_0&r1=1.2&r2=1.2.2.1

Patches:
Index: itemtypes.tmpl
===================================================================
RCS file: /sources/koha/koha/koha-tmpl/intranet-tmpl/prog/en/admin/itemtypes.tmpl,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -b -r1.2 -r1.2.2.1
--- itemtypes.tmpl	7 Apr 2006 11:10:25 -0000	1.2
+++ itemtypes.tmpl	19 Oct 2006 09:02:54 -0000	1.2.2.1
@@ -36,9 +36,9 @@
   <feldset>
     <legend>
   <!-- TMPL_IF name="itemtype" -->
-      Modify item type
+      <h3>Modify item type</h3>
   <!-- TMPL_ELSE -->
-      Add item type
+      <h3>Add item type</h3>
   <!-- /TMPL_IF -->
     </legend>
 
@@ -59,10 +59,10 @@
   <!-- TMPL_ELSE -->
       <tr>
         <th>
-          <label for="">Item type</label>
+          <label for="itemtype">Item type</label>
         </th>
         <td>
-          <input type="text" name="itemtype" size="6" maxlength="4" onblur="toUC(this)" />
+          <input type="text" id="itemtype" name="itemtype" size="10" maxlength="10" onblur="toUC(this)" />
         </td>
       </tr>
   <!-- /TMPL_IF -->
@@ -84,9 +84,15 @@
     <!-- TMPL_IF name="checked" -->
               <input type="radio" name="image" value="<!-- TMPL_VAR name="KohaImage" -->" checked="checked" />
     <!-- TMPL_ELSE -->
+              <!-- TMPL_IF NAME="KohaImage" --> <!-- to delete the radio button if there is no image after -->
               <input type="radio" name="image" value="<!-- TMPL_VAR name="KohaImage" -->" />
     <!-- /TMPL_IF -->
-              <img src="<!-- TMPL_VAR name="KohaImageSrc" -->">
+    <!-- /TMPL_IF -->
+        <!-- TMPL_IF NAME="KohaImageSrc" -->
+              <img src="<!-- TMPL_VAR name="KohaImageSrc" -->" alt="">
+        <!-- TMPL_ELSE -->
+              <br />
+        <!-- /TMPL_IF -->
             </label>
   <!-- /TMPL_LOOP -->
           </p>





More information about the Koha-cvs mailing list