From fe53f621bc00ae0d1c9e0df478e9db73e7e4a37b Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sat, 28 Feb 2015 14:57:12 +0100 Subject: [PATCH] Add missing checks in template if page menu item can be deleted --- .../install/files/acp/templates/pageMenuItemList.tpl | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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'} -- 2.20.1