summaryrefslogtreecommitdiffstats
path: root/web/html/index.php
diff options
context:
space:
mode:
authorMarcel Korpel <marcel.korpel@gmail.com>2015-07-09 00:33:25 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-08-08 12:59:23 +0200
commit8375d212106918b602911f6286d2e4fd172d446e (patch)
tree6a2d8be88078af550bb713d7cffe781c6fc95e12 /web/html/index.php
parent4ca87473964a6da45bd6b8a1679afcdc1a0694af (diff)
downloadaur-8375d212106918b602911f6286d2e4fd172d446e.tar.gz
aur-8375d212106918b602911f6286d2e4fd172d446e.tar.xz
Use SVG image for comment deletion icon
This also puts the icon to the right and the timestamp in the byline and wipes out a repeated instance of the byline. Signed-off-by: Marcel Korpel <marcel.korpel@gmail.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/html/index.php')
-rw-r--r--web/html/index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/html/index.php b/web/html/index.php
index 27d897c7..2d5f2a97 100644
--- a/web/html/index.php
+++ b/web/html/index.php
@@ -173,6 +173,10 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
header("Content-Type: image/png");
readfile("./$path");
break;
+ case "/images/x.min.svg":
+ header("Content-Type: image/svg+xml");
+ readfile("./$path");
+ break;
case "/js/bootstrap-typeahead.min.js":
header("Content-Type: application/javascript");
readfile("./$path");