diff options
Diffstat (limited to '')
-rw-r--r-- | misc/tools.php | 1 | ||||
-rw-r--r-- | proxy.php | 3 | ||||
-rw-r--r-- | style/header.php | 3 | ||||
-rw-r--r-- | style/style.css | 2 |
4 files changed, 3 insertions, 6 deletions
diff --git a/misc/tools.php b/misc/tools.php index 7473953..9917be7 100644 --- a/misc/tools.php +++ b/misc/tools.php @@ -10,7 +10,6 @@ 60 => 'minute', ]; - $numunits; foreach ($timeunits as $unit => $text) { if ($time < $unit) continue; @@ -8,9 +8,8 @@ die(); } try { - if (!isset($_GET["s"]) || $_GET["s"] == "original") { + if (!isset($_GET["s"]) || $_GET["s"] == "original") $proxy->stream_linear_image($_GET["i"]); - } } catch (Exception $error) { header("X-Error: " . $error->getMessage()); $proxy->do404(); diff --git a/style/header.php b/style/header.php index 0e3f832..a34acf8 100644 --- a/style/header.php +++ b/style/header.php @@ -15,7 +15,6 @@ printf("<head>\n<title>WallHeaven - Viewing A Wallpaper</title>\n", $_GET["w"]); printf("<meta name='description' content='Wallpaper id:%s'>\n", $_GET["w"]); } - ?> <meta name="viewport" content="width=device-width,initial-scale=1"> <link rel="stylesheet" href="/style/style.css"> @@ -24,7 +23,7 @@ <a href="/" id="header"><h3>Wall<span id="heaven">Heaven</span></h3></a> <div id="searchbox"> <form action="/query.php" method="GET">\n - GFG; +<?php printf("<input type='text' placeholder='Search...' name='q' value='%s'>\n", $_GET["q"]); printf("<div id='options'>\n"); printf(" <input type='checkbox' name='SFW' id='SFW' %s>\n", $SFW); diff --git a/style/style.css b/style/style.css index 4ebfcc7..0002a69 100644 --- a/style/style.css +++ b/style/style.css @@ -68,7 +68,7 @@ h1, #header { margin-right: 10px; padding: 10px; float: left; - overflow-y: auto; + overflow: auto; background-color: #1a1a1a; color: #fff; } |