[LON-CAPA-cvs] cvs: loncom(version_2_10_X) /interface createaccount.pm
raeburn
raeburn at source.lon-capa.org
Thu Sep 29 10:16:14 EDT 2011
raeburn Thu Sep 29 14:16:14 2011 EDT
Modified files: (Branch: version_2_10_X)
/loncom/interface createaccount.pm
Log:
- Backport 1.46.
Index: loncom/interface/createaccount.pm
diff -u loncom/interface/createaccount.pm:1.40.2.4 loncom/interface/createaccount.pm:1.40.2.5
--- loncom/interface/createaccount.pm:1.40.2.4 Thu Sep 29 14:12:21 2011
+++ loncom/interface/createaccount.pm Thu Sep 29 14:16:14 2011
@@ -3,7 +3,7 @@
# institutional log-in ID (institutional authentication required - localauth
# or kerberos) or an e-mail address.
#
-# $Id: createaccount.pm,v 1.40.2.4 2011/09/29 14:12:21 raeburn Exp $
+# $Id: createaccount.pm,v 1.40.2.5 2011/09/29 14:16:14 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -411,7 +411,7 @@
} else {
$output .= '<br />';
}
- $output .= '<form name="createaccount" method="post" onSubmit="return validate_email()" action="/adm/createaccount">'.
+ $output .= '<form name="createaccount" method="post" onsubmit="return validate_email()" action="/adm/createaccount">'.
&Apache::lonhtmlcommon::start_pick_box()."\n".
&Apache::lonhtmlcommon::row_title(&mt('E-mail address'),
'LC_pick_box_title')."\n".
@@ -465,7 +465,7 @@
$output = &serverform($logtoken,$lonhost,undef,$courseid,$context);
my $unameform = '<input type="text" name="uname" size="20" value="" />';
my $upassform = '<input type="password" name="upass'.$now.'" size="20" />';
- $output .= '<form name="client" method="post" onsubmit="return(send());">'."\n".
+ $output .= '<form name="client" method="post" action="" onsubmit="return(send());">'."\n".
&Apache::lonhtmlcommon::start_pick_box()."\n".
&Apache::lonhtmlcommon::row_title($titles{$context},
'LC_pick_box_title')."\n".
@@ -751,7 +751,7 @@
my $upasstwo = '<input type="password" name="upasscheck'.$now.'" size="10" />';
my $submit_text = &mt('Create LON-CAPA account');
$output .= '<h3>'.&mt('Login Data').'</h3>'."\n".
- '<form name="client" method="post" '.
+ '<form name="client" method="post" action="" '.
'onsubmit="return checkpass();">'."\n".
&Apache::lonhtmlcommon::start_pick_box()."\n".
&Apache::lonhtmlcommon::row_title(&mt('Username'),
More information about the LON-CAPA-cvs
mailing list