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.310 -r1.311 --- openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl 16 Nov 2012 09:03:53 -0000 1.310 +++ openacs-4/packages/xowiki/tcl/xowiki-www-procs.tcl 17 Nov 2012 18:31:09 -0000 1.311 @@ -1257,18 +1257,21 @@ # # The following block should not be here, but in the templates # - set left_side "
\n + 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} + } + # # At this place, the menu should be complete, we can render it # - - #set content [$mb render-yui]$content append top_includelets \n "
" [$mb render-yui] - - set content "$left_side\n
$content
" + set content [subst $template] } if {[$context_package_id get_parameter "with_user_tracking" 1]} {