From: Juliette W. <jv...@us...> - 2005-06-16 12:13:47
|
Update of /cvsroot/stack/stack-1-0/frontend_general In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26394/frontend_general Modified Files: Tag: frontend_dev front_end_display.php Log Message: Put select quiz stuff back into the index file. Index: front_end_display.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/frontend_general/Attic/front_end_display.php,v retrieving revision 1.1.2.2 retrieving revision 1.1.2.3 diff -C2 -d -r1.1.2.2 -r1.1.2.3 *** front_end_display.php 16 Jun 2005 11:58:30 -0000 1.1.2.2 --- front_end_display.php 16 Jun 2005 12:13:36 -0000 1.1.2.3 *************** *** 19,23 **** function stack_login_screen($username, $errun, $errps) { ! echo '<h1>Login</h1><form action="select_quiz.php" method="post" name="login" id="login"><table><tr><td align="right">Username:</td>'; echo "<td><input type=\"text\" name=\"username\" size=\"15\" value=\"{$username}\" alt=\"Username\" /></td><td>".$errun.'</td>'; echo '</tr><tr><td>Password:</td>'; --- 19,23 ---- function stack_login_screen($username, $errun, $errps) { ! echo '<h1>Login</h1><form action="index.php" method="post" name="login" id="login"><table><tr><td align="right">Username:</td>'; echo "<td><input type=\"text\" name=\"username\" size=\"15\" value=\"{$username}\" alt=\"Username\" /></td><td>".$errun.'</td>'; echo '</tr><tr><td>Password:</td>'; *************** *** 30,34 **** </form> ! <form action="select_quiz.php" method="post" name="guestlogin"> Some courses may allow guest access: <input type="hidden" name="username" value="guest" /> --- 30,34 ---- </form> ! <form action="index.php" method="post" name="guestlogin"> Some courses may allow guest access: <input type="hidden" name="username" value="guest" /> *************** *** 50,54 **** function stack_update_info_screen($user, $err, $errors) { echo '<h1>Update user information</h1>'; ! echo "<form action=\"select_quiz.php?\" method=\"post\" name=\"register\" id=\"register\">"; echo '<p>To update your information, please complete the following form.<p>'; echo '<table><tr><td>Username </td><td><input type="hidden" name="user[username]" size="25" value="'.stack_s($user['username']).'" alt="User name" />'.stack_s($user['username']).'</td><td>'.nsf($err,'username').'</td></tr>'; --- 50,54 ---- function stack_update_info_screen($user, $err, $errors) { echo '<h1>Update user information</h1>'; ! echo "<form action=\"index.php?\" method=\"post\" name=\"register\" id=\"register\">"; echo '<p>To update your information, please complete the following form.<p>'; echo '<table><tr><td>Username </td><td><input type="hidden" name="user[username]" size="25" value="'.stack_s($user['username']).'" alt="User name" />'.stack_s($user['username']).'</td><td>'.nsf($err,'username').'</td></tr>'; *************** *** 63,67 **** function stack_registration_screen($username, $user, $errors, $err) { ! echo "<h1>Register as a new user</h1><form action=\"select_quiz.php\" method=\"post\" name=\"register\" id=\"register\">"; echo '<p>To register as a STACK user, please provide the following information.<p>'; echo '<table><tr><td>Username </td><td><input type="text" name="user[username]" size="25" value="'.stack_s($username).'" alt="User name" /></td><td>'.$err.'</td></tr>'; --- 63,67 ---- function stack_registration_screen($username, $user, $errors, $err) { ! echo "<h1>Register as a new user</h1><form action=\"index.php\" method=\"post\" name=\"register\" id=\"register\">"; echo '<p>To register as a STACK user, please provide the following information.<p>'; echo '<table><tr><td>Username </td><td><input type="text" name="user[username]" size="25" value="'.stack_s($username).'" alt="User name" /></td><td>'.$err.'</td></tr>'; |