Index: openacs.org-dev/packages/ecommerce/www/admin/templates/add-3.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs.org-dev/packages/ecommerce/www/admin/templates/add-3.tcl,v diff -u -r1.1.1.1 -r1.1.1.2 --- openacs.org-dev/packages/ecommerce/www/admin/templates/add-3.tcl 9 Jul 2002 17:35:08 -0000 1.1.1.1 +++ openacs.org-dev/packages/ecommerce/www/admin/templates/add-3.tcl 8 Oct 2002 15:47:09 -0000 1.1.1.2 @@ -7,7 +7,7 @@ @author @creation-date - @cvs-id add-3.tcl,v 3.1.6.6 2000/08/18 21:46:59 stevenp Exp + @cvs-id $Id$ @author ported by Jerry Asher (jerry@theashergroup.com) } { @@ -25,8 +25,8 @@ set return_url "[ad_conn url]?[export_url_vars template_id template_name template]" - ad_returnredirect "/register.tcl?[export_url_vars return_url]" - return + ad_returnredirect "/register?[export_url_vars return_url]" + ad_script_abort } set exception_count 0 @@ -44,15 +44,15 @@ if { $exception_count > 0 } { ad_return_complaint $exception_count $exception_text - return + ad_script_abort } # see if the template's already in there, which means they pushed reload if { [db_string get_dclick_temp "select count(*) from ec_templates where template_id=:template_id"] > 0 } { - ad_returnredirect index.tcl - return + ad_returnredirect index + ad_script_abort } db_dml insert_new_template "insert into ec_templates @@ -61,4 +61,4 @@ (:template_id, :template_name, :template, sysdate, :user_id, '[DoubleApos [ns_conn peeraddr]]')" db_release_unused_handles -ad_returnredirect index.tcl +ad_returnredirect index