From 7cce2c92695bb6f4c7f061e27f4e5523741a8d2c Mon Sep 17 00:00:00 2001 From: KennethLavrsen Date: Sun, 7 Dec 2008 22:20:49 +0000 Subject: [PATCH] Item410: Fix goofed up left bar. Reverting git-svn-id: http://svn.foswiki.org/trunk@1204 0b4bb1d4-4e5a-0410-9cc4-b2b747904278 --- PatternSkin/templates/viewsidebar.pattern.tmpl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/PatternSkin/templates/viewsidebar.pattern.tmpl b/PatternSkin/templates/viewsidebar.pattern.tmpl index 9d3b54c534..ee5362f05f 100644 --- a/PatternSkin/templates/viewsidebar.pattern.tmpl +++ b/PatternSkin/templates/viewsidebar.pattern.tmpl @@ -13,9 +13,8 @@ * [[%BASEWEB%/%HOMETOPIC%][%BASEWEB%]] %TMPL:END% -%{ Please note that there must be a new line before the include of the WebLeftBar. Other wise the first bullet will not be displayed as a bullet. You do not see this in the default left bars because there is a login link. But when you remove this and replace by normal bullet the problem comes. See Foswiki task Item410. This bug has been fixed 5 or 6 times now which is the reason for this long comment %} -%TMPL:DEF{"websidebar"}%%TMPL:P{"sidebar:weblink"}% -%IF{"istopic 'WebLeftBar'" then="$percntINCLUDE{$quot%WEB%.WebLeftBar$quot}$percnt" else="$percntINCLUDE{$quot%WEB%.WebLeftBarExample$quot}$percnt"}% + +%TMPL:DEF{"websidebar"}%%TMPL:P{"sidebar:weblink"}%%IF{"istopic 'WebLeftBar'" then="$percntINCLUDE{$quot%WEB%.WebLeftBar$quot}$percnt" else="$percntINCLUDE{$quot%WEB%.WebLeftBarExample$quot}$percnt"}% %TMPL:END%