diff --git a/core/basethemelet.php b/core/basethemelet.php index 50b55b33..425d1d56 100644 --- a/core/basethemelet.php +++ b/core/basethemelet.php @@ -84,11 +84,11 @@ class BaseThemelet $body = $this->build_paginator($page_number, $total_pages, $base, $query, $show_random); $page->add_block(new Block(null, $body, "main", 90, "paginator")); - if($page_number < $total_pages) { + if ($page_number < $total_pages) { $page->add_html_header(""); $page->add_html_header(""); } - if($page_number > 1) { + if ($page_number > 1) { $page->add_html_header(""); } } diff --git a/ext/view/theme.php b/ext/view/theme.php index 6646d684..d02338ae 100644 --- a/ext/view/theme.php +++ b/ext/view/theme.php @@ -38,7 +38,8 @@ class ViewImageTheme extends Themelet } } - protected function get_query() { + protected function get_query() + { if (isset($_GET['search'])) { $query = "search=".url_escape(Tag::caret($_GET['search'])); } else {