cvs: pearweb /public_html/pepr pepr-proposal-show.php
| From: | Tobias Schlitt | Date: | Fri, 21 May 2004 12:32:32 +0000 |
| Subject: | cvs: pearweb /public_html/pepr pepr-proposal-show.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-19732@lists.php.net to get a copy of this message | ||
toby Fri May 21 08:32:32 2004 EDT
Modified files:
/pearweb/public_html/pepr pepr-proposal-show.php
Log:
* Fixed comment markup.
http://cvs.php.net/diff.php/pearweb/public_html/pepr/pepr-proposal-show.php?r1=1.30&r2=1.31&ty=u
Index: pearweb/public_html/pepr/pepr-proposal-show.php
diff -u pearweb/public_html/pepr/pepr-proposal-show.php:1.30
pearweb/public_html/pepr/pepr-proposal-show.php:1.31
--- pearweb/public_html/pepr/pepr-proposal-show.php:1.30 Fri May 21 05:30:08 2004
+++ pearweb/public_html/pepr/pepr-proposal-show.php Fri May 21 08:32:32 2004
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
| Authors: Tobias Schlitt <toby@php.net> |
+----------------------------------------------------------------------+
- $Id: pepr-proposal-show.php,v 1.30 2004/05/21 09:30:08 toby Exp $
+ $Id: pepr-proposal-show.php,v 1.31 2004/05/21 12:32:32 toby Exp $
*/
require_once 'pepr/pepr.php';
@@ -157,7 +157,15 @@
}
$changeLogRow .=
'<strong>'.$userinfo[$comment->user_handle]['name'];
$changeLogRow .= ' ['. date('Y-m-d, H:i', $comment->timestamp)
.']</strong><br />';
- $changeLogRow .= $bbparser->qparse(nl2br($comment->comment)).'<br /><br
/>';
+ switch ($proposal->markup) {
+ case 'wiki':
+ $changeLogRow .= $wiki->transform($comment->comment).'<br /><br
/>';
+ break;
+ case 'bbcode':
+ default:
+ $changeLogRow .= $bbparser->qparse(nl2br($comment->comment)).'<br /><br
/>';
+ break;
+ }
}
if (!empty($changeLogRow)) {