cvs: php-gtk-web / do_download.php download.php

[email protected] ("Steph Fox") Sat, 15 Jul 2006 05:45:58 -0000
Newsgroups php.gtk.webmaster
Message-ID <cvssfox1152942358@cvsserver>
sfox		Sat Jul 15 05:45:58 2006 UTC

  Modified files:              
    /php-gtk-web	do_download.php download.php 
  Log:
  prepare the download page
  
http://cvs.php.net/viewvc.cgi/php-gtk-web/do_download.php?r1=1.3&r2=1.4&diff_format=u
Index: php-gtk-web/do_download.php
diff -u php-gtk-web/do_download.php:1.3 php-gtk-web/do_download.php:1.4
--- php-gtk-web/do_download.php:1.3	Mon May 12 01:40:04 2003
+++ php-gtk-web/do_download.php	Sat Jul 15 05:45:58 2006
@@ -1,10 +1,10 @@
-<?
+<?php
+
 if (!isset($_SERVER['HTTP_REFERER'])) {
-	$_SERVER['HTTP_REFERER']="-";
+	$_SERVER['HTTP_REFERER'] = "-";
 }
 
-if (!isset($download_file)
-	|| !file_exists("distributions/$download_file")) {
+if (!isset($download_file) || !file_exists("distributions/$download_file")) {
 	exit("Invalid file requested for download!");
 }
 
http://cvs.php.net/viewvc.cgi/php-gtk-web/download.php?r1=1.38&r2=1.39&diff_format=u
Index: php-gtk-web/download.php
diff -u php-gtk-web/download.php:1.38 php-gtk-web/download.php:1.39
--- php-gtk-web/download.php:1.38	Thu Jul 13 05:33:32 2006
+++ php-gtk-web/download.php	Sat Jul 15 05:45:58 2006
@@ -5,38 +5,57 @@
 ?>
 
 <h1>Download</h1>
+<!--
+<h2>Latest Release of PHP-GTK 2</h2>
 
 <p>
-<b>Note:</b> PHP-GTK requires PHP 4.0.5 or greater (latest CVS version will work
-too). Versions 1.0.1 and later require PHP 4.3.x to build.
+<b>GTK+ version:</b>
+<br />
+PHP-GTK 2 currently supports GTK+ 2.6.9 or greater. You can obtain the latest
+stable release of GTK+ 2.x from <?php print_link('ftp://ftp.gtk.org/pub/gtk/'); ?>.
 </p>
 <p>
-PHP-GTK currently supports GTK+ v1.2.6 or greater, but not GTK+ v2.x. You can
-obtain the latest stable release 
-of GTK+ v1.2.x from <?php print_link('ftp://ftp.gtk.org/pub/gtk/v1.2/'); ?>.
+<b>PHP version:</b>
+<br />
+PHP-GTK 2 requires PHP 5.1.x or greater. The latest version of
+the PHP_5_2 branch in CVS will work, too.
 </p>
 
-<h2>Latest Stable Release</h2>
-
 <ul>
-<li><?php print_link('http://gtk.php.net/do_download.php?download_file=php-gtk-1.0.2.tar.gz', 'php-gtk-1.0.2 Source'); ?> - 15-Jul-2005</li>
-
-<li><?php print_link('http://gtk.php.net/do_download.php?download_file=php-gtk-1.0.1.tar.gz', 'php-gtk-1.0.1 Source'); ?> - 09-Aug-2004</li>
+<li><?php print_link('http://gtk.php.net/do_download.php?download_file=php-gtk-2.0.0zeta.tar.gz', 'php-gtk-2.0.0 zeta Source'); ?> - 15-Jul-2006</li>
+<li><?php print_link('http://gtk.php.net/do_download.php?download_file=php-gtk-2.0.0zeta-5_1-win32.zip', 'php-gtk-2.0.0 zeta Windows binary for PHP 5.1.*'); ?> - 15-Jul-2006</li>
+<li><?php print_link('http://gtk.php.net/do_download.php?download_file=php-gtk-2.0.0zeta-5_2-win32.zip', 'php-gtk-2.0.0 zeta Windows binary for PHP 5.2.*'); ?> - 15-Jul-2006</li>
+</ul>
 
-<!-- Bump off list
-<li><?php print_link('http://gtk.php.net/do_download.php?download_file=php-gtk-1.0.0.tar.gz', 'php-gtk-1.0.0 Source'); ?> - 23-Oct-2003</li>
+<hr />
 -->
+<h2>Latest Stable PHP-GTK Release</h2>
 
-<li><?php print_link('http://gtk.php.net/do_download.php?download_file=php-gtk-1.0.2-win32.zip', 'php-gtk-1.0.2 Windows and PHP Binaries'); ?> - 15-Jul-2005</li>
+<p>
+<b>GTK+ version:</b>
+<br />
+PHP-GTK currently supports GTK+ 1.2.6 or greater. You can obtain the
+latest stable release of GTK+ 1.2.x from
+<?php print_link('ftp://ftp.gtk.org/pub/gtk/v1.2/'); ?>.
+</p>
+<p>
+<b>PHP version:</b>
+<br />
+PHP-GTK 1 requires PHP 4.0.5 or greater, with versions from
+1.0.1 up requiring PHP 4.3.x to build.
+</p>
 
+<ul>
+<li><?php print_link('http://gtk.php.net/do_download.php?download_file=php-gtk-1.0.2.tar.gz', 'php-gtk-1.0.2 Source'); ?> - 15-Jul-2005</li>
+<li><?php print_link('http://gtk.php.net/do_download.php?download_file=php-gtk-1.0.1.tar.gz', 'php-gtk-1.0.1 Source'); ?> - 09-Aug-2004</li>
+<li><?php print_link('http://gtk.php.net/do_download.php?download_file=php-gtk-1.0.2-win32.zip', 'php-gtk-1.0.2 Windows and PHP Binaries'); ?> - 15-Jul-2005</li>
 <li><?php print_link('http://gtk.php.net/do_download.php?download_file=php-gtk-1.0.1a-win32.zip', 'php-gtk-1.0.1a Windows and PHP Binaries'); ?> - 25-Aug-2004</li>
-
 <li><?php print_link('http://gtk.php.net/do_download.php?download_file=php-gtk-1.0.0-win32.zip', 
 	'php-gtk-1.0.0 Windows and PHP Binaries including ComboButton, Extra, libGlade, Scintilla, Spaned, SQPane'); ?> - 23-Oct-2003</li>
-
-
 </ul>
 
+<hr />
+
 <h2>CVS Version</h2>
 
 <p>
@@ -44,7 +63,7 @@
 version of PHP-GTK directly from the PHP CVS server.
 </p>
 
-<ul>
+<ol>
 
 <li>
 Log in to the PHP anonymous CVS server (use <b>phpfi</b> as the password):
@@ -54,7 +73,13 @@
 </li>
 
 <li>
-Obtain the PHP-GTK tree:
+Obtain the PHP-GTK tree.
+<br />
+<br />For PHP-GTK 2:
+<pre>
+cvs -d :pserver:[email protected]:/repository co php-gtk
+</pre>
+For PHP-GTK 1:
 <pre>
 cvs -d :pserver:[email protected]:/repository co -r PHP_GTK_1 php-gtk
 </pre>
@@ -77,9 +102,8 @@
 </pre>
 </li>
 
-</ul>
+</ol>
 
-      
 <?php
 
 commonFooter();