Skip to content

Commit

Permalink
Item1208: for want of a quote the empire was lost. but gee, the horse…
Browse files Browse the repository at this point in the history
… tasted good

git-svn-id: http://svn.foswiki.org/trunk/YuiMenuContrib@2892 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
SvenDowideit authored and SvenDowideit committed Mar 6, 2009
1 parent bc6bd8c commit f63e099
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/System/YuiMenuContrib.txt
Expand Up @@ -100,7 +100,7 @@ fall back to the default in this topic
%STARTSECTION{"webmenu-builder-default"}%<ul>
%SEARCH{
"^\|.*\|$"
web="%IF{"istopic '%MAINWEB%.DefaultWebMenu' then="%MAINWEB%" else="%SYSTEMWEB%"}%"
web="%IF{"istopic '%MAINWEB%.DefaultWebMenu'" then="%MAINWEB%" else="%SYSTEMWEB%"}%"
topic="DefaultWebMenu"
type="regex"
multiple="on"
Expand All @@ -116,7 +116,7 @@ fall back to the default in this topic
SUBMENUWEB=$quot$pattern(\|\s*[^\|]*\s*\|\s*[^\|]*\s*\|\s*[^\|\s]*\s*\|\s*([^\|\s]*)\.[^.]*\s*\|.*)$quot
SUBMENUTOPIC=$quot$pattern(\|\s*[^\|]*\s*\|\s*[^\|]*\s*\|\s*[^\|\s]*\s*\|\s*[^.]*\.([^\|\s]*)\s*\|.*)$quot
}$percnt"
}% %IF{"'%IF{"istopic '%MAINWEB%.DefaultWebMenu' then="%MAINWEB%" else="%SYSTEMWEB%"}%.DefaultWebMenu' allows 'EDIT'" then="<li>[[%IF{"istopic '%MAINWEB%.DefaultWebMenu' then="%MAINWEB%" else="%SYSTEMWEB%"}%.DefaultWebMenu][edit menu]]</li>"}%
}% %IF{"'%MENUWEB%.%MENUTOPIC%' allows 'EDIT'" then="<li>[[%MENUWEB%.%MENUTOPIC%][edit menu]]</li>"}%
</ul>%ENDSECTION{"webmenu-builder-default"}%
</verbatim>

Expand Down

0 comments on commit f63e099

Please sign in to comment.