From: Matthias Schmidt Date: Sat, 28 Feb 2015 13:57:12 +0000 (+0100) Subject: Add missing checks in template if page menu item can be deleted X-Git-Tag: 2.1.0~8 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fe53f621bc00ae0d1c9e0df478e9db73e7e4a37b;p=GitHub%2FWoltLab%2FWCF.git Add missing checks in template if page menu item can be deleted --- diff --git a/wcfsetup/install/files/acp/templates/pageMenuItemList.tpl b/wcfsetup/install/files/acp/templates/pageMenuItemList.tpl index bfa1f57d1a..44adba915a 100644 --- a/wcfsetup/install/files/acp/templates/pageMenuItemList.tpl +++ b/wcfsetup/install/files/acp/templates/pageMenuItemList.tpl @@ -69,7 +69,11 @@ - + {if $childMenuItem->canDelete()} + + {else} + + {/if} {event name='subHeaderItemButtons'} @@ -106,7 +110,11 @@ - + {if $menuItem->canDelete()} + + {else} + + {/if} {event name='footerItemButtons'}