Index: openacs-4/packages/new-portal/www/layouts/simple4.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/new-portal/www/layouts/Attic/simple4.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/new-portal/www/layouts/simple4.adp 28 Jan 2009 09:14:27 -0000 1.1 @@ -0,0 +1,90 @@ +<% + + # + # 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. + # + +%> + + + + + + + + + + +
+ + +
+
+
+ + +
+
+
+ + +
+
+
+ + +
+
+
Index: openacs-4/packages/new-portal/www/layouts/simple4.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/new-portal/www/layouts/Attic/simple4.tcl,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/new-portal/www/layouts/simple4.tcl 28 Jan 2009 09:14:27 -0000 1.1 @@ -0,0 +1,48 @@ +# +# 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. +# + +ad_page_contract { + This is a simple 3 column layout called from portal::render and the like. + It lays out the elements with portal::layout_elements and hands off + rendering of the individual portlets to the template in the + "element_src" var + + @author arjun@openforce.net + @author yon@openforce.net + @version $Id: simple4.tcl,v 1.1 2009/01/28 09:14:27 miguelc 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