cvs: pearweb /include layout.php pear-format-html.php /public_html index.php
| From: | Stig Bakken | Date: | Fri, 27 Dec 2002 17:12:15 +0000 |
| Subject: | cvs: pearweb /include layout.php pear-format-html.php /public_html index.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-7965@lists.php.net to get a copy of this message | ||
ssb Fri Dec 27 12:12:15 2002 EDT
Modified files:
/pearweb/public_html index.php
/pearweb/include layout.php pear-format-html.php
Log:
* PEAR out of beta
Index: pearweb/public_html/index.php
diff -u pearweb/public_html/index.php:1.48 pearweb/public_html/index.php:1.49
--- pearweb/public_html/index.php:1.48 Tue Aug 13 11:47:46 2002
+++ pearweb/public_html/index.php Fri Dec 27 12:12:15 2002
@@ -15,10 +15,11 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: index.php,v 1.48 2002/08/13 15:47:46 mj Exp $
+ $Id: index.php,v 1.49 2002/12/27 17:12:15 ssb Exp $
*/
ini_set('y2k_compliance', 'on');
+
if ($_SERVER['QUERY_STRING'] == 'devme') {
$duration = 86400 * 360;
setcookie('pear_dev', 'on', time() + $duration, '/');
@@ -40,42 +41,58 @@
PEAR is a framework and distribution system for reusable PHP
components.
+See the <a href="/manual/en/faq.php">FAQ</a> and <a
+href="/manual/">manual</a> for more information.
+
<br />
-';
response_header();
+?>
+<h1>PEAR Out of Beta!</h1>
+
+<div style="margin-left:2em;margin-right:2em">
+The PEAR development team is proud to announce that PEAR finally is
+out of its long beta period. As of PHP 4.3, the PEAR installer is
+installed by default. Unix support is considered stable, while
+Windows and Darwin are still of beta-quality.
+<br /><br />
+Good luck, and thanks to all of you for your patience!<br />
+<a href="account-info.php?handle=ssb">Stig Bakken
<stig@php.net></a>
+</div>
+
+<?php
+
+echo hdelim();
menu_link("Documentation", "/manual/");
menu_link("Frequently Asked Questions", "/manual/en/faq.php");
menu_link("Weekly News", "/weeklynews.php");
-
-if (DEVBOX) {
- menu_link("Browse Packages", "packages.php");
- menu_link("Search Packages", "package-search.php");
- menu_link("Request PEAR Account", "account-request.php");
- echo hdelim();
- echo "<h3>Available when logged in:</h3>";
- menu_link("New Package", "package-new.php");
- menu_link("Upload Release", "release-upload.php");
- menu_link("Administrators", "admin.php");
- $recent = release::getRecent();
- if (@sizeof($recent) > 0) {
- $RSIDEBAR_DATA = "<h3>Recent Releases</h3>\n";
- $RSIDEBAR_DATA .= "<table>";
- foreach ($recent as $release) {
- extract($release);
- $releasedate = substr($releasedate, 0, 10);
- $desc = substr($releasenotes, 0, 40);
- if (strlen($releasenotes) > 40) {
- $desc .= '...';
- }
- $RSIDEBAR_DATA .= "<tr><td valign='top'
class='compact'>";
- $RSIDEBAR_DATA .= "<a
href=\"package-info.php?pacid=$id&release=$version\">";
-// $RSIDEBAR_DATA .= "$name $version</a><br /><font
size=\"-1\" face=\"arial
narrow,arial,helvetica,sans-serif\"><i>$releasedate:</i>$desc</font></td></tr>";
- $RSIDEBAR_DATA .= "$name $version</a><br
/><i>$releasedate:</i> $desc</td></tr>";
+menu_link("Browse Packages", "packages.php");
+menu_link("Search Packages", "package-search.php");
+menu_link("Request PEAR Account", "account-request.php");
+echo hdelim();
+echo "<h3>Available when logged in:</h3>";
+menu_link("New Package", "package-new.php");
+menu_link("Upload Release", "release-upload.php");
+menu_link("Administrators", "admin.php");
+$recent = release::getRecent();
+if (@sizeof($recent) > 0) {
+ $RSIDEBAR_DATA = "<h3>Recent Releases</h3>\n";
+ $RSIDEBAR_DATA .= "<table>";
+ foreach ($recent as $release) {
+ extract($release);
+ $releasedate = substr($releasedate, 0, 10);
+ $desc = substr($releasenotes, 0, 40);
+ if (strlen($releasenotes) > 40) {
+ $desc .= '...';
}
- $RSIDEBAR_DATA .= "</table>\n";
+ $RSIDEBAR_DATA .= "<tr><td valign='top'
class='compact'>";
+ $RSIDEBAR_DATA .= "<a
href=\"package-info.php?pacid=$id&release=$version\">";
+// $RSIDEBAR_DATA .= "$name $version</a><br /><font
size=\"-1\" face=\"arial
narrow,arial,helvetica,sans-serif\"><i>$releasedate:</i>$desc</font></td></tr>";
+ $RSIDEBAR_DATA .= "$name $version</a><br
/><i>$releasedate:</i> $desc</td></tr>";
}
+ $RSIDEBAR_DATA .= "</table>\n";
}
response_footer();
Index: pearweb/include/layout.php
diff -u pearweb/include/layout.php:1.53 pearweb/include/layout.php:1.54
--- pearweb/include/layout.php:1.53 Tue Oct 8 16:11:53 2002
+++ pearweb/include/layout.php Fri Dec 27 12:12:15 2002
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: layout.php,v 1.53 2002/10/08 20:11:53 mj Exp $
+ $Id: layout.php,v 1.54 2002/12/27 17:12:15 ssb Exp $
*/
if (empty($prevsearch)) $prevsearch = '';
@@ -194,7 +194,6 @@
}
?> topmargin="0" leftmargin="0"
marginheight="0" marginwidth="0"
- background="/gifs/beta_bg.gif"
bgcolor="#ffffff"
text="#000000"
link="#006600"
Index: pearweb/include/pear-format-html.php
diff -u pearweb/include/pear-format-html.php:1.46 pearweb/include/pear-format-html.php:1.47
--- pearweb/include/pear-format-html.php:1.46 Fri Aug 16 16:05:19 2002
+++ pearweb/include/pear-format-html.php Fri Dec 27 12:12:15 2002
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: pear-format-html.php,v 1.46 2002/08/16 20:05:19 richard Exp $
+ $Id: pear-format-html.php,v 1.47 2002/12/27 17:12:15 ssb Exp $
*/
/* Send charset */
@@ -60,7 +60,7 @@
$rts = rtrim($SIDEBAR_DATA);
if (substr($rts, -1) == '-') {
$SIDEBAR_DATA = substr($rts, 0, -1);
- } elseif (DEVBOX) { // For now only show bar on dev boxes
+ } else {
global $main_menu, $auth_user;
$SIDEBAR_DATA .= draw_navigation($main_menu);
init_auth_user();