{/if}
<div class="wcf-mainHeading">
- <img src="{@RELATIVE_WCF_DIR}icon/languageEditL.png" alt="" />
+ <img src="{@RELATIVE_WCF_DIR}icon/language1.svg" alt="" />
<div>
<h2>{lang}wcf.acp.language.edit{/lang}</h2>
</div>
<div class="wcf-contentHeader">
<div class="wcf-largeButtons">
<ul>
- <li><a href="index.php?page=LanguageList{@SID_ARG_2ND}"><img src="{@RELATIVE_WCF_DIR}icon/languageM.png" alt="" title="{lang}wcf.acp.menu.link.language.view{/lang}" class="wcf-button" /> <span>{lang}wcf.acp.menu.link.language.view{/lang}</span></a></li>
- <li><a href="index.php?form=LanguageSearch{@SID_ARG_2ND}"><img src="{@RELATIVE_WCF_DIR}icon/searchM.png" alt="" title="{lang}wcf.acp.menu.link.language.view{/lang}" class="wcf-button" /> <span>{lang}wcf.acp.menu.link.language.search{/lang}</span></a></li>
+ <li><a href="index.php?page=LanguageList{@SID_ARG_2ND}"><img src="{@RELATIVE_WCF_DIR}icon/language1.svg" alt="" title="{lang}wcf.acp.menu.link.language.view{/lang}" class="wcf-button" /> <span>{lang}wcf.acp.menu.link.language.view{/lang}</span></a></li>
+ <li><a href="index.php?form=LanguageSearch{@SID_ARG_2ND}"><img src="{@RELATIVE_WCF_DIR}icon/search1.svg" alt="" title="{lang}wcf.acp.menu.link.language.view{/lang}" class="wcf-button" /> <span>{lang}wcf.acp.menu.link.language.search{/lang}</span></a></li>
</ul>
</div>
</div>
<div class="formElement">
<p class="formField">
<span>{lang}wcf.global.language.{@$language->languageCode}{/lang} ({@$language->languageCode})</span>
- <img src="{@RELATIVE_WCF_DIR}icon/language{@$language->languageCode|ucfirst}S.png" alt="" />
+ <img src="{@RELATIVE_WCF_DIR}icon/language{@$language->languageCode|ucfirst}1.svg" alt="" />
</p>
</div>
<fieldset data-languageItem="{$languageItem}" class="languageItem" id="item{$languageItem|strtolower}">
<legend>
- {if $__wcf->getSession()->getPermission('admin.language.canDeleteLanguage')}<a onclick="return confirm('{lang}wcf.acp.language.variable.delete.sure{/lang}')" href="index.php?action=LanguageVariableDelete&languageItem={$languageItem}&languageID={@$languageID}&languageCategoryID={@$languageCategoryID}{@SID_ARG_2ND}"><img src="{@RELATIVE_WCF_DIR}icon/deleteS.png" alt="" title="{lang}wcf.acp.language.variable.delete{/lang}" /></a>{/if}
+ {if $__wcf->getSession()->getPermission('admin.language.canDeleteLanguage')}<a onclick="return confirm('{lang}wcf.acp.language.variable.delete.sure{/lang}')" href="index.php?action=LanguageVariableDelete&languageItem={$languageItem}&languageID={@$languageID}&languageCategoryID={@$languageCategoryID}{@SID_ARG_2ND}"><img src="{@RELATIVE_WCF_DIR}icon/delete1.svg" alt="" title="{lang}wcf.acp.language.variable.delete{/lang}" /></a>{/if}
<label for="languageCustomItems-{$languageItem}">{$languageItem}</label>
</legend>
<script type="text/javascript">
//<![CDATA[
$(function() {
- new WCF.Action.Delete('wcf\\data\\language\\LanguageAction', $('.languageRow'));
+ new WCF.Action.Delete('wcf\\data\\language\\LanguageAction', $('.jsLanguageRow'));
new WCF.Action.SimpleProxy({
action: 'setAsDefault',
className: 'wcf\\data\\language\\LanguageAction',
- elements: $('.languageRow .setAsDefaultButton')
+ elements: $('.jsLanguageRow .setAsDefaultButton')
}, {
success: function(data, statusText, jqXHR) {
- $('.languageRow').each(function(index, row) {
- var $button = $(row).find('.setAsDefaultButton');
+ $('.jsLanguageRow').each(function(index, row) {
+ var $button = $(row).find('.jsSetAsDefaultButton');
if (WCF.inArray($($button).data('objectID'), data.objectIDs)) {
- $($button).attr('src', '{@RELATIVE_WCF_DIR}icon/defaultDisabledS.png');
- $(row).find('.deleteButton').attr('src', '{@RELATIVE_WCF_DIR}icon/deleteDisabledS.png');
+ $($button).attr('src', '{@RELATIVE_WCF_DIR}icon/default1D.svg');
+ $(row).find('.jsDeleteButton').attr('src', '{@RELATIVE_WCF_DIR}icon/delete1D.svg');
}
else {
- $($button).attr('src', '{@RELATIVE_WCF_DIR}icon/defaultS.png');
- $(row).find('.deleteButton').attr('src', '{@RELATIVE_WCF_DIR}icon/deleteS.png');
+ $($button).attr('src', '{@RELATIVE_WCF_DIR}icon/default1.svg');
+ $(row).find('.jsDeleteButton').attr('src', '{@RELATIVE_WCF_DIR}icon/delete1.svg');
}
});
}
<tbody>
{foreach from=$objects item=language}
- <tr class="languageRow">
+ <tr class="jsLanguageRow">
<td class="columnIcon">
{if $__wcf->getSession()->getPermission('admin.language.canEditLanguage')}
<a href="{link controller='LanguageExport' id=$language->languageID}{/link}"><img src="{@RELATIVE_WCF_DIR}icon/download1.svg" alt="" title="{lang}wcf.acp.language.export{/lang}" class="balloonTooltip" /></a>
{else}
- <img src="{@RELATIVE_WCF_DIR}icon/download1D.png" alt="" title="{lang}wcf.acp.language.export{/lang}" />
+ <img src="{@RELATIVE_WCF_DIR}icon/download1D.svg" alt="" title="{lang}wcf.acp.language.export{/lang}" />
{/if}
{if $__wcf->getSession()->getPermission('admin.language.canEditLanguage')}
{if !$language->isDefault}
- <img src="{@RELATIVE_WCF_DIR}icon/default1.svg" alt="" title="{lang}wcf.acp.language.setAsDefault{/lang}" class="setAsDefaultButton balloonTooltip" data-objectID="{@$language->languageID}" />
+ <img src="{@RELATIVE_WCF_DIR}icon/default1.svg" alt="" title="{lang}wcf.acp.language.setAsDefault{/lang}" class="jsSetAsDefaultButton wcf-balloonTooltip" data-objectID="{@$language->languageID}" />
{else}
- <img src="{@RELATIVE_WCF_DIR}icon/default1D.svg" alt="" title="{lang}wcf.acp.language.setAsDefault{/lang}" class="setAsDefaultButton" data-objectID="{@$language->languageID}" />
+ <img src="{@RELATIVE_WCF_DIR}icon/default1D.svg" alt="" title="{lang}wcf.acp.language.setAsDefault{/lang}" class="jsSetAsDefaultButton" data-objectID="{@$language->languageID}" />
{/if}
{else}
<img src="{@RELATIVE_WCF_DIR}icon/default1D.svg" alt="" title="{lang}wcf.acp.language.setAsDefault{/lang}" />
{/if}
{if $__wcf->getSession()->getPermission('admin.language.canDeleteLanguage')}
{if !$language->isDefault}
- <img src="{@RELATIVE_WCF_DIR}icon/delete1.svg" alt="" title="{lang}wcf.global.button.delete{/lang}" class="balloonTooltip deleteButton" data-objectID="{@$language->languageID}" data-confirmMessage="{lang}wcf.acp.language.delete.sure{/lang}" />
+ <img src="{@RELATIVE_WCF_DIR}icon/delete1.svg" alt="" title="{lang}wcf.global.button.delete{/lang}" class="balloonTooltip jsDeleteButton" data-objectID="{@$language->languageID}" data-confirmMessage="{lang}wcf.acp.language.delete.sure{/lang}" />
{else}
- <img src="{@RELATIVE_WCF_DIR}icon/delete1D.svg" alt="" title="{lang}wcf.global.button.delete{/lang}" class="deleteButton" data-objectID="{@$language->languageID}" data-confirmMessage="{lang}wcf.acp.language.delete.sure{/lang}" />
+ <img src="{@RELATIVE_WCF_DIR}icon/delete1D.svg" alt="" title="{lang}wcf.global.button.delete{/lang}" class="jsDeleteButton" data-objectID="{@$language->languageID}" data-confirmMessage="{lang}wcf.acp.language.delete.sure{/lang}" />
{/if}
{else}
<img src="{@RELATIVE_WCF_DIR}icon/delete1D.svg" alt="" title="{lang}wcf.global.button.delete{/lang}" />
<script type="text/javascript">
//<![CDATA[
$(function() {
- {if $__wcf->getSession()->getPermission('admin.language.canDeleteServer')}new WCF.Action.Delete('wcf\\data\\language\\server\\LanguageServerAction', $('.languageServerRow'));{/if}
- {if $__wcf->getSession()->getPermission('admin.language.canEditServer')}new WCF.Action.Toggle('wcf\\data\\language\\server\\LanguageServerAction', $('.languageServerRow'));{/if}
+ {if $__wcf->getSession()->getPermission('admin.language.canDeleteServer')}new WCF.Action.Delete('wcf\\data\\language\\server\\LanguageServerAction', $('.jsLanguageServerRow'));{/if}
+ {if $__wcf->getSession()->getPermission('admin.language.canEditServer')}new WCF.Action.Toggle('wcf\\data\\language\\server\\LanguageServerAction', $('.jsLanguageServerRow'));{/if}
});
//]]>
</script>
</thead>
<tbody>
{foreach from=$languageServers item=languageServer}
- <tr class="languageServerRow">
+ <tr class="jsLanguageServerRow">
<td class="columnIcon">
{if $__wcf->getSession()->getPermission('admin.language.canEditServer')}
- <img src="{@RELATIVE_WCF_DIR}icon/{if !$languageServer->disabled}enabled{else}disabled{/if}1.svg" alt="" title="{lang}wcf.global.button.{if !$languageServer->disabled}disable{else}enable{/if}{/lang}" class="toggleButton balloonTooltip" data-object-id="{@$languageServer->languageServerID}" data-disable-message="{lang}wcf.global.button.disable{/lang}" data-enable-message="{lang}wcf.global.button.enable{/lang}" />
- <a href="{link controller='LanguageServerEdit' id=$languageServer->languageServerID}{/link}"><img src="{@RELATIVE_WCF_DIR}icon/edit1.svg" alt="" title="{lang}wcf.global.button.edit{/lang}" class="balloonTooltip" /></a>
+ <img src="{@RELATIVE_WCF_DIR}icon/{if !$languageServer->disabled}enabled{else}disabled{/if}1.svg" alt="" title="{lang}wcf.global.button.{if !$languageServer->disabled}disable{else}enable{/if}{/lang}" class="jsToggleButton wcf-balloonTooltip" data-object-id="{@$languageServer->languageServerID}" data-disable-message="{lang}wcf.global.button.disable{/lang}" data-enable-message="{lang}wcf.global.button.enable{/lang}" />
+ <a href="{link controller='LanguageServerEdit' id=$languageServer->languageServerID}{/link}"><img src="{@RELATIVE_WCF_DIR}icon/edit1.svg" alt="" title="{lang}wcf.global.button.edit{/lang}" class="wcf-balloonTooltip" /></a>
{else}
<img src="{@RELATIVE_WCF_DIR}icon/{if !$languageServer->disabled}enabled{else}disabled{/if}1D.svg" alt="" title="{lang}wcf.global.button.{if !$languageServer->disabled}disable{else}enable{/if}{/lang}" />
<img src="{@RELATIVE_WCF_DIR}icon/edit1D.svg" alt="" title="{lang}wcf.global.button.edit{/lang}" />
{/if}
{if $__wcf->getSession()->getPermission('admin.language.canDeleteServer')}
- <img src="{@RELATIVE_WCF_DIR}icon/delete1.svg" alt="" title="{lang}wcf.global.button.delete{/lang}" class="balloonTooltip deleteButton" data-object-id="{@$languageServer->languageServerID}" data-confirm-message="{lang}wcf.acp.languageServer.delete.sure{/lang}" />
+ <img src="{@RELATIVE_WCF_DIR}icon/delete1.svg" alt="" title="{lang}wcf.global.button.delete{/lang}" class="wcf-balloonTooltip jsDeleteButton" data-object-id="{@$languageServer->languageServerID}" data-confirm-message="{lang}wcf.acp.languageServer.delete.sure{/lang}" />
{else}
<img src="{@RELATIVE_WCF_DIR}icon/delete1D.svg" alt="" title="{lang}wcf.global.button.delete{/lang}" />
{/if}