]> git.mjollnir.org Git - moodle.git/commitdiff
Improved formatting for consistency and clarity
authormartin <martin>
Mon, 10 Jun 2002 02:42:04 +0000 (02:42 +0000)
committermartin <martin>
Mon, 10 Jun 2002 02:42:04 +0000 (02:42 +0000)
login/forgot_password.php
login/index_form.html

index 7d7b34311365701afc2efa8683de597bf0f5a645..bcf0c0a91d6ed076d80f1afadaf755037243ccb3 100644 (file)
@@ -33,7 +33,7 @@
                }
        }
 
-       print_header("Forgot password?", "Have a new password sent to you", "", "form.email");
+       print_header("Email your login details", "Email your login details", "<A HREF=\"$CFG->wwwroot/login\">Login</A> -> Email username and password", "form.email");
 
        include("forgot_password_form.html");
 
index e2a71ff8ba3d8af90ce240a0163859d533af55e2..0432a9f6ae7a5f693d5e3800df03ce1483ef1717 100644 (file)
     </TD>\r
   </TR>\r
   <TR>\r
-    <TD WIDTH="50%" VALIGN="TOP" bgcolor="<?=$THEME->cellheading?>"> \r
-      <FONT SIZE=2>\r
-      <P ALIGN="CENTER">Log in using your username and password:</P>\r
-      <P ALIGN="CENTER"><? formerr($errormsg) ?></P>\r
+    <TD WIDTH="50%" VALIGN="TOP" bgcolor="<?=$THEME->cellheading?>"> <FONT SIZE=2> \r
+      <P ALIGN="CENTER">Log in using your username and password:<BR>\r
+         <? formerr($errormsg) ?>\r
+      </p></font>\r
       <FORM NAME="form" ACTION="<?=$CFG->wwwroot?>/login/" METHOD=post>\r
-      <CENTER>\r
-      <TABLE ALIGN=center>\r
-      <TR><TD align=right><P><FONT SIZE=2>Username:</FONT></P></TD>\r
-          <TD><INPUT TYPE="text" NAME="username" SIZE="15" value="<? p($frm->username) ?>">\r
-      </TD></TR>\r
-      <TR><TD align=right><P><FONT SIZE=2>Password:</FONT></P></TD>\r
-          <TD><INPUT TYPE="password" NAME="password" SIZE="15" value="<? p($frm->password) ?>">\r
-      </TD></TR>\r
-      </TABLE>\r
-      <BR>\r
-      <INPUT TYPE="submit" NAME="Submit" VALUE="Login">\r
-      </FORM>\r
-      </CENTER>\r
+        <table border="0" align="center">\r
+        <tr>\r
+            <td width="80%"><FONT SIZE=2>\r
+              <TABLE ALIGN=center>\r
+                <TR> \r
+                  <TD align=right><P><FONT SIZE=2>Username:</FONT></P></TD>\r
+                  <TD><INPUT TYPE="text" NAME="username" SIZE="15" value="<? p($frm->username) ?>"> \r
+                  </TD>\r
+                </TR>\r
+                <TR> \r
+                  <TD height="24" align=right><P><FONT SIZE=2>Password:</FONT></P></TD>\r
+                  <TD><INPUT TYPE="password" NAME="password" SIZE="15" value="<? p($frm->password) ?>"> \r
+                  </TD>\r
+                </TR>\r
+              </TABLE>\r
+              </FONT></td>\r
+            <td width="20%"><font size=2>\r
+              <input type="submit" name="Submit" value="Log in">\r
+              </font></td>\r
+        </tr>\r
+      </table>\r
+         </FORM>\r
+      <FONT SIZE=2> \r
       <BLOCKQUOTE>\r
-      <P>&nbsp;</P>\r
-      <P>You can log in as a guest (username <B>guest</B>, password <B>guest</B>) to get\r
-         immediate read-only access to selected courses.</P>\r
-      <P>&nbsp;</P>\r
-      <P>Forgotten your username or password? \r
-         This site can <A HREF="forgot_password.php">email your details to your address</A>.</P>\r
-      </BLOCKQUOTE>\r
-      </FONT>\r
-    </TD>\r
+      <HR>\r
+        <P ALIGN=CENTER>Some courses may allow guest access:</P>\r
+        <CENTER>\r
+        <FORM NAME="form2" ACTION="<?=$CFG->wwwroot?>/login/" 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="Log in as a guest">\r
+        </FORM>\r
+        </CENTER>\r
+      <HR>\r
+        <P ALIGN=CENTER>Forgotten your username or password?</P> \r
+        <CENTER>\r
+        <FORM NAME="form3" ACTION="forgot_password.php" METHOD=post>\r
+        <INPUT type="submit" NAME="Submit" VALUE="Email my log in details">\r
+        </FORM>\r
+        </CENTER>\r
+        </BLOCKQUOTE>\r
+      </FONT> </TD>\r
     <TD WIDTH="50%" VALIGN="TOP" bgcolor="<?=$THEME->cellheading?>">\r
       <FONT SIZE=2>\r
-      <P>Hi! You need to create a new account for yourself on this server so we know who \r
-        you are. Each of the individual courses may also have a one-time \r
-        &quot;course entry key&quot;, which you won't need until later. Here are \r
+      <P>Hi! For full access to courses you'll need to take a minute to create \r
+        a new account for yourself on this web site.\r
+        Each of the individual courses may also have a one-time \r
+        &quot;enrolment key&quot;, which you won't need until later. Here are \r
         the steps:</P>\r
         <OL size=2>\r
       <LI>Fill out the <A HREF="signup.php">New Account</A> form with your details.\r
       <LI>Read your email, and click on the web link it contains.\r
       <LI>Your account will be confirmed and you will be logged in.\r
       <LI>Now, select the course you want to participate in.\r
-      <LI>If you are prompted for a &quot;course entry key&quot; - use the one \r
+      <LI>If you are prompted for a &quot;enrolment key&quot; - use the one \r
         that your teacher has given you. This will &quot;enrol&quot; you in the \r
         course.\r
       <LI>You can now access the full course. From now on you will only need \r
         to enter your personal username and password (in the form on this page) \r
         to log in and access any course you have enrolled in.\r
-      <P ALIGN="CENTER"><B><A HREF="signup.php">Start now by creating a new account!</A></B></P>\r
+               </OL>\r
       </FONT>\r
+        <CENTER>\r
+        <FORM NAME="form4" ACTION="signup.php" METHOD=post>\r
+        <INPUT type="submit" NAME="Submit" VALUE="Start now by creating a new account!">\r
+        </FORM>\r
+        </CENTER>\r
       </TD>\r
   </TR>\r
 </TABLE>\r