]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed links to be relative. This prevents errors on the offchance that
authormoodler <moodler>
Wed, 2 Oct 2002 07:08:56 +0000 (07:08 +0000)
committermoodler <moodler>
Wed, 2 Oct 2002 07:08:56 +0000 (07:08 +0000)
the current URL != $CFG->wwwroot/login

login/index_form.html

index e83c5a02791f36eaee6023e3c33cdfb5ad6c0d3d..30456648d15bb3d66da269eb71e39f818738f913 100644 (file)
@@ -15,7 +15,7 @@
       (<? print_string("cookiesenabled") ?>)<BR>\r
          <? formerr($errormsg) ?>\r
       </p></font>\r
-      <FORM NAME="form" ACTION="<?=$CFG->wwwroot?>/login/index.php" METHOD=post>\r
+      <FORM NAME="form" ACTION="index.php" METHOD=post>\r
         <table border="0" align="center">\r
         <tr>\r
             <td width="80%"><FONT SIZE=2>\r
@@ -43,7 +43,7 @@
       <HR>\r
         <P ALIGN=CENTER><? print_string("someallowguest") ?>:</P>\r
         <CENTER>\r
-        <FORM NAME="form2" ACTION="<?=$CFG->wwwroot?>/login/index.php" METHOD=post>\r
+        <FORM NAME="form2" ACTION="index.php" METHOD=post>\r
         <INPUT TYPE="hidden" NAME="username" VALUE="guest">\r
         <INPUT TYPE="hidden" NAME="password" VALUE="guest">\r
         <INPUT type="submit" NAME="Submit"   VALUE="<? print_string("loginguest") ?>">\r