Permalink
Browse files

Fixed links to be relative. This prevents errors on the offchance that

the current URL != $CFG->wwwroot/login
  • Loading branch information...
1 parent 2e60a1a commit 39df7c9774a80f71a55864c3f8c134665c6ac456 moodler committed Oct 2, 2002
Showing with 2 additions and 2 deletions.
  1. +2 −2 login/index_form.html
View
@@ -15,7 +15,7 @@
(<? print_string("cookiesenabled") ?>)<BR>
<? formerr($errormsg) ?>
</p></font>
- <FORM NAME="form" ACTION="<?=$CFG->wwwroot?>/login/index.php" METHOD=post>
+ <FORM NAME="form" ACTION="index.php" METHOD=post>
<table border="0" align="center">
<tr>
<td width="80%"><FONT SIZE=2>
@@ -43,7 +43,7 @@
<HR>
<P ALIGN=CENTER><? print_string("someallowguest") ?>:</P>
<CENTER>
- <FORM NAME="form2" ACTION="<?=$CFG->wwwroot?>/login/index.php" METHOD=post>
+ <FORM NAME="form2" ACTION="index.php" METHOD=post>
<INPUT TYPE="hidden" NAME="username" VALUE="guest">
<INPUT TYPE="hidden" NAME="password" VALUE="guest">
<INPUT type="submit" NAME="Submit" VALUE="<? print_string("loginguest") ?>">

0 comments on commit 39df7c9

Please sign in to comment.