From: Juliette W. <jv...@us...> - 2005-06-14 15:50:15
|
Update of /cvsroot/stack/stack-1-0 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8717 Modified Files: Tag: frontend_dev chat.php documentation.php editquiz.php index.php question_bank.php registration_screen.php select_quiz.php update_info.php Log Message: Added default action to process_input.php Fixed registration screen warning. Index: update_info.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/update_info.php,v retrieving revision 1.1.4.1 retrieving revision 1.1.4.2 diff -C2 -d -r1.1.4.1 -r1.1.4.2 *** update_info.php 13 Jun 2005 13:04:05 -0000 1.1.4.1 --- update_info.php 14 Jun 2005 15:50:06 -0000 1.1.4.2 *************** *** 30,33 **** --- 30,34 ---- include('stackstd.php'); + $default_action = ''; include($stack_root.'/frontend_general/process_input.php'); Index: editquiz.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/editquiz.php,v retrieving revision 1.10.2.2 retrieving revision 1.10.2.3 diff -C2 -d -r1.10.2.2 -r1.10.2.3 *** editquiz.php 14 Jun 2005 14:27:40 -0000 1.10.2.2 --- editquiz.php 14 Jun 2005 15:50:05 -0000 1.10.2.3 *************** *** 21,24 **** --- 21,25 ---- // (1) Process Input - this sets $action, $user and $username /////////////////////////////////////////////////////////////// + $default_action = 'quiz_choose'; include('frontend_general/process_input.php'); *************** *** 53,61 **** // action = filter Re-display the list of questions, filtered. ! // $action = 'quiz_choose'; ! // ! // if (array_key_exists('action',$_POST)) { ! // $action = $_POST['action']; ! // } // show_array($_POST); --- 54,58 ---- // action = filter Re-display the list of questions, filtered. ! // show_array($_POST); Index: question_bank.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/question_bank.php,v retrieving revision 1.3.2.1 retrieving revision 1.3.2.2 diff -C2 -d -r1.3.2.1 -r1.3.2.2 *** question_bank.php 13 Jun 2005 13:04:05 -0000 1.3.2.1 --- question_bank.php 14 Jun 2005 15:50:05 -0000 1.3.2.2 *************** *** 29,32 **** --- 29,33 ---- /////////////////////////////////////////////////////////////// include('stackstd.php'); + $default_action = 'startover'; include($stack_root.'/frontend_general/process_input.php'); include('html/trypopupform.html'); Index: index.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/index.php,v retrieving revision 1.17.2.2 retrieving revision 1.17.2.3 diff -C2 -d -r1.17.2.2 -r1.17.2.3 *** index.php 14 Jun 2005 14:27:40 -0000 1.17.2.2 --- index.php 14 Jun 2005 15:50:05 -0000 1.17.2.3 *************** *** 31,34 **** --- 31,35 ---- include('stackstd.php'); + $default_action = ''; include($stack_root.'/frontend_general/process_input.php'); Index: chat.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/chat.php,v retrieving revision 1.8.2.1 retrieving revision 1.8.2.2 diff -C2 -d -r1.8.2.1 -r1.8.2.2 *** chat.php 14 Jun 2005 14:27:40 -0000 1.8.2.1 --- chat.php 14 Jun 2005 15:50:05 -0000 1.8.2.2 *************** *** 14,17 **** --- 14,18 ---- require_once("stackstd.php"); include('stackstd.php'); + $default_action = ''; include($stack_root.'/frontend_general/process_input.php'); require_once("other/ListMenu.php"); Index: select_quiz.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/select_quiz.php,v retrieving revision 1.1.4.1 retrieving revision 1.1.4.2 diff -C2 -d -r1.1.4.1 -r1.1.4.2 *** select_quiz.php 13 Jun 2005 13:04:05 -0000 1.1.4.1 --- select_quiz.php 14 Jun 2005 15:50:06 -0000 1.1.4.2 *************** *** 33,36 **** --- 33,37 ---- $action = 'choose_quiz'; include('stackstd.php'); + $default_action = ''; include($stack_root.'/frontend_general/process_input.php'); Index: registration_screen.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/registration_screen.php,v retrieving revision 1.1.4.1 retrieving revision 1.1.4.2 diff -C2 -d -r1.1.4.1 -r1.1.4.2 *** registration_screen.php 13 Jun 2005 13:04:05 -0000 1.1.4.1 --- registration_screen.php 14 Jun 2005 15:50:06 -0000 1.1.4.2 *************** *** 25,28 **** --- 25,29 ---- /////////////////////////////////////////////////////////////// include('stackstd.php'); + $default_action = ''; include($stack_root.'/frontend_general/process_input.php'); *************** *** 38,42 **** $username = nsf('username',$user); ! echo "<h1>Register as a new user</h1><form action=\"select_quiz.php?expand=$expand\" 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>'; --- 39,43 ---- $username = nsf('username',$user); ! 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>'; Index: documentation.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/documentation.php,v retrieving revision 1.2.2.2 retrieving revision 1.2.2.3 diff -C2 -d -r1.2.2.2 -r1.2.2.3 *** documentation.php 14 Jun 2005 14:15:07 -0000 1.2.2.2 --- documentation.php 14 Jun 2005 15:50:05 -0000 1.2.2.3 *************** *** 28,31 **** --- 28,32 ---- /////////////////////////////////////////////////////////////// include('stackstd.php'); + $default_action = ''; include($stack_root.'/frontend_general/process_input.php'); |