[Koha-patches] [PATCH] [SIGNED-OFF] Fix for Bug 5135 - Authorized value input maxlength should match table column

Galen Charlton gmcharlt at gmail.com
Sat Oct 30 07:33:42 CEST 2010


From: Owen Leonard <oleonard at myacpl.org>

Signed-off-by: Galen Charlton <gmcharlt at gmail.com>
---
 .../prog/en/modules/admin/authorised_values.tmpl   |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tmpl
index 367930a..7d9bec1 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tmpl
@@ -46,7 +46,7 @@
         <fieldset class="rows"><ol>
         <li>
 			 <!-- TMPL_IF name="action_add_category" --><label for="category">Category</label>
-		<input type="text" name="category"  id="category" size="16" maxlength="16" /> 
+		<input type="text" name="category"  id="category" size="10" maxlength="10" />
 			 <!-- TMPL_ELSE --><span class="label">Category</span>
 		<input type="hidden" name="category" value="<!-- TMPL_VAR NAME='category' -->" />	 <!-- TMPL_VAR NAME='category' -->
 			 <!-- /TMPL_IF -->
@@ -54,15 +54,15 @@
         <li>
             <label for="authorised_value">Authorized value</label>
      <!-- TMPL_IF name="action_modify" --><input type="hidden" id="id" name="id" value="<!-- TMPL_VAR name="id" -->" /><!-- /TMPL_IF -->
-            <input type="text" id="authorised_value" name="authorised_value" value="<!-- TMPL_VAR name="authorised_value" -->" />
+            <input type="text" id="authorised_value" name="authorised_value" value="<!-- TMPL_VAR name="authorised_value" -->" maxlength="80" />
         </li>
         <li>
             <label for="lib">Description</label>
-            <input type="text" name="lib" id="lib" value="<!-- TMPL_VAR name="lib" -->" />
+            <input type="text" name="lib" id="lib" value="<!-- TMPL_VAR name="lib" -->" maxlength="80" />
         </li>
 	<li>
             <label for="lib_opac">Description (OPAC)</label>
-            <input type="text" name="lib_opac" id="lib_opac" value="<!-- TMPL_VAR name="lib_opac" -->" />
+            <input type="text" name="lib_opac" id="lib_opac" value="<!-- TMPL_VAR name="lib_opac" -->" maxlength="80" />
         </li>
 		</ol>
 		<div id="icons" class="toptabs">
-- 
1.7.0



More information about the Koha-patches mailing list