[LON-CAPA-cvs] cvs: loncom(version_2_8_X) /interface londocs.pm
raeburn
raeburn@source.lon-capa.org
Sat, 21 Mar 2009 01:37:19 -0000
raeburn Sat Mar 21 01:37:19 2009 EDT
Modified files: (Branch: version_2_8_X)
/loncom/interface londocs.pm
Log:
- Backport 1.358.
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.314.2.6 loncom/interface/londocs.pm:1.314.2.7
--- loncom/interface/londocs.pm:1.314.2.6 Sat Mar 21 01:32:01 2009
+++ loncom/interface/londocs.pm Sat Mar 21 01:37:18 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.314.2.6 2009/03/21 01:32:01 raeburn Exp $
+# $Id: londocs.pm,v 1.314.2.7 2009/03/21 01:37:18 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1764,7 +1764,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>';
}
@@ -1989,9 +1989,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
@@ -3113,7 +3113,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" />