pkg_comments.php: Add JavaScript function to edit comments

Signed-off-by: Marcel Korpel <marcel.korpel@gmail.com>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Marcel Korpel 2015-07-21 22:53:57 +02:00 committed by Lukas Fleischer
parent 8328223a5e
commit 54d812ec79
4 changed files with 45 additions and 0 deletions

View file

@ -160,6 +160,10 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
header("Content-Type: text/css");
readfile("./$path");
break;
case "/images/ajax-loader.gif":
header("Content-Type: image/gif");
readfile("./$path");
break;
case "/css/archnavbar/archlogo.gif":
case "/images/new.png":
header("Content-Type: image/png");