Fix wrong button position
authorMarcel Werk <burntime@woltlab.com>
Mon, 23 Dec 2024 15:39:28 +0000 (16:39 +0100)
committerMarcel Werk <burntime@woltlab.com>
Mon, 23 Dec 2024 15:39:28 +0000 (16:39 +0100)
ref https://www.woltlab.com/community/thread/310054-administrationsoberfl%C3%A4che-button-pakete-ist-unterhalb-des-inhalts-der-seite/

wcfsetup/install/files/acp/templates/package.tpl

index 132f9ae8e341433981862b0a569e8d60f0e2b2cc..3bf24de6a0c5ecabf4ca845d5db1ad2dde2be879 100644 (file)
@@ -23,6 +23,8 @@
                                                <li><button type="button" class="button jsUninstallButton" data-object-id="{@$package->packageID}" data-confirm-message="{lang __encode=true}wcf.acp.package.uninstallation.confirm{/lang}" data-is-required="{if $package->isRequired()}true{else}false{/if}" data-is-application="{if $package->isApplication}true{else}false{/if}">{icon name='xmark'} <span>{lang}wcf.acp.package.button.uninstall{/lang}</span></button></li>
                                        {/if}
 
+                                       <li><a href="{link controller='PackageList'}{/link}" class="button">{icon name='list'} <span>{lang}wcf.acp.menu.link.package.list{/lang}</span></a></li>
+
                                        {event name='contentHeaderNavigation'}
                                {/content}
                        </ul>
        {event name='tabMenuContents'}
 </div>
 
-<footer class="contentFooter">
-       <nav class="contentFooterNavigation">
-               <ul>
-                       <li><a href="{link controller='PackageList'}{/link}" class="button">{icon name='list'} <span>{lang}wcf.acp.menu.link.package.list{/lang}</span></a></li>
-                       
-                       {event name='contentFooterNavigation'}
-               </ul>
-       </nav>
-</footer>
+{hascontent}
+       <footer class="contentFooter">
+               <nav class="contentFooterNavigation">
+                       <ul>
+                               {content}
+                                       {event name='contentFooterNavigation'}
+                               {/content}
+                       </ul>
+               </nav>
+       </footer>
+{/hascontent}
 
 {include file='footer'}