cvs: pearweb / package.php package.xml /include/pepr pepr.php
| From: | Greg Beaver | Date: | Wed, 01 Nov 2006 22:44:16 +0000 |
| Subject: | cvs: pearweb / package.php package.xml /include/pepr pepr.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-5148@lists.php.net to get a copy of this message | ||
cellog Wed Nov 1 22:44:16 2006 UTC
Modified files:
/pearweb package.php package.xml
/pearweb/include/pepr pepr.php
Log:
* fix Bug #9209: Missing package description in proposal editor
http://cvs.php.net/viewvc.cgi/pearweb/package.php?r1=1.20&r2=1.21&diff_format=u
Index: pearweb/package.php
diff -u pearweb/package.php:1.20 pearweb/package.php:1.21
--- pearweb/package.php:1.20 Tue Oct 31 21:38:16 2006
+++ pearweb/package.php Wed Nov 1 22:44:16 2006
@@ -22,6 +22,7 @@
* fix REST generation of packagesinfo.xml for categories
* fix Bug #5340: User details are overescaped
* fix Bug #8842: package.xml package name need not match case and must
+ * fix Bug #9209: Missing package description in proposal editor
* implement Request #7828: PEAR Bug Summary Report
* implement Request #9118: Added new feature to pepr
');
http://cvs.php.net/viewvc.cgi/pearweb/package.xml?r1=1.48&r2=1.49&diff_format=u
Index: pearweb/package.xml
diff -u pearweb/package.xml:1.48 pearweb/package.xml:1.49
--- pearweb/package.xml:1.48 Tue Oct 31 21:38:16 2006
+++ pearweb/package.xml Wed Nov 1 22:44:16 2006
@@ -52,8 +52,8 @@
<email>dufuz@php.net</email>
<active>no</active>
</developer>
- <date>2006-10-31</date>
- <time>16:37:56</time>
+ <date>2006-11-01</date>
+ <time>16:40:13</time>
<version>
<release>1.0.0RC2</release>
<api>0.1.1</api>
@@ -68,6 +68,7 @@
* fix REST generation of packagesinfo.xml for categories
* fix Bug #5340: User details are overescaped
* fix Bug #8842: package.xml package name need not match case and must
+ * fix Bug #9209: Missing package description in proposal editor
* implement Request #7828: PEAR Bug Summary Report
* implement Request #9118: Added new feature to pepr
</notes>
@@ -78,6 +79,7 @@
<file name="bug-summary.php" role="web" />
<file name="cache-garbage-collector.php" role="web" />
<file name="find-documentation.php" role="web" />
+ <file name="load-chm.sh" role="web" />
<file name="pepr.php" role="web" />
<file name="trackback-cleanup.php" role="web" />
</dir> <!-- /cron -->
@@ -335,6 +337,7 @@
</dir> <!-- /public_html/javascript/TreeMenu -->
<file name="md5.js" role="web" />
<file name="package-maintainers.js" role="web" />
+ <file name="pear_editor.js" role="web" />
<file name="sorttable.js" role="web" />
</dir> <!-- /public_html/javascript -->
<dir name="manual">
@@ -868,13 +871,14 @@
<release>beta</release>
<api>stable</api>
</stability>
- <date>2006-10-31</date>
+ <date>2006-11-01</date>
<license uri="http://www.php.net/license">PHP
License</license>
<notes>
* fix REST generation for deprecated packages/channels
* fix REST generation of packagesinfo.xml for categories
* fix Bug #5340: User details are overescaped
* fix Bug #8842: package.xml package name need not match case and must
+ * fix Bug #9209: Missing package description in proposal editor
* implement Request #7828: PEAR Bug Summary Report
* implement Request #9118: Added new feature to pepr
</notes>
http://cvs.php.net/viewvc.cgi/pearweb/include/pepr/pepr.php?r1=1.66&r2=1.67&diff_format=u
Index: pearweb/include/pepr/pepr.php
diff -u pearweb/include/pepr/pepr.php:1.66 pearweb/include/pepr/pepr.php:1.67
--- pearweb/include/pepr/pepr.php:1.66 Mon Sep 18 15:46:09 2006
+++ pearweb/include/pepr/pepr.php Wed Nov 1 22:44:16 2006
@@ -22,7 +22,7 @@
* @author Daniel Convissor <danielc@php.net>
* @copyright Copyright (c) 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License
- * @version $Id: pepr.php,v 1.66 2006/09/18 15:46:09 cellog Exp $
+ * @version $Id: pepr.php,v 1.67 2006/11/01 22:44:16 cellog Exp $
*/
/**#@+
@@ -131,7 +131,7 @@
var $pkg_license;
- var $pkg_describtion;
+ var $pkg_description;
var $pkg_deps;
@@ -177,13 +177,13 @@
'desc' => '
Proposed package:
'.$this->pkg_category.'::'.$this->pkg_name.'<br />
Proposer: '.user_link($this->user_handle).'<br />
-'.$this->getParsedDescribtion(),
+'.$this->getParsedDescription(),
'date' => $this->draft_date
);
}
- function getParsedDescribtion ( ) {
- if (empty($this->pkg_describtion)) {
+ function getParsedDescription ( ) {
+ if (empty($this->pkg_description)) {
return '';
}
// Switching markup types
@@ -192,16 +192,16 @@
include_once 'Text/Wiki.php';
$wiki =& new Text_Wiki();
$wiki->disableRule('wikilink');
- $describtion = $wiki->transform($this->pkg_describtion);
+ $description = $wiki->transform($this->pkg_description);
break;
case 'bbcode':
default:
include_once 'HTML/BBCodeParser.php';
$bbparser = new HTML_BBCodeParser(array('filters' =>
'Basic,Images,Links,Lists,Extended'));
- $describtion = $bbparser->qparse(nl2br(htmlentities($this->pkg_describtion)));
+ $description = $bbparser->qparse(nl2br(htmlentities($this->pkg_description)));
break;
}
- return $describtion;
+ return $description;
}
/**
@@ -336,7 +336,7 @@
pkg_category = ".$dbh->quoteSmart($this->pkg_category).",
pkg_name = ".$dbh->quoteSmart($this->pkg_name).",
pkg_license = ".$dbh->quoteSmart($this->pkg_license).",
- pkg_describtion = ".$dbh->quoteSmart($this->pkg_describtion).",
+ pkg_describtion = ".$dbh->quoteSmart($this->pkg_description).",
pkg_deps = ".$dbh->quoteSmart($this->pkg_deps).",
draft_date = FROM_UNIXTIME({$this->draft_date}),
proposal_date = FROM_UNIXTIME({$this->proposal_date}),
@@ -366,7 +366,7 @@
".$dbh->quoteSmart($this->pkg_category).",
".$dbh->quoteSmart($this->pkg_name).",
".$dbh->quoteSmart($this->pkg_license).",
- ".$dbh->quoteSmart($this->pkg_describtion).",
+ ".$dbh->quoteSmart($this->pkg_description).",
".$dbh->quoteSmart($this->pkg_deps).",
FROM_UNIXTIME(".time()."),
".$dbh->quoteSmart($this->status).",