Index: openacs-4/packages/curriculum-central/www/stream-map.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/curriculum-central/www/stream-map.tcl,v
diff -u -r1.8 -r1.9
--- openacs-4/packages/curriculum-central/www/stream-map.tcl 20 Feb 2006 09:40:38 -0000 1.8
+++ openacs-4/packages/curriculum-central/www/stream-map.tcl 2 Apr 2006 02:06:06 -0000 1.9
@@ -12,6 +12,11 @@
set package_id [ad_conn package_id]
set user_id [ad_conn user_id]
+set export_p [parameter::get -package_id $package_id -parameter ExportStreamAsXML -default 0]
+if { $export_p } {
+ set export_url [export_vars -url -base stream-export {stream_id}]
+}
+
# Retrieve info about the faculty, department and stream.
db_1row context {}
Index: openacs-4/packages/curriculum-central/www/stream-view.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/curriculum-central/www/stream-view.adp,v
diff -u -r1.2 -r1.3
--- openacs-4/packages/curriculum-central/www/stream-view.adp 16 Feb 2006 10:44:17 -0000 1.2
+++ openacs-4/packages/curriculum-central/www/stream-view.adp 2 Apr 2006 02:06:06 -0000 1.3
@@ -4,8 +4,8 @@
+
[#curriculum-central.export#]
-
Index: openacs-4/packages/curriculum-central/www/stream-view.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/curriculum-central/www/stream-view.tcl,v
diff -u -r1.4 -r1.5
--- openacs-4/packages/curriculum-central/www/stream-view.tcl 16 Feb 2006 10:44:17 -0000 1.4
+++ openacs-4/packages/curriculum-central/www/stream-view.tcl 2 Apr 2006 02:06:06 -0000 1.5
@@ -11,6 +11,11 @@
set package_id [ad_conn package_id]
set user_id [ad_conn user_id]
+set export_p [parameter::get -package_id $package_id -parameter ExportStreamAsXML -default 0]
+if { $export_p } {
+ set export_url [export_vars -url -base stream-export {stream_id}]
+}
+
# Retrieve info about the faculty, department and stream.
db_1row context {}