Index: openacs-4/packages/dotlrn-ecommerce/lib/tree-chunk.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-ecommerce/lib/tree-chunk.tcl,v
diff -u -r1.55 -r1.56
--- openacs-4/packages/dotlrn-ecommerce/lib/tree-chunk.tcl 8 Sep 2005 09:17:11 -0000 1.55
+++ openacs-4/packages/dotlrn-ecommerce/lib/tree-chunk.tcl 14 Sep 2005 02:42:33 -0000 1.56
@@ -23,6 +23,8 @@
set filters {}
+set allow_free_registration_p [parameter::get -parameter AllowFreeRegistration -default 0]
+
# Generate filters based on categories
# set filters {
# uncat_f {
@@ -255,7 +257,7 @@
-name course_list \
-multirow course_list \
-key course_id \
- -pass_properties { admin_p allow_other_registration_p offer_code_p } \
+ -pass_properties { admin_p allow_other_registration_p offer_code_p allow_free_registration_p } \
-actions $actions \
-filters $filters \
-bulk_action_method post \
@@ -301,7 +303,7 @@
@course_list.sessions;noquote@
@course_list.section_zones;noquote@
@course_list.instructor_names;noquote@
-
@course_list.prices;noquote@
+
Free Registration@course_list.prices;noquote@
@course_list.attendees;noquote@ participants
,
@course_list.available_slots;noquote@ available
@@ -750,4 +752,4 @@
set fs_chunk [util_memoize [list dotlrn_ecommerce::section::fs_chunk $section_id] $memoize_max_age]
set description [ad_text_to_html $description]
-}
+}
\ No newline at end of file