cvs: phd(PHD_0_4) / package.xml /themes/pear pearweb.php

From: Date: Sun, 15 Feb 2009 09:54:08 +0000
Subject: cvs: phd(PHD_0_4) / package.xml /themes/pear pearweb.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-3254@lists.php.net to get a copy of this message
cweiske Sun Feb 15 09:54:08 2009 UTC Modified files: (Branch: PHD_0_4) /phd package.xml /phd/themes/pear pearweb.php Log: Generate syntactically correct php files for pearweb when description or title have a quote in it. http://cvs.php.net/viewvc.cgi/phd/package.xml?r1=1.74.2.19.2.44&r2=1.74.2.19.2.45&diff_format=u Index: phd/package.xml diff -u phd/package.xml:1.74.2.19.2.44 phd/package.xml:1.74.2.19.2.45 --- phd/package.xml:1.74.2.19.2.44 Thu Feb 12 18:08:36 2009 +++ phd/package.xml Sun Feb 15 09:54:08 2009 @@ -41,7 +41,7 @@ <active>yes</active> </developer> - <date>2009-02-12</date> + <date>2009-02-15</date> <version> <release>0.4.4</release> <api>0.4.4</api> @@ -60,6 +60,8 @@ - Copy images automatically using MediaManager (Christian) - Fix bug #47362: &lt;h1&gt; tag gets omitted in bightml (Christian) - Fix bug #47196: improve render of initializer tag (Laurent) + - Generate syntactically correct php files for pearweb when description or + title have a quote in it. (Christian) </notes> <contents> http://cvs.php.net/viewvc.cgi/phd/themes/pear/pearweb.php?r1=1.1.6.2.2.5&r2=1.1.6.2.2.6&diff_format=u Index: phd/themes/pear/pearweb.php diff -u phd/themes/pear/pearweb.php:1.1.6.2.2.5 phd/themes/pear/pearweb.php:1.1.6.2.2.6 --- phd/themes/pear/pearweb.php:1.1.6.2.2.5 Wed Feb 11 05:07:46 2009 +++ phd/themes/pear/pearweb.php Sun Feb 15 09:54:08 2009 @@ -5,7 +5,7 @@ * PEAR theme for the many php files used for pearweb * * @package PhD -* @version CVS: $Id: pearweb.php,v 1.1.6.2.2.5 2009/02/11 05:07:46 cweiske Exp $ +* @version CVS: $Id: pearweb.php,v 1.1.6.2.2.6 2009/02/15 09:54:08 cweiske Exp $ */ class pearweb extends peartheme { @@ -159,7 +159,10 @@ return "<?php \n" . "sendManualHeaders(\"UTF-8\", \"{$this->lang}\");\n" . "setupNavigation(" . var_export($nav, true) . ");\n" . - 'manualHeader("' . $this->getFilename($id).$ext . '", "' . PhDHelper::getDescription($id, true) . '");' . "\n" . + 'manualHeader("' + . $this->getFilename($id).$ext . '", ' + . var_export(PhDHelper::getDescription($id, true), true) + . ');' . "\n" . "?>\n"; } @@ -177,7 +180,10 @@ $ext = $this->ext . "."; $parent = PhDHelper::getParent($id); - return '<?php manualFooter("' . $this->getFilename($id).$ext . '", "' . PhDHelper::getDescription($id, true) . '"); ?>'; + return '<?php manualFooter("' + . $this->getFilename($id).$ext . '", ' + . var_export(PhDHelper::getDescription($id, true), true) + . '); ?>'; } /**

« previous php.doc.cvs (#3254) next »