XWiki
AdminTemplatesSheet
en
0
XWiki.XWikiPreferences
XWiki.Admin
XWiki.Admin
xwiki:XWiki.Admin
1274777649000
1274777649000
1274777649000
1.1

# Admin Templates Sheet

Imported from XAR
false
xwiki/2.0
false
{{velocity}} = $msg.get('admin.templates.createprovider') =

{{html}} <form action="$doc.getURL('create')" method="post"> <div> <input type="hidden" name="form_token" value="$!{services.csrf.getToken()}" /> <input type="hidden" name="parent" value="XWiki.TemplateProviderClass"/> <input type="hidden" name="template" value="XWiki.TemplateProviderTemplate"/> <label for="space">$msg.get('admin.templates.createprovider.space')</label> <input type="text" id="space" name="space" value="XWiki" size="8"/> <label for="page">$msg.get('admin.templates.createprovider.page')</label> <input type="text" id="page" name="page" value="$msg.get('admin.templates.createprovider.defaultdocname')" class="withTip"'/> <input id="createTemplateProvider" type="submit" value="$msg.get('admin.templates.createprovider.create')" class="button"/> </div> </form> {{/html}}

#set($availableProviders = $xwiki.searchDocuments(", BaseObject obj where doc.fullName=obj.name and obj.className='XWiki.TemplateProviderClass' and doc.fullName!='XWiki.TemplateProviderTemplate'")) #if($availableProviders.size() > 0)

= $msg.get('admin.templates.providerslist') =

#foreach($providerFullname in $availableProviders) * [[$xwiki.getDocument($providerFullname).getTitle()>>$providerFullname]] #end #end {{/velocity}}