Revert "load scripts at the bottom of the page" - inline scripts require jquery >_<
This reverts commit 9cc79e3ea8
.
This commit is contained in:
parent
6acf02624d
commit
a7572a2a0b
2 changed files with 2 additions and 16 deletions
|
@ -15,14 +15,8 @@ class Layout {
|
|||
$version = "Shimmie-".VERSION;
|
||||
|
||||
$header_html = "";
|
||||
$footer_html = "";
|
||||
foreach($page->headers as $line) {
|
||||
if(strpos($line, "script src=") > 0) {
|
||||
$footer_html .= "\t\t$line\n";
|
||||
}
|
||||
else {
|
||||
$header_html .= "\t\t$line\n";
|
||||
}
|
||||
$header_html .= "\t\t$line\n";
|
||||
}
|
||||
|
||||
$left_block_html = "";
|
||||
|
@ -76,7 +70,6 @@ $header_html
|
|||
based on the Danbooru concept.
|
||||
$debug
|
||||
$contact
|
||||
$footer_html
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -15,14 +15,8 @@ class Layout {
|
|||
$version = "Shimmie-".VERSION;
|
||||
|
||||
$header_html = "";
|
||||
$footer_html = "";
|
||||
foreach($page->headers as $line) {
|
||||
if(strpos($line, "script src=") > 0) {
|
||||
$footer_html .= "\t\t$line\n";
|
||||
}
|
||||
else {
|
||||
$header_html .= "\t\t$line\n";
|
||||
}
|
||||
$header_html .= "\t\t$line\n";
|
||||
}
|
||||
|
||||
$left_block_html = "";
|
||||
|
@ -88,7 +82,6 @@ $header_html
|
|||
based on the Danbooru concept.
|
||||
$debug
|
||||
$contact
|
||||
$footer_html
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Reference in a new issue