For Programmers: Free Programming Magazines  


Home > Archive > PHP Mirrors > September 2006 > cvs: phpweb /include layout.inc









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpweb /include layout.inc
Hannes Magnusson

2006-09-28, 6:57 pm

bjori Thu Sep 28 13:29:43 2006 UTC

Modified files:
/phpweb/include layout.inc
Log:
Fixed bug#32118 (Incorrect clickable link inside code in Your Notes)


http://cvs.php.net/viewvc.cgi/phpwe...8&diff_format=u
Index: phpweb/include/layout.inc
diff -u phpweb/include/layout.inc:1.247 phpweb/include/layout.inc:1.248
--- phpweb/include/layout.inc:1.247 Tue Sep 19 12:10:20 2006
+++ phpweb/include/layout.inc Thu Sep 28 13:29:43 2006
@@ -1,5 +1,5 @@
<?php
-/* $Id: layout.inc,v 1.247 2006/09/19 12:10:20 goba Exp $ */
+/* $Id: layout.inc,v 1.248 2006/09/28 13:29:43 bjori Exp $ */

// Set the static content root differently on php.net
$_SERVER['STATIC_ROOT'] = ($MYSITE == 'http://www.php.net/') ?
@@ -443,7 +443,7 @@

// Turn urls into links
$text = preg_replace(
- '!((mailto:|(http|ftp|nntp|news):\/\/).*?)(\s|<|\)|"|\\|'|$)!',
+ '!((mailto:|(http|ftp|nntp|news):\/\/).*?)(\s|<|\)|"|\\\\|'|$)!',
'<a href="\1" target="_blank">\1</a>\4',
$text
);
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com