cvs: pearweb /include html_form.php layout.php pear-auth.php pear-category.php pear-config.php pear-debug.php pear-format-html.php
pear-format-xmlrpc.php pear-manual.php pear-prepend.php renum.php site.php
| From: | Richard Heyes | Date: | Sun, 09 Jun 2002 23:05:54 +0000 |
| Subject: | cvs: pearweb /include html_form.php layout.php pear-auth.php pear-category.php pear-config.php pear-debug.php pear-format-html.php pear-format-xmlrpc.php pear-manual.php pear-prepend.php renum.php site.php |
||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-4525@lists.php.net to get a copy of this message | ||
richard Sun Jun 9 19:05:54 2002 EDT
Modified files:
/pearweb/include html_form.php layout.php pear-auth.php
pear-category.php pear-config.php pear-debug.php
pear-format-html.php pear-format-xmlrpc.php
pear-manual.php pear-prepend.php renum.php
site.php
Log:
* Disclaimer updates
Index: pearweb/include/html_form.php diff -u pearweb/include/html_form.php:1.2 pearweb/include/html_form.php:1.3 --- pearweb/include/html_form.php:1.2 Wed Jul 19 03:51:09 2000 +++ pearweb/include/html_form.php Sun Jun 9 19:05:53 2002 @@ -1,4 +1,22 @@ <?php // -*- C++ -*- +/* + +----------------------------------------------------------------------+ + | PEAR Web site version 1.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 2001 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: | + +----------------------------------------------------------------------+ + $Id: html_form.php,v 1.3 2002/06/09 23:05:53 richard Exp $ +*/ // {{{ constants Index: pearweb/include/layout.php diff -u pearweb/include/layout.php:1.47 pearweb/include/layout.php:1.48 --- pearweb/include/layout.php:1.47 Tue May 21 17:36:55 2002 +++ pearweb/include/layout.php Sun Jun 9 19:05:53 2002 @@ -1,5 +1,22 @@ <?php -/* $Id: layout.php,v 1.47 2002/05/21 21:36:55 mj Exp $ */ +/* + +----------------------------------------------------------------------+ + | PEAR Web site version 1.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 2001 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: | + +----------------------------------------------------------------------+ + $Id: layout.php,v 1.48 2002/06/09 23:05:53 richard Exp $ +*/ require_once 'site.php'; Index: pearweb/include/pear-auth.php diff -u pearweb/include/pear-auth.php:1.22 pearweb/include/pear-auth.php:1.23 --- pearweb/include/pear-auth.php:1.22 Fri May 3 08:58:20 2002 +++ pearweb/include/pear-auth.php Sun Jun 9 19:05:53 2002 @@ -1,4 +1,22 @@ <?php +/* + +----------------------------------------------------------------------+ + | PEAR Web site version 1.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 2001 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: | + +----------------------------------------------------------------------+ + $Id: pear-auth.php,v 1.23 2002/06/09 23:05:53 richard Exp $ +*/ function auth_reject($realm = null, $message = null, $refresh = false) { Index: pearweb/include/pear-category.php diff -u pearweb/include/pear-category.php:1.7 pearweb/include/pear-category.php:1.8 --- pearweb/include/pear-category.php:1.7 Mon Apr 1 12:20:59 2002 +++ pearweb/include/pear-category.php Sun Jun 9 19:05:54 2002 @@ -1,4 +1,23 @@ <?php +/* + +----------------------------------------------------------------------+ + | PEAR Web site version 1.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 2001 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: | + +----------------------------------------------------------------------+ + $Id: pear-category.php,v 1.8 2002/06/09 23:05:54 richard Exp $ +*/ + require 'HTML/Menu.php'; /* Transform the tree of categories in an assoc array Index: pearweb/include/pear-config.php diff -u pearweb/include/pear-config.php:1.4 pearweb/include/pear-config.php:1.5 --- pearweb/include/pear-config.php:1.4 Wed Apr 24 21:38:35 2002 +++ pearweb/include/pear-config.php Sun Jun 9 19:05:54 2002 @@ -1,4 +1,22 @@ <?php +/* + +----------------------------------------------------------------------+ + | PEAR Web site version 1.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 2001 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: | + +----------------------------------------------------------------------+ + $Id: pear-config.php,v 1.5 2002/06/09 23:05:54 richard Exp $ +*/ if (isset($_SERVER['PEAR_TMPDIR'])) { define('PEAR_TMPDIR', $_SERVER['PEAR_TMPDIR']); Index: pearweb/include/pear-debug.php diff -u pearweb/include/pear-debug.php:1.4 pearweb/include/pear-debug.php:1.5 --- pearweb/include/pear-debug.php:1.4 Sun Jan 27 12:44:24 2002 +++ pearweb/include/pear-debug.php Sun Jun 9 19:05:54 2002 @@ -1,5 +1,24 @@ <?php /* + +----------------------------------------------------------------------+ + | PEAR Web site version 1.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 2001 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: | + +----------------------------------------------------------------------+ + $Id: pear-debug.php,v 1.5 2002/06/09 23:05:54 richard Exp $ +*/ + +/* The PEAR Team debug functions (this is too personal for having only one for all ;-) */ @@ -11,21 +30,40 @@ } /* Richard */ - // Print Dump & Die - function pdd($var){ - echo '<pre>'; - print_r($var); - echo '</pre>'; - exit; + function pd($var) + { + dd($var, 'print_r'); } - /* Richard */ - // Var Dump & Die - function vdd($var){ + function vd($var) + { + dd($var, 'var_dump'); + } + + function pdd($var) + { + dd($var, 'print_r', true); + } + + function vdd($var) + { + dd($var, 'var_dump', true); + } + + function dd($var, $function, $exit = false) + { + ob_start(); + $function($var); + $output = ob_get_contents(); + ob_end_clean(); + echo '<pre>'; - var_dump($var); + echo htmlspecialchars($output); echo '</pre>'; - exit; + + if ($exit) { + exit; + } } /* Tomas */ Index: pearweb/include/pear-format-html.php diff -u pearweb/include/pear-format-html.php:1.40 pearweb/include/pear-format-html.php:1.41 --- pearweb/include/pear-format-html.php:1.40 Fri Jun 7 04:26:00 2002 +++ pearweb/include/pear-format-html.php Sun Jun 9 19:05:54 2002 @@ -1,4 +1,23 @@ <?php +/* + +----------------------------------------------------------------------+ + | PEAR Web site version 1.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 2001 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: | + +----------------------------------------------------------------------+ + $Id: pear-format-html.php,v 1.41 2002/06/09 23:05:54 richard Exp $ +*/ + /* Send charset */ header("Content-Type: text/html; charset=iso-8859-1"); Index: pearweb/include/pear-format-xmlrpc.php diff -u pearweb/include/pear-format-xmlrpc.php:1.5 pearweb/include/pear-format-xmlrpc.php:1.6 --- pearweb/include/pear-format-xmlrpc.php:1.5 Mon May 13 20:04:21 2002 +++ pearweb/include/pear-format-xmlrpc.php Sun Jun 9 19:05:54 2002 @@ -1,4 +1,22 @@ <?php +/* + +----------------------------------------------------------------------+ + | PEAR Web site version 1.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 2001 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: | + +----------------------------------------------------------------------+ + $Id: pear-format-xmlrpc.php,v 1.6 2002/06/09 23:05:54 richard Exp $ +*/ if (isset($_SERVER['PHP_AUTH_USER']) && !isset($_COOKIE['PEAR_USER'])) { $_COOKIE['PEAR_USER'] = $_SERVER['PHP_AUTH_USER']; Index: pearweb/include/pear-manual.php diff -u pearweb/include/pear-manual.php:1.13 pearweb/include/pear-manual.php:1.14 --- pearweb/include/pear-manual.php:1.13 Tue Apr 9 05:16:16 2002 +++ pearweb/include/pear-manual.php Sun Jun 9 19:05:54 2002 @@ -1,4 +1,23 @@ <?php // -*- C++ -*- +/* + +----------------------------------------------------------------------+ + | PEAR Web site version 1.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 2001 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: | + +----------------------------------------------------------------------+ + $Id: pear-manual.php,v 1.14 2002/06/09 23:05:54 richard Exp $ +*/ + $NEXT = $PREV = $UP = $HOME = array(false, false); $TOC = array(); Index: pearweb/include/pear-prepend.php diff -u pearweb/include/pear-prepend.php:1.31 pearweb/include/pear-prepend.php:1.32 --- pearweb/include/pear-prepend.php:1.31 Mon Jun 3 10:05:43 2002 +++ pearweb/include/pear-prepend.php Sun Jun 9 19:05:54 2002 @@ -1,4 +1,22 @@ <?php +/* + +----------------------------------------------------------------------+ + | PEAR Web site version 1.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 2001 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: | + +----------------------------------------------------------------------+ + $Id: pear-prepend.php,v 1.32 2002/06/09 23:05:54 richard Exp $ +*/ require_once "DB.php"; require_once "DB/storage.php"; Index: pearweb/include/renum.php diff -u pearweb/include/renum.php:1.1 pearweb/include/renum.php:1.2 --- pearweb/include/renum.php:1.1 Thu Sep 27 22:05:45 2001 +++ pearweb/include/renum.php Sun Jun 9 19:05:54 2002 @@ -1,4 +1,22 @@ <?php +/* + +----------------------------------------------------------------------+ + | PEAR Web site version 1.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 2001 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: | + +----------------------------------------------------------------------+ + $Id: renum.php,v 1.2 2002/06/09 23:05:54 richard Exp $ +*/ require_once "pear-config.php"; require_once "pear-debug.php"; Index: pearweb/include/site.php diff -u pearweb/include/site.php:1.8 pearweb/include/site.php:1.9 --- pearweb/include/site.php:1.8 Thu Mar 28 21:22:51 2002 +++ pearweb/include/site.php Sun Jun 9 19:05:54 2002 @@ -1,4 +1,23 @@ <?php +/* + +----------------------------------------------------------------------+ + | PEAR Web site version 1.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 2001 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: | + +----------------------------------------------------------------------+ + $Id: site.php,v 1.9 2002/06/09 23:05:54 richard Exp $ +*/ + /* Structure of MIRRORS array: 0 "country code", 1 "Mirror Name",
Index: pearweb/include/html_form.php diff -u pearweb/include/html_form.php:1.2 pearweb/include/html_form.php:1.3 --- pearweb/include/html_form.php:1.2 Wed Jul 19 03:51:09 2000 +++ pearweb/include/html_form.php Sun Jun 9 19:05:53 2002 @@ -1,4 +1,22 @@ <?php // -*- C++ -*- +/* + +----------------------------------------------------------------------+ + | PEAR Web site version 1.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 2001 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: | + +----------------------------------------------------------------------+ + $Id: html_form.php,v 1.3 2002/06/09 23:05:53 richard Exp $ +*/ // {{{ constants Index: pearweb/include/layout.php diff -u pearweb/include/layout.php:1.47 pearweb/include/layout.php:1.48 --- pearweb/include/layout.php:1.47 Tue May 21 17:36:55 2002 +++ pearweb/include/layout.php Sun Jun 9 19:05:53 2002 @@ -1,5 +1,22 @@ <?php -/* $Id: layout.php,v 1.47 2002/05/21 21:36:55 mj Exp $ */ +/* + +----------------------------------------------------------------------+ + | PEAR Web site version 1.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 2001 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: | + +----------------------------------------------------------------------+ + $Id: layout.php,v 1.48 2002/06/09 23:05:53 richard Exp $ +*/ require_once 'site.php'; Index: pearweb/include/pear-auth.php diff -u pearweb/include/pear-auth.php:1.22 pearweb/include/pear-auth.php:1.23 --- pearweb/include/pear-auth.php:1.22 Fri May 3 08:58:20 2002 +++ pearweb/include/pear-auth.php Sun Jun 9 19:05:53 2002 @@ -1,4 +1,22 @@ <?php +/* + +----------------------------------------------------------------------+ + | PEAR Web site version 1.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 2001 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: | + +----------------------------------------------------------------------+ + $Id: pear-auth.php,v 1.23 2002/06/09 23:05:53 richard Exp $ +*/ function auth_reject($realm = null, $message = null, $refresh = false) { Index: pearweb/include/pear-category.php diff -u pearweb/include/pear-category.php:1.7 pearweb/include/pear-category.php:1.8 --- pearweb/include/pear-category.php:1.7 Mon Apr 1 12:20:59 2002 +++ pearweb/include/pear-category.php Sun Jun 9 19:05:54 2002 @@ -1,4 +1,23 @@ <?php +/* + +----------------------------------------------------------------------+ + | PEAR Web site version 1.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 2001 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: | + +----------------------------------------------------------------------+ + $Id: pear-category.php,v 1.8 2002/06/09 23:05:54 richard Exp $ +*/ + require 'HTML/Menu.php'; /* Transform the tree of categories in an assoc array Index: pearweb/include/pear-config.php diff -u pearweb/include/pear-config.php:1.4 pearweb/include/pear-config.php:1.5 --- pearweb/include/pear-config.php:1.4 Wed Apr 24 21:38:35 2002 +++ pearweb/include/pear-config.php Sun Jun 9 19:05:54 2002 @@ -1,4 +1,22 @@ <?php +/* + +----------------------------------------------------------------------+ + | PEAR Web site version 1.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 2001 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: | + +----------------------------------------------------------------------+ + $Id: pear-config.php,v 1.5 2002/06/09 23:05:54 richard Exp $ +*/ if (isset($_SERVER['PEAR_TMPDIR'])) { define('PEAR_TMPDIR', $_SERVER['PEAR_TMPDIR']); Index: pearweb/include/pear-debug.php diff -u pearweb/include/pear-debug.php:1.4 pearweb/include/pear-debug.php:1.5 --- pearweb/include/pear-debug.php:1.4 Sun Jan 27 12:44:24 2002 +++ pearweb/include/pear-debug.php Sun Jun 9 19:05:54 2002 @@ -1,5 +1,24 @@ <?php /* + +----------------------------------------------------------------------+ + | PEAR Web site version 1.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 2001 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: | + +----------------------------------------------------------------------+ + $Id: pear-debug.php,v 1.5 2002/06/09 23:05:54 richard Exp $ +*/ + +/* The PEAR Team debug functions (this is too personal for having only one for all ;-) */ @@ -11,21 +30,40 @@ } /* Richard */ - // Print Dump & Die - function pdd($var){ - echo '<pre>'; - print_r($var); - echo '</pre>'; - exit; + function pd($var) + { + dd($var, 'print_r'); } - /* Richard */ - // Var Dump & Die - function vdd($var){ + function vd($var) + { + dd($var, 'var_dump'); + } + + function pdd($var) + { + dd($var, 'print_r', true); + } + + function vdd($var) + { + dd($var, 'var_dump', true); + } + + function dd($var, $function, $exit = false) + { + ob_start(); + $function($var); + $output = ob_get_contents(); + ob_end_clean(); + echo '<pre>'; - var_dump($var); + echo htmlspecialchars($output); echo '</pre>'; - exit; + + if ($exit) { + exit; + } } /* Tomas */ Index: pearweb/include/pear-format-html.php diff -u pearweb/include/pear-format-html.php:1.40 pearweb/include/pear-format-html.php:1.41 --- pearweb/include/pear-format-html.php:1.40 Fri Jun 7 04:26:00 2002 +++ pearweb/include/pear-format-html.php Sun Jun 9 19:05:54 2002 @@ -1,4 +1,23 @@ <?php +/* + +----------------------------------------------------------------------+ + | PEAR Web site version 1.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 2001 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: | + +----------------------------------------------------------------------+ + $Id: pear-format-html.php,v 1.41 2002/06/09 23:05:54 richard Exp $ +*/ + /* Send charset */ header("Content-Type: text/html; charset=iso-8859-1"); Index: pearweb/include/pear-format-xmlrpc.php diff -u pearweb/include/pear-format-xmlrpc.php:1.5 pearweb/include/pear-format-xmlrpc.php:1.6 --- pearweb/include/pear-format-xmlrpc.php:1.5 Mon May 13 20:04:21 2002 +++ pearweb/include/pear-format-xmlrpc.php Sun Jun 9 19:05:54 2002 @@ -1,4 +1,22 @@ <?php +/* + +----------------------------------------------------------------------+ + | PEAR Web site version 1.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 2001 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: | + +----------------------------------------------------------------------+ + $Id: pear-format-xmlrpc.php,v 1.6 2002/06/09 23:05:54 richard Exp $ +*/ if (isset($_SERVER['PHP_AUTH_USER']) && !isset($_COOKIE['PEAR_USER'])) { $_COOKIE['PEAR_USER'] = $_SERVER['PHP_AUTH_USER']; Index: pearweb/include/pear-manual.php diff -u pearweb/include/pear-manual.php:1.13 pearweb/include/pear-manual.php:1.14 --- pearweb/include/pear-manual.php:1.13 Tue Apr 9 05:16:16 2002 +++ pearweb/include/pear-manual.php Sun Jun 9 19:05:54 2002 @@ -1,4 +1,23 @@ <?php // -*- C++ -*- +/* + +----------------------------------------------------------------------+ + | PEAR Web site version 1.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 2001 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: | + +----------------------------------------------------------------------+ + $Id: pear-manual.php,v 1.14 2002/06/09 23:05:54 richard Exp $ +*/ + $NEXT = $PREV = $UP = $HOME = array(false, false); $TOC = array(); Index: pearweb/include/pear-prepend.php diff -u pearweb/include/pear-prepend.php:1.31 pearweb/include/pear-prepend.php:1.32 --- pearweb/include/pear-prepend.php:1.31 Mon Jun 3 10:05:43 2002 +++ pearweb/include/pear-prepend.php Sun Jun 9 19:05:54 2002 @@ -1,4 +1,22 @@ <?php +/* + +----------------------------------------------------------------------+ + | PEAR Web site version 1.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 2001 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: | + +----------------------------------------------------------------------+ + $Id: pear-prepend.php,v 1.32 2002/06/09 23:05:54 richard Exp $ +*/ require_once "DB.php"; require_once "DB/storage.php"; Index: pearweb/include/renum.php diff -u pearweb/include/renum.php:1.1 pearweb/include/renum.php:1.2 --- pearweb/include/renum.php:1.1 Thu Sep 27 22:05:45 2001 +++ pearweb/include/renum.php Sun Jun 9 19:05:54 2002 @@ -1,4 +1,22 @@ <?php +/* + +----------------------------------------------------------------------+ + | PEAR Web site version 1.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 2001 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: | + +----------------------------------------------------------------------+ + $Id: renum.php,v 1.2 2002/06/09 23:05:54 richard Exp $ +*/ require_once "pear-config.php"; require_once "pear-debug.php"; Index: pearweb/include/site.php diff -u pearweb/include/site.php:1.8 pearweb/include/site.php:1.9 --- pearweb/include/site.php:1.8 Thu Mar 28 21:22:51 2002 +++ pearweb/include/site.php Sun Jun 9 19:05:54 2002 @@ -1,4 +1,23 @@ <?php +/* + +----------------------------------------------------------------------+ + | PEAR Web site version 1.0 | + +----------------------------------------------------------------------+ + | Copyright (c) 2001 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: | + +----------------------------------------------------------------------+ + $Id: site.php,v 1.9 2002/06/09 23:05:54 richard Exp $ +*/ + /* Structure of MIRRORS array: 0 "country code", 1 "Mirror Name",