[LON-CAPA-cvs] cvs: loncom /homework edit.pm /interface lonpreferences.pm lonwhatsnew.pm
bisitz
bisitz at source.lon-capa.org
Thu Jul 4 12:35:12 EDT 2013
bisitz Thu Jul 4 16:35:12 2013 EDT
Modified files:
/loncom/homework edit.pm
/loncom/interface lonwhatsnew.pm lonpreferences.pm
Log:
XHTML
Index: loncom/homework/edit.pm
diff -u loncom/homework/edit.pm:1.146 loncom/homework/edit.pm:1.147
--- loncom/homework/edit.pm:1.146 Thu Jul 4 16:06:13 2013
+++ loncom/homework/edit.pm Thu Jul 4 16:35:07 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# edit mode helpers
#
-# $Id: edit.pm,v 1.146 2013/07/04 16:06:13 bisitz Exp $
+# $Id: edit.pm,v 1.147 2013/07/04 16:35:07 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1060,13 +1060,13 @@
<span class="LC_edit_opt">
$description
<select name="$selectelement"
-onChange="if ($selectedvalue!='TYPEDINVALUE') { $hiddenvalue=$selectedvalue; $typedinvalue=''; }" >
+onchange="if ($selectedvalue!='TYPEDINVALUE') { $hiddenvalue=$selectedvalue; $typedinvalue=''; }" >
$optionlist
</select>
<input type="text" size="$size" name="$typeinelement"
value="$typeinvalue"
-onChange="$hiddenvalue=$typedinvalue;"
-onFocus="$selectedindex=$selecttypeinindex-1;" />
+onchange="$hiddenvalue=$typedinvalue;"
+onfocus="$selectedindex=$selecttypeinindex-1;" />
<input type="hidden" name="$element" value="$selected" $change_code />
</span>
ENDSELECTORTYPE
Index: loncom/interface/lonwhatsnew.pm
diff -u loncom/interface/lonwhatsnew.pm:1.112 loncom/interface/lonwhatsnew.pm:1.113
--- loncom/interface/lonwhatsnew.pm:1.112 Tue Mar 5 23:23:11 2013
+++ loncom/interface/lonwhatsnew.pm Thu Jul 4 16:35:12 2013
@@ -1,5 +1,5 @@
#
-# $Id: lonwhatsnew.pm,v 1.112 2013/03/05 23:23:11 raeburn Exp $
+# $Id: lonwhatsnew.pm,v 1.113 2013/07/04 16:35:12 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -688,7 +688,7 @@
foreach my $type (@thresholditems) {
my $parameter = $env{'request.course.id'}.':threshold_'.$type;
# onchange is javascript to automatically check the 'Set' button.
- my $onchange = 'onFocus="javascript:window.document.forms'.
+ my $onchange = 'onfocus="javascript:window.document.forms'.
"['thresholdform'].elements['".$parameter."_setparmval']".
'.checked=true;"';
$r->print(&Apache::loncommon::start_data_table_row()."\n".
Index: loncom/interface/lonpreferences.pm
diff -u loncom/interface/lonpreferences.pm:1.205 loncom/interface/lonpreferences.pm:1.206
--- loncom/interface/lonpreferences.pm:1.205 Fri Jun 7 16:07:46 2013
+++ loncom/interface/lonpreferences.pm Thu Jul 4 16:35:12 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Preferences
#
-# $Id: lonpreferences.pm,v 1.205 2013/06/07 16:07:46 bisitz Exp $
+# $Id: lonpreferences.pm,v 1.206 2013/07/04 16:35:12 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -988,7 +988,7 @@
'" onclick="javscript:delete_address('."'$num'".')" />'.
&mt('Delete').'</label></span></td>'.
'<td><input type="text" value="'.$item.'" name="address_'.
- $num.'" onFocus="javascript:address_changes('."'$num'".
+ $num.'" onfocus="javascript:address_changes('."'$num'".
')" /></td><td>';
my %chk;
if (defined($allnot{$item}{'crit'})) {
@@ -1037,7 +1037,7 @@
'<input type="checkbox" name="add_notify_'.$num.
'" value="1" />'.&mt('Add new address').'</label></span></td>'.
'<td><input type="text" value="" name="address_'.$num.
- '" onFocus="javascript:new_address('."'$num'".')" /></td><td>';
+ '" onfocus="javascript:new_address('."'$num'".')" /></td><td>';
foreach my $type ('all','crit','reg') {
$output .= '<span class="LC_nobreak"><label>'.
'<input type="radio" name="notify_type_'.$num.
@@ -1489,7 +1489,7 @@
.'<input type="password" name="newpass_2" size="10" />'
.&Apache::lonhtmlcommon::row_closure(1)
.&Apache::lonhtmlcommon::end_pick_box();
- $output .= '<p><input type="button" value="'.$lt{'changepass'}.'" onClick="send();" /></p>'
+ $output .= '<p><input type="button" value="'.$lt{'changepass'}.'" onclick="send();" /></p>'
.qq|
<input type="hidden" name="ukey_cpass" value="$hexkey->{'ukey_cpass'}" />
<input type="hidden" name="lkey_cpass" value="$hexkey->{'lkey_cpass'}" />
More information about the LON-CAPA-cvs
mailing list