cvs: peclweb /public_html/manual index.php
| From: | Philip Olson | Date: | Tue, 25 Mar 2008 22:46:19 +0000 |
| Subject: | cvs: peclweb /public_html/manual index.php | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-10077@lists.php.net to get a copy of this message | ||
philip Tue Mar 25 22:46:19 2008 UTC
Modified files:
/peclweb/public_html/manual index.php
Log:
Remove the PEAR/Manual information, and refer to php.net/manual/
http://cvs.php.net/viewvc.cgi/peclweb/public_html/manual/index.php?r1=1.12&r2=1.13&diff_format=u
Index: peclweb/public_html/manual/index.php
diff -u peclweb/public_html/manual/index.php:1.12 peclweb/public_html/manual/index.php:1.13
--- peclweb/public_html/manual/index.php:1.12 Tue Sep 16 19:28:42 2003
+++ peclweb/public_html/manual/index.php Tue Mar 25 22:46:19 2008
@@ -1,88 +1,12 @@
<?php
-/*
- +----------------------------------------------------------------------+
- | PEAR Web site version 1.0 |
- +----------------------------------------------------------------------+
- | Copyright (c) 2001-2003 The PHP Group |
- +----------------------------------------------------------------------+
- | This source file is subject to version 2.02 of the PHP license, |
- | that is bundled with this package in the file LICENSE, and is |
- | available at through the world-wide-web at |
- | http://www.php.net/license/2_02.txt.
|
- | If you did not receive a copy of the PHP license and are unable to |
- | obtain it through the world-wide-web, please send a note to |
- | license@php.net so we can mail you a copy immediately. |
- +----------------------------------------------------------------------+
- | Authors: Martin Jansen <mj@php.net> |
- +----------------------------------------------------------------------+
- $Id: index.php,v 1.12 2003/09/16 19:28:42 mj Exp $
-*/
-
-response_header("Documentation");
-
-$languages = array("en" => "English",
- "fr" => "French",
- /*
- "de" => "German",
- "it" => "Italian",
- */
- "nl" => "Dutch",
- "ru" => "Russian");
+response_header("PECL Documentation has Moved");
?>
-<h1>Documentation</h1>
-
-<p>The PEAR documentation is a centralized place where developers can
-add the documentation for their package.</p>
-
-<p>Currently the documentation is available in the following languages:</p>
-
-<ul>
+<h1>PECL Documentation</h1>
+<p>
+The PECL documentation is located in the
+official <a href="http://php.net/manual/">PHP Manual</a>.
+</p>
<?php
-$i = 0;
-foreach ($languages as $domain => $name) {
- echo "<li>";
- if ($i++ == 0) {
- echo "<b>" . make_link("/manual/" . $domain . "/",
$name) . "</b>";
- } else {
- echo make_link("/manual/" . $domain . "/", $name);
- }
- echo "</li>";
-}
-?>
-
-</ul>
-
-<p>If you prefer to have a local version of the documentation, you can
-download it in a bunch of formats:</p>
-
-<?php
-$formats = array(
- "pear_manual_{LANG}.tar.gz" => array("Many HTML files",
"tar.gz"),
- "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"),
- "pear_manual_{LANG}.txt.gz" => array("Plain text file",
"txt.gz")
-);
-
-$bb = new BorderBox("Download documentation", "70%", "", 3, true);
-$bb->HeadRow("Type", "Format", "Size");
-
-foreach ($languages as $domain => $name) {
- $bb->fullRow("<b>" . $name . "</b>");
-
- foreach ($formats as $filename => $information) {
- $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->end();
-
response_footer();
-?>
\ No newline at end of file