[LON-CAPA-cvs] cvs: loncom /interface courseprefs.pm
raeburn
raeburn at source.lon-capa.org
Thu Jan 15 20:50:05 EST 2026
raeburn Fri Jan 16 01:50:05 2026 EDT
Modified files:
/loncom/interface courseprefs.pm
Log:
- Satisfy w3c validation
Index: loncom/interface/courseprefs.pm
diff -u loncom/interface/courseprefs.pm:1.139 loncom/interface/courseprefs.pm:1.140
--- loncom/interface/courseprefs.pm:1.139 Sat Jan 10 11:39:16 2026
+++ loncom/interface/courseprefs.pm Fri Jan 16 01:50:05 2026
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set configuration settings for a course
#
-# $Id: courseprefs.pm,v 1.139 2026/01/10 11:39:16 raeburn Exp $
+# $Id: courseprefs.pm,v 1.140 2026/01/16 01:50:05 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -4573,7 +4573,7 @@
&js_escape(\$alert);
$catwin_js = <<ENDSCRIPT;
<script type="text/javascript">
-
+// <![CDATA[
function updateCategories() {
var newcategories = '';
var unescapedcats = '';
@@ -4602,7 +4602,7 @@
self.close();
return;
}
-
+// ]]>
</script>
ENDSCRIPT
} else {
@@ -6125,12 +6125,13 @@
}
$output .= '<option value="'.$val.'"'.$sel.'>'.$val.'</option>';
}
+ $output .= '</select>';
}
+ $output .= '</span></td>'."\n";
}
}
- $output .= '</span></td><td><input type="textbox" size="10" name="discussion_post_fonts_'.$cat.'_other" value="'.$curr{'other'}.'"'.$disabled.' /></td>';
- }
- $output .= &Apache::loncommon::end_data_table_row();
+ $output .= '<td><input type="textbox" size="10" name="discussion_post_fonts_'.$cat.'_other" value="'.$curr{'other'}.'"'.$disabled.' /></td>'.&Apache::loncommon::end_data_table_row();
+ }
}
return $output;
}
@@ -8419,6 +8420,7 @@
my $output = <<ENDJS;
<script type="text/javascript" language="Javascript">
+// <![CDATA[
function reOrder(chgnum) {
var maxnum = $maxnum;
@@ -8466,6 +8468,7 @@
return -1;
}
+// ]]>
</script>
ENDJS
More information about the LON-CAPA-cvs
mailing list