From: Alexander Ebert Date: Thu, 20 Jul 2017 12:35:46 +0000 (+0200) Subject: Moved rewrite test into a separate template X-Git-Tag: 3.1.0_Alpha_1~235 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=dd1051c32211053b53b8800a11474fc49b4dcbed;p=GitHub%2FWoltLab%2FWCF.git Moved rewrite test into a separate template See #2320 --- diff --git a/wcfsetup/install/files/acp/templates/__optionRewriteTest.tpl b/wcfsetup/install/files/acp/templates/__optionRewriteTest.tpl new file mode 100644 index 0000000000..37b2f1d490 --- /dev/null +++ b/wcfsetup/install/files/acp/templates/__optionRewriteTest.tpl @@ -0,0 +1,33 @@ +{if $category->categoryName === 'general'} + + +{/if} diff --git a/wcfsetup/install/files/acp/templates/option.tpl b/wcfsetup/install/files/acp/templates/option.tpl index f062b0d020..d8bd8941b2 100644 --- a/wcfsetup/install/files/acp/templates/option.tpl +++ b/wcfsetup/install/files/acp/templates/option.tpl @@ -95,38 +95,6 @@ -{if $category->categoryName === 'general'} - - -{/if} +{include file='__optionRewriteTest'} {include file='footer'}