From: Matthias Schmidt Date: Thu, 12 May 2016 16:51:41 +0000 (+0200) Subject: Let MenuItemNode and PageNode extend DatabaseObjectDecorator X-Git-Tag: 3.0.0_Beta_1~1734 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2b7a2f53c18f3304926d20fe7f32e98b0bed992a;p=GitHub%2FWoltLab%2FWCF.git Let MenuItemNode and PageNode extend DatabaseObjectDecorator --- diff --git a/com.woltlab.wcf/templates/__menu.tpl b/com.woltlab.wcf/templates/__menu.tpl index ceaa11660b..bc8e7b5897 100644 --- a/com.woltlab.wcf/templates/__menu.tpl +++ b/com.woltlab.wcf/templates/__menu.tpl @@ -2,10 +2,10 @@
    {foreach from=$menuItemNodeList item=menuItemNode}
  1. - - {lang}{$menuItemNode->getMenuItem()->title}{/lang} - {if $menuItemNode->getMenuItem()->getOutstandingItems() > 0} - {#$menuItemNode->getMenuItem()->getOutstandingItems()} + + {lang}{$menuItemNode->title}{/lang} + {if $menuItemNode->getOutstandingItems() > 0} + {#$menuItemNode->getOutstandingItems()} {/if} diff --git a/com.woltlab.wcf/templates/pageMenuMobile.tpl b/com.woltlab.wcf/templates/pageMenuMobile.tpl index 1d97e3da99..eb12845ed7 100644 --- a/com.woltlab.wcf/templates/pageMenuMobile.tpl +++ b/com.woltlab.wcf/templates/pageMenuMobile.tpl @@ -10,9 +10,9 @@