General Actions:
Log-in
Wiki:
Courses
▼
:
Document Index
»
Space:
Main
▼
:
Document Index
»
Page:
Dashboard
Search
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
Welcome to L3D's XWiki for Courses
»
Dashboard
Wiki source code of
Dashboard
Last modified by
Administrator
on 2010/05/15 13:25
Content
·
Comments
(0)
·
Attachments
(0)
·
History
·
Information
Show line numbers
{{velocity wiki="true"}} ## ## XWiki Dashboard ## ## This dashboard can be used for both wikis (Main.WebHome) ## and spaces (*.WebHome). ## $xwiki.ssx.use('Main.Dashboard')## #set ($isSpaceDashboard = false) #if ($doc.space != "Main") #set ($isSpaceDashboard = true) #end (% class="dashboard" %) ((( (% class="dashboardleft" %) ((( ## ## Left column. ## (% class="dashboardleftcontent" %) ((( #if (!$isSpaceDashboard) ## ## Wiki spaces and tags ## = $msg.get("xe.dashboard.wiki.spaces") = {{include document="Main.Spaces"/}} = $msg.get("xe.dashboard.wiki.tagcloud") = {{include document="XWiki.TagCloud"/}} #else ## ## Space documents and tags ## = $msg.get("xe.dashboard.space.documents", [$doc.space]) = #set($limit = 100)## Maximum number of documents we display in the space dashboard list #set($docNames = $xwiki.searchDocuments("where doc.space='${doc.space}' order by doc.creationDate desc", $limit, 0)) {{html}} #displayDocumentList($docNames false []) ## Note: we pass an empty blacklistedSpaces list since we are used as a space dashboard, not a global dashboard {{/html}} #if($docNames.size() == $limit) #set($docCount = $xwiki.countDocuments("where doc.space='${doc.space}'")) #set($remaining = $mathtool.sub($docCount, $limit)) #if($remaining > 0) (% class="documentListMore" %) ((( // $msg.get('xe.dashboard.space.remainingDocumentsInSpace', [$remaining, $doc.space]) [[$msg.get('xe.dashboard.space.visitSpaceIndex')>>Main.SpaceIndex?space=$doc.space]] // ))) #end #end = $msg.get("xe.dashboard.wiki.tagcloud") = #set ($tagCloudSpace = $doc.space) {{include document="XWiki.TagCloud"/}} #end ))) ))) (% class="dashboardright" %) ((( ## ## Right column ## (% class="dashboardrightcontent" %) ((( ## ## Recent changes ## #if (!$isSpaceDashboard) = $msg.get("xe.dashboard.wiki.recentchanges") = #else = $msg.get("xe.dashboard.space.recentchanges", [$doc.space]) = ## Set variables to limit recent changes to the current space and 15 items. #set ($rcSpace = [$doc.space]) #set ($rcChangesNb = 15) #end {{include document="Main.RecentChanges"/}} ))) ))) (% class="dashboardspacer" %) (((~ ))) ))) {{/velocity}}
Welcome
Welcome to this XWiki!
Quick Links
DSSF 2008
DCNM 2009
HCCF 2010
Document Index
Sandbox
My Recent Modifications
ASSIGNMENTNAME