Index: openacs-4/packages/acs-templating/tcl/tag-init.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/tag-init.tcl,v diff -u -r1.24 -r1.25 --- openacs-4/packages/acs-templating/tcl/tag-init.tcl 6 Feb 2005 18:21:17 -0000 1.24 +++ openacs-4/packages/acs-templating/tcl/tag-init.tcl 10 Oct 2005 14:15:41 -0000 1.25 @@ -46,7 +46,18 @@ template_tag master { params } { set src [ns_set iget $params src] + set slave_properties_p [template::get_attribute multiple $params slave-properties-p 0] + if {[template::util::is_true $slave_properties_p]} { + template::adp_append_code " + foreach {__key __value} \$__args { + if {!\[string equal \$__key __adp_slave\]} { + set __adp_properties(\$__key) \"\$__value\" + } + } + " + } + # default to the site-wide master if {[empty_string_p $src]} { set src "\[ad_parameter -package_id \[ad_conn subsite_id\]\