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.9 -r1.10
--- openacs-4/packages/assessment/lib/section-items.adp 26 Jan 2005 18:07:50 -0000 1.9
+++ openacs-4/packages/assessment/lib/section-items.adp 1 Feb 2005 22:41:54 -0000 1.10
@@ -38,7 +38,7 @@
#assessment.add_trigger#
+href="../asm-admin/add-edit-check?as_item_id=@items.as_item_id@§ion_id=@section_id@&assessment_id=@assessment_id@&after=@items.sort_order@">#assessment.add_trigger# @items.checks_related@
Index: openacs-4/packages/assessment/lib/section-items.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/lib/section-items.tcl,v
diff -u -r1.5 -r1.6
--- openacs-4/packages/assessment/lib/section-items.tcl 26 Jan 2005 18:18:25 -0000 1.5
+++ openacs-4/packages/assessment/lib/section-items.tcl 1 Feb 2005 22:41:54 -0000 1.6
@@ -2,7 +2,7 @@
{section_id:text(hidden) {value $section_id}}
}
-db_multirow -extend { presentation_type html mc_type} items section_items {} {
+db_multirow -extend { checks_related presentation_type html mc_type} items section_items {} {
set presentation_type [as::item_form::add_item_to_form -name admin_section -section_id $section_id -item_id $as_item_id]
if {$presentation_type == "fitb"} {
regsub -all -line -nocase -- {
+
+
+
+ select check_sql from as_inter_item_checks where assessment_id=:assessment_id and section_id_from=:section_id
+
+
+
+
+