1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Minor: remove comments + fix indents

This commit is contained in:
billz 2019-12-29 19:30:55 +00:00
parent f8ac55da6f
commit 3dfb5995b6

View File

@ -298,20 +298,16 @@ if ($_COOKIE['sidebarToggled'] == 'true' ) {
<?php if ($page == "wlan0_info" || !isset($page)) { ?> <?php if ($page == "wlan0_info" || !isset($page)) { ?>
<!-- Link Quality Chart --> <!-- Link Quality Chart -->
<script src="app/js/linkquality.js"></script> <script src="app/js/linkquality.js"></script>
<?php }; ?> <?php }
<?php
// Load non default JS/ECMAScript in footer. // Load non default JS/ECMAScript in footer.
foreach ($extraFooterScripts as $script) { foreach ($extraFooterScripts as $script) {
echo ' <script type="text/javascript" src="' , $script['src'] , '"'; echo ' <script type="text/javascript" src="' , $script['src'] , '"';
if ($script['defer']) { if ($script['defer']) {
echo ' defer="defer"'; echo ' defer="defer"';
} }
// if ($script['async']) { echo ( echo ' defer="async"'; ), intrigity=, nonce= etc. etc.
echo '></script>' , PHP_EOL; echo '></script>' , PHP_EOL;
} }
?> ?>
</body> </body>
</html> </html>