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:
parent
f8ac55da6f
commit
3dfb5995b6
22
index.php
22
index.php
@ -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.
|
|
||||||
foreach ($extraFooterScripts as $script) {
|
|
||||||
echo ' <script type="text/javascript" src="' , $script['src'] , '"';
|
|
||||||
if ($script['defer']) {
|
|
||||||
echo ' defer="defer"';
|
|
||||||
}
|
|
||||||
|
|
||||||
// if ($script['async']) { echo ( echo ' defer="async"'; ), intrigity=, nonce= etc. etc.
|
|
||||||
echo '></script>' , PHP_EOL;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
// Load non default JS/ECMAScript in footer.
|
||||||
|
foreach ($extraFooterScripts as $script) {
|
||||||
|
echo ' <script type="text/javascript" src="' , $script['src'] , '"';
|
||||||
|
if ($script['defer']) {
|
||||||
|
echo ' defer="defer"';
|
||||||
|
}
|
||||||
|
echo '></script>' , PHP_EOL;
|
||||||
|
}
|
||||||
?>
|
?>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user