Update of /cvsroot/stack/stack-1-0 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6993 Modified Files: chat.php choosequiz.php documentation.php editquiz.php editsubject.php editzone.php import.php index.php question_bank.php Log Message: Better error trapping, requiring process_input.php Index: editzone.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/editzone.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** editzone.php 12 Sep 2005 08:07:47 -0000 1.3 --- editzone.php 28 Nov 2005 12:56:28 -0000 1.4 *************** *** 47,51 **** /////////////////////////////////////////////////////////////// $default_action = ''; ! include('frontend_general/process_input.php'); $PostTo = 'editzone.php'; --- 47,51 ---- /////////////////////////////////////////////////////////////// $default_action = ''; ! require_once('frontend_general/process_input.php'); $PostTo = 'editzone.php'; Index: editsubject.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/editsubject.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** editsubject.php 24 Nov 2005 18:47:46 -0000 1.4 --- editsubject.php 28 Nov 2005 12:56:28 -0000 1.5 *************** *** 42,46 **** /////////////////////////////////////////////////////////////// $default_action = 'subject_choose'; ! include('frontend_general/process_input.php'); $PostTo = 'editsubject.php'; --- 42,46 ---- /////////////////////////////////////////////////////////////// $default_action = 'subject_choose'; ! require_once('frontend_general/process_input.php'); $PostTo = 'editsubject.php'; Index: import.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/import.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** import.php 4 Sep 2005 21:26:18 -0000 1.10 --- import.php 28 Nov 2005 12:56:28 -0000 1.11 *************** *** 39,43 **** $default_action = 'import'; ! include('frontend_general/process_input.php'); $PostTo = 'import.php'; --- 39,43 ---- $default_action = 'import'; ! require_once('frontend_general/process_input.php'); $PostTo = 'import.php'; Index: editquiz.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/editquiz.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** editquiz.php 26 Oct 2005 17:49:28 -0000 1.24 --- editquiz.php 28 Nov 2005 12:56:28 -0000 1.25 *************** *** 43,47 **** /////////////////////////////////////////////////////////////// $default_action = 'quiz_choose'; ! include('frontend_general/process_input.php'); $PostTo = 'editquiz.php'; --- 43,47 ---- /////////////////////////////////////////////////////////////// $default_action = 'quiz_choose'; ! require_once('frontend_general/process_input.php'); $PostTo = 'editquiz.php'; Index: index.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/index.php,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** index.php 27 Nov 2005 11:30:51 -0000 1.36 --- index.php 28 Nov 2005 12:56:28 -0000 1.37 *************** *** 42,46 **** $default_action = 'loginscreen'; ! include($stack_root.'/frontend_general/process_input.php'); /////////////////////////////////////////////////////////////// --- 42,46 ---- $default_action = 'loginscreen'; ! require_once($stack_root.'/frontend_general/process_input.php'); /////////////////////////////////////////////////////////////// Index: documentation.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/documentation.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** documentation.php 29 Aug 2005 18:41:03 -0000 1.8 --- documentation.php 28 Nov 2005 12:56:28 -0000 1.9 *************** *** 37,41 **** $default_action = ''; ! include($stack_root.'/frontend_general/process_input.php'); ////////////////////////////////////////////////////////////// --- 37,41 ---- $default_action = ''; ! require_once($stack_root.'/frontend_general/process_input.php'); ////////////////////////////////////////////////////////////// Index: question_bank.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/question_bank.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** question_bank.php 20 Oct 2005 10:40:40 -0000 1.17 --- question_bank.php 28 Nov 2005 12:56:28 -0000 1.18 *************** *** 36,40 **** require_once($stack_root.'/scripts/stackFrontend.php'); $default_action = 'questionbank_screen'; ! include($stack_root.'/frontend_general/process_input.php'); include('html/trypopupform.html'); --- 36,40 ---- require_once($stack_root.'/scripts/stackFrontend.php'); $default_action = 'questionbank_screen'; ! require_once($stack_root.'/frontend_general/process_input.php'); include('html/trypopupform.html'); Index: chat.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/chat.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** chat.php 29 Aug 2005 18:41:03 -0000 1.12 --- chat.php 28 Nov 2005 12:56:28 -0000 1.13 *************** *** 101,105 **** echo "<p><b>Your CAS for this session is:</b> {$stack_cas['cas']}.<br/>\n"; ! echo "<b>Your display option is:</b> $options[Display].</p>\n"; // **************************************************** --- 101,105 ---- echo "<p><b>Your CAS for this session is:</b> {$stack_cas['cas']}.<br/>\n"; ! echo "<b>Your display option is:</b> {$options['Display']}.</p>\n"; // **************************************************** Index: choosequiz.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/choosequiz.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** choosequiz.php 15 Sep 2005 08:50:41 -0000 1.3 --- choosequiz.php 28 Nov 2005 12:56:28 -0000 1.4 *************** *** 26,33 **** */ - $user = stack_user_guest(); - if (array_key_exists('subjectID',$_GET)) { --- 26,31 ---- |