summaryrefslogtreecommitdiffstats
path: root/web/html/index.php
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2015-12-12 12:55:37 +0100
committerLukas Fleischer <lfleischer@archlinux.org>2015-12-13 10:22:59 +0100
commit9c98523494a9f533cc2a8ee873c96db02a1a6d4e (patch)
tree0aa1c6e65acb82d1e16a53bed4cb8357b8b86c38 /web/html/index.php
parenta35dc4022aea91a7be945222d7430a93276a6ee4 (diff)
downloadaurweb-9c98523494a9f533cc2a8ee873c96db02a1a6d4e.tar.xz
Replace new package icon
Use a flat icon from the Open Iconic collection to mark new packages. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/html/index.php')
-rw-r--r--web/html/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/index.php b/web/html/index.php
index 817c20b..8b5cb62 100644
--- a/web/html/index.php
+++ b/web/html/index.php
@@ -165,7 +165,6 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
readfile("./$path");
break;
case "/css/archnavbar/archlogo.gif":
- case "/images/new.png":
header("Content-Type: image/png");
readfile("./$path");
break;
@@ -182,6 +181,7 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
case "/images/pin.min.svg":
case "/images/unpin.min.svg":
case "/images/rss.svg":
+ case "/images/new.svg":
header("Content-Type: image/svg+xml");
readfile("./$path");
break;