[LON-CAPA-cvs] cvs: loncom /interface lonuserutils.pm
bisitz
bisitz at source.lon-capa.org
Mon Jul 15 10:55:14 EDT 2013
bisitz Mon Jul 15 14:55:14 2013 EDT
Modified files:
/loncom/interface lonuserutils.pm
Log:
XHTML:
- Correct <form> closure
- action attribute in <form> required
Index: loncom/interface/lonuserutils.pm
diff -u loncom/interface/lonuserutils.pm:1.152 loncom/interface/lonuserutils.pm:1.153
--- loncom/interface/lonuserutils.pm:1.152 Fri May 3 16:29:34 2013
+++ loncom/interface/lonuserutils.pm Mon Jul 15 14:55:14 2013
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Utility functions for managing LON-CAPA user accounts
#
-# $Id: lonuserutils.pm,v 1.152 2013/05/03 16:29:34 bisitz Exp $
+# $Id: lonuserutils.pm,v 1.153 2013/07/15 14:55:14 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -4618,7 +4618,7 @@
# Get current classlist
my $classlist = &Apache::loncoursedata::get_classlist();
if (! defined($classlist)) {
- $r->print('<form name="studentform" method="post" action="/adm/createuser" />'.
+ $r->print('<form name="studentform" method="post" action="/adm/createuser">'.
'<input type="hidden" name="action" value="'.$env{'form.action'}.'" />'.
'<p class="LC_info">'.&mt('There are no students with current/future access to the course.').'</p>'.
'</form>'."\n");
@@ -4741,7 +4741,7 @@
$heading = &mt("Drop Students");
}
$r->print('<h3>'.$heading.'</h3>'."\n".
- '<form name="studentform" method="post">'."\n");
+ '<form name="studentform" method="post" action="">'."\n");
my $classlist = &Apache::loncoursedata::get_classlist();
if (! defined($classlist)) {
my $msg = '';
More information about the LON-CAPA-cvs
mailing list