[LON-CAPA-cvs] cvs: loncom /interface createaccount.pm lonannounce.pm lonbulletin.pm lonchat.pm loncommon.pm loncreatecourse.pm londocs.pm lonfeedback.pm lonmsgdisplay.pm lonpdfupload.pm lonpopulate.pm lonpreferences.pm lonsource.pm lonuserutils.pm resetpw.pm
bisitz
bisitz@source.lon-capa.org
Sat, 04 Apr 2009 21:47:41 -0000
This is a MIME encoded message
--bisitz1238881661
Content-Type: text/plain
bisitz Sat Apr 4 21:47:41 2009 EDT
Modified files:
/loncom/interface createaccount.pm lonannounce.pm lonbulletin.pm
lonchat.pm loncommon.pm loncreatecourse.pm
londocs.pm lonfeedback.pm lonmsgdisplay.pm
lonpdfupload.pm lonpopulate.pm lonpreferences.pm
lonsource.pm lonuserutils.pm resetpw.pm
Log:
XHTML conform tags (input, br, hr)
--bisitz1238881661
Content-Type: text/plain
Content-Disposition: attachment; filename="bisitz-20090404214741.txt"
Index: loncom/interface/createaccount.pm
diff -u loncom/interface/createaccount.pm:1.33 loncom/interface/createaccount.pm:1.34
--- loncom/interface/createaccount.pm:1.33 Wed Apr 1 14:43:06 2009
+++ loncom/interface/createaccount.pm Sat Apr 4 21:47:40 2009
@@ -3,7 +3,7 @@
# institutional log-in ID (institutional authentication required - localauth
# or kerberos) or an e-mail address.
#
-# $Id: createaccount.pm,v 1.33 2009/04/01 14:43:06 hauer Exp $
+# $Id: createaccount.pm,v 1.34 2009/04/04 21:47:40 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -499,8 +499,8 @@
}
$output .= &Apache::lonhtmlcommon::row_closure(1)."\n".
&Apache::lonhtmlcommon::end_pick_box().'<br />'."\n";
- $output .= '<input type="hidden" name="lextkey" value="'.$lextkey.'">'."\n".
- '<input type="hidden" name="uextkey" value="'.$uextkey.'">'."\n".
+ $output .= '<input type="hidden" name="lextkey" value="'.$lextkey.'" />'."\n".
+ '<input type="hidden" name="uextkey" value="'.$uextkey.'" />'."\n".
'</form>';
return $output;
}
Index: loncom/interface/lonannounce.pm
diff -u loncom/interface/lonannounce.pm:1.78 loncom/interface/lonannounce.pm:1.79
--- loncom/interface/lonannounce.pm:1.78 Wed Mar 25 15:49:47 2009
+++ loncom/interface/lonannounce.pm Sat Apr 4 21:47:40 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Announce
#
-# $Id: lonannounce.pm,v 1.78 2009/03/25 15:49:47 bisitz Exp $
+# $Id: lonannounce.pm,v 1.79 2009/04/04 21:47:40 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -590,7 +590,7 @@
}
}
$r->print(
- '<br /><input type="submit" name="serveraction" value="'.&mt('Post').'"></form><hr />');
+ '<br /><input type="submit" name="serveraction" value="'.&mt('Post').'" /></form><hr />');
}
if ($allowed) {
my $coursenum=$env{'course.'.$env{'request.course.id'}.'.num'};
Index: loncom/interface/lonbulletin.pm
diff -u loncom/interface/lonbulletin.pm:1.47 loncom/interface/lonbulletin.pm:1.48
--- loncom/interface/lonbulletin.pm:1.47 Mon Feb 2 14:31:58 2009
+++ loncom/interface/lonbulletin.pm Sat Apr 4 21:47:40 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Bulletin Board Handler
#
-# $Id: lonbulletin.pm,v 1.47 2009/02/02 14:31:58 schafran Exp $
+# $Id: lonbulletin.pm,v 1.48 2009/04/04 21:47:40 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -241,8 +241,8 @@
'<form method="post" enctype="multipart/form-data">'.
'<input type="hidden" name="forceedit" value="edit" />'.
'<h3>'.&mt('Upload a Photo').'</h3>'.
- '<input type="file" name="uploaddoc" size="50">'.
- '<input type="submit" name="storeupl" value="'.&mt('Upload').'">'.
+ '<input type="file" name="uploaddoc" size="50" />'.
+ '<input type="submit" name="storeupl" value="'.&mt('Upload').'" />'.
'</form><form method="post">'.
'<input type="hidden" name="forceedit" value="edit" />');
}
Index: loncom/interface/lonchat.pm
diff -u loncom/interface/lonchat.pm:1.18 loncom/interface/lonchat.pm:1.19
--- loncom/interface/lonchat.pm:1.18 Wed Feb 25 16:39:54 2009
+++ loncom/interface/lonchat.pm Sat Apr 4 21:47:40 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Chat
#
-# $Id: lonchat.pm,v 1.18 2009/02/25 16:39:54 hauer Exp $
+# $Id: lonchat.pm,v 1.19 2009/04/04 21:47:40 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -77,9 +77,9 @@
$start_page
<form method="post" name="chatentry">
$latexHelp
-<input type="text" size="60" name="newchat">
-<input value="$lt{'anon'}" name="anonymous" type="submit">
-<input value="$lt{'post'}" name="newentry" type="submit">
+<input type="text" size="60" name="newchat" />
+<input value="$lt{'anon'}" name="anonymous" type="submit" />
+<input value="$lt{'post'}" name="newentry" type="submit" />
$group_elem
</form>
$end_page
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.783 loncom/interface/loncommon.pm:1.784
--- loncom/interface/loncommon.pm:1.783 Wed Apr 1 14:22:11 2009
+++ loncom/interface/loncommon.pm Sat Apr 4 21:47:40 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.783 2009/04/01 14:22:11 amueller Exp $
+# $Id: loncommon.pm,v 1.784 2009/04/04 21:47:40 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2165,7 +2165,7 @@
}
} else {
if ($authnum == 1) {
- $authtype = '<input type="hidden" name="login" value="krb">';
+ $authtype = '<input type="hidden" name="login" value="krb" />';
}
}
if (!$can_assign{'krb4'} && !$can_assign{'krb5'}) {
@@ -2174,7 +2174,7 @@
if (defined($in{'mode'})) {
if ($in{'mode'} eq 'modifycourse') {
if ($authnum == 1) {
- $authtype = '<input type="hidden" name="login" value="krb">';
+ $authtype = '<input type="hidden" name="login" value="krb" />';
}
}
}
@@ -2251,7 +2251,7 @@
}
} else {
if ($authnum == 1) {
- $authtype = '<input type="hidden" name="login" value="int">';
+ $authtype = '<input type="hidden" name="login" value="int" />';
}
}
if (!$can_assign{'int'}) {
@@ -2260,7 +2260,7 @@
if (defined($in{'mode'})) {
if ($in{'mode'} eq 'modifycourse') {
if ($authnum == 1) {
- $authtype = '<input type="hidden" name="login" value="int">';
+ $authtype = '<input type="hidden" name="login" value="int" />';
}
}
}
@@ -2306,7 +2306,7 @@
}
} else {
if ($authnum == 1) {
- $authtype = '<input type="hidden" name="login" value="loc">';
+ $authtype = '<input type="hidden" name="login" value="loc" />';
}
}
if (!$can_assign{'loc'}) {
@@ -2315,7 +2315,7 @@
if (defined($in{'mode'})) {
if ($in{'mode'} eq 'modifycourse') {
if ($authnum == 1) {
- $authtype = '<input type="hidden" name="login" value="loc">';
+ $authtype = '<input type="hidden" name="login" value="loc" />';
}
}
}
@@ -2357,7 +2357,7 @@
}
} else {
if ($authnum == 1) {
- $authtype = '<input type="hidden" name="login" value="fsys">';
+ $authtype = '<input type="hidden" name="login" value="fsys" />';
}
}
if (!$can_assign{'fsys'}) {
@@ -2366,7 +2366,7 @@
if (defined($in{'mode'})) {
if ($in{'mode'} eq 'modifycourse') {
if ($authnum == 1) {
- $authtype = '<input type="hidden" name="login" value="fsys">';
+ $authtype = '<input type="hidden" name="login" value="fsys" />';
}
}
}
Index: loncom/interface/loncreatecourse.pm
diff -u loncom/interface/loncreatecourse.pm:1.120 loncom/interface/loncreatecourse.pm:1.121
--- loncom/interface/loncreatecourse.pm:1.120 Sat Apr 4 20:47:47 2009
+++ loncom/interface/loncreatecourse.pm Sat Apr 4 21:47:40 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Create a course
#
-# $Id: loncreatecourse.pm,v 1.120 2009/04/04 20:47:47 bisitz Exp $
+# $Id: loncreatecourse.pm,v 1.121 2009/04/04 21:47:40 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -844,7 +844,7 @@
$r->print('<form name="batchcreate" method="post" '.
'enctype="multipart/form-data" action="/adm/createcourse">'.
'<input type="file" name="coursecreatorxml" />'.
- '<input type="hidden" name="phase" value="batchtwo"><br /><br />'.
+ '<input type="hidden" name="phase" value="batchtwo" /><br /><br />'.
'<input type="submit" name="batchsubmit" '.
'value="Create Courses/Groups" /></form>');
$r->print($end_page);
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.360 loncom/interface/londocs.pm:1.361
--- loncom/interface/londocs.pm:1.360 Wed Apr 1 14:22:11 2009
+++ loncom/interface/londocs.pm Sat Apr 4 21:47:40 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.360 2009/04/01 14:22:11 amueller Exp $
+# $Id: londocs.pm,v 1.361 2009/04/04 21:47:40 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -474,7 +474,7 @@
$scripttag));
$r->print(&Apache::lonhtmlcommon::breadcrumbs('Export '.lc($type).' to IMS content package'));
$r->print($display.'</table>'.
- '<p><input type="hidden" name="finishexport" value="1">'.
+ '<p><input type="hidden" name="finishexport" value="1" />'.
'<input type="submit" name="exportcourse" value="'.
&mt('Export '.$type.' DOCS').'" /></p></form>');
}
Index: loncom/interface/lonfeedback.pm
diff -u loncom/interface/lonfeedback.pm:1.268 loncom/interface/lonfeedback.pm:1.269
--- loncom/interface/lonfeedback.pm:1.268 Wed Mar 4 17:11:22 2009
+++ loncom/interface/lonfeedback.pm Sat Apr 4 21:47:40 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Feedback
#
-# $Id: lonfeedback.pm,v 1.268 2009/03/04 17:11:22 bisitz Exp $
+# $Id: lonfeedback.pm,v 1.269 2009/04/04 21:47:40 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -639,9 +639,9 @@
if ($dischash{$toggkey}) {
my $storebutton = &mt('Save read/unread changes');
$discussion.='<td align="right">'.
- '<input type="hidden" name="discsymb" value="'.$ressymb.'">'."\n".
+ '<input type="hidden" name="discsymb" value="'.$ressymb.'" />'."\n".
'<input type="button" name="readoptions" value="'.$storebutton.'"'.
- ' onClick="this.form.submit();">'."\n".
+ ' onClick="this.form.submit();" />'."\n".
'</td>';
}
$discussion .= (<<END);
@@ -1970,9 +1970,9 @@
<br />
<input type="hidden" name="symb" value="$symb" />
<input type="hidden" name="previous" value="$previous" />
-<input type="hidden" name="$dispchgA" value=""/>
-<input type="hidden" name="$dispchgB" value=""/>
-<input type="hidden" name="$markchg" value=""/>
+<input type="hidden" name="$dispchgA" value="" />
+<input type="hidden" name="$dispchgB" value="" />
+<input type="hidden" name="$markchg" value="" />
<input type="hidden" name="$toggchg" value="" />
<input type="button" name="sub" value="$save" onClick="javascript:setDisp()" />
END
@@ -2477,7 +2477,8 @@
}
my $grouptag;
if ($group ne '') {
- $grouptag = '<input type="hidden" name="group" value="'.$group.'" />'; my $refarg;
+ $grouptag = '<input type="hidden" name="group" value="'.$group.'" />';
+ my $refarg;
if (exists($env{'form.ref'})) {
$refarg = '&ref='.$env{'form.ref'};
$grouptag .= '<input type="hidden" name="ref" value="'.$env{'form.ref'}.'" />';
@@ -2935,7 +2936,7 @@
return(<<ENDPREVIEW);
<br />
<form name="preview" action="/adm/feedback?preview=1" method="post" target="preview">
-<input type="hidden" name="subject">
+<input type="hidden" name="subject" />
<input type="hidden" name="comment" />
<input type="button" value="$pre"
onClick="if (typeof(document.$formname.onsubmit)=='function') {document.$formname.onsubmit();};this.form.comment.value=document.$formname.$fieldname.value;this.form.subject.value=document.$formname.subject.value;this.form.submit();" />
@@ -3044,7 +3045,7 @@
$r->print('<input type="hidden" name="deloldattach" value="'.$item.'" />'."\n");
}
$r->print(<<END);
- <input type="button" name="rtntoedit" value="$lt{'stch'}" onClick="setAction()"/>
+ <input type="button" name="rtntoedit" value="$lt{'stch'}" onClick="setAction()" />
</form>
$end_page
END
Index: loncom/interface/lonmsgdisplay.pm
diff -u loncom/interface/lonmsgdisplay.pm:1.120 loncom/interface/lonmsgdisplay.pm:1.121
--- loncom/interface/lonmsgdisplay.pm:1.120 Tue Mar 31 21:04:12 2009
+++ loncom/interface/lonmsgdisplay.pm Sat Apr 4 21:47:41 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines for messaging display
#
-# $Id: lonmsgdisplay.pm,v 1.120 2009/03/31 21:04:12 kaisler Exp $
+# $Id: lonmsgdisplay.pm,v 1.121 2009/04/04 21:47:41 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1190,7 +1190,7 @@
'" onclick="javascript:validate_checkedaction()"/></td>'."\n".
'</tr></table>');
my $postedstartdis=$startdis+1;
- $r->print('<input type="hidden" name="folder" value="'.$folder.'" /><input type="hidden" name="startdis" value="'.$postedstartdis.'" /><input type="hidden" name="interdis" value="'.$env{'form.interdis'}.'" /><input type="hidden" name="msgstatus" value="'.$msgstatus.'" ><input type="hidden" name="markedaction" value="" /></form>');
+ $r->print('<input type="hidden" name="folder" value="'.$folder.'" /><input type="hidden" name="startdis" value="'.$postedstartdis.'" /><input type="hidden" name="interdis" value="'.$env{'form.interdis'}.'" /><input type="hidden" name="msgstatus" value="'.$msgstatus.'" /><input type="hidden" name="markedaction" value="" /></form>');
if ($numblocked > 0) {
$r->print(&blocked_in_folder($numblocked,$startblock,$endblock,
\%setters));
Index: loncom/interface/lonpdfupload.pm
diff -u loncom/interface/lonpdfupload.pm:1.2 loncom/interface/lonpdfupload.pm:1.3
--- loncom/interface/lonpdfupload.pm:1.2 Fri Apr 3 15:40:17 2009
+++ loncom/interface/lonpdfupload.pm Sat Apr 4 21:47:41 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Publication Handler
#
-# $Id: lonpdfupload.pm,v 1.2 2009/04/03 15:40:17 onken Exp $
+# $Id: lonpdfupload.pm,v 1.3 2009/04/04 21:47:41 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -143,7 +143,7 @@
<p height='25'>
</p>
<form method="post" enctype="multipart/form-data" onsubmit="return checkFilename(this);">
- <input type="hidden" name="type" value="upload">
+ <input type="hidden" name="type" value="upload" />
<div align="center">
<table bgcolor="#000000" width="450" cellspacing="0" cellpadding="0" border="0">
<tr>
@@ -159,12 +159,12 @@
Datei auswählen
</td>
<td bgcolor="#F8F8F8">
- <input type="file" name="file" id="filename">
+ <input type="file" name="file" id="filename" />
</td>
</tr>
<tr>
<td bgcolor="#F8F8F8" colspan="2" align="right" style="margin-right: 30px;">
- <input type="submit" name="Uploaded" value="Absenden" >
+ <input type="submit" name="Uploaded" value="Absenden" />
</td>
</tr>
</table>
Index: loncom/interface/lonpopulate.pm
diff -u loncom/interface/lonpopulate.pm:1.59 loncom/interface/lonpopulate.pm:1.60
--- loncom/interface/lonpopulate.pm:1.59 Sat Apr 4 19:47:40 2009
+++ loncom/interface/lonpopulate.pm Sat Apr 4 21:47:41 2009
@@ -1,5 +1,5 @@
# automated enrollment configuration handler
-# $Id: lonpopulate.pm,v 1.59 2009/04/04 19:47:40 bisitz Exp $
+# $Id: lonpopulate.pm,v 1.60 2009/04/04 21:47:41 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -825,7 +825,7 @@
$r->print("Enrollment inactive");
}
if ($shrflag) {
- $r->print("</td><td><input type=\"text\" size=\"10\" name=\"loncapasec_$i\" value=\"$sec_id{$sections[$i]}\"></td><td><input type=\"checkbox\" name=\"sec_$i\" checked=\"checked\" /></td>");
+ $r->print("</td><td><input type=\"text\" size=\"10\" name=\"loncapasec_$i\" value=\"$sec_id{$sections[$i]}\" /></td><td><input type=\"checkbox\" name=\"sec_$i\" checked=\"checked\" /></td>");
} else {
$r->print("</td><td><input type=\"text\" size=\"10\" name=\"loncapasec_$i\" value=\"\" /></td><td><input type=\"checkbox\" name=\"sec_$i\" /></td>");
}
Index: loncom/interface/lonpreferences.pm
diff -u loncom/interface/lonpreferences.pm:1.148 loncom/interface/lonpreferences.pm:1.149
--- loncom/interface/lonpreferences.pm:1.148 Mon Mar 16 18:20:26 2009
+++ loncom/interface/lonpreferences.pm Sat Apr 4 21:47:41 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Preferences
#
-# $Id: lonpreferences.pm,v 1.148 2009/03/16 18:20:26 bisitz Exp $
+# $Id: lonpreferences.pm,v 1.149 2009/04/04 21:47:41 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1378,7 +1378,7 @@
<tr><td class="LC_preferences_labeltext"><label for="newpass_2">$lt{'confirmpass'}</label></td>
<td><input type="password" name="newpass_2" size="10" /> </td></tr>
<tr><td colspan="2" align="center">
- <input type="button" value="$lt{'changepass'}" onClick="send();">
+ <input type="button" value="$lt{'changepass'}" onClick="send();" />
</table>
<input type="hidden" name="ukey_cpass" value="$hexkey->{'ukey_cpass'}" />
<input type="hidden" name="lkey_cpass" value="$hexkey->{'lkey_cpass'}" />
Index: loncom/interface/lonsource.pm
diff -u loncom/interface/lonsource.pm:1.21 loncom/interface/lonsource.pm:1.22
--- loncom/interface/lonsource.pm:1.21 Fri Aug 1 16:01:44 2008
+++ loncom/interface/lonsource.pm Sat Apr 4 21:47:41 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Souce Code handler
#
-# $Id: lonsource.pm,v 1.21 2008/08/01 16:01:44 bisitz Exp $
+# $Id: lonsource.pm,v 1.22 2009/04/04 21:47:41 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -177,7 +177,7 @@
print $fs $file_output;
}
$r->print("<br /><br />");
- $r->print('<input type="button" value="Close Window" name="close" onClick="window.close()">');
+ $r->print('<input type="button" value="Close Window" name="close" onClick="window.close()" />');
#Some 1.3'ish feature is to include the derivative feature, will go here..'
}
Index: loncom/interface/lonuserutils.pm
diff -u loncom/interface/lonuserutils.pm:1.85 loncom/interface/lonuserutils.pm:1.86
--- loncom/interface/lonuserutils.pm:1.85 Thu Mar 12 17:30:55 2009
+++ loncom/interface/lonuserutils.pm Sat Apr 4 21:47:41 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Utility functions for managing LON-CAPA user accounts
#
-# $Id: lonuserutils.pm,v 1.85 2009/03/12 17:30:55 bisitz Exp $
+# $Id: lonuserutils.pm,v 1.86 2009/04/04 21:47:41 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -341,7 +341,7 @@
&hidden_input('fileupload',$env{'form.fileupload'}).
&hidden_input('upfiletype',$env{'form.upfiletype'}).
&hidden_input('upfile_associate',$env{'form.upfile_associate'}));
- $r->print('<br /><label><input type="checkbox" name="noFirstLine"'.$checked.'/>'.
+ $r->print('<br /><label><input type="checkbox" name="noFirstLine"'.$checked.' />'.
&mt('Ignore First Line').'</label><br />');
$r->print('<br /><input type="button" value="'.&mt('Reverse Association').'" '.
'name="Reverse Association" '.
@@ -813,7 +813,7 @@
my $secbox = §ion_picker($cdom,$cnum,'Any',$rowtitle,
$permission,$context,'upload');
$Str .= $secbox."<h3>".&mt('Full Update')."</h3>\n".
- '<p><label><input type="checkbox" name="fullup" value="yes">'.
+ '<p><label><input type="checkbox" name="fullup" value="yes" />'.
' '.&mt('Display students with current/future access who are not in the uploaded file.').'</label><br />'.&mt('Students selected from this list can be dropped.').'</p>'."\n";
}
if ($context eq 'course' || $context eq 'domain') {
@@ -838,13 +838,13 @@
my ($context) = @_;
my $output =
"<h3>".&mt('Student/Employee ID')."</h3>\n".
- "<p>\n".'<label><input type="checkbox" name="forceid" value="yes">'.
+ "<p>\n".'<label><input type="checkbox" name="forceid" value="yes" />'.
&mt('Disable Student/Employee ID Safeguard and force change of conflicting IDs').
'</label><br />'."\n".
&mt('(only do if you know what you are doing.)')."\n";
if ($context eq 'domain') {
$output .= '<br /><label><input type="checkbox" name="recurseid"'.
- ' value="yes">'.
+ ' value="yes" />'.
&mt('Update Student/Employee ID in courses in which user is active/future student,[_1](if forcing change).','<br />').
'</label>'."\n";
}
@@ -2212,15 +2212,15 @@
foreach my $item (@linkdests) {
my $checkedstr = '';
if ($item eq $usernamelink) {
- $checkedstr = ' checked="checked" ';
+ $checkedstr = ' checked="checked"';
}
- $output .= '<span class="LC_nobreak"><label><input type="radio" name="usernamelink" value="'.$item.'"'.$checkedstr.'> '.$lt{$item}.'</label></span><br />';
+ $output .= '<span class="LC_nobreak"><label><input type="radio" name="usernamelink" value="'.$item.'"'.$checkedstr.' /> '.$lt{$item}.'</label></span><br />';
}
my $checkwin;
if ($env{'form.userwin'}) {
- $checkwin = 'checked = "checked"';
+ $checkwin = ' checked="checked"';
}
- $output .= '</td><td valign="top"><span class="LC_nobreak"><input type="checkbox" name="userwin" value="1" '.$checkwin.'/>'.$lt{'owin'}.'</span></td></tr></table></fieldset></div>';
+ $output .= '</td><td valign="top"><span class="LC_nobreak"><input type="checkbox" name="userwin" value="1"'.$checkwin.' />'.$lt{'owin'}.'</span></td></tr></table></fieldset></div>';
}
$output .= "\n".'<div class="LC_clear_float_footer"> </div>'."\n".
&Apache::loncommon::start_data_table().
@@ -2537,7 +2537,7 @@
}
}
$r->print('<td><input type="checkbox" name="'.
- 'actionlist" value="'.$checkval.'"></td>');
+ 'actionlist" value="'.$checkval.'" /></td>');
} else {
$r->print('<td> </td>');
}
@@ -3259,7 +3259,7 @@
$check_uncheck_js
</script>
<p>
-<input type="hidden" name="phase" value="four">
+<input type="hidden" name="phase" value="four" />
END
my ($indexhash,$keylist) = &make_keylist_array();
my $studentcount = 0;
@@ -3377,7 +3377,7 @@
#
$r->print(&Apache::loncommon::start_data_table_row());
$r->print(<<"END");
- <td><input type="checkbox" name="droplist" value="$studentkey"></td>
+ <td><input type="checkbox" name="droplist" value="$studentkey" /></td>
<td>$username</td>
<td>$domain</td>
<td>$id</td>
@@ -3397,9 +3397,9 @@
);
$r->print(<<"END");
</p><p>
-<input type="button" value="$lt{'ca'}" onclick="javascript:checkAll(document.studentform.droplist)">
-<input type="button" value="$lt{'ua'}" onclick="javascript:uncheckAll(document.studentform.droplist)">
-<p><input type=submit value="$lt{'dp'}"></p>
+<input type="button" value="$lt{'ca'}" onclick="javascript:checkAll(document.studentform.droplist)" />
+<input type="button" value="$lt{'ua'}" onclick="javascript:uncheckAll(document.studentform.droplist)" />
+<p><input type=submit value="$lt{'dp'}" /></p>
END
return;
}
@@ -3410,7 +3410,7 @@
sub print_first_users_upload_form {
my ($r,$context) = @_;
my $str;
- $str = '<input type="hidden" name="phase" value="two">';
+ $str = '<input type="hidden" name="phase" value="two" />';
$str .= '<input type="hidden" name="action" value="upload" />';
$str .= '<input type="hidden" name="state" value="got_file" />';
$str .= '<h2>'.&mt('Upload a file containing information about users').'</h2>'."\n";
@@ -3429,7 +3429,7 @@
$str .= '<label><input type="checkbox" name="noFirstLine" /> '.
&mt('Ignore First Line')."</label></p>\n";
$str .= '<input type="submit" name="fileupload" value="'.
- &mt('Next').'">'."<br />\n";
+ &mt('Next').'" />'."<br />\n";
$str .= &Apache::loncommon::end_page();
$r->print($str);
return;
Index: loncom/interface/resetpw.pm
diff -u loncom/interface/resetpw.pm:1.15 loncom/interface/resetpw.pm:1.16
--- loncom/interface/resetpw.pm:1.15 Mon Feb 23 20:28:21 2009
+++ loncom/interface/resetpw.pm Sat Apr 4 21:47:41 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Allow access to password changing via a token sent to user's e-mail.
#
-# $Id: resetpw.pm,v 1.15 2009/02/23 20:28:21 raeburn Exp $
+# $Id: resetpw.pm,v 1.16 2009/04/04 21:47:41 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -134,15 +134,15 @@
<table>
<tr><td>
<tr><td align="left">LON-CAPA $lt{'unam'}: </td>
- <td><input type="text" name="uname" size="15" /> </td></tr>
+ <td><input type="text" name="uname" size="15" /></td></tr>
<tr><td align="left">LON-CAPA $lt{'udom'}: </td>
<td>|;
$msg .= &Apache::loncommon::select_dom_form($defdom,'udom');
$msg .= qq|</td></tr>
<tr><td align="left">$lt{'uemail'}: </td>
- <td><input type="text" name="useremail" size="30" /></td></tr>
+ <td><input type="text" name="useremail" size="30" /></td></tr>
<tr><td colspan="2" align="left"><br />
- <input type="submit" value="$lt{'proc'}"></td></tr>
+ <input type="submit" value="$lt{'proc'}" /></td></tr>
</table>
</form>
|;
--bisitz1238881661--