From 0f0cceae22da0d0fa71c0c5a53b6d4b4bc97cfc9 Mon Sep 17 00:00:00 2001 From: Shish Date: Tue, 4 Feb 2020 01:15:25 +0000 Subject: [PATCH] format --- core/basethemelet.php | 4 ++-- ext/view/theme.php | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) 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 {