General Actions:
Displays the spaces available in the wiki.
#panelheader("Spaces")
#set($spaces = $xwiki.spaces)
#set($first = true)
#foreach($space in $spaces)
#if($first)
#set($first = false)
#else
<span class="pitemseparator">|</span>
#end
#if($space == $doc.web)
<span class="panelitem currentspace">[$space>${space}.WebHome]</span>
#else
<span class="panelitem">[$space>${space}.WebHome]</span>
#end
#end
#panelfooter()