Index: openacs-4/packages/new-portal/tcl/portal-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/new-portal/tcl/portal-procs.tcl,v diff -u -r1.179.2.1 -r1.179.2.2 --- openacs-4/packages/new-portal/tcl/portal-procs.tcl 30 Jan 2007 19:48:13 -0000 1.179.2.1 +++ openacs-4/packages/new-portal/tcl/portal-procs.tcl 31 Jan 2007 17:51:27 -0000 1.179.2.2 @@ -618,7 +618,6 @@ " - # # Revert page chunk # @@ -636,6 +635,22 @@ " } + if { [db_string sub_portals {}] } { + # Portal has other portals using it as a template + append template "
+
+ + |
$errmsg\n\n" set element(content) "You have found a bug in our code.
Please notify the webmaster and include the following text. Thank You.
*** portal::evaluate_element callback Error! ***\n\n $errmsg\n\n" @@ -2365,6 +2393,7 @@ relative or in proper "/resources/package-key" form. (the existing code for the theme resource_dir only supports the relative form) } { + set header_stuff "" db_1row get_resource_dir {} if { [string first /resources/ $resource_dir] == 0 } { set l [split $resource_dir /] Index: openacs-4/packages/new-portal/tcl/portal-procs.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/new-portal/tcl/portal-procs.xql,v diff -u -r1.45.2.1 -r1.45.2.2 --- openacs-4/packages/new-portal/tcl/portal-procs.xql 30 Jan 2007 19:48:13 -0000 1.45.2.1 +++ openacs-4/packages/new-portal/tcl/portal-procs.xql 31 Jan 2007 17:51:27 -0000 1.45.2.2 @@ -107,6 +107,14 @@ +