cvs: pearweb /public_html/pepr pepr-proposal-show.php
| From: | Tobias Schlitt | Date: | Sun, 05 Sep 2004 13:34:29 +0000 |
| Subject: | cvs: pearweb /public_html/pepr pepr-proposal-show.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-23654@lists.php.net to get a copy of this message | ||
toby Sun Sep 5 09:34:29 2004 EDT
Modified files:
/pearweb/public_html/pepr pepr-proposal-show.php
Log:
* Migrated to markup processing method.
http://cvs.php.net/diff.php/pearweb/public_html/pepr/pepr-proposal-show.php?r1=1.38&r2=1.39&ty=u
Index: pearweb/public_html/pepr/pepr-proposal-show.php
diff -u pearweb/public_html/pepr/pepr-proposal-show.php:1.38
pearweb/public_html/pepr/pepr-proposal-show.php:1.39
--- pearweb/public_html/pepr/pepr-proposal-show.php:1.38 Tue Aug 24 14:02:17 2004
+++ pearweb/public_html/pepr/pepr-proposal-show.php Sun Sep 5 09:34:29 2004
@@ -17,7 +17,7 @@
* @author Daniel Convissor <danielc@php.net>
* @copyright Copyright (c) 1997-2004 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License
- * @version $Id: pepr-proposal-show.php,v 1.38 2004/08/24 18:02:17 danielc Exp $
+ * @version $Id: pepr-proposal-show.php,v 1.39 2004/09/05 13:34:29 toby Exp $
*/
/**
@@ -38,20 +38,7 @@
display_pepr_nav($proposal);
-// Switching markup types
-switch ($proposal->markup) {
- case 'wiki':
- require_once 'Text/Wiki.php';
- $wiki =& new Text_Wiki();
- $wiki->disableRule('wikilink');
- $describtion = $wiki->transform($proposal->pkg_describtion);
- break;
- case 'bbcode':
- default:
- require_once 'HTML/BBCodeParser.php';
- $bbparser = new HTML_BBCodeParser(array('filters' =>
'Basic,Images,Links,Lists,Extended'));
- $describtion = $bbparser->qparse(nl2br(htmlentities($proposal->pkg_describtion)));
-}
+$describtion = $proposal->getParsedDescribtion();
?>