Update of /cvsroot/stack/stack-1-0/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13534/scripts
Modified Files:
stackAuthor.php stackDatabase.php
Log Message:
Index: stackDatabase.php
===================================================================
RCS file: /cvsroot/stack/stack-1-0/scripts/stackDatabase.php,v
retrieving revision 1.42
retrieving revision 1.43
diff -C2 -d -r1.42 -r1.43
*** stackDatabase.php 4 Sep 2005 21:26:18 -0000 1.42
--- stackDatabase.php 5 Sep 2005 08:21:40 -0000 1.43
***************
*** 1384,1391 ****
$result = stack_db_query($query);
! $query = "DELETE FROM quizattempts WHERE userID = '$userID'";
$result = stack_db_query($query);
! $query = "DELETE FROM questionattempts WHERE userID = '$userID'";
$result = stack_db_query($query);
--- 1384,1391 ----
$result = stack_db_query($query);
! $query = "DELETE FROM quizAttempts WHERE userID = '$userID'";
$result = stack_db_query($query);
! $query = "DELETE FROM questionAttempts WHERE userID = '$userID'";
$result = stack_db_query($query);
Index: stackAuthor.php
===================================================================
RCS file: /cvsroot/stack/stack-1-0/scripts/stackAuthor.php,v
retrieving revision 1.40
retrieving revision 1.41
diff -C2 -d -r1.40 -r1.41
*** stackAuthor.php 4 Sep 2005 21:26:18 -0000 1.40
--- stackAuthor.php 5 Sep 2005 08:21:40 -0000 1.41
***************
*** 1272,1276 ****
$quiz = stack_db_quiz_get($qID,TRUE);
$qname = $quiz['quizName'];
! $qkw = $question['quizKeywords'];
} else {
$qname = "Quiz with ID is $qID missing from DB!";
--- 1272,1276 ----
$quiz = stack_db_quiz_get($qID,TRUE);
$qname = $quiz['quizName'];
! $qkw = $quiz['quizKeywords'];
} else {
$qname = "Quiz with ID is $qID missing from DB!";
***************
*** 1297,1301 ****
$fieldname = 'subject'.'[subjectOptions]';
! stack_options_edit_form($options_headings,$options_list,$optval,$fieldname,$prefix);
// Check if subject has metadata set
--- 1297,1301 ----
$fieldname = 'subject'.'[subjectOptions]';
! stack_options_edit_form($options_headings,$options_list,$optval,$fieldname);
// Check if subject has metadata set
|