Index: openacs-4/packages/assessment/assessment.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/assessment.info,v diff -u -r1.36.2.11 -r1.36.2.12 --- openacs-4/packages/assessment/assessment.info 14 Feb 2006 18:02:56 -0000 1.36.2.11 +++ openacs-4/packages/assessment/assessment.info 25 Feb 2006 15:46:25 -0000 1.36.2.12 @@ -7,7 +7,7 @@ f f - + Eduardo Perez Ureta Assessment package that will replace the survey, quizz, complex survey, poll and other data collection packages @@ -17,7 +17,7 @@ Create assessments and evaluate. 0 - + @@ -35,6 +35,7 @@ + Index: openacs-4/packages/assessment/catalog/assessment.en_US.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/catalog/assessment.en_US.ISO-8859-1.xml,v diff -u -r1.68.2.17 -r1.68.2.18 --- openacs-4/packages/assessment/catalog/assessment.en_US.ISO-8859-1.xml 21 Feb 2006 18:56:38 -0000 1.68.2.17 +++ openacs-4/packages/assessment/catalog/assessment.en_US.ISO-8859-1.xml 25 Feb 2006 15:46:24 -0000 1.68.2.18 @@ -1,5 +1,5 @@ - + Above Absolute Size @@ -333,6 +333,7 @@ First letter to limit the search to. Other Number of tries allowed: %assessment_data.number_tries% + <b>Note:</b> This assessment is set to be anonymous and<br />your name will not be included in the results. Everyone eligible to take this assessment Everyone who has already completed this assessment Everyone who has not yet completed this assessment Index: openacs-4/packages/assessment/www/asm-admin/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/asm-admin/index.tcl,v diff -u -r1.6.2.8 -r1.6.2.9 --- openacs-4/packages/assessment/www/asm-admin/index.tcl 21 Feb 2006 18:09:34 -0000 1.6.2.8 +++ openacs-4/packages/assessment/www/asm-admin/index.tcl 25 Feb 2006 15:46:24 -0000 1.6.2.9 @@ -35,13 +35,17 @@ } set actions [list] -lappend actions "[_ assessment.New_Survey]" {assessment-form?type=1} "[_ assessment.New_Survey]" \ - "[_ assessment.New_Review_Assessment]" {assessment-form?type=3} "[_ assessment.New_Review_Assessment]" \ - "[_ assessment.New_Partial_Assessment]" {assessment-form?type=4} "[_ assessment.New_Partial_Assessment]" \ - "[_ assessment.New_Quick_Assessment]" {assessment-form?type=5} "[_ assessment.New_Quick_Assessment]" \ - "[_ assessment.New_Assessment]" {assessment-form?type=2} "[_ assessment.New_Assessment2]" +set advanced_options_p [parameter::get -parameter ShowAdvancedOptions -default 1] +if { $advanced_options_p } { + lappend actions "[_ assessment.New_Survey]" {assessment-form?type=1} "[_ assessment.New_Survey]" \ + "[_ assessment.New_Review_Assessment]" {assessment-form?type=3} "[_ assessment.New_Review_Assessment]" \ + "[_ assessment.New_Partial_Assessment]" {assessment-form?type=4} "[_ assessment.New_Partial_Assessment]" \ + "[_ assessment.New_Quick_Assessment]" {assessment-form?type=5} "[_ assessment.New_Quick_Assessment]" +} -if { $sw_admin } { +lappend actions "[_ assessment.New_Assessment]" {assessment-form?type=2} "[_ assessment.New_Assessment2]" + +if { $sw_admin && $advanced_options_p } { lappend actions [_ assessment.set_reg_asm] "../admin/set-reg-assessment" [_ assessment.set_reg_asm] }