Index: openacs-4/packages/acs-tcl/tcl/tcl-documentation-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/tcl-documentation-procs.tcl,v diff -u -r1.30.2.2 -r1.30.2.3 --- openacs-4/packages/acs-tcl/tcl/tcl-documentation-procs.tcl 5 Sep 2013 11:51:00 -0000 1.30.2.2 +++ openacs-4/packages/acs-tcl/tcl/tcl-documentation-procs.tcl 28 Sep 2013 15:38:30 -0000 1.30.2.3 @@ -2030,25 +2030,14 @@ @author Chrisitan Brechbuehler @creation-date 13 Aug 2000 } { - # copied from defs-procs.tcl: ad_return_complaint - - doc_return 200 text/html "[ad_header_with_extra_stuff \ - "[_ acs-tcl.lt_Problem_with_a_Templa]" "" ""] - -

[_ acs-tcl.lt_Problem_with_a_Page_o]

- -
- -[_ acs-tcl.lt_We_had_a_problem_proc] - - - -

- -[_ acs-tcl.Sorry] - -[ad_footer] -" + set complaint_template [parameter::get_from_package_key \ + -package_key "acs-tcl" \ + -parameter "ReturnComplaint" \ + -default "/packages/acs-admin/www/apm/apm.adpacs-tcl/lib/ad-return-complaint"] + set exception_count 1 + set exception_text $error + ns_return 200 text/html [ad_parse_template \ + -params [list [list exception_count $exception_count] \ + [list exception_text $exception_text]] \ + $complaint_template] }