cvs: pearweb /public_html/manual index.php
| From: | Martin Jansen | Date: | Sun, 04 Jan 2004 13:21:27 +0000 |
| Subject: | cvs: pearweb /public_html/manual index.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-15342@lists.php.net to get a copy of this message | ||
mj Sun Jan 4 08:21:27 2004 EDT
Modified files:
/pearweb/public_html/manual index.php
Log:
* Activating the CHM version of the manual
Index: pearweb/public_html/manual/index.php
diff -u pearweb/public_html/manual/index.php:1.15 pearweb/public_html/manual/index.php:1.16
--- pearweb/public_html/manual/index.php:1.15 Sun Nov 9 05:34:45 2003
+++ pearweb/public_html/manual/index.php Sun Jan 4 08:21:26 2004
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: Martin Jansen <mj@php.net> |
+----------------------------------------------------------------------+
- $Id: index.php,v 1.15 2003/11/09 10:34:45 mj Exp $
+ $Id: index.php,v 1.16 2004/01/04 13:21:26 mj Exp $
*/
response_header("Documentation");
@@ -54,11 +54,11 @@
"pear_manual_{LANG}.zip" => array("Many HTML files",
"zip"),
"pear_manual_{LANG}.tar.bz2" => array("Many HTML files",
"tar.bz2"),
"pear_manual_{LANG}.html.gz" => array("One big HTML file",
"html.gz"),
- // "chm/pear_manual_{LANG}.chm" => array("Windows HTML help",
"chm"),
+ "chm/pear_manual_{LANG}.chm" => array("Windows HTML help",
"chm"),
"pear_manual_{LANG}.txt.gz" => array("Plain text file",
"txt.gz")
);
-$bb = new BorderBox("Download documentation", "70%", "", 3, true);
+$bb = new BorderBox("Download documentation", "70%", "", 2, true);
$bb->HeadRow("Type", "Format", "Size");
foreach ($doc_languages as $domain => $name) {
@@ -68,8 +68,7 @@
$filename = str_replace("{LANG}", $domain, $filename);
$link = make_link("/distributions/manual/" . $filename, $information[0]);
- $bb->plainRow($link, $information[1],
- (int) (@filesize("../distributions/manual/" . $filename)/1024) .
"KB");
+ $bb->plainRow($link, $information[1]);
}
}