From: moodler <moodler>
Date: Wed, 2 Oct 2002 07:08:56 +0000 (+0000)
Subject: Fixed links to be relative.  This prevents errors on the offchance that
X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=39df7c9774a80f71a55864c3f8c134665c6ac456;p=moodle.git

Fixed links to be relative.  This prevents errors on the offchance that
the current URL != $CFG->wwwroot/login
---

diff --git a/login/index_form.html b/login/index_form.html
index e83c5a0279..30456648d1 100644
--- a/login/index_form.html
+++ b/login/index_form.html
@@ -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") ?>">