Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2006-04-25 19:15:13 +0400
committerMichal Čihař <michal@cihar.com>2006-04-25 19:15:13 +0400
commitaad17c30da7b01c1fc84aa50f4e43d8e383ce66c (patch)
tree1039582cfb86392cc34646ea75b679982cfac109 /changelog.php
parentadf542fc04bd24de0cc38205dc546c7560d2cde6 (diff)
make URLs clickable
Diffstat (limited to 'changelog.php')
-rw-r--r--changelog.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/changelog.php b/changelog.php
index 0912c2abe1..5374ea224a 100644
--- a/changelog.php
+++ b/changelog.php
@@ -9,6 +9,9 @@
$changelog = htmlspecialchars(file_get_contents('ChangeLog'));
$replaces = array(
+ '@(http://[./a-zA-Z0-9.-]*[/a-zA-Z0-9])@'
+ => '<a href="\\1">\\1</a>',
+
// sourceforge users
'/([0-9]{4}-[0-9]{2}-[0-9]{2}) (.+[^ ]) +&lt;(.*)@users.sourceforge.net&gt;/i'
=> '\\1 <a href="https://sourceforge.net/users/\\3/">\\2</a>',