Index: openacs-4/packages/assessment/lib/section-items.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/lib/section-items.adp,v diff -u -r1.19 -r1.19.2.1 --- openacs-4/packages/assessment/lib/section-items.adp 4 Aug 2006 19:06:03 -0000 1.19 +++ openacs-4/packages/assessment/lib/section-items.adp 26 Jan 2007 20:31:05 -0000 1.19.2.1 @@ -1,60 +1,21 @@ -

#assessment.Items#

- - - - - - - - - +

#assessment.Question_Number#

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#assessment.Add_New# #assessment.Search_Item# -
@items.rownum@. @items.field_name@ *
+ #assessment.Edit# + #assessment.Copy# #assessment.Add_New# #assessment.Search_Item# - -#assessment.add_trigger# (@items.checks_related@) - - - (#assessment.max_time# @items.max_time_to_complete@) -(@items.points@ #assessment.points#) -
-
- @items.question_text;noquote@ - #assessment.Edit# - #assessment.Copy# #assessment.Move_Down# @@ -63,6 +24,15 @@ #assessment.remove_item# + + (#assessment.max_time# @items.max_time_to_complete@) +(@items.points@ #assessment.points#) + +#assessment.add_trigger# (@items.checks_related@) + + + @items.question_text;noquote@ +

@items.description;noquote@
@@ -91,21 +61,8 @@ -
-
#assessment.Add_New# #assessment.Search_Item# -
Index: openacs-4/packages/assessment/www/asm-admin/questions.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/asm-admin/questions.adp,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/assessment/www/asm-admin/questions.adp 24 Jan 2007 20:15:30 -0000 1.1.2.1 +++ openacs-4/packages/assessment/www/asm-admin/questions.adp 26 Jan 2007 20:31:05 -0000 1.1.2.2 @@ -4,54 +4,35 @@ -

#assessment.Sections#

- - - +

#assessment.Section_Number#

+ #assessment.Edit# -
- - - - - - - - - - -
@sections.sort_order@. @sections.name@
#assessment.add_new_section# #assessment.Search_Section# #assessment.edit_section_display# #assessment.section_preview# - #assessment.admin_triggers# - #assessment.add_section_trigger# - (#assessment.max_time# @sections.max_time_to_complete@) - (@sections.points@ #assessment.points#) -
-
- @sections.title@ - - #assessment.Edit# - - #assessment.Move_Down# + #assessment.Move_Down# #assessment.Move_Up# #assessment.remove_section# + (#assessment.max_time# @sections.max_time_to_complete@) + (@sections.points@ #assessment.points#) -
+ + #assessment.admin_triggers# + #assessment.add_section_trigger# + -
- -
- +

@sections.title@

+ +
#assessment.Items# + +
-
Index: openacs-4/packages/assessment/www/asm-admin/questions.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/www/asm-admin/questions.tcl,v diff -u -r1.1.2.1 -r1.1.2.2 --- openacs-4/packages/assessment/www/asm-admin/questions.tcl 24 Jan 2007 20:15:30 -0000 1.1.2.1 +++ openacs-4/packages/assessment/www/asm-admin/questions.tcl 26 Jan 2007 20:31:05 -0000 1.1.2.2 @@ -14,6 +14,7 @@ set package_id [ad_conn package_id] permission::require_permission -object_id $package_id -privilege create permission::require_permission -object_id $assessment_id -privilege admin +set admin_trigger_p [acs_user::site_wide_admin_p -user_id [ad_conn user_id]] set title "Questions" set context [list [list index [_ assessment.admin]] $title] set tab "questions"