Changes for page Pages on this Wiki

Last modified by Thomas Mortagne on 2015/11/23 11:40

From version 19.1
edited by Marius Dumitru Florea
on 2013/03/25 16:16
Change comment: Import
To version 21.1
edited by Vincent Massol
on 2013/10/22 10:59
Change comment: Import

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -$msg.get("platform.index.documents")
1 +$services.localization.render('platform.index.documents')
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.mflorea
1 +XWiki.VincentMassol
Content
... ... @@ -13,7 +13,7 @@
13 13  ##========
14 14  #set($tabs = [])
15 15  #macro(addAllDocsTab $tab)
16 - #if($xwiki.hasAccessLevel('view', "$!context.user", $tab.get('document')))
16 + #if($xwiki.hasAccessLevel('view', "$!xcontext.user", $tab.get('document')))
17 17   #set($discard = $tabs.add($tab))
18 18   #end
19 19  #end
... ... @@ -37,7 +37,7 @@
37 37  <div class="floatcontainer">
38 38   <ul class="xwikitabbar">
39 39  #foreach ($tab in $tabs)
40 - <li id="xwiki$tab['idSuffix']"#if($view == $tab['tabName']) class="active"#end><a href="$doc.getURL('view', "view=$tab['tabName']&amp;$!param")">$msg.get($tab['translationKey'])</a></li>
40 + <li id="xwiki$tab['idSuffix']"#if($view == $tab['tabName']) class="active"#end><a href="$doc.getURL('view', "view=$tab['tabName']&amp;$!param")">$services.localization.render($tab['translationKey'])</a></li>
41 41  #end
42 42   </ul>
43 43  </div>