WikiManager
WebHome
en
0
Main.WebHome
XWiki.Admin
XWiki.Admin
xwiki:XWiki.Admin
1186676868000
1529290327000
1529290327000
2.1

#

false
xwiki/1.0
false
XWiki.TagClass
0
0
input
1
tags
1
Tags
1
|
|,
30
0
com.xpn.xwiki.objects.classes.StaticListClass
WikiManager.WebHome
0
XWiki.TagClass
2a272b04-9676-43ad-ac7b-f7844432512a
1 $msg.get("wikimanager.wikimanager") ## ############################################################################# ## $xwiki.jsfx.use("js/xwiki/table/tablefilterNsort.js")## $xwiki.ssfx.use("js/xwiki/table/table.css")## #set($WikiManager = $xwiki.wikimanager) #if(!$WikiManager) #error($msg.get("wikimanager.pluginnotenabled")) #end #if(!$xwiki.applicationmanager) #error($msg.get("xapp.pluginnotenabled")) #end ## #set($Exception = $WikiManager.DefaultException) ## #set($action = $request.getParameter("action")) #set($confirm = $request.getParameter("confirm")) ## #set($wikiname = $request.getParameter("wikiname")) #if ($request.getParameter("wikitemplate") && $request.getParameter("wikitemplate") == "1") #set ($wikitemplate = true) #else #set ($wikitemplate = false) #end ## ############################################################################# ## #macro(printLink $linkContent) #if($!linkContent.length() > 0) [$linkContent] #end #end ## ############################################################################# ## #if($action) #if($action == "delete") #includeInContext("WikiCode.DeleteWikiCode") #elseif($action == "settemplate") #includeInContext("WikiCode.SetWikiTemplateCode") #end #end ## ############################################################################# ## #set($wikiList = $WikiManager.getAllWikis()) $msg.get("wikimanager.totalnumberofwiki") : $wikiList.size() ############################################################################# #if(!$xwiki.isVirtualMode()) #warning($msg.get("wikimanager.notinvirtualmode")) #else <br/> <a href="/WikiManager/CreateNewWiki?stepbystep=0&amp;doc=1">$msg.get("wikimanager.createwiki")</a> #end ############################################################################# ## #if($wikiList.size()!=0) <table id="wikiTable" class="grid sortable filterable doOddEven"> <tr class="sortHeader"> <th>count</th> <th>$msg.get("wikimanager.listwikiname")</th> <th>$msg.get("wikimanager.listwikidomains")</th> <th>$msg.get("wikimanager.listwikiadmin")</th> <th>$msg.get("wikimanager.listwikicreation")</th> <th>$msg.get("wikimanager.listwikitemplate")</th> <th class="unsortable noFilter">$msg.get("more")</th> </tr> #set($countCMS = 0) #foreach($wiki in $wikiList) #set($wikiAliasList = $wiki.wikiAliasList) #set($firstalias = $wikiAliasList.get(0)) <tr> #if(("$!wiki.wikiName" != 'celements2web') && !$!wiki.wikiName.startsWith('main') && !$!wiki.wikiName.startsWith('master') && !$!wiki.wikiName.endsWith('demo') && !$!wiki.wikiName.equals('nocelements')) #set($countCMS = $countCMS + 1) <td>$countCMS</td> #else <td>-</td> #end <td>#if($firstalias.wikiPrettyName && $firstalias.wikiPrettyName.trim().length() > 0) $firstalias.wikiPrettyName ($wiki.wikiName) #else $wiki.wikiName #end</td> <td> <ul> #foreach ($wikialias in $wikiAliasList) #if ($wikialias.server && $wikialias.server.trim().length() > 0) <li> <a href="$wikialias.homePageUrl">$wikialias.server</a> #end #end </ul> </td> <td>#printLink($firstalias.owner)</td> <td>$xwiki.formatDate($wiki.creationDate,"dd/MM/yyyy")</td> <td> #if($firstalias.isWikiTemplate()) $msg.yes#if ($WikiManager.canEditWiki()) <a href="?action=settemplate&amp;wikiname=$wiki.wikiName&amp;wikitemplate=0">$msg.get("wikimanager.action.settemplate.false")</a>#end #else $msg.no#if ($WikiManager.canEditWiki()) <a href="?action=settemplate&amp;wikiname=$wiki.wikiName&amp;wikitemplate=1">$msg.get("wikimanager.action.settemplate.true")</a>#end #end </td> <td> #if(($WikiManager.canDeleteWiki()) && ($wiki.WikiName != $context.mainWikiName) && ("$request.confirmwikidel" == '1')) <a href="?action=delete&amp;wikiname=$wiki.WikiName">$msg.get("delete")</a> |#end <a href="$wiki.getURL("view")">$msg.get("wikimanager.action.settings")</a></td> </tr> #end </table> #else $msg.get("wikimanager.listwikiempty") #end