From 77d0603e67ee12bbdef113312be4e5dd3b7d8dd4 Mon Sep 17 00:00:00 2001 From: lalka2016 <99399973+lalka2016@users.noreply.github.com> Date: Fri, 11 Aug 2023 17:31:46 +0300 Subject: [PATCH] =?UTF-8?q?Remove=20javascript=20positioning=F0=9F=A4=AE?= =?UTF-8?q?=F0=9F=A4=AE=F0=9F=A4=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web/Presenters/SearchPresenter.php | 2 +- Web/Presenters/templates/Search/Index.xml | 12 +++--------- Web/static/css/main.css | 2 +- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/Web/Presenters/SearchPresenter.php b/Web/Presenters/SearchPresenter.php index fadf9954..220af918 100644 --- a/Web/Presenters/SearchPresenter.php +++ b/Web/Presenters/SearchPresenter.php @@ -35,7 +35,7 @@ final class SearchPresenter extends OpenVKPresenter $invert = $this->queryParam("invert") == 1 ? "ASC" : "DESC"; $page = (int) ($this->queryParam("p") ?? 1); - $this->willExecuteWriteAction(); + # $this->willExecuteWriteAction(); if($query != "") $this->assertUserLoggedIn(); diff --git a/Web/Presenters/templates/Search/Index.xml b/Web/Presenters/templates/Search/Index.xml index f6aee47c..d1acecb5 100644 --- a/Web/Presenters/templates/Search/Index.xml +++ b/Web/Presenters/templates/Search/Index.xml @@ -149,11 +149,10 @@ ]} {/if} -
+
{tr("results", $count)}
-