Index: openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl,v
diff -u -r1.311 -r1.312
--- openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl 17 Nov 2012 18:31:09 -0000 1.311
+++ openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl 7 Dec 2012 15:50:12 -0000 1.312
@@ -1259,19 +1259,15 @@
#
set showFolders [$context_package_id get_parameter "MenuBarWithFolder" 1]
if {$showFolders} {
- set left_side "
\n
- [my include {folders -style folders}]\n
-
"
- set template {$left_side\n$content
}
- } else {
- set template {$content}
+ set folderhtml [my include {folders -style folders}]
+ } else {
+ set folderhtml ""
}
#
# At this place, the menu should be complete, we can render it
#
append top_includelets \n "" [$mb render-yui]
- set content [subst $template]
}
if {[$context_package_id get_parameter "with_user_tracking" 1]} {
@@ -1406,6 +1402,7 @@
rev_link edit_link delete_link new_link admin_link index_link view_link
notification_subscribe_link notification_image
top_includelets page views_data property_body property_doc
+ folderhtml
}
}
} else {