diff options
author | Minteck <contact@minteck.org> | 2023-02-02 12:12:46 +0100 |
---|---|---|
committer | Minteck <contact@minteck.org> | 2023-02-02 12:12:46 +0100 |
commit | ab266f5e5d89be0710c4c2d36cf1560e6e274b17 (patch) | |
tree | d6748371bece554f0b091dad4ff41572d0e360fd /search | |
parent | 42ff743c9bdcc18a1f4ddfd350524de0ab8e0236 (diff) | |
download | booru-ab266f5e5d89be0710c4c2d36cf1560e6e274b17.tar.gz booru-ab266f5e5d89be0710c4c2d36cf1560e6e274b17.tar.bz2 booru-ab266f5e5d89be0710c4c2d36cf1560e6e274b17.zip |
Updated 15 files, added 6 files and deleted assets/gallery.svg (automated)
Diffstat (limited to 'search')
-rw-r--r-- | search/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/search/index.php b/search/index.php index d93b4f3..5a34fff 100644 --- a/search/index.php +++ b/search/index.php @@ -1,7 +1,7 @@ <?php $title = "Search"; require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/header.php"; global $allowNsfw; -$filters = json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/filters.json"), true); +$filters = parseFilters(json_decode(file_get_contents($_SERVER['DOCUMENT_ROOT'] . "/includes/filters.json"), true)); $page = 1; @@ -15,7 +15,7 @@ if (isset($_GET["page"]) && is_numeric($_GET["page"]) && (int)$_GET["page"] > 0) ?> -<div style="margin: 20px 50px 0;"> +<div style="margin: 20px 50px 0;" class="main-app"> <h2>Search</h2> <form style="display: grid; grid-template-columns: <?php if (!$allowNsfw): ?>4fr 0.25fr<?php else: ?>1fr 3fr 0.25fr<?php endif; ?> ;grid-gap: 15px;" action="/search"> <?php if ($allowNsfw): ?> |