[aur-dev] [PATCH 05/13] Use the "new" icon from archweb for the recent updates table

canyonknight canyonknight at gmail.com
Sat Sep 15 12:38:10 EDT 2012


Signed-off-by: canyonknight <canyonknight at gmail.com>
---
 web/html/images/new.gif              | Bin 116 -> 0 bytes
 web/html/images/new.png              | Bin 0 -> 378 bytes
 web/html/index.php                   |   4 ++--
 web/template/stats/updates_table.php |   2 +-
 4 files changed, 3 insertions(+), 3 deletions(-)
 delete mode 100644 web/html/images/new.gif
 create mode 100644 web/html/images/new.png

diff --git a/web/html/images/new.gif b/web/html/images/new.gif
deleted file mode 100644
index 7df4823516538c5c60c6ce442ffeaea6644156dc..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 116
zcmZ?wbhEHblxN^!SjYeZ|3Lu6Q2fcl$iTqJpabH7<QbS;d-9vQ6z at E$Jb%$;^<=Z(
z{|m(&CLYL4TXKx^`Q&L at x0gM8y=$Yzp^g1YAFDRpIm6L;qU)fN(M|?WN8K|=SDoOI
M-r^e)#K2$;03sqS!vFvP

diff --git a/web/html/images/new.png b/web/html/images/new.png
new file mode 100644
index 0000000000000000000000000000000000000000..6a9bf0370708a165d3e49047c09e110e02074a53
GIT binary patch
literal 378
zcmV-=0fqjFP)<h;3K|Lk000e1NJLTq000mG000mO1^@s6AM^iV00004XF*Lt006JZ
zHwB960000PbVXQnQ*UN;cVTj606}DLVr3vnZDD6+Qe|Oed2z{QJOBUz3`s;mR5;7s
zlEF#>Q51$RwCw?WgWe;0fi^vY%UagXRhyB(O=1wVPFJlYqlK$kNFcaSBrLFKHcpU(
zVj5rP+%se7wuRup#~J3_|C at 8?jsx6(aN8gV+_?~^wID=7QAmWo&=P9GzK~Bj7P?xU
z4^LybJ-~;P$nL)ri2Lx-f?f?uyKtX3G(76UWeycgm{0H$eX9nWr+ASHH8>r~vom;o
zFz$}vYpDI9TZY<K7R&^TnN9E>Lgxm?Z}9nS!RQHI8Y*b~3AE}I>k|Ynq_|_kL0z^}
zg`YWG?`i*VRiHt=)+fle*{;CjiLD9r5bPAPFRr!h8&+rODTKm>mjte|vSwTU#7zr+
Y0SIdSJYsEaB>(^b07*qoM6N<$g6XKB5dZ)H

literal 0
HcmV?d00001

diff --git a/web/html/index.php b/web/html/index.php
index df0d133..7c4eb47 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 93eb44f..e7ceec7 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>
-- 
1.7.12



More information about the aur-dev mailing list