Changes for page XWiki Syntax Guide
Last modified by Ludovic Dubost on 2020/07/30 11:21
From version 10.1
edited by Ludovic Dubost
on 2020/07/30 11:21
on 2020/07/30 11:21
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-help-ui/12.3]
To version 9.1
edited by Ludovic Dubost
on 2018/12/09 12:28
on 2018/12/09 12:28
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-help-ui/10.10]
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -33,7 +33,7 @@ 33 33 34 34 #set ($crtCategoryId = "$!{request.category}") 35 35 #if ($crtCategoryId != '') 36 - #set ($crtCategoryId = $ numbertool.toNumber($crtCategoryId).intValue())36 + #set ($crtCategoryId = $mathtool.toInteger($crtCategoryId)) 37 37 #end 38 38 #set ($crtSectionId = "$!{request.section}") 39 39 #set ($crtSyntaxVer = "$!{request.syntax}") ... ... @@ -159,9 +159,9 @@ 159 159 ## 160 160 #foreach ($category in $syntaxMenu) 161 161 ## "Standard" URLs and icons for categories 162 - #set ($category.url = "?syntax=$escapetool.url(${crtSyntaxVer})&category=${mathtool.sub($ foreach.count, 1)}${extraParams}")162 + #set ($category.url = "?syntax=$escapetool.url(${crtSyntaxVer})&category=${mathtool.sub($velocityCount, 1)}${extraParams}") 163 163 #set ($category.cssClass = "${category.id}Icon") 164 - #if ("$!{crtCategoryId}" != '' && $ foreach.count == $mathtool.add($crtCategoryId, 1))164 + #if ("$!{crtCategoryId}" != '' && $velocityCount == $mathtool.add($crtCategoryId, 1)) 165 165 #set ($crtCategory = $category) 166 166 #end 167 167 ##