Wiki Home » Panels » Spaces

Spaces

Last modified by Administrator on 2010/09/24 19:24
Name
Spaces
Panel type
view
Category
Navigation
Description

Displays the spaces available in the wiki.

Content

#panelheader($msg.get("xe.panels.spaces"))
#set($spaces = $xwiki.spaces)
#set($first = true)
#foreach($space in $spaces)
  #if ($hasAdmin || ($xwiki.hasAccessLevel('view', "${space}.WebHome") && !$blacklistedSpaces.contains($space)))
    #if($first)
      #set($first = false)
    #else
      <span class="pitemseparator">|</span>
    #end
    #if($space == $doc.space)
      <span class="panelitem currentspace">[$space>${space}.WebHome]</span>
    #else
      <span class="panelitem">[$space>${space}.WebHome]</span>
    #end
  #end
#end
#panelfooter()

Tags:
Created by Administrator on 2006/07/22 12:52

Copyright 2004-2025 XWiki
4.0-milestone-1