… if multilingualism is disabled at the moment.
$(function() {
var $languageIDs = $('#languageIDs');
$('#enable').click(function() { $languageIDs.toggle(); });
- {if !$enable}$languageIDs.hide();{/if}
});
//]]>
</script>
<small class="sectionDescription">{lang}wcf.acp.language.multilingualism.enable.description{/lang}</small>
</header>
- <dl id="languageIDs"{if $errorField == 'languageIDs'} class="formError"{/if}>
+ <dl id="languageIDs"{if $errorField == 'languageIDs'} class="formError"{/if}{if !$enable} style="display: none;"{/if}>
<dt><label for="languageIDs">{lang}wcf.acp.language.multilingualism.languages{/lang}</label></dt>
<dd class="floated">
{foreach from=$languages item='language'}