cvs: phd /themes/php chmsource.php

From: Date: Mon, 21 Jul 2008 15:02:27 +0000
Subject: cvs: phd /themes/php chmsource.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-1890@lists.php.net to get a copy of this message
loudi Mon Jul 21 15:02:27 2008 UTC Modified files: /phd/themes/php chmsource.php Log: now chm stylesheet appears fine on many chm viewers (gnochm, kchmviewer on linux, chmox, chimp on mac os X, ...). still no style with xchm (I guess xchm doesn't handle css) http://cvs.php.net/viewvc.cgi/phd/themes/php/chmsource.php?r1=1.4&r2=1.5&diff_format=u Index: phd/themes/php/chmsource.php diff -u phd/themes/php/chmsource.php:1.4 phd/themes/php/chmsource.php:1.5 --- phd/themes/php/chmsource.php:1.4 Mon Jun 9 21:59:52 2008 +++ phd/themes/php/chmsource.php Mon Jul 21 15:02:27 2008 @@ -1,5 +1,5 @@ <?php -/* $Id: chmsource.php,v 1.4 2008/06/09 21:59:52 loudi Exp $ */ +/* $Id: chmsource.php,v 1.5 2008/07/21 15:02:27 loudi Exp $ */ require_once $ROOT . '/themes/php/chunkedhtml.php'; class chmsource extends chunkedhtml { @@ -217,13 +217,13 @@ $this->currentTocDepth++; fwrite($this->hhpStream, "{$ref}\n"); fwrite($this->hhcStream, "{$this->offset(1)}<li><object type=\"text/sitemap\">\n" . - "{$this->offset(3)}<param name=\"Name\" value=\"" .htmlentities($name, ENT_NOQUOTES, 'UTF-8') . "\">\n" . + "{$this->offset(3)}<param name=\"Name\" value=\"" .htmlentities($name, ENT_QUOTES, 'UTF-8') . "\">\n" . "{$this->offset(3)}<param name=\"Local\" value=\"{$ref}\">\n" . "{$this->offset(2)}</object>\n"); if ($hasChild) fwrite($this->hhcStream, "{$this->offset(2)}<ul>\n"); fwrite($this->hhkStream, " <li><object type=\"text/sitemap\">\n" . " <param name=\"Local\" value=\"{$ref}\">\n" . - " <param name=\"Name\" value=\"" . htmlentities($name, ENT_NOQUOTES, 'UTF-8') . "\">\n" . + " <param name=\"Name\" value=\"" . htmlentities($name, ENT_QUOTES, 'UTF-8') . "\">\n" . " </object>\n </li>\n"); break; case PhDReader::CLOSE_CHUNK : @@ -243,7 +243,7 @@ Contents file=php_manual_' . $lang . '.hhc Index file=php_manual_' . $lang . '.hhk Default Window=doc -Default topic=res\index.html +Default topic=res/index.html Display compile progress=Yes Full-text search=Yes Language=' . $this->LANGUAGES[$lang]["langcode"] . ' @@ -251,10 +251,10 @@ Default Font=' . ($this->LANGUAGES[$lang]["preferred_font"] ? $this->LANGUAGES[$lang]["preferred_font"] : self::DEFAULT_FONT). ' [WINDOWS] -doc="' . ($this->LANGUAGES[$lang]["title"] ? $this->LANGUAGES[$lang]["title"] : self::DEFAULT_TITLE) . '","php_manual_' . $lang . '.hhc","php_manual_' . $lang . '.hhk","res\index.html","res\index.html",,,,,0x23520,,0x10386e,,,,,,,,0 +doc="' . ($this->LANGUAGES[$lang]["title"] ? $this->LANGUAGES[$lang]["title"] : self::DEFAULT_TITLE) . '","php_manual_' . $lang . '.hhc","php_manual_' . $lang . '.hhk","res/index.html","res/index.html",,,,,0x23520,,0x10386e,,,,,,,,0 [FILES] -res\style.css +res/style.css '); fwrite($this->hhcStream, '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> <html>

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