General Actions:
Displays the spaces available in the wiki.
#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()