Index: openacs-4/packages/theme-zen/lib/layouts/zen2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/theme-zen/lib/layouts/zen2.tcl,v diff -u -N --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/theme-zen/lib/layouts/zen2.tcl 30 Jan 2007 19:47:31 -0000 1.1.2.1 @@ -0,0 +1,47 @@ +# +# Copyright (C) 2001, 2002 MIT +# +# This file is part of dotLRN. +# +# dotLRN is free software; you can redistribute it and/or modify it under the +# terms of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# +# dotLRN is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# + +# new-portal/www/layouts/simple2.tcl + +ad_page_contract { + This is a simple 2 column layout called from portal::render and the like. + It laysout the elements with portal::layout_elements and hands off rendering + of the individual portlets to the template in the "element_src" var + + @version $Id: zen2.tcl,v 1.1.2.1 2007/01/30 19:47:31 donb Exp $ +} -properties { + element_list:onevalue + element_src:onevalue + action_string:onevalue + theme_id:onevalue + return_url:onevalue +} + +if {![exists_and_not_null action_string]} { + set action_string "" +} + +if {![exists_and_not_null theme_id]} { + set theme_id "" +} + +if {![exists_and_not_null return_url]} { + set return_url "" +} + +portal::layout_elements $element_list + +ad_return_template