Log-in
et
General Actions:
Wiki
▼
:
Document Index
Space:
Main
▼
:
Document Index
Page:
Deleting
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
WebHome
»
Deleting
Wiki source code of
Deleting
Last modified by lauri on 2012/01/25 10:44
Content
·
Comments
(0)
·
Attachments
(0)
·
History
·
Information
Show line numbers
1 Delete Space #if ($request.space) #if ($request.confirm == "1") #foreach ($item in $xwiki.getSpaceDocsName($request.space)) * Deleting $item $xwiki.getDocument("${request.space}.${item}").delete() #end #else [Confirm delete space ${request.space}>$doc.fullName?space=${request.space}&confirm=1] 1.1 List of docs that will be deleted #foreach ($item in $xwiki.getSpaceDocsName($request.space)) * $item #end #end #else {table} Space | Action #foreach($space in $xwiki.spaces) $space | [Index>Main.SpaceIndex?space=${space}] - [Delete>$doc.fullName?space=${space}] #end {table} #end