cvs: pearweb /public_html index.php
| From: | Thomas V.V.Cox | Date: | Tue, 04 Sep 2001 03:03:26 +0000 |
| Subject: | cvs: pearweb /public_html index.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-780@lists.php.net to get a copy of this message | ||
cox Mon Sep 3 23:03:26 2001 EDT
Modified files:
/pearweb/public_html index.php
Log:
style/ws
Index: pearweb/public_html/index.php
diff -u pearweb/public_html/index.php:1.20 pearweb/public_html/index.php:1.21
--- pearweb/public_html/index.php:1.20 Sun Sep 2 20:04:31 2001
+++ pearweb/public_html/index.php Mon Sep 3 23:03:25 2001
@@ -1,12 +1,12 @@
<?php
-ini_set("y2k_compliance", "on");
+ini_set('y2k_compliance', 'on');
if ($HTTP_SERVER_VARS['QUERY_STRING'] == 'devme') {
$duration = 86400 * 360;
- setcookie("pear_dev", "on", time() + $duration, "/");
- $HTTP_COOKIE_VARS['pear_dev'] = "on";
+ setcookie('pear_dev', 'on', time() + $duration, '/');
+ $HTTP_COOKIE_VARS['pear_dev'] = 'on';
} elseif ($HTTP_SERVER_VARS['QUERY_STRING'] == 'undevme') {
- setcookie("pear_dev");
+ setcookie('pear_dev');
unset($HTTP_COOKIE_VARS['pear_dev']);
}
@@ -37,20 +37,20 @@
menu_link("Upload Release", "release-upload.php");
$recent = get_recent_releases();
if (@sizeof($recent) > 0) {
- print "<b>Recent Releases</b>\n";
- print "<table>";
- foreach ($recent as $release) {
- extract($release);
- print "<tr><td valign='top'><font size='-1'>";
- print "<a href=\"pkginfo.php?package=$name&release=$version\">";
- print "$name $version</a></font></td>";
- print "<td valign='top'><font size='-1'>";
- print "$doneby, $releasedate: $releasenotes</font></td></tr>\n";
- }
- print "</table>\n";
+ print "<b>Recent Releases</b>\n";
+ print "<table>";
+ foreach ($recent as $release) {
+ extract($release);
+ print "<tr><td valign='top'><font
size='-1'>";
+ print "<a
href=\"pkginfo.php?package=$name&release=$version\">";
+ print "$name $version</a></font></td>";
+ print "<td valign='top'><font size='-1'>";
+ print "$doneby, $releasedate:
$releasenotes</font></td></tr>\n";
+ }
+ print "</table>\n";
}
}
response_footer();
-?>
+?>
\ No newline at end of file