]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/commitdiff
Run hook HOOKTYPE_PRE_FOOTER a little earlier
authorValerie Pond <redacted>
Sun, 7 Jul 2024 03:59:34 +0000 (11:59 +0800)
committerValerie Pond <redacted>
Sun, 7 Jul 2024 03:59:34 +0000 (11:59 +0800)
inc/footer.php

index 87975f999926032ed49bdec5688576f5e95cd232..fdf0f6447fc770ebb370779f5d3511c90e2160c9 100644 (file)
@@ -1,14 +1,13 @@
 <?php
        if (!isset($nav_shown))
                return;
+               $arr = []; Hook::run(HOOKTYPE_PRE_FOOTER, $arr);
 ?>
 <footer class="text-center bg-dark text-white fixed-bottom" style="background-color: #f1f1f1;">
        <!-- Grid container -->
        <div class="container">
                <!-- Section: Social media -->
-
                <?php
-                       $arr = []; Hook::run(HOOKTYPE_PRE_FOOTER, $arr);
                        echo "<small style=\"font-size: 70%\"><code>Admin Panel ".get_config('webpanel_version')."</code></small>";
                ?>