General Actions:
Log-in
Register
Wiki:
Main wiki
▼
:
Document Index
»
Space:
WikiCode
▼
:
Document Index
»
Page:
LastCreatedWikisCode
Search
en
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
Main wiki
»
Wiki Manager
»
Space WikiCode
»
LastCreatedWikisCode
Wiki source code of
LastCreatedWikisCode
Last modified by
Administrator
on 2012/03/21 17:41
Content
·
Comments
(0)
·
Annotations
(0)
·
Attachments
(0)
·
History
·
Information
Show line numbers
############################################################################# ## Print the list of last created wikis with there respective owner. ## ## Can use URL parameters : ## -nb : The maximum number of results to print ## ############################################################################# #if ($request.nb) #set($nb = $util.parseInt($request.nb)) #end ############################################################################# #includeMacros("WikiCode.Macros") #set($WikiManager = $services.wikimanager) #if(!$WikiManager) #error($msg.get("wikimanager.pluginnotenabled")) #end #set($Exception = $WikiManager.DefaultException) ## ############################################################################# ## #if(!$nb) #set($nb = 5) #end ## #if(!$allwikilist) #set($allwikilist = $WikiManager.getAllWikis()) #end ## #if(!$creationsortedallwikilist) #set ($creationsortedallwikilist = $sorttool.sort($allwikilist, 'creationDate:desc')) #end ## ############################################################################# ## #if(!$creationsortedallwikilist.isEmpty()) #foreach($wikidoc in $creationsortedallwikilist) #set($firstWikiAlias = $wikidoc.firstWikiAlias) #if($velocityCount < $nb) #displaymodification($wikidoc.wikiName $firstWikiAlias.getHomePageUrl() $wikidoc.creationDate $formatDate $wikidoc.creator true) #end #end #end ## #if (!$doc.name.equals("LastCreatedWikisCode")) <br/> [See more>WikiCode.LastCreatedWikisCode] #end