Fix for Bug 6573 - Library name entry field enforces unnecessary maxlength
Removing maxlength from branches.tt and other admin templates
which enforce it unnecessarily. Correcting other maxlengths
which do not match the database structure.
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 7b1ca473cc)
Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
This commit is contained in:
parent
40d887082e
commit
2a4ebc4cc6
|
|
@ -91,7 +91,7 @@
|
|||
</li>
|
||||
<li>
|
||||
<label for="branchname">Name</label>
|
||||
<input type="text" name="branchname" id="branchname" size="40" maxlength="80" value="[% branch_name |html %]" />
|
||||
<input type="text" name="branchname" id="branchname" size="80" value="[% branch_name |html %]" />
|
||||
</li>
|
||||
</ol>
|
||||
</fieldset>
|
||||
|
|
@ -301,16 +301,16 @@
|
|||
[% categorycode %]
|
||||
[% ELSE %]
|
||||
<label for="categorycode">Category code:</label>
|
||||
<input type="text" name="categorycode" id="categorycode" size="11" maxlength="10" value="[% categorycode |html %]" />
|
||||
<input type="text" name="categorycode" id="categorycode" size="10" maxlength="10" value="[% categorycode |html %]" />
|
||||
[% END %]
|
||||
</li>
|
||||
<li>
|
||||
<label for="categoryname">Name: </label>
|
||||
<input type="text" name="categoryname" id="categoryname" size="40" maxlength="80" value="[% categoryname |html %]" />
|
||||
<input type="text" name="categoryname" id="categoryname" size="32" maxlength="32" value="[% categoryname |html %]" />
|
||||
</li>
|
||||
<li>
|
||||
<label for="codedescription">Description: </label>
|
||||
<input type="text" name="codedescription" id="codedescription" size="70" maxlength="80" value="[% codedescription |html %]" />
|
||||
<input type="text" name="codedescription" id="codedescription" size="70" value="[% codedescription |html %]" />
|
||||
</li>
|
||||
<li>
|
||||
<label for="categorytype">Category Type: </label>
|
||||
|
|
|
|||
|
|
@ -63,11 +63,11 @@
|
|||
[% END %]
|
||||
<li>
|
||||
<label for="city_name">City, State: </label>
|
||||
<input type="text" name="city_name" id="city_name" size="40" maxlength="80" value="[% city_name |html %]" />
|
||||
<input type="text" name="city_name" id="city_name" size="80" maxlength="100" value="[% city_name |html %]" />
|
||||
</li>
|
||||
<li>
|
||||
<label for="city_zipcode">Zip/Postal code: </label>
|
||||
<input type="text" name="city_zipcode" id="city_zipcode" size="10" maxlength="10" value="[% city_zipcode %]" />
|
||||
<input type="text" name="city_zipcode" id="city_zipcode" size="20" maxlength="20" value="[% city_zipcode %]" />
|
||||
</li></ol></fieldset>
|
||||
|
||||
<fieldset class="action">
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@ Item Types Administration
|
|||
</li>
|
||||
[% END %]
|
||||
<li>
|
||||
<label for="description">Description</label><input type="text" id="description" name="description" size="48" maxlength="80" value="[% description |html %]" /> </li>
|
||||
<label for="description">Description</label><input type="text" id="description" name="description" size="48" value="[% description |html %]" /> </li>
|
||||
[% IF ( noItemTypeImages ) %]
|
||||
<li><span class="label">Image: </span>Item type images are disabled. To enable them, turn off the <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=noItemTypeImages">noItemTypeImages system preference</a></li></ol>
|
||||
[% ELSE %]</ol>
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@
|
|||
[% END %]
|
||||
<li>
|
||||
<label for="road_type">Road type: </label>
|
||||
<input type="text" name="road_type" id="road_type" size="40" maxlength="80" value="[% road_type |html %]" />
|
||||
<input type="text" name="road_type" id="road_type" size="80" maxlength="100" value="[% road_type |html %]" />
|
||||
</li></ol></fieldset>
|
||||
|
||||
<fieldset class="action">
|
||||
|
|
|
|||
Loading…
Reference in New Issue