mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-31 03:34:18 +00:00
Move scripts to after close of body as recommended location.
This commit is contained in:
parent
91122ccd6a
commit
d209173e44
@ -1,2 +1,8 @@
|
|||||||
</body>
|
</body><?php
|
||||||
|
if ( isset($c->scripts) && is_array($c->scripts) ) {
|
||||||
|
foreach ( $c->scripts AS $script ) {
|
||||||
|
echo "<script language=\"JavaScript\" src=\"$script\"></script>\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
?>
|
||||||
</html>
|
</html>
|
||||||
@ -59,12 +59,6 @@ EOHDR;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( isset($c->scripts) && is_array($c->scripts) ) {
|
|
||||||
foreach ( $c->scripts AS $script ) {
|
|
||||||
echo "<script language=\"JavaScript\" src=\"$script\"></script>\n";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
echo "</head>\n<body>\n";
|
echo "</head>\n<body>\n";
|
||||||
echo "<div id=\"pageheader\">\n";
|
echo "<div id=\"pageheader\">\n";
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user