General Actions:
Log-in
Register
Wiki:
Main wiki
▼
:
Document Index
»
Space:
WikiCode
▼
:
Document Index
»
Page:
SetWikiTemplateCode
Search
default
Page Actions:
Export
▼
:
Export as PDF
Export as RTF
Export as HTML
More actions
▼
:
Print preview
View Source
Main wiki
»
Wiki Manager
»
Space WikiCode
»
SetWikiTemplateCode
Wiki source code of
SetWikiTemplateCode
Last modified by
Administrator
on 2012/03/21 17:41
Content
·
Comments
(0)
·
Annotations
(0)
·
Attachments
(0)
·
History
·
Information
Hide line numbers
1: #if($action && $action == "settemplate") 2: #set($result = $WikiManager.setIsWikiTemplate($wikiname, $wikitemplate)) 3: #if ($result == $Exception.ERROR_NOERROR) 4: #info($msg.get("wikimanager.successsettemplate", [$wikiname, $wikitemplate])) 5: #elseif ($result == $Exception.ERROR_XWIKI_ACCESS_DENIED) 6: #error($msg.get("notallowed")) 7: #else 8: #error($msg.get("wikimanager.errorsettemplate", [$wikiname, $xcontext.lastexception])) 9: #end 10: #end