cvs: pearweb /public_html/pepr pepr-proposal-show.php
| From: | Tobias Schlitt | Date: | Sat, 03 Jan 2004 21:49:54 +0000 |
| Subject: | cvs: pearweb /public_html/pepr pepr-proposal-show.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-15320@lists.php.net to get a copy of this message | ||
toby Sat Jan 3 16:49:54 2004 EDT
Modified files:
/pearweb/public_html/pepr pepr-proposal-show.php
Log:
* Added BBCode tags for size, color, quote and code to use in proposals (currently included form
PEPr include dir).
Index: pearweb/public_html/pepr/pepr-proposal-show.php
diff -u pearweb/public_html/pepr/pepr-proposal-show.php:1.4
pearweb/public_html/pepr/pepr-proposal-show.php:1.5
--- pearweb/public_html/pepr/pepr-proposal-show.php:1.4 Thu Dec 18 17:31:39 2003
+++ pearweb/public_html/pepr/pepr-proposal-show.php Sat Jan 3 16:49:54 2004
@@ -16,11 +16,14 @@
+----------------------------------------------------------------------+
| Authors: Tobias Schlitt <toby@php.net> |
+----------------------------------------------------------------------+
- $Id: pepr-proposal-show.php,v 1.4 2003/12/18 22:31:39 toby Exp $
+ $Id: pepr-proposal-show.php,v 1.5 2004/01/03 21:49:54 toby Exp $
*/
require_once 'pepr/pepr.php';
require_once 'HTML/BBCodeParser.php';
+ // Hopefully temporary in PEPr's include dir
+ // Patch sent to maintainer
+ require_once 'pepr/HTML_BBCodeParser_Filter_Extended.php';
require_once 'HTML/QuickForm.php';
if (empty($id)) {
@@ -106,7 +109,7 @@
$bb->horizHeadRow("Dependencies:", nl2br($proposal->pkg_deps));
}
$bb->horizHeadRow("Proposer:", user_link($proposal->user_handle));
- $bbparser = new HTML_BBCodeParser(array('filters' =>
'Basic,Images,Links,Lists'));
+ $bbparser = new HTML_BBCodeParser(array('filters' =>
'Basic,Images,Links,Lists,Extended'));
$bb->fullRow($bbparser->qparse(nl2br($proposal->pkg_describtion)));
$changelog = @ppComment::getAll($dbh, $proposal->id);