highlight releases

This commit is contained in:
Michal Čihař
2006-04-20 15:03:53 +00:00
parent 8e32b42eb2
commit 96947846a4
2 changed files with 5 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ $Source$
* libraries/url_generating.lib.php, libraries/session.inc.php,
libraries/common.lib.php: Protect against external links which could
perform any action (CVE-2006-1804).
* changelog.php: Link to CAN/CVE security issues.
* changelog.php: Link to CAN/CVE security issues, highlight releases.
2006-04-13 Marc Delisle <lem9@users.sourceforge.net>
* server_databases.php: need brackets for correct calculation of page

View File

@@ -50,6 +50,10 @@ $replaces = array(
'/((CAN|CVE)-[0-9]+-[0-9]+)/'
=> '<a href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=\\1">\\1</a>',
// Highlight releases
'/( ### )(.*)/'
=> '\\1<b>\\2</b>',
);
header('Content-type: text/html; charset=utf-8');