From 9cba3937d0847d1065b3da7322ffe7ea22108319 Mon Sep 17 00:00:00 2001 From: tardo Date: Sat, 22 Sep 2007 18:30:28 -0400 Subject: Cosmetic: Show flagged out of date on package page. Add a simple warning under "Tarball :: Files :: PKGBUILD" if package is out of date. Signed-off-by: tardo --- web/lib/pkgfuncs.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'web/lib/pkgfuncs.inc') diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index 3bbfcb77..5cab8422 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkgfuncs.inc @@ -400,6 +400,10 @@ function package_details($id=0, $SID="") { print "".__("Be careful! The above files may contain malicious code that can damage your system.").""; } } + if ($row["OutOfDate"] == 1) { + print "\n"; + print "".__("This package has been flagged out of date.").""; + } print "\n"; print " "; print "\n"; -- cgit v1.2.3-24-g4f1b