svn: /phd/trunk/phpdotnet/phd/Package/Pear/ ChunkedXHTML.php
| From: | Moacir de Oliveira Miranda Júnior | Date: | Sat, 15 Aug 2009 02:30:01 +0000 |
| Subject: | svn: /phd/trunk/phpdotnet/phd/Package/Pear/ ChunkedXHTML.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4684@lists.php.net to get a copy of this message | ||
moacir Sat, 15 Aug 2009 02:30:01 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=287312
Log:
fixing page titles
Changed paths:
U phd/trunk/phpdotnet/phd/Package/Pear/ChunkedXHTML.php
Modified: phd/trunk/phpdotnet/phd/Package/Pear/ChunkedXHTML.php
===================================================================
--- phd/trunk/phpdotnet/phd/Package/Pear/ChunkedXHTML.php 2009-08-15 00:52:31 UTC (rev 287311)
+++ phd/trunk/phpdotnet/phd/Package/Pear/ChunkedXHTML.php 2009-08-15 02:30:01 UTC (rev 287312)
@@ -95,7 +95,7 @@
* @return string Header HTML
*/
public function header($id) {
- $title = $this->getLongDescription($id);
+ $title = $this->getShortDescription($id);
$lang = Config::language();
$this->prev = $this->next = $this->up = array("href" => null,
"desc" => null);
@@ -103,15 +103,15 @@
if ($parentId = $this->getParent($id)) {
$this->up = array("href" => $this->getFilename($parentId) .
'.' .$this->ext,
- "desc" => htmlspecialchars($this->getShortDescription($parentId)));
+ "desc" => $this->getShortDescription($parentId));
}
if ($prevId = Format::getPrevious($id)) {
$this->prev = array("href" => Format::getFilename($prevId) .
'.' .$this->ext,
- "desc" => htmlspecialchars($this->getShortDescription($prevId)));
+ "desc" => $this->getShortDescription($prevId));
}
if ($nextId = Format::getNext($id)) {
$this->next = array("href" => Format::getFilename($nextId) .
'.' .$this->ext,
- "desc" => htmlspecialchars($this->getShortDescription($nextId)));
+ "desc" => $this->getShortDescription($nextId));
}
$header = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="en" lang="en">