Index: openacs.org-dev/packages/ecommerce/www/admin/email-templates/add-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/ecommerce/www/admin/email-templates/add-2.tcl,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/ecommerce/www/admin/email-templates/add-2.tcl 9 Jul 2002 17:35:07 -0000 1.1.1.1 +++ openacs.org-dev/packages/ecommerce/www/admin/email-templates/add-2.tcl 8 Oct 2002 15:47:07 -0000 1.1.1.2 @@ -3,7 +3,7 @@ ad_page_contract { @author @creation-date - @cvs-id add-2.tcl,v 3.2.2.8 2000/09/22 01:34:55 kevin Exp + @cvs-id $Id$ @author ported by Jerry Asher (jerry@theashergroup.com) } { variables:optional @@ -26,7 +26,7 @@ set return_url "[ad_conn url]?[export_entire_form_as_url_vars]" ad_returnredirect "/register.tcl?[export_url_vars return_url]" - return + ad_script_abort } # check the entered ADP for functions @@ -36,7 +36,7 @@
We're sorry, but templates added here cannot have functions in them for security reasons. Only HTML and <%= \$variable %> style code may be used. We found $function in this template" - + ad_script_abort } @@ -49,6 +49,7 @@ values (ec_email_template_id_sequence.nextval, :title, :subject, :message, :variables, :when_sent, :issue_type, sysdate, :user_id, '[DoubleApos [ns_conn peeraddr]]')"} errMsg] } { ad_return_complaint 1 "Failed to add the email template, Suspect double click/ template already created" + ad_script_abort } db_release_unused_handles