Index: openacs-4/packages/dotlrn-ecommerce/lib/email-templates.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-ecommerce/lib/email-templates.tcl,v diff -u -r1.10 -r1.11 --- openacs-4/packages/dotlrn-ecommerce/lib/email-templates.tcl 23 Jan 2006 08:04:43 -0000 1.10 +++ openacs-4/packages/dotlrn-ecommerce/lib/email-templates.tcl 21 Jul 2006 17:41:54 -0000 1.11 @@ -41,16 +41,14 @@ set email [lindex [callback dotlrn::default_member_email -community_id $community_id -type $type -var_list [list course_name $course_name]] 0] if {[llength $email]} { set subject "[lindex $email 1]" + set from "[_ dotlrn-ecommerce.site-wide]" switch [lindex $email 3] { dotlrn-ecommerce { set from "[_ dotlrn-ecommerce.site-wide]" } course { set from "[_ dotlrn-ecommerce.course]" } - default { - set from "[_ dotlrn-ecommerce.section]" - } } set test_url [export_vars -base email-test {community_id return_url type}] template::multirow append email_templates $subject $type [dotlrn_ecommerce::email_type_pretty -type $type] $action_url $action $from "" "" [dotlrn_ecommerce::email_type_sent_when -type $type] $test_url