[LON-CAPA-cvs] cvs: loncom /interface domainprefs.pm

raeburn raeburn at source.lon-capa.org
Fri Jul 6 09:16:58 EDT 2018


raeburn		Fri Jul  6 13:16:58 2018 EDT

  Modified files:              
    /loncom/interface	domainprefs.pm 
  Log:
  - Fix type attribute for input tags.
  
  
Index: loncom/interface/domainprefs.pm
diff -u loncom/interface/domainprefs.pm:1.329 loncom/interface/domainprefs.pm:1.330
--- loncom/interface/domainprefs.pm:1.329	Fri Jul  6 04:23:58 2018
+++ loncom/interface/domainprefs.pm	Fri Jul  6 13:16:58 2018
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set domain-wide configuration settings
 #
-# $Id: domainprefs.pm,v 1.329 2018/07/06 04:23:58 raeburn Exp $
+# $Id: domainprefs.pm,v 1.330 2018/07/06 13:16:58 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1436,7 +1436,7 @@
             } else {
                 $datatable .= '<input type="file" name="loginheadtag_'.$lonhost.'" />';
             }
-            $datatable .= '</td><td><input type="textbox" name="loginheadtagexempt_'.$lonhost.'" value="'.$exempt.'" /></td></tr>';
+            $datatable .= '</td><td><input type="text" name="loginheadtagexempt_'.$lonhost.'" value="'.$exempt.'" /></td></tr>';
         }
         $datatable .= '</table></td></tr>';
     }
@@ -8571,7 +8571,7 @@
                             pop(@{$path});
                         }
                     } else {
-                        $text .= &mt('Add subcategory:').' </span><input type="textbox" size="20" name="addcategory_name_';
+                        $text .= &mt('Add subcategory:').' </span><input type="text" size="20" name="addcategory_name_';
                         if ($j == $numchildren) {
                             $text .= $name;
                         } else {
@@ -8594,7 +8594,7 @@
                 my $colspan;
                 if ($parent ne 'instcode') {
                     $colspan = $maxdepth - $depth - 1;
-                    $text .= '<td colspan="'.$colspan.'">'.&mt('Add subcategory:').'<input type="textbox" size="20" name="subcat_'.$name.'" value="" /></td>';
+                    $text .= '<td colspan="'.$colspan.'">'.&mt('Add subcategory:').'<input type="text" size="20" name="subcat_'.$name.'" value="" /></td>';
                 }
             }
         }




More information about the LON-CAPA-cvs mailing list