cvs: phd /themes/php chmsource.php
| From: | Richard Quadling | Date: | Tue, 03 Jun 2008 11:05:44 +0000 |
| Subject: | cvs: phd /themes/php chmsource.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-1748@lists.php.net to get a copy of this message | ||
rquadling Tue Jun 3 11:05:44 2008 UTC
Modified files:
/phd/themes/php chmsource.php
Log:
Add a small amount of padding and activate the Zoom button for the Windows CHM reader.
http://cvs.php.net/viewvc.cgi/phd/themes/php/chmsource.php?r1=1.2&r2=1.3&diff_format=u
Index: phd/themes/php/chmsource.php
diff -u phd/themes/php/chmsource.php:1.2 phd/themes/php/chmsource.php:1.3
--- phd/themes/php/chmsource.php:1.2 Sat May 31 10:38:37 2008
+++ phd/themes/php/chmsource.php Tue Jun 3 11:05:44 2008
@@ -1,5 +1,5 @@
<?php
-/* $Id: chmsource.php,v 1.2 2008/05/31 10:38:37 loudi Exp $ */
+/* $Id: chmsource.php,v 1.3 2008/06/03 11:05:44 rquadling Exp $ */
require_once $ROOT . '/themes/php/chunkedhtml.php';
class chmsource extends chunkedhtml {
@@ -196,7 +196,7 @@
$this->hhcStream = fopen($this->chmdir . "php_manual_{$lang}.hhc",
"w");
$this->hhkStream = fopen($this->chmdir . "php_manual_{$lang}.hhk",
"w");
- file_put_contents($this->outputdir . "style.css", $this->fetchStylesheet());
+ file_put_contents($this->outputdir . "style.css", $this->fetchStylesheet() .
PHP_EOL . 'body { padding : 3px;}');
self::headerChm();
}
@@ -251,7 +251,7 @@
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,,0x386e,,,,,,,,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