diff options
-rw-r--r-- | web/lang/en/pkgfuncs_po.inc | 2 | ||||
-rw-r--r-- | web/lib/pkgfuncs.inc | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/web/lang/en/pkgfuncs_po.inc b/web/lang/en/pkgfuncs_po.inc index 4ab3cd6..1395062 100644 --- a/web/lang/en/pkgfuncs_po.inc +++ b/web/lang/en/pkgfuncs_po.inc @@ -155,4 +155,6 @@ $_t["en"]["Required by"] = "Required by"; $_t["en"]["The above files have been verified (by %h%s%h) and are safe to use."] = "The above files have been verified (by %h%s%h) and are safe to use."; +$_t["en"]["This package has been flagged out of date."] = "This package has been flagged out of date."; + ?> diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index 3bbfcb7..5cab842 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkgfuncs.inc @@ -400,6 +400,10 @@ function package_details($id=0, $SID="") { print "<span class='f6'>".__("Be careful! The above files may contain malicious code that can damage your system.")."</span></td>"; } } + if ($row["OutOfDate"] == 1) { + print "\n<tr><td colspan='2'>"; + print "<span class='f6'>".__("This package has been flagged out of date.")."</span></td></tr>"; + } print "<tr>\n"; print " <td class='boxSoft' colspan='2'><img src='/images/pad.gif' height='30'></td>"; print "</tr>\n"; |