[LON-CAPA-cvs] cvs: loncom /interface createaccount.pm
bisitz
bisitz@source.lon-capa.org
Thu, 12 Mar 2009 13:41:11 -0000
bisitz Thu Mar 12 13:41:11 2009 EDT
Modified files:
/loncom/interface createaccount.pm
Log:
Added "Forgot password?" link to simple login screen, e.g. used for self-enrollment
Index: loncom/interface/createaccount.pm
diff -u loncom/interface/createaccount.pm:1.28 loncom/interface/createaccount.pm:1.29
--- loncom/interface/createaccount.pm:1.28 Sat Feb 7 00:59:17 2009
+++ loncom/interface/createaccount.pm Thu Mar 12 13:41:11 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.28 2009/02/07 00:59:17 raeburn Exp $
+# $Id: createaccount.pm,v 1.29 2009/03/12 13:41:11 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -486,8 +486,11 @@
'<input type="button" name="username_validation" value="'.
$submit_text.'" onclick="javascript:send()" />'."\n".
&Apache::lonhtmlcommon::row_closure(1)."\n".
- &Apache::lonhtmlcommon::end_pick_box().'<br /><br />'."\n".
- '<input type="hidden" name="lextkey" value="'.$lextkey.'">'."\n".
+ &Apache::lonhtmlcommon::end_pick_box();
+ $output .= '<p>'.
+ '<a href="/adm/resetpw">'.&mt('Forgot password?').'</a>'.
+ '</p>'."\n";
+ $output .= '<input type="hidden" name="lextkey" value="'.$lextkey.'">'."\n".
'<input type="hidden" name="uextkey" value="'.$uextkey.'">'."\n".
'</form>';
return $output;