[LON-CAPA-cvs] cvs: loncom /interface londocs.pm
bisitz
bisitz@source.lon-capa.org
Tue, 17 Mar 2009 17:36:22 -0000
bisitz Tue Mar 17 17:36:22 2009 EDT
Modified files:
/loncom/interface londocs.pm
Log:
XHTML
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.357 loncom/interface/londocs.pm:1.358
--- loncom/interface/londocs.pm:1.357 Tue Mar 17 14:50:53 2009
+++ loncom/interface/londocs.pm Tue Mar 17 17:36:22 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.357 2009/03/17 14:50:53 bisitz Exp $
+# $Id: londocs.pm,v 1.358 2009/03/17 17:36:22 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1775,7 +1775,7 @@
'<select name="newpos" onChange="this.form.submit()">';
for (my $i=1;$i<=$#LONCAPA::map::order+1;$i++) {
if ($i==$incindex) {
- $selectbox.='<option value="" selected="1">('.$i.')</option>';
+ $selectbox.='<option value="" selected="selected">('.$i.')</option>';
} else {
$selectbox.='<option value="'.$i.'">'.$i.'</option>';
}
@@ -2000,9 +2000,9 @@
'hd' => 'Hidden',
'ec' => 'URL hidden');
my $enctext=
- ((&LONCAPA::map::getparameter($orderidx,'parameter_encrypturl'))[0]=~/^yes$/i?' checked="1"':'');
+ ((&LONCAPA::map::getparameter($orderidx,'parameter_encrypturl'))[0]=~/^yes$/i?' checked="checked"':'');
my $hidtext=
- ((&LONCAPA::map::getparameter($orderidx,'parameter_hiddenresource'))[0]=~/^yes$/i?' checked="1"':'');
+ ((&LONCAPA::map::getparameter($orderidx,'parameter_hiddenresource'))[0]=~/^yes$/i?' checked="checked"':'');
$line.=(<<ENDPARMS);
<td class="LC_docs_entry_parameter">
$form_start
@@ -3189,7 +3189,7 @@
</span>
<br /><br />
$lt{'comment'}:<br />
- <textarea cols=50 rows=4 name='comment'>
+ <textarea cols="50" rows="4" name="comment">
</textarea>
<br />
<input type="hidden" name="folderpath" value="$path" />