From: Chris S. <san...@us...> - 2006-08-22 15:43:25
|
Update of /cvsroot/stack/stack-1-0/scripts In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv29577/scripts Modified Files: stackAuthor.php stackQuestion.php Log Message: Index: stackAuthor.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/scripts/stackAuthor.php,v retrieving revision 1.53 retrieving revision 1.54 diff -C2 -d -r1.53 -r1.54 *** stackAuthor.php 22 Aug 2006 15:04:26 -0000 1.53 --- stackAuthor.php 22 Aug 2006 15:43:21 -0000 1.54 *************** *** 415,419 **** //List of metadata to display $metadata_list = array('questionLanguage','questionLearningContext','questionDifficulty','questionCompetency', ! 'questionCompetencyLevel','questionTimeAllocated','questionExerciseType','questionRights'); stack_question_metadata_edit_form($question,$metadata_list,$prefix,$remoteCaller); //Create all metadata fields on question form --- 415,419 ---- //List of metadata to display $metadata_list = array('questionLanguage','questionLearningContext','questionDifficulty','questionCompetency', ! 'questionCompetencyLevel','questionTimeAllocated','questionExcerciseType','questionRights'); stack_question_metadata_edit_form($question,$metadata_list,$prefix,$remoteCaller); //Create all metadata fields on question form *************** *** 904,908 **** // $fieldname = 'quiz' $metadata_list = array('quizLanguage','quizLearningContext','quizDifficulty','quizCompetency', ! 'quizCompetencyLevel','quizTimeAllocated','quizExerciseType','quizRights'); stack_quiz_metadata_edit_form($quiz, $metadata_list); --- 904,908 ---- // $fieldname = 'quiz' $metadata_list = array('quizLanguage','quizLearningContext','quizDifficulty','quizCompetency', ! 'quizCompetencyLevel','quizTimeAllocated','quizExcerciseType','quizRights'); stack_quiz_metadata_edit_form($quiz, $metadata_list); *************** *** 1348,1352 **** // $fieldname = 'subject' $metadata_list = array('subjectLanguage','subjectLearningContext','subjectDifficulty','subjectCompetency', ! 'subjectCompetencyLevel','subjectTimeAllocated','subjectExerciseType','subjectRights'); stack_subject_metadata_edit_form($subject, $metadata_list); --- 1348,1352 ---- // $fieldname = 'subject' $metadata_list = array('subjectLanguage','subjectLearningContext','subjectDifficulty','subjectCompetency', ! 'subjectCompetencyLevel','subjectTimeAllocated','subjectExcerciseType','subjectRights'); stack_subject_metadata_edit_form($subject, $metadata_list); Index: stackQuestion.php =================================================================== RCS file: /cvsroot/stack/stack-1-0/scripts/stackQuestion.php,v retrieving revision 1.70 retrieving revision 1.71 diff -C2 -d -r1.70 -r1.71 *** stackQuestion.php 22 Aug 2006 15:04:26 -0000 1.70 --- stackQuestion.php 22 Aug 2006 15:43:21 -0000 1.71 *************** *** 430,440 **** //Type of question: Default to algebraicExpression as that is only type of question atm, but provides extensibility ! $stackQuestion['questionExerciseType']['type']='meta'; ! $stackQuestion['questionExerciseType']['values']=array('AlgebraicExpression','MCQSingleAnswer','MCQMultipleAnswer', 'FillInBlank','unspecified'); ! $stackQuestion['questionExerciseType']['required']='optional'; ! $stackQuestion['questionExerciseType']['mysql']='TINYTEXT'; ! $stackQuestion['questionExerciseType']['metatag']='exercisetype'; ! $stackQuestion['questionExerciseType']['metatype']='stack'; ! $stackQuestion['questionExerciseType']['default']='AlgebraicExpression'; // 'Last edited on' - Must be last field, representative of database --- 430,440 ---- //Type of question: Default to algebraicExpression as that is only type of question atm, but provides extensibility ! $stackQuestion['questionExcerciseType']['type']='meta'; ! $stackQuestion['questionExcerciseType']['values']=array('AlgebraicExpression','MCQSingleAnswer','MCQMultipleAnswer', 'FillInBlank','unspecified'); ! $stackQuestion['questionExcerciseType']['required']='optional'; ! $stackQuestion['questionExcerciseType']['mysql']='TINYTEXT'; ! $stackQuestion['questionExcerciseType']['metatag']='exercisetype'; ! $stackQuestion['questionExcerciseType']['metatype']='stack'; ! $stackQuestion['questionExcerciseType']['default']='AlgebraicExpression'; // 'Last edited on' - Must be last field, representative of database |