cvs: /pearweb/public_html index.php
| From: | Stig Bakken | Date: | Mon, 28 Feb 2000 04:18:23 +0000 |
| Subject: | cvs: /pearweb/public_html index.php | ||
| Groups: | php.pear | ||
| Request: | Send a blank email to php-pear+get-6@lists.php.net to get a copy of this message | ||
ssb Sun Feb 27 20:18:23 2000 EDT
Modified files:
/pearweb/public_html index.php
Log:
don't display other menu items than documentation on the main site right now
Index: pearweb/public_html/index.php
diff -u pearweb/public_html/index.php:1.2 pearweb/public_html/index.php:1.3
--- pearweb/public_html/index.php:1.2 Sun Feb 27 20:15:09 2000
+++ pearweb/public_html/index.php Sun Feb 27 20:17:53 2000
@@ -1,16 +1,17 @@
<?php
-include("DB.php");
-
pageHeader();
print "<H1>PEAR: PHP Extension and Add-on Repository</H1>\n";
-print "<A HREF=\"add-package.php\">ADD NEW
PACKAGE</A><BR>\n";
-print "<A HREF=\"add-author.php\">ADD NEW AUTHOR</A><BR>\n";
-print "<A HREF=\"list-packages.php\">LIST
PACKAGES</A><BR>\n";
-print "<A HREF=\"list-authors.php\">LIST AUTHORS</A><BR>\n";
-print "<A HREF=\"domains.php\">DOMAIN
ADMINISTRATION</A><BR>\n";
+if ($SERVER_NAME != "pear.php.net") {
+ print "<A HREF=\"add-package.php\">ADD NEW
PACKAGE</A><BR>\n";
+ print "<A HREF=\"add-author.php\">ADD NEW
AUTHOR</A><BR>\n";
+ print "<A HREF=\"list-packages.php\">LIST
PACKAGES</A><BR>\n";
+ print "<A HREF=\"list-authors.php\">LIST
AUTHORS</A><BR>\n";
+ print "<A HREF=\"domains.php\">DOMAIN
ADMINISTRATION</A><BR>\n";
+}
+print "<H2><A HREF=\"doc/\">Documentation</A></H2>\n";
pageFooter();