cvs: livedocs / livedoc_funcs.php

From: Date: Wed, 09 Feb 2005 19:00:00 +0000
Subject: cvs: livedocs / livedoc_funcs.php
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969366460@lists.php.net to get a copy of this message
iliaa Wed Feb 9 14:00:00 2005 EDT Modified files: /livedocs livedoc_funcs.php Log: Clean up CS Fixed bug #30319 http://cvs.php.net/diff.php/livedocs/livedoc_funcs.php?r1=1.18&r2=1.19&ty=u Index: livedocs/livedoc_funcs.php diff -u livedocs/livedoc_funcs.php:1.18 livedocs/livedoc_funcs.php:1.19 --- livedocs/livedoc_funcs.php:1.18 Wed Feb 9 13:22:55 2005 +++ livedocs/livedoc_funcs.php Wed Feb 9 13:59:59 2005 @@ -259,13 +259,13 @@ // turn urls into links $the_note = preg_replace( - "/((mailto|http|ftp|nntp|news):.+?)(&gt;|\\s|\\)|\"|\\.\\s|<|$)/", - "<a href=\"\\1\">\\1</a>\\3", - $the_note + "/((mailto|http|ftp|nntp|news):.+?)(&gt;|\\s|\\)|\"|\\.\\s|<|$)/", + "<a href=\"\\1\">\\1</a>\\3", + $the_note ); $inner .= '<div class="usernote"><div class="noteheader"><span class="user">'.$note['who']. - '</span><br /><span class="when">'.$date.'</span></div>'.$the_note.'</div>'; + '(#'.$note['id'].')</span><br /><span class="when">'.$date.'</span></div>'.$the_note.'</div>'; } return $inner . "</div>";

« previous php.doc (#969366460) next »