summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcanyonknight <canyonknight@gmail.com>2012-09-09 21:02:34 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2012-09-18 00:59:00 +0200
commit36abb9efb9b41e07c86d9ab9f817833f49abe8fa (patch)
tree812a1a432273d5c5f2654e5860784c8d62db1e18
parent66fe10df633275beaaf405452dd3fa061e2946ae (diff)
downloadaur-36abb9efb9b41e07c86d9ab9f817833f49abe8fa.tar.gz
aur-36abb9efb9b41e07c86d9ab9f817833f49abe8fa.tar.xz
Use the "new" icon from archweb for the recent updates table
Signed-off-by: canyonknight <canyonknight@gmail.com> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
-rw-r--r--web/html/images/new.gifbin116 -> 0 bytes
-rw-r--r--web/html/images/new.pngbin0 -> 378 bytes
-rw-r--r--web/html/index.php4
-rw-r--r--web/template/stats/updates_table.php2
4 files changed, 3 insertions, 3 deletions
diff --git a/web/html/images/new.gif b/web/html/images/new.gif
deleted file mode 100644
index 7df48235..00000000
--- a/web/html/images/new.gif
+++ /dev/null
Binary files differ
diff --git a/web/html/images/new.png b/web/html/images/new.png
new file mode 100644
index 00000000..6a9bf037
--- /dev/null
+++ b/web/html/images/new.png
Binary files differ
diff --git a/web/html/index.php b/web/html/index.php
index df0d1337..7c4eb475 100644
--- a/web/html/index.php
+++ b/web/html/index.php
@@ -59,8 +59,8 @@ if (isset($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
include "./$path";
break;
case "/css/archnavbar/archlogo.gif":
- case "/images/new.gif":
- header("Content-Type: image/gif");
+ case "/images/new.png":
+ header("Content-Type: image/png");
include "./$path";
break;
case "/css/archnavbar/archlogo.png":
diff --git a/web/template/stats/updates_table.php b/web/template/stats/updates_table.php
index 93eb44f5..e7ceec7b 100644
--- a/web/template/stats/updates_table.php
+++ b/web/template/stats/updates_table.php
@@ -8,7 +8,7 @@
<td>
<a href="<?php echo get_pkg_uri($row["Name"]); ?>"><?php print htmlspecialchars($row["Name"]) . ' ' . htmlspecialchars($row["Version"]); ?></a>
<?php if ($row["ModifiedTS"] === $row["SubmittedTS"]): ?>
- <img src="images/new.gif" alt="New!" />
+ <img src="images/new.png" alt="New!" />
<?php endif; ?>
</td>
<td>