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>
This commit is contained in:
canyonknight 2012-09-09 15:02:34 -04:00 committed by Lukas Fleischer
parent 66fe10df63
commit 36abb9efb9
4 changed files with 3 additions and 3 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 B

BIN
web/html/images/new.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 B

View file

@ -59,8 +59,8 @@ if (isset($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
include "./$path"; include "./$path";
break; break;
case "/css/archnavbar/archlogo.gif": case "/css/archnavbar/archlogo.gif":
case "/images/new.gif": case "/images/new.png":
header("Content-Type: image/gif"); header("Content-Type: image/png");
include "./$path"; include "./$path";
break; break;
case "/css/archnavbar/archlogo.png": case "/css/archnavbar/archlogo.png":

View file

@ -8,7 +8,7 @@
<td> <td>
<a href="<?php echo get_pkg_uri($row["Name"]); ?>"><?php print htmlspecialchars($row["Name"]) . ' ' . htmlspecialchars($row["Version"]); ?></a> <a href="<?php echo get_pkg_uri($row["Name"]); ?>"><?php print htmlspecialchars($row["Name"]) . ' ' . htmlspecialchars($row["Version"]); ?></a>
<?php if ($row["ModifiedTS"] === $row["SubmittedTS"]): ?> <?php if ($row["ModifiedTS"] === $row["SubmittedTS"]): ?>
<img src="images/new.gif" alt="New!" /> <img src="images/new.png" alt="New!" />
<?php endif; ?> <?php endif; ?>
</td> </td>
<td> <td>