diff --git a/themes/default/layout.class.php b/themes/default/layout.class.php index 6c2b71a7..84bae676 100644 --- a/themes/default/layout.class.php +++ b/themes/default/layout.class.php @@ -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 diff --git a/themes/warm/layout.class.php b/themes/warm/layout.class.php index b3174144..78e9927a 100644 --- a/themes/warm/layout.class.php +++ b/themes/warm/layout.class.php @@ -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