Bug 13272: (follow-up) add missing type="text"
authorMark Tompsett <mtompset@hotmail.com>
Wed, 26 Sep 2018 22:57:32 +0000 (22:57 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Mon, 1 Oct 2018 11:18:32 +0000 (11:18 +0000)
This addresses comment #13.
This also applies cleanly.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
12 files changed:
koha-tmpl/intranet-tmpl/prog/en/includes/adv-search.inc
koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc
koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search.inc
koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc
koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt
koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-batchedit.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-reserve.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shareshelf.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt

index 62bff05..5001346 100644 (file)
@@ -8,14 +8,14 @@
             <div id="checkin_search" class="residentsearch">
                 <p class="tip">Scan a barcode to check in:</p>
                 <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
-                    <input name="barcode" class="head-searchbox" id="ret_barcode" size="40" accesskey="r" />
+                    <input type="text" name="barcode" class="head-searchbox" id="ret_barcode" size="40" accesskey="r" />
                     <input value="Submit" class="submit" type="submit" />
                 </form>
             </div>
             <div id="renew_search" class="residentsearch">
                 <p class="tip">Scan a barcode to renew:</p>
                 <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
-                    <input class="head-searchbox" name="barcode" id="ren_barcode" size="40" />
+                    <input type="text" class="head-searchbox" name="barcode" id="ren_barcode" size="40" />
                     <input value="Submit" class="submit" type="submit" />
                 </form>
             </div>
index 35a496a..d979f69 100644 (file)
         <div id="checkin_search" class="residentsearch">
             <p class="tip">Scan a barcode to check in:</p>
             <form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off">
-                <input class="head-searchbox" name="barcode" id="ret_barcode" size="40" />
+                <input class="head-searchbox" type="text" name="barcode" id="ret_barcode" size="40" />
                 <input value="Submit" class="submit" type="submit" />
             </form>
         </div>
         <div id="renew_search" class="residentsearch">
         <p class="tip">Scan a barcode to renew:</p>
             <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
-                <input class="head-searchbox" name="barcode" id="ren_barcode" size="40" />
+                <input class="head-searchbox" type="text" name="barcode" id="ren_barcode" size="40" />
                 <input value="Submit" class="submit" type="submit" />
             </form>
         </div>
index 05c5de6..f56af3e 100644 (file)
@@ -8,7 +8,7 @@
 <div id="renew_search" class="residentsearch">
     <p class="tip">Scan a barcode to renew:</p>
     <form method="post" action="/cgi-bin/koha/circ/renew.pl" autocomplete="off">
-        <input class="head-searchbox" name="barcode" id="ren_barcode" size="40" />
+        <input class="head-searchbox" type="text" name="barcode" id="ren_barcode" size="40" />
         <input value="Submit" class="submit" type="submit" />
     </form>
 </div>
index 2fd2d18..a04d1e0 100644 (file)
 
                         [% IF AutoResumeSuspendedHolds %]
                             <label for="suspend_until_[% hold.reserve_id | html %]">[% IF ( hold.suspend ) %] on [% ELSE %] until [% END %]</label>
-                            <input name="suspend_until" id="suspend_until_[% hold.reserve_id | html %]" size="10" value="[% hold.suspend_until | $KohaDates %]" class="datepicker suspend_until_datepicker" />
+                            <input type="text" name="suspend_until" id="suspend_until_[% hold.reserve_id | html %]" size="10" value="[% hold.suspend_until | $KohaDates %]" class="datepicker suspend_until_datepicker" />
                             <a href='#' onclick="document.getElementById('suspend_until_[% hold.reserve_id | html %]').value='';">Clear date</a>
                         [% ELSE %]
                             <input type="hidden" name="suspend_until" id="suspend_until_[% hold.reserve_id | html %]" value=""/>
index 2040c07..063c55a 100644 (file)
                                     <input type="hidden" name="club_template_field_id" value="[% f.id | html %]" />
                                     <li>
                                         <label for="field-name-[% f.id | html %]">Name:</label>
-                                        <input name="club_template_field_name" id="field-name-[% f.id | html %]" value="[% f.name | html %]" />
+                                        <input type="text" name="club_template_field_name" id="field-name-[% f.id | html %]" value="[% f.name | html %]" />
                                     </li>
 
                                     <li>
                                         <label for="field-description-[% f.id | html %]">Description:</label>
-                                        <input name="club_template_field_description" id="field-description-[% f.id | html %]" value="[% f.description | html %]" />
+                                        <input type="text" name="club_template_field_description" id="field-description-[% f.id | html %]" value="[% f.description | html %]" />
                                     </li>
 
                                     <li>
                                     <li>
                                         <input type="hidden" name="club_template_enrollment_field_id" value="[% f.id | html %]" />
                                         <label for="enrollment-field-name-[% f.id | html %]">Name:</label>
-                                        <input name="club_template_enrollment_field_name" id="enrollment-field-name-[% f.id | html %]" value="[% f.name | html %]" size="40" />
+                                        <input type="text" name="club_template_enrollment_field_name" id="enrollment-field-name-[% f.id | html %]" value="[% f.name | html %]" size="40" />
                                     </li>
 
                                     <li>
                                         <label for="enrollment-field-description-[% f.id | html %]">Description:</label>
-                                        <input name="club_template_enrollment_field_description" id="enrollment-field-description-[% f.id | html %]" value="[% f.description | html %]" size="40" />
+                                        <input type="text" name="club_template_enrollment_field_description" id="enrollment-field-description-[% f.id | html %]" value="[% f.description | html %]" size="40" />
                                     </li>
 
                                     <li>
 
         <li>
             <label for="club_template_field_name">Name:</label>
-            <input name="club_template_field_name" />
+            <input type="text" name="club_template_field_name" />
         </li>
 
         <li>
             <label for="club_template_field_description">Description:</label>
-            <input name="club_template_field_description" />
+            <input type="text" name="club_template_field_description" />
         </li>
 
         <li>
 
         <li>
             <label for="club_template_enrollment_field_name">Name:</label>
-            <input name="club_template_enrollment_field_name" />
+            <input type="text" name="club_template_enrollment_field_name" />
         </li>
 
         <li>
             <label for="club_template_enrollment_field_description">Description:</label>
-            <input name="club_template_enrollment_field_description" />
+            <input type="text" name="club_template_enrollment_field_description" />
         </li>
 
         <li>
index b2e72a8..2880d77 100644 (file)
                                                 [% END %]
                                             </select>
                                         [% ELSE %]
-                                            <input id="field_[% field.id | html %]" name="field_[% field.id | html %]" placeholder="No change"/>
+                                            <input type="text" id="field_[% field.id | html %]" name="field_[% field.id | html %]" placeholder="No change"/>
                                         [% END %]
                                     </li>
                                 [% END %]
index 7533350..edb6ef4 100644 (file)
@@ -55,7 +55,7 @@
                                 [% IF ( TagsInputEnabled && loggedinusername ) %]
                                 <span id="tagsel_form" style="display:none">
                                     <label for="tagsel_new">New tag:</label>
-                                    <input name="tagsel_new" id="tagsel_new" maxlength="100" />
+                                    <input type="text" name="tagsel_new" id="tagsel_new" maxlength="100" />
                                     <input id="tagsel_button" name="tagsel_button" class="input tagsel_button" title="Add" type="submit" value="Add">
                                     <a href="#" id="tagsel_cancel">Cancel</a>
                                 </span>
index aca8342..36f25d1 100644 (file)
                                                         [% IF ( reserve_in_future ) %]
                                                             <li>
                                                                 <label for="from[% bibitemloo.biblionumber | html %]">Hold starts on date:</label>
-                                                                <input name="reserve_date_[% bibitemloo.biblionumber | html %]" id="from[% bibitemloo.biblionumber | html %]" size="10" class="holddatefrom"/>
+                                                                <input type="text" name="reserve_date_[% bibitemloo.biblionumber | html %]" id="from[% bibitemloo.biblionumber | html %]" size="10" class="holddatefrom"/>
                                                                 <span class="date-format from" data-biblionumber="[% bibitemloo.biblionumber | html %]">[% INCLUDE 'date-format.inc' %]</span>
                                                             </li>
                                                         [% END %]
 
                                                         <li>
                                                             <label for="to[% bibitemloo.biblionumber | html %]">Hold not needed after:</label>
-                                                            <input name="expiration_date_[% bibitemloo.biblionumber | html %]" id="to[% bibitemloo.biblionumber | html %]" size="10" class="holddateto" />
+                                                            <input type="text" name="expiration_date_[% bibitemloo.biblionumber | html %]" id="to[% bibitemloo.biblionumber | html %]" size="10" class="holddateto" />
                                                             <span class="date-format to" data-biblionumber="[% bibitemloo.biblionumber | html %]">[% INCLUDE 'date-format.inc' %]</span>
                                                         </li>
 
index afaa775..b4a417f 100644 (file)
                                                 </span>
                                                 <div id="tagsel_form" style="display:none">
                                                     <label for="tagsel_new">New tag:</label>
-                                                    <input name="tagsel_new" id="tagsel_new" maxlength="100" />
+                                                    <input type="text" name="tagsel_new" id="tagsel_new" maxlength="100" />
                                                     <input id="tagsel_button" name="tagsel_button" class="tagsel_button btn btn-small" title="Add" type="submit" value="Add" />
                                                     <a href="#" id="tagsel_cancel">(done)</a>
                                                 </div>
index 6963588..6bfd1b4 100644 (file)
@@ -55,7 +55,7 @@
             <li><label for="name">List name:</label> [% shelfname | html %]</li>
             <li>
                 <label for="invite_address">Email address:</label>
-                <input id="invite_address" name="invite_address" size="40" />
+                <input type="text" id="invite_address" name="invite_address" size="40" />
             </li>
             </ol>
         </fieldset>
index 34b7201..dae56ed 100644 (file)
                                         </span>
                                         <span id="tagsel_form" style="display:none">
                                           <label for="tagsel_new">New tag(s), separated by a comma:</label>
-                                          <input name="tagsel_new" id="tagsel_new" maxlength="100" />
+                                          <input type="text" name="tagsel_new" id="tagsel_new" maxlength="100" />
                                           <input id="tagsel_button" name="tagsel_button" class="tagsel_button btn btn-small" title="tagsel_button" type="submit" value="Add" />
                                           <a href="#" id="tagsel_cancel">Cancel</a>
                                         </span>
                                                                 <span class="actions"><a class="tag_add hidden" id="tag_add[% itemsloo.biblionumber | html %]" href="#">Add tag</a></span>
                                                                 <div id="tagform[% itemsloo.biblionumber | html %]" class="tag_results_input" style="display:none;">
                                                                     <label for="newtag[% itemsloo.biblionumber | html %]">New tag(s), separated by a comma:</label>
-                                                                    <input name="newtag[% itemsloo.biblionumber | html %]" id="newtag[% itemsloo.biblionumber | html %]" maxlength="100" />
+                                                                    <input type="text" name="newtag[% itemsloo.biblionumber | html %]" id="newtag[% itemsloo.biblionumber | html %]" maxlength="100" />
                                                                     <input name="tagbutton" class="tagbutton btn btn-small" title="[% itemsloo.biblionumber | html %]" type="submit" value="Add" />
                                                                     <a class="cancel_tag_add" id="cancel[% itemsloo.biblionumber | html %]" href="#">(done)</a>
                                                                 </div>
index 728ddaf..69ce9b0 100644 (file)
                                                                         <div class="modal-body">
                                                                             <input type="hidden" name="reserve_id" value="[% RESERVE.reserve_id | html %]" />
                                                                             <label for="suspend_until_[% RESERVE.reserve_id | html %]">Suspend until:</label>
-                                                                            <input name="suspend_until" id="suspend_until_[% RESERVE.reserve_id | html %]" class="suspend-until" size="10" />
+                                                                            <input type="text" name="suspend_until" id="suspend_until_[% RESERVE.reserve_id | html %]" class="suspend-until" size="10" />
                                                                             [% INCLUDE 'date-format.inc' %]
                                                                             <p class="js-show"><a href="#" onclick="document.getElementById('suspend_until_[% RESERVE.reserve_id | html %]').value='';return false;">Clear date to suspend indefinitely</a></p>
                                                                             <button class="btn btn-mini js-hide" type="submit" name="submit">Suspend</button>
 
                                         [% IF AutoResumeSuspendedHolds %]
                                             <label for="suspend_until"> until </label>
-                                            <input name="suspend_until" id="suspend_until" class="suspend-until" readonly="readonly" size="10" />
+                                            <input type="text" name="suspend_until" id="suspend_until" class="suspend-until" readonly="readonly" size="10" />
                                             <a href="#" style="font-size:85%;text-decoration:none;" onclick="document.getElementById('suspend_until').value='';return false;">Clear date to suspend indefinitely</a>
                                         [% END %]
                                     </form>