Index: openacs-4/packages/new-portal/www/layouts/simple2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/new-portal/www/layouts/simple2.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/new-portal/www/layouts/simple2.tcl 16 Nov 2001 21:53:25 -0000 1.7 +++ openacs-4/packages/new-portal/www/layouts/simple2.tcl 17 Nov 2001 17:41:37 -0000 1.8 @@ -1,18 +1,21 @@ # www/templates/simple2.tcl ad_page_contract { @cvs_id $Id$ -} { - {element_list:trim,optional ""} - {element_src:trim,optional ""} - {theme_id:integer,optional ""} - {action_string:trim,optional ""} - } -properties { element_list:onevalue element_src:onevalue action_string:onevalue theme_id:onevalue } +if { ![info exists action_string]} { + set action_string "" +} +if { ![info exists theme_id]} { + set theme_id "" +} + portal::layout_elements $element_list + +ad_return_template