Probably fix issue during WCFSetup created by 48364911b
authorTim Düsterhus <timwolla@arcor.de>
Sat, 7 Jul 2012 13:47:10 +0000 (15:47 +0200)
committerTim Düsterhus <timwolla@arcor.de>
Sat, 7 Jul 2012 13:47:10 +0000 (15:47 +0200)
wcfsetup/install/files/acp/templates/header.tpl

index 289639bb065481731904d25f66ea512182f78b86..ea58fc89d58e0d533b71f51d28428f6a06ea7582 100644 (file)
                        </div>
                        <!-- /logo -->
                        
-                       {hascontent}
-                               <!-- main menu -->
-                               <nav id="mainMenu" class="mainMenu">
-                                       {* work-around for unknown core-object during WCFSetup *}
-                                       {if PACKAGE_ID}
+                       {* work-around for unknown core-object during WCFSetup *}
+                       {if PACKAGE_ID}
+                               {hascontent}
+                                       <!-- main menu -->
+                                       <nav id="mainMenu" class="mainMenu">
                                                <ul>
                                                        {content}
                                                                {foreach from=$__wcf->getACPMenu()->getMenuItems('') item=menuItem}
                                                                {/foreach}
                                                        {/content}
                                                </ul>
-                                       {/if}
-                               </nav>
-                               <!-- /main menu -->
-                       {/hascontent}
+                                       </nav>
+                                       <!-- /main menu -->
+                               {/hascontent}
+                       {/if}
                        
                        <!-- header navigation -->
                        <nav class="navigation navigationHeader clearfix">