In most cases it is misleading, as it is not respected when
showOrder is not changed as well. In case the admin really wants to
disable the current landing page's menu item he can do so with few
extra clicks.
</dd>
</dl>
- <dl>
- <dt></dt>
- <dd>
- <label><input type="checkbox" name="isDisabled" id="isDisabled" value="1"{if $isDisabled} checked="checked"{/if} /> <span>{lang}wcf.acp.pageMenu.isDisabled{/lang}</span></label>
- </dd>
- </dl>
+ {if $action == 'add' || !$menuItem->isLandingPage}
+ <dl>
+ <dt></dt>
+ <dd>
+ <label><input type="checkbox" name="isDisabled" id="isDisabled" value="1"{if $isDisabled} checked="checked"{/if} /> <span>{lang}wcf.acp.pageMenu.isDisabled{/lang}</span></label>
+ </dd>
+ </dl>
+ {/if}
{event name='advancedFields'}
</fieldset>