Remove obsolete language server templates
authorFabii547 <fabiangossner@gmail.com>
Sun, 6 Nov 2016 15:08:52 +0000 (16:08 +0100)
committerFabii547 <fabiangossner@gmail.com>
Sun, 6 Nov 2016 15:08:52 +0000 (16:08 +0100)
wcfsetup/install/files/acp/templates/languageServerAdd.tpl [deleted file]
wcfsetup/install/files/acp/templates/languageServerList.tpl [deleted file]

diff --git a/wcfsetup/install/files/acp/templates/languageServerAdd.tpl b/wcfsetup/install/files/acp/templates/languageServerAdd.tpl
deleted file mode 100644 (file)
index 6ec8cae..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-{include file='header' pageTitle='wcf.acp.languageServer.'|concat:$action}
-
-<header class="contentHeader">
-       <div class="contentHeaderTitle">
-               <h1 class="contentTitle">{lang}wcf.acp.languageServer.{$action}{/lang}</h1>
-       </div>
-       
-       <nav class="contentHeaderNavigation">
-               <ul>
-                       <li><a href="{link controller='LanguageServerList'}{/link}" class="button"><span class="icon icon16 fa-list"></span> <span>{lang}wcf.acp.menu.link.language.server.list{/lang}</span></a></li>
-                       
-                       {event name='contentHeaderNavigation'}
-               </ul>
-       </nav>
-</header>
-
-{include file='formError'}
-
-{if $success|isset}
-       <p class="success">{lang}wcf.acp.languageServer.{$action}.success{/lang}</p>
-{/if}
-
-<form method="post" action="{if $action == 'add'}{link controller='LanguageServerAdd'}{/link}{else}{link controller='LanguageServerEdit' id=$languageServerID}{/link}{/if}">
-       <section class="section">
-               <h2 class="sectionTitle">{lang}wcf.acp.languageServer.data{/lang}</h2>
-               
-               <dl{if $errorField == 'server'} class="formError"{/if}>
-                       <dt><label for="server">{lang}wcf.acp.languageServer.server{/lang}</label></dt>
-                       <dd>
-                               <input type="text" name="server" id="server" value="{$server}" autofocus class="long">
-                               {if $errorField == 'server'}
-                                       <small class="innerError">
-                                               {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if}
-                                               {if $errorType == 'invalid'}{lang}wcf.acp.languageServer.server.error.invalid{/lang}{/if}
-                                       </small>
-                               {/if}
-                               <small>{lang}wcf.acp.languageServer.server.description{/lang}</small>
-                       </dd>
-               </dl>
-               
-               {event name='dataFields'}
-       </section>
-       
-       {event name='sections'}
-       
-       <div class="formSubmit">
-               <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s">
-               {@SECURITY_TOKEN_INPUT_TAG}
-       </div>
-</form>
-
-{include file='footer'}
diff --git a/wcfsetup/install/files/acp/templates/languageServerList.tpl b/wcfsetup/install/files/acp/templates/languageServerList.tpl
deleted file mode 100644 (file)
index 66ef4af..0000000
+++ /dev/null
@@ -1,83 +0,0 @@
-{include file='header' pageTitle='wcf.acp.languageServer.list'}
-
-<script data-relocate="true">
-       $(function() {
-               new WCF.Action.Delete('wcf\\data\\language\\server\\LanguageServerAction', '.jsLanguageServerRow');
-               new WCF.Action.Toggle('wcf\\data\\language\\server\\LanguageServerAction', '.jsLanguageServerRow');
-       });
-</script>
-
-<header class="contentHeader">
-       <div class="contentHeaderTitle">
-               <h1 class="contentTitle">{lang}wcf.acp.languageServer.list{/lang}</h1>
-       </div>
-       
-       <nav class="contentHeaderNavigation">
-               <ul>
-                       <li><a href="{link controller='LanguageServerAdd'}{/link}" class="button"><span class="icon icon16 fa-plus"></span> <span>{lang}wcf.acp.languageServer.add{/lang}</span></a></li>
-                       
-                       {event name='contentHeaderNavigation'}
-               </ul>
-       </nav>
-</header>
-
-{hascontent}
-       <div class="paginationTop">
-               {content}{pages print=true assign=pagesLinks controller='LanguageServerList' link="pageNo=%d&sortField=$sortField&sortOrder=$sortOrder"}{/content}
-       </div>
-{/hascontent}
-
-{if !$languageServers|count}
-       <p class="info">{lang}wcf.global.noItems{/lang}</p>
-{else}
-       <div class="section tabularBox">
-               <table class="table">
-                       <thead>
-                               <tr>
-                                       <th class="columnID columnLanguageServerID{if $sortField == 'languageServerID'} active {@$sortOrder}{/if}" colspan="2"><a href="{link controller='LanguageServerList'}pageNo={@$pageNo}&sortField=languageServerID&sortOrder={if $sortField == 'languageServerID' && $sortOrder == 'ASC'}DESC{else}ASC{/if}{/link}">{lang}wcf.global.objectID{/lang}</a></th>
-                                       <th class="columnTitle columnServerURL{if $sortField == 'serverURL'} active {@$sortOrder}{/if}"><a href="{link controller='LanguageServerList'}pageNo={@$pageNo}&sortField=serverURL&sortOrder={if $sortField == 'serverURL' && $sortOrder == 'ASC'}DESC{else}ASC{/if}{/link}">{lang}wcf.acp.languageServer.serverURL{/lang}</a></th>
-                                       
-                                       {event name='columnHeads'}
-                               </tr>
-                       </thead>
-                       <tbody>
-                               {foreach from=$languageServers item=languageServer}
-                                       <tr class="jsLanguageServerRow">
-                                               <td class="columnIcon">
-                                                       <span class="icon icon16 fa-{if !$languageServer->isDisabled}check-{/if}square-o jsToggleButton jsTooltip pointer" title="{lang}wcf.global.button.{if !$languageServer->isDisabled}disable{else}enable{/if}{/lang}" data-object-id="{@$languageServer->languageServerID}"></span>
-                                                       <a href="{link controller='LanguageServerEdit' id=$languageServer->languageServerID}{/link}" title="{lang}wcf.global.button.edit{/lang}" class="jsTooltip"><span class="icon icon16 fa-pencil"></span></a>
-                                                       
-                                                       <span class="icon icon16 fa-times jsDeleteButton jsTooltip pointer" title="{lang}wcf.global.button.delete{/lang}" data-object-id="{@$languageServer->languageServerID}" data-confirm-message="{lang}wcf.acp.languageServer.delete.sure{/lang}"></span>
-                                                       
-                                                       {event name='rowButtons'}
-                                               </td>
-                                               <td class="columnID columnLanguageServerID">{@$languageServer->languageServerID}</td>
-                                               <td class="columnTitle columnServerURL">
-                                                       <a href="{link controller='LanguageServerEdit' id=$languageServer->languageServerID}{/link}">{$languageServer->serverURL}</a>
-                                               </td>
-                                               
-                                               {event name='columns'}
-                                       </tr>
-                               {/foreach}
-                       </tbody>
-               </table>
-       </div>
-       
-       <footer class="contentFooter">
-               {hascontent}
-                       <div class="paginationBottom">
-                               {content}{@$pagesLinks}{/content}
-                       </div>
-               {/hascontent}
-               
-               <nav class="contentFooterNavigation">
-                       <ul>
-                               <li><a href="{link controller='LanguageServerAdd'}{/link}" class="button"><span class="icon icon16 fa-plus"></span> <span>{lang}wcf.acp.languageServer.add{/lang}</span></a></li>
-                               
-                               {event name='contentFooterNavigation'}
-                       </ul>
-               </nav>
-       </footer>
-{/if}
-
-{include file='footer'}