From: Chris S. <san...@us...> - 2005-07-14 18:20:05
|
Update of /cvsroot/stack/stack-1-0/frontend_general In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7429/frontend_general Modified Files: edit_quiz_util.php editquiz_display.php front_end_display.php frontend_util.php Log Message: Index: frontend_util.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/frontend_general/frontend_util.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** frontend_util.php 8 Jul 2005 16:36:09 -0000 1.7 --- frontend_util.php 14 Jul 2005 18:19:56 -0000 1.8 *************** *** 31,35 **** ! /* * @param array $err * @return string --- 31,35 ---- ! /** * @param array $err * @return string *************** *** 39,43 **** } ! /* * @param array $err, The user * @return string --- 39,43 ---- } ! /** * @param array $err, The user * @return string *************** *** 48,52 **** ! /* * Returns TRUE if the user is logged in, FALSE otherwise * @param $user, The user --- 48,52 ---- ! /** * Returns TRUE if the user is logged in, FALSE otherwise * @param $user, The user *************** *** 61,65 **** } ! /* * Returns TRUE if the user is the guest user, FALSE otherwise * @param $user, The user --- 61,65 ---- } ! /** * Returns TRUE if the user is the guest user, FALSE otherwise * @param $user, The user *************** *** 74,78 **** } ! /* * Returns TRUE if the user is the admin user, FALSE otherwise * @param $user, The user --- 74,78 ---- } ! /** * Returns TRUE if the user is the admin user, FALSE otherwise * @param $user, The user *************** *** 87,91 **** } ! /* * Gets the questionbank filter if this has been set. * TO DO: This also sets $SESSION['bank_filter']. This should really --- 87,91 ---- } ! /** * Gets the questionbank filter if this has been set. * TO DO: This also sets $SESSION['bank_filter']. This should really *************** *** 98,103 **** $question_bank_filter['name'] = ''; $question_bank_filter['kw'] = ''; ! $question_bank_filter['case_sense'] = FALSE; ! $question_bank_filter['show_descript'] = TRUE; $question_bank_filter['any'] = 'Any'; $question_bank_filter['order1'] = 'questionName'; --- 98,103 ---- $question_bank_filter['name'] = ''; $question_bank_filter['kw'] = ''; ! $question_bank_filter['case_sense'] = TRUE; ! $question_bank_filter['show_descript'] = FALSE; $question_bank_filter['any'] = 'Any'; $question_bank_filter['order1'] = 'questionName'; Index: editquiz_display.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/frontend_general/editquiz_display.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** editquiz_display.php 14 Jul 2005 17:59:12 -0000 1.5 --- editquiz_display.php 14 Jul 2005 18:19:56 -0000 1.6 *************** *** 24,28 **** */ ! /* * Displays the list of quizzes for the admin to edit * @param array $quizstore The store of quizzes --- 24,28 ---- */ ! /** * Displays the list of quizzes for the admin to edit * @param array $quizstore The store of quizzes *************** *** 65,69 **** } ! /* * Displays a message saying that are no quizzes to edit * @param string $PostTo The page that the info from the form should be posted to --- 65,69 ---- } ! /** * Displays a message saying that are no quizzes to edit * @param string $PostTo The page that the info from the form should be posted to *************** *** 77,81 **** } ! /* * Displays the page for editting a quiz * @param array $quiz The quiz to edit --- 77,81 ---- } ! /** * Displays the page for editting a quiz * @param array $quiz The quiz to edit *************** *** 91,95 **** } ! /* * Displays any quiz editting erros * @param array $errors The errors string --- 91,95 ---- } ! /** * Displays any quiz editting erros * @param array $errors The errors string *************** *** 101,105 **** } ! /* * Displays a message saying that the user is not the admin so cannot edit quizzes * @param array $user The user --- 101,105 ---- } ! /** * Displays a message saying that the user is not the admin so cannot edit quizzes * @param array $user The user Index: front_end_display.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/frontend_general/front_end_display.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** front_end_display.php 14 Jul 2005 17:46:58 -0000 1.4 --- front_end_display.php 14 Jul 2005 18:19:56 -0000 1.5 *************** *** 1,4 **** <?php - /** * --- 1,3 ---- *************** *** 19,27 **** * @author Juliette White jv...@jv... * * This file contains dispaly functions used by index.php */ ! /* * Displays the login screen * @param string $username --- 18,28 ---- * @author Juliette White jv...@jv... * + * @package frontend + * @subpackage Stack * This file contains dispaly functions used by index.php */ ! /** * Displays the login screen * @param string $username *************** *** 60,64 **** } ! /* * Displays the update user info form. * @param array $user The array containing the information about the user. --- 61,65 ---- } ! /** * Displays the update user info form. * @param array $user The array containing the information about the user. *************** *** 77,81 **** ! /* * Displays the registration screen * @param string $username --- 78,82 ---- ! /** * Displays the registration screen * @param string $username *************** *** 93,99 **** echo '</table><input type="hidden" name="action" value="register" /><input type="submit" value="Register" /></form>'; } - - - ?> --- 94,97 ---- Index: edit_quiz_util.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/frontend_general/edit_quiz_util.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** edit_quiz_util.php 14 Jul 2005 17:46:57 -0000 1.3 --- edit_quiz_util.php 14 Jul 2005 18:19:56 -0000 1.4 *************** *** 20,24 **** */ ! /* * Gets the question bank filter * @param string $source - Must be 'post' or 'session' --- 20,24 ---- */ ! /** * Gets the question bank filter * @param string $source - Must be 'post' or 'session' *************** *** 34,38 **** } ! /* * Sets the session question bank field * @param array $question_bank_filter --- 34,38 ---- } ! /** * Sets the session question bank field * @param array $question_bank_filter *************** *** 45,49 **** // $quizid only set if $sourc eis 'database' ! /* * Gets the quiz * @param string $source - Must be 'post' or 'database' --- 45,49 ---- // $quizid only set if $sourc eis 'database' ! /** * Gets the quiz * @param string $source - Must be 'post' or 'database' *************** *** 61,65 **** } ! /* * Gets the quiz id * @param string $source - Must be 'post', 'database' or 'quiz' --- 61,65 ---- } ! /** * Gets the quiz id * @param string $source - Must be 'post', 'database' or 'quiz' |