cvs: php-gtk-web / download.php faq.php index.php license.php manual.php resources.php /images 120b2.gif 1b1.gif download.gif faq.gif manual.gif
php-gtk-logo.png php_gtk_logo.gif resources.gif /includes shared.inc
| From: | James Moore | Date: | Tue, 17 Apr 2001 20:47:54 +0000 |
| Subject: | cvs: php-gtk-web / download.php faq.php index.php license.php manual.php resources.php /images 120b2.gif 1b1.gif download.gif faq.gif manual.gif php-gtk-logo.png php_gtk_logo.gif resources.gif /includes shared.inc |
||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-1437@lists.php.net to get a copy of this message | ||
jmoore Tue Apr 17 13:47:54 2001 EDT
Added files:
/php-gtk-web download.php license.php manual.php resources.php
/php-gtk-web/images 120b2.gif 1b1.gif download.gif faq.gif
manual.gif php_gtk_logo.gif resources.gif
/php-gtk-web/includes shared.inc
Removed files:
/php-gtk-web/images php-gtk-logo.png
Modified files:
/php-gtk-web faq.php index.php
Log:
- Importing new site design for gtk.php.net
# - Comments on what you think would be nice and any problems
# you encouter.
Index: php-gtk-web/faq.php diff -u php-gtk-web/faq.php:1.11 php-gtk-web/faq.php:1.12 --- php-gtk-web/faq.php:1.11 Thu Apr 12 21:32:34 2001 +++ php-gtk-web/faq.php Tue Apr 17 13:47:52 2001 @@ -1,22 +1,22 @@ -<html> +<?php +require_once("includes/shared.inc"); -<head> -<title>PHP-GTK FAQ</title> -</head> +common_header(); -<body bgcolor="#ffffff"> +?> +<table width="80%" border="0" cellpadding="0" cellspacing="0" height="100%"> + <tr> + <td> + <div class="title">FAQ</div> + <p class="mtext"> -<font face="sans-serif" size=+1> -<b>PHP-GTK FAQ</b> -</font> - <ul> <li><a href="#1">What is PHP-GTK?</a> <li><a href="#2">Why is it not working with the browser/web server?</a> <li><a href="#3">How do I install PHP-GTK on Win32?</a> <li><a href="#4">How do I use the buttons in GtkFileSelection?</a> -<li><a href="#5">How do I know which GTK Classes are supported?<a> -<li><a href="#6">Can I use Themes under Win32?<a> +<li><a href="#5">How do I know which GTK Classes are supported?</a> +<li><a href="#6">Can I use Themes under Win32?</a> <li><a href="#7">Where do I go from here?</a> </ul> @@ -51,63 +51,71 @@ <dd>gmodule-1.3.dll<br> <dd>glib-1.3.dll<br> <dd>iconv-1.3.dll<br> -<dd>gnu-intl.dll<br> -<br> -php-gtk has NOT been tested on Windows 95/98<br> -<br><br> - -<a name="4"><b>How do I use the buttons in GtkFileSelection?</b></a><br> -<blockquote> -<code> -$fs = &new GtkFileSelection("Save file"); // Create the dialog window<br> -$ok_button = $fs->ok_button; // Get a handle to the Ok button<br> -$ok_button->connect("clicked", "enddialog"); // Connect a function<br> -$ok_button->connect_object("clicked", "destroy", $fs); // Connect the destroy action on the dialog window<br> -</code><br> -It is not currently possible to do it this way.<br><br> -<code> -$fs = &new GtkFileSelection("Save file"); // Create the dialog window<br> -$fs->ok_button->connect("clicked", "enddialog"); // Connect a function<br> -$fs->ok_button->connect_object("clicked", "destroy", $fs); // Connect the destroy action on the dialog window<br> -</code> -</blockquote> - -<br><br> -<a name="5"><b>How do I know which GTK Classes are supported?</b></a><br> -The following code will show the defined classes. All the php-gtk classes -will be listed along with one or two others. -<blockquote> -<code> -$array = get_declared_classes();<br> -while(list(,$classname) = each($array)) {<br> - echo $classname."\n";<br> -}<br> -</code> -</blockquote> -See the -<a href="http://www.php.net/manual/en/ref.classobj.php">Class/Object</a> -functions in the PHP Manual for other useful functions. -<br><br> - -<a name="6"><b>Can I use Themes under Win32?</b></a><br> -No, The Win32 GTK port does not currently support this. -<br> <br> - -<a name="7"><b>Where do I go from here?</b></a><br> -There are a number of sources popping up around the net for PHP-GTK. Here is a small list of the ones we know of: - -<ul> - <li><a href="http://gtk.php-coder.net">http://gtk.php-coder.net</a> - Current news, example applications, and some tutorials on how to use PHP-GTK. - <li><a href="http://www.phpgtk.com">http://www.phpgtk.com</a> - A windows installer and news about PHP-GTK - <li><a href="http://developer.gnome.org/doc/API/gtk/gtkobjects.html">GTK+ Reference Manual</a> - The GTK+ manual with a list of all widgets and their corresponding functions/attributes - <li><a href="http://www.phpuk.org/gtk/">PHP-GTK Manual</a> - The beginnings of the PHP-GTK official manual. Keep checking back for updates! - <li>#php-gtk IRC channel on EFNet has a few regulars who can most likely answer the questions you have. -</ul> - -More will be added to the list as they become available. Also, this page will soon be getting a makeover. -<br><br> - + <dd>gnu-intl.dll<br> + <br> + php-gtk has NOT been tested on Windows 95/98<br> + <br> + <br> + <a name="4"><b>How do I use the buttons in GtkFileSelection?</b></a><br> + <blockquote> <code> $fs = &new GtkFileSelection("Save file"); // + Create the dialog window<br> + $ok_button = $fs->ok_button; // Get a handle to the Ok button<br> + $ok_button->connect("clicked", "enddialog"); // Connect a function<br> + $ok_button->connect_object("clicked", "destroy", $fs); // Connect + the destroy action on the dialog window<br> + </code><br> + It is not currently possible to do it this way.<br> + <br> + <code> $fs = &new GtkFileSelection("Save file"); // Create the + dialog window<br> + $fs->ok_button->connect("clicked", "enddialog"); // Connect a + function<br> + $fs->ok_button->connect_object("clicked", "destroy", $fs); // + Connect the destroy action on the dialog window<br> + </code> </blockquote> + <br> + <br> + <a name="5"><b>How do I know which GTK Classes are supported?</b></a><br> + The following code will show the defined classes. All the php-gtk + classes will be listed along with one or two others. + <blockquote> <code> $array = get_declared_classes();<br> + while(list(,$classname) = each($array)) {<br> + echo $classname."\n";<br> + }<br> + </code> </blockquote> + See the <a href="http://www.php.net/manual/en/ref.classobj.php">Class/Object</a> + functions in the PHP Manual for other useful functions. <br> + <br> + <a name="6"><b>Can I use Themes under Win32?</b></a><br> + No, The Win32 GTK port does not currently support this. <br> + <br> + <a name="7"><b>Where do I go from here?</b></a><br> + There are a number of sources popping up around the net for PHP-GTK. + Here is a small list of the ones we know of: + <ul> + <li><a href="http://gtk.php-coder.net">http://gtk.php-coder.net</a> + - Current news, example applications, and some tutorials on + how to use PHP-GTK. + <li><a href="http://www.phpgtk.com">http://www.phpgtk.com</a> + - A windows installer and news about PHP-GTK + <li><a href="http://developer.gnome.org/doc/API/gtk/gtkobjects.html">GTK+ + Reference Manual</a> - The GTK+ manual with a list of all widgets + and their corresponding functions/attributes + <li><a href="http://www.phpuk.org/gtk/">PHP-GTK Manual</a> - The + beginnings of the PHP-GTK official manual. Keep checking back + for updates! + <li>#php-gtk IRC channel on EFNet has a few regulars who can most + likely answer the questions you have. + </ul> + More will be added to the list as they become available. Also, this + page will soon be getting a makeover. <br> + <br> + </td> + </tr> + </table> + +<?php -</body> +common_footer(); -</html> +?> \ No newline at end of file Index: php-gtk-web/index.php diff -u php-gtk-web/index.php:1.23 php-gtk-web/index.php:1.24 --- php-gtk-web/index.php:1.23 Thu Apr 5 12:37:13 2001 +++ php-gtk-web/index.php Tue Apr 17 13:47:52 2001 @@ -1,109 +1,35 @@ -<html> +<?php +require_once("includes/shared.inc"); -<head> -<title>PHP-GTK</title> -</head> +common_header(); -<body bgcolor="#ffffff"> +?> +<table width="80%" border="0" cellpadding="0" cellspacing="0" height="100%"> + <tr> + <td> + <div class="title">PHP-GTK</div> + <p class="mtext"> Too often PHP is thought of as only an HTML-embedded + Web scripting language. But it is also a very full-featured general + purpose language that can be used for much more. One of the goals + behind this project was to prove that PHP can be used to write client-side + GUI applications. </p> + <p class="mtext">There is a mailing list for PHP-GTK. To subsribe, + send blank email to <a href="mailto:php-gtk-subscribe@lists.php.net">php-gtk-subscribe@lists.php.net</a>. + The address of the list itself is <a href="mailto:php-gtk@lists.php.net">php-gtk@lists.php.net</a>. + The list is archived at <a href="http://marc.theaimsgroup.com/?l=php-gtk&r=1&w=2">MARC</a>. + </p> + <p class="mtext">This extension is still in early beta phase to not + expect everything to work right now. If you have problems then your + first port of call should be the manual and the mailing list. Any + php-gtk related questions should be sent to <a href="mailto:andrei@php.net">andrei@php.net</a> + unless they are related to the manual where they should be sent + to <a href="mailto:jmoore@php.net">jmoore@php.net</a>. If you have + a question or suggestion for the website you should contact <a href="mailto:miester@php.net">miester@php.net</a></p> + </td> + </tr> + </table> +<?php -<table border=0 width=100%> - <tr> - <td> - <font face="sans-serif" size=+1> - <b>PHP-GTK: PHP language bindings for GTK+</b> - </font> - </td> - <td align=right> - <img src="images/php-gtk-logo.png" width=128 height=67 border=0> - </td> - </tr> -</table> +common_footer(); -<p> -Too often PHP is thought of as only an HTML-embedded Web scripting language. But -it is also a very full-featured general purpose language that can be used for -much more. One of the goals behind this project was to prove that PHP can be -used to write client-side GUI applications. -</p> - -<p> -There is a mailing list for PHP-GTK. To subsribe, send blank email to -<a href="mailto: php-gtk-subscribe@lists.php.net">php-gtk-subscribe@lists.php.net</a>. -The address of the list itself is <a href="mailto:php-gtk@lists.php.net">php-gtk@lists.php.net</a>. -The list is archived at <a href="http://marc.theaimsgroup.com/?l=php-gtk&r=1&w=2">MARC</a>. -</p> - -<p> -<b>Note:</b> PHP-GTK currently requires the latest PHP version from CVS and will -work with 4.0.5 when it comes out. -</p> - -<p> -PHP-GTK currently supports GTK+ v1.2.6 or greater, but not GTK+ v2.0 -(which is still under development and won't be widely used for a while). You can -obtain the latest stable release of GTK+ v1.2.x from -<a href="ftp://ftp.gtk.org/pub/gtk/v1.2/">ftp://ftp.gtk.org/pub/gtk/v1.2/</a>. -</p> - -<blockquote type="cite"> -<b>Warning!</b><i> This code is a highly experimental adaptation of the -instructions beamed to us by the friendly aliens of Tau Ceti. The API can and -</i>will<i> be changing, evolving, and unpredictably morphing into little furry -Ewoks, fluorescent killer bunny rabbits, and the knights who say 'Nee'. Use the -code at your own risk, as it may cause flooding, polydactism, frogs falling from -the sky, and the return of the Inca empire. And it will definitely warp -space-time continuum in your local area.</i> -</blockquote> - -<p> -Latest stable release: -<blockquote> - <a href="do_download.php?download_file=php-gtk-0.0.3.tar.gz">php-gtk-0.0.3 (Source)</a> (20-Mar-2001)<br> - <a href="do_download.php?download_file=php-gtk-0.0.3-win32.zip">php-gtk-0.0.3 (Windows and php binary)</a> (20-Mar-2001) -</blockquote> - -<p> -Alternatively, you can get the latest and greatest version of PHP-GTK directly -from the PHP CVS server. -</p> - -<blockquote> -<code><b> -cvs -d :pserver:cvsread@cvs.php.net:/repository login<br> -(Logging in to cvsread@cvs.php.net)<br> -CVS password: phpfi<br><br> - -cvs -d :pserver:cvsread@cvs.php.net:/repository co php-gtk<br><br> - -cd php-gtk<br> -phpize<br> -./configure<br> -make<br> -make install<br> -</b></code> -</blockquote> - -<p> -Look inside <b>test/</b> subdirectory for usage examples. Documentation is being -worked on at the moment, so if you want to help out, join the list and let us -know what you are interested in. -</p> - - -<p> -If you have any questions, please read the <a href="faq.php">FAQ</a> and then -contact me at <a href="mailto: andrei@php.net">andrei@php.net</a> or ask on the -mailing list. -</p> - -<p> -If you find any oddities on the website, please don't email Andrei, instead contact me at <a href="mailto: miester@php.net">miester@php.net</a> or Jared at <a href="mailto: jskinner@emphaticmedia.com">jskinner@emphaticmedia.com</a>. -</p> - - -<hr> -<font size=-1><i>Last updated: <?php echo strftime('%d-%B-%Y', getlastmod()); ?></font> - -</body> - -</html> +?> \ No newline at end of file Index: php-gtk-web/download.php +++ php-gtk-web/download.php <?php require_once("includes/shared.inc"); common_header(); ?> <table width="80%" border="0" cellpadding="0" cellspacing="0" height="100%"> <tr> <td> <div class="title">Download</div> <p class="mtext"> <b>Note:</b> PHP-GTK currently requires the latest PHP version from CVS and will work with 4.0.5 when it comes out</p> <p class="mtext">PHP-GTK currently supports GTK+ v1.2.6 or greater, but not GTK+ v2.0 (which is still under development and won't be widely used for a while). You can obtain the latest stable release of GTK+ v1.2.x from <a href="ftp://ftp.gtk.org/pub/gtk/v1.2/">ftp://ftp.gtk.org/pub/gtk/v1.2/</a>. </p> <blockquote> <p><b>Warning!</b> This code is a highly experimental adaptation of the instructions beamed to us by the friendly aliens of Tau Ceti. The API can and will be changing, evolving, and unpredictably morphing into little furry Ewoks, fluorescent killer bunny rabbits, and the knights who say 'Nee'. Use the code at your own risk, as it may cause flooding, polydactism, frogs falling from the sky, and the return of the Inca empire. And it will definitely warp space-time continuum in your local area. </p> </blockquote> <p class="mtext"><b>Latest stable release: </b></p> <p class="mtext"><a href="http://gtk.php.net/do_download.php?download_file=php-gtk-0.0.3.tar.gz">php-gtk-0.0.3 (Source)</a> (20-Mar-2001) <br> <a href="http://gtk.php.net/do_download.php?download_file=php-gtk-0.0.3-win32.zip">php-gtk-0.0.3 (Windows and php binary)</a> (20-Mar-2001) </p> <p class="mtext">Alternatively, you can get the latest and greatest version of PHP-GTK directly from the PHP CVS server. </p> <blockquote> <p class="mtext"><b>cvs -d :pserver:cvsread@cvs.php.net:/repository login <br> (Logging in to cvsread@cvs.php.net) <br> CVS password: phpfi</b></p> </blockquote> <blockquote> <p class="mtext"><br> <b>cvs -d :pserver:cvsread@cvs.php.net:/repository co php-gtk <br> cd php-gtk <br> phpize <br> ./configure <br> make <br> make install</b></p> </blockquote> </td> </tr> </table> <?php common_footer(); ?> Index: php-gtk-web/license.php +++ php-gtk-web/license.php <?php require_once("includes/shared.inc"); common_header(); ?> <table width="80%" border="0" cellpadding="0" cellspacing="0" height="100%"> <tr> <td> <div class="title">Copyright and Licence</div> <h2>Website Copyright</h2> <P> The code, text, PHP logo, and graphical elements on this website and the mirror websites (the "Site") are Copyright © 2001 The PHP-GTK Team. All rights reserved. </P> <P> Except as otherwise indicated elsewhere on this Site, you are free view, download and print the documents and information available on this Site subject to the following conditions: </P> <UL> <LI>You may not remove any copyright or other proprietary notices contained in the documents and information on this Site. <LI>The rights granted to you constitute a license and not a transfer of title. <LI>The rights specified above to view, download and print the documents and information available on this Site are not applicable to the graphical elements, design or layout of this Site. These elements of the Site are protected by trade dress and other laws and may not be copied or imitated in whole or in part. </UL> <P> You can contact the webmaster at <a href="mailto:miester@php.net">miester@php.net</a> </P> <P> For more information on the PHP-GTK Team and the PHP-GTK project, please see <a href="http://gtk.php.net/">http://gtk.php.net/</a>. </P> <BR> </td> </tr> </table> <?php common_footer(); ?> Index: php-gtk-web/manual.php +++ php-gtk-web/manual.php <?php require_once("includes/shared.inc"); common_header(); ?> <table width="80%" border="0" cellpadding="0" cellspacing="0" height="100%"> <tr> <td> <div class="title">Manual</div> <p class="mtext">The PHP-GTK manual is currently being written by a team of little easter bunnies.This means the manual is not here right now but you can see the latest development version at <a href="http://www.phpuk.org/gtk/">http://www.phpuk.org/gtk/</a></p> <p class="mtext">If you have some time to spear then please help us with the manual. We need lots of people to document all of the objects, wether you want to write the docs or are willing to check the example code and comment on the content of the documentation please drop me a line at <a href="mailto:jmoore@php.net">jmoore@php.net</a>. Any help is greatfully recieved.</p> <p class="mtext"> </p> <blockquote> </blockquote> </td> </tr> </table> <?php common_footer(); ?> Index: php-gtk-web/resources.php +++ php-gtk-web/resources.php <?php require_once("includes/shared.inc"); common_header(); ?> <table width="80%" border="0" cellpadding="0" cellspacing="0" height="100%"> <tr> <td> <div class="title">Resources</div> <p class="mtext">There are various resources for PHP-GTK appearing, below are listed the ones that we are aware of, if you know of others please email the webmaster at <a href="mailto:miester@php.net">miester@php.net</a></p> <p class="title2">Sites</p> <p class="mtext"><a href="http://gtk.php-coder.net/"><b>http://gtk.php-coder.net/</b></a><br> This site provides some basic howto's and news about PHP-GTK. </p> <p class="mtext"><a href="http://www.phpgtk.com/"><b>http://www.phpgtk.com/</b></a><br> A Windows install and PHP-GTK news site. </p> <blockquote> </blockquote> </td> </tr> </table> <?php common_footer(); ?> Index: php-gtk-web/includes/shared.inc +++ php-gtk-web/includes/shared.inc <?php function common_header($title = "PHP-GTK") { ?> <html> <!-- Start: common header --> <head> <title>PHP-GTK: PHP language bindings for GTK+ </title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> <!-- title { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 36px; font-style: normal; font-weight: bolder} mtext { font-family: "Times New Roman", Times, serif; font-size: 12pt; font-style: normal} a { text-decoration:none } title2 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 24px; font-style: normal; font-weight: bolder} --> </style> </head> <body bgcolor="#FFFFFF" text="#000000" link="#5B69A6" vlink="#5B69A6" alink="#FF0000" leftmargin="0" rightmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr bgcolor="#0080e5"> <td width="132" bgcolor="#0080e5" height="74"><img src="images/php_gtk_logo.gif" width="128" height="67"></td> <td width="622" height="74" bgcolor="#0080e5"> <h1> <font face="Arial, Helvetica, sans-serif" class="title" size="+6"> <?php echo $title; ?> </font> </h1> </td> <td width="505" height="74"> </td> </tr> <tr bgcolor="#0080e5"> <td colspan="3" bgcolor="#000000" height="2"><img src="images/1b1.gif" width="100%" height="2"></td> </tr> </table> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td width="120" bgcolor="#ffffff" background="images/120b2.gif" valign="top"> <table width="120" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="images/120b2.gif" width="120" height="70"></td> </tr> <tr> <td><a href="download.php"><img src="images/download.gif" width="120" height="30" alt="Information" border="0"></a></td> </tr> <tr> <td><a href="manual.php"><img src="images/manual.gif" width="120" height="28" alt="Meetings" border="0"></a></td> </tr> <tr> <td><a href="resources.php"><img src="images/resources.gif" width="120" height="28" alt="Developers" border="0"></a></td> </tr> <tr> <td><a href="faq.php"><img src="images/faq.gif" width="120" height="28" alt="Resources" border="0"></a></td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td><img src="images/120b2.gif" width="120" height="70"></td> </tr> <td></td> </tr> </table> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"> </table> </td> <td valign="top"> <!-- End: common header --> <?php } function common_footer() { ?> <!-- Start: Common Footer --> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr bgcolor="#000000"> <td colspan="2" height="2"><img src="images/1b1.gif" width="100%" height="2"></td> </tr> <tr> <td> <div align="right"> <p><font size="1" face="Arial, Helvetica, sans-serif">This site is subject to the following<font color="#0080e5"> <a href="license.php"><font color="#5B69A6">license</font></a></font><br> Questions about PHP-GTK should be sent <font color="#5B69A6"><a href="mailto:info@phpuk.org">here</a></font><br> Questions about the website shoud be sent to<font color="#5B69A6"> <a href="mailto:miester@php.net">miester@php.netg</a></font><br> </font></p> </div> </td> </tr> </table> </body> </html> <?php } ?>
Index: php-gtk-web/faq.php diff -u php-gtk-web/faq.php:1.11 php-gtk-web/faq.php:1.12 --- php-gtk-web/faq.php:1.11 Thu Apr 12 21:32:34 2001 +++ php-gtk-web/faq.php Tue Apr 17 13:47:52 2001 @@ -1,22 +1,22 @@ -<html> +<?php +require_once("includes/shared.inc"); -<head> -<title>PHP-GTK FAQ</title> -</head> +common_header(); -<body bgcolor="#ffffff"> +?> +<table width="80%" border="0" cellpadding="0" cellspacing="0" height="100%"> + <tr> + <td> + <div class="title">FAQ</div> + <p class="mtext"> -<font face="sans-serif" size=+1> -<b>PHP-GTK FAQ</b> -</font> - <ul> <li><a href="#1">What is PHP-GTK?</a> <li><a href="#2">Why is it not working with the browser/web server?</a> <li><a href="#3">How do I install PHP-GTK on Win32?</a> <li><a href="#4">How do I use the buttons in GtkFileSelection?</a> -<li><a href="#5">How do I know which GTK Classes are supported?<a> -<li><a href="#6">Can I use Themes under Win32?<a> +<li><a href="#5">How do I know which GTK Classes are supported?</a> +<li><a href="#6">Can I use Themes under Win32?</a> <li><a href="#7">Where do I go from here?</a> </ul> @@ -51,63 +51,71 @@ <dd>gmodule-1.3.dll<br> <dd>glib-1.3.dll<br> <dd>iconv-1.3.dll<br> -<dd>gnu-intl.dll<br> -<br> -php-gtk has NOT been tested on Windows 95/98<br> -<br><br> - -<a name="4"><b>How do I use the buttons in GtkFileSelection?</b></a><br> -<blockquote> -<code> -$fs = &new GtkFileSelection("Save file"); // Create the dialog window<br> -$ok_button = $fs->ok_button; // Get a handle to the Ok button<br> -$ok_button->connect("clicked", "enddialog"); // Connect a function<br> -$ok_button->connect_object("clicked", "destroy", $fs); // Connect the destroy action on the dialog window<br> -</code><br> -It is not currently possible to do it this way.<br><br> -<code> -$fs = &new GtkFileSelection("Save file"); // Create the dialog window<br> -$fs->ok_button->connect("clicked", "enddialog"); // Connect a function<br> -$fs->ok_button->connect_object("clicked", "destroy", $fs); // Connect the destroy action on the dialog window<br> -</code> -</blockquote> - -<br><br> -<a name="5"><b>How do I know which GTK Classes are supported?</b></a><br> -The following code will show the defined classes. All the php-gtk classes -will be listed along with one or two others. -<blockquote> -<code> -$array = get_declared_classes();<br> -while(list(,$classname) = each($array)) {<br> - echo $classname."\n";<br> -}<br> -</code> -</blockquote> -See the -<a href="http://www.php.net/manual/en/ref.classobj.php">Class/Object</a> -functions in the PHP Manual for other useful functions. -<br><br> - -<a name="6"><b>Can I use Themes under Win32?</b></a><br> -No, The Win32 GTK port does not currently support this. -<br> <br> - -<a name="7"><b>Where do I go from here?</b></a><br> -There are a number of sources popping up around the net for PHP-GTK. Here is a small list of the ones we know of: - -<ul> - <li><a href="http://gtk.php-coder.net">http://gtk.php-coder.net</a> - Current news, example applications, and some tutorials on how to use PHP-GTK. - <li><a href="http://www.phpgtk.com">http://www.phpgtk.com</a> - A windows installer and news about PHP-GTK - <li><a href="http://developer.gnome.org/doc/API/gtk/gtkobjects.html">GTK+ Reference Manual</a> - The GTK+ manual with a list of all widgets and their corresponding functions/attributes - <li><a href="http://www.phpuk.org/gtk/">PHP-GTK Manual</a> - The beginnings of the PHP-GTK official manual. Keep checking back for updates! - <li>#php-gtk IRC channel on EFNet has a few regulars who can most likely answer the questions you have. -</ul> - -More will be added to the list as they become available. Also, this page will soon be getting a makeover. -<br><br> - + <dd>gnu-intl.dll<br> + <br> + php-gtk has NOT been tested on Windows 95/98<br> + <br> + <br> + <a name="4"><b>How do I use the buttons in GtkFileSelection?</b></a><br> + <blockquote> <code> $fs = &new GtkFileSelection("Save file"); // + Create the dialog window<br> + $ok_button = $fs->ok_button; // Get a handle to the Ok button<br> + $ok_button->connect("clicked", "enddialog"); // Connect a function<br> + $ok_button->connect_object("clicked", "destroy", $fs); // Connect + the destroy action on the dialog window<br> + </code><br> + It is not currently possible to do it this way.<br> + <br> + <code> $fs = &new GtkFileSelection("Save file"); // Create the + dialog window<br> + $fs->ok_button->connect("clicked", "enddialog"); // Connect a + function<br> + $fs->ok_button->connect_object("clicked", "destroy", $fs); // + Connect the destroy action on the dialog window<br> + </code> </blockquote> + <br> + <br> + <a name="5"><b>How do I know which GTK Classes are supported?</b></a><br> + The following code will show the defined classes. All the php-gtk + classes will be listed along with one or two others. + <blockquote> <code> $array = get_declared_classes();<br> + while(list(,$classname) = each($array)) {<br> + echo $classname."\n";<br> + }<br> + </code> </blockquote> + See the <a href="http://www.php.net/manual/en/ref.classobj.php">Class/Object</a> + functions in the PHP Manual for other useful functions. <br> + <br> + <a name="6"><b>Can I use Themes under Win32?</b></a><br> + No, The Win32 GTK port does not currently support this. <br> + <br> + <a name="7"><b>Where do I go from here?</b></a><br> + There are a number of sources popping up around the net for PHP-GTK. + Here is a small list of the ones we know of: + <ul> + <li><a href="http://gtk.php-coder.net">http://gtk.php-coder.net</a> + - Current news, example applications, and some tutorials on + how to use PHP-GTK. + <li><a href="http://www.phpgtk.com">http://www.phpgtk.com</a> + - A windows installer and news about PHP-GTK + <li><a href="http://developer.gnome.org/doc/API/gtk/gtkobjects.html">GTK+ + Reference Manual</a> - The GTK+ manual with a list of all widgets + and their corresponding functions/attributes + <li><a href="http://www.phpuk.org/gtk/">PHP-GTK Manual</a> - The + beginnings of the PHP-GTK official manual. Keep checking back + for updates! + <li>#php-gtk IRC channel on EFNet has a few regulars who can most + likely answer the questions you have. + </ul> + More will be added to the list as they become available. Also, this + page will soon be getting a makeover. <br> + <br> + </td> + </tr> + </table> + +<?php -</body> +common_footer(); -</html> +?> \ No newline at end of file Index: php-gtk-web/index.php diff -u php-gtk-web/index.php:1.23 php-gtk-web/index.php:1.24 --- php-gtk-web/index.php:1.23 Thu Apr 5 12:37:13 2001 +++ php-gtk-web/index.php Tue Apr 17 13:47:52 2001 @@ -1,109 +1,35 @@ -<html> +<?php +require_once("includes/shared.inc"); -<head> -<title>PHP-GTK</title> -</head> +common_header(); -<body bgcolor="#ffffff"> +?> +<table width="80%" border="0" cellpadding="0" cellspacing="0" height="100%"> + <tr> + <td> + <div class="title">PHP-GTK</div> + <p class="mtext"> Too often PHP is thought of as only an HTML-embedded + Web scripting language. But it is also a very full-featured general + purpose language that can be used for much more. One of the goals + behind this project was to prove that PHP can be used to write client-side + GUI applications. </p> + <p class="mtext">There is a mailing list for PHP-GTK. To subsribe, + send blank email to <a href="mailto:php-gtk-subscribe@lists.php.net">php-gtk-subscribe@lists.php.net</a>. + The address of the list itself is <a href="mailto:php-gtk@lists.php.net">php-gtk@lists.php.net</a>. + The list is archived at <a href="http://marc.theaimsgroup.com/?l=php-gtk&r=1&w=2">MARC</a>. + </p> + <p class="mtext">This extension is still in early beta phase to not + expect everything to work right now. If you have problems then your + first port of call should be the manual and the mailing list. Any + php-gtk related questions should be sent to <a href="mailto:andrei@php.net">andrei@php.net</a> + unless they are related to the manual where they should be sent + to <a href="mailto:jmoore@php.net">jmoore@php.net</a>. If you have + a question or suggestion for the website you should contact <a href="mailto:miester@php.net">miester@php.net</a></p> + </td> + </tr> + </table> +<?php -<table border=0 width=100%> - <tr> - <td> - <font face="sans-serif" size=+1> - <b>PHP-GTK: PHP language bindings for GTK+</b> - </font> - </td> - <td align=right> - <img src="images/php-gtk-logo.png" width=128 height=67 border=0> - </td> - </tr> -</table> +common_footer(); -<p> -Too often PHP is thought of as only an HTML-embedded Web scripting language. But -it is also a very full-featured general purpose language that can be used for -much more. One of the goals behind this project was to prove that PHP can be -used to write client-side GUI applications. -</p> - -<p> -There is a mailing list for PHP-GTK. To subsribe, send blank email to -<a href="mailto: php-gtk-subscribe@lists.php.net">php-gtk-subscribe@lists.php.net</a>. -The address of the list itself is <a href="mailto:php-gtk@lists.php.net">php-gtk@lists.php.net</a>. -The list is archived at <a href="http://marc.theaimsgroup.com/?l=php-gtk&r=1&w=2">MARC</a>. -</p> - -<p> -<b>Note:</b> PHP-GTK currently requires the latest PHP version from CVS and will -work with 4.0.5 when it comes out. -</p> - -<p> -PHP-GTK currently supports GTK+ v1.2.6 or greater, but not GTK+ v2.0 -(which is still under development and won't be widely used for a while). You can -obtain the latest stable release of GTK+ v1.2.x from -<a href="ftp://ftp.gtk.org/pub/gtk/v1.2/">ftp://ftp.gtk.org/pub/gtk/v1.2/</a>. -</p> - -<blockquote type="cite"> -<b>Warning!</b><i> This code is a highly experimental adaptation of the -instructions beamed to us by the friendly aliens of Tau Ceti. The API can and -</i>will<i> be changing, evolving, and unpredictably morphing into little furry -Ewoks, fluorescent killer bunny rabbits, and the knights who say 'Nee'. Use the -code at your own risk, as it may cause flooding, polydactism, frogs falling from -the sky, and the return of the Inca empire. And it will definitely warp -space-time continuum in your local area.</i> -</blockquote> - -<p> -Latest stable release: -<blockquote> - <a href="do_download.php?download_file=php-gtk-0.0.3.tar.gz">php-gtk-0.0.3 (Source)</a> (20-Mar-2001)<br> - <a href="do_download.php?download_file=php-gtk-0.0.3-win32.zip">php-gtk-0.0.3 (Windows and php binary)</a> (20-Mar-2001) -</blockquote> - -<p> -Alternatively, you can get the latest and greatest version of PHP-GTK directly -from the PHP CVS server. -</p> - -<blockquote> -<code><b> -cvs -d :pserver:cvsread@cvs.php.net:/repository login<br> -(Logging in to cvsread@cvs.php.net)<br> -CVS password: phpfi<br><br> - -cvs -d :pserver:cvsread@cvs.php.net:/repository co php-gtk<br><br> - -cd php-gtk<br> -phpize<br> -./configure<br> -make<br> -make install<br> -</b></code> -</blockquote> - -<p> -Look inside <b>test/</b> subdirectory for usage examples. Documentation is being -worked on at the moment, so if you want to help out, join the list and let us -know what you are interested in. -</p> - - -<p> -If you have any questions, please read the <a href="faq.php">FAQ</a> and then -contact me at <a href="mailto: andrei@php.net">andrei@php.net</a> or ask on the -mailing list. -</p> - -<p> -If you find any oddities on the website, please don't email Andrei, instead contact me at <a href="mailto: miester@php.net">miester@php.net</a> or Jared at <a href="mailto: jskinner@emphaticmedia.com">jskinner@emphaticmedia.com</a>. -</p> - - -<hr> -<font size=-1><i>Last updated: <?php echo strftime('%d-%B-%Y', getlastmod()); ?></font> - -</body> - -</html> +?> \ No newline at end of file Index: php-gtk-web/download.php +++ php-gtk-web/download.php <?php require_once("includes/shared.inc"); common_header(); ?> <table width="80%" border="0" cellpadding="0" cellspacing="0" height="100%"> <tr> <td> <div class="title">Download</div> <p class="mtext"> <b>Note:</b> PHP-GTK currently requires the latest PHP version from CVS and will work with 4.0.5 when it comes out</p> <p class="mtext">PHP-GTK currently supports GTK+ v1.2.6 or greater, but not GTK+ v2.0 (which is still under development and won't be widely used for a while). You can obtain the latest stable release of GTK+ v1.2.x from <a href="ftp://ftp.gtk.org/pub/gtk/v1.2/">ftp://ftp.gtk.org/pub/gtk/v1.2/</a>. </p> <blockquote> <p><b>Warning!</b> This code is a highly experimental adaptation of the instructions beamed to us by the friendly aliens of Tau Ceti. The API can and will be changing, evolving, and unpredictably morphing into little furry Ewoks, fluorescent killer bunny rabbits, and the knights who say 'Nee'. Use the code at your own risk, as it may cause flooding, polydactism, frogs falling from the sky, and the return of the Inca empire. And it will definitely warp space-time continuum in your local area. </p> </blockquote> <p class="mtext"><b>Latest stable release: </b></p> <p class="mtext"><a href="http://gtk.php.net/do_download.php?download_file=php-gtk-0.0.3.tar.gz">php-gtk-0.0.3 (Source)</a> (20-Mar-2001) <br> <a href="http://gtk.php.net/do_download.php?download_file=php-gtk-0.0.3-win32.zip">php-gtk-0.0.3 (Windows and php binary)</a> (20-Mar-2001) </p> <p class="mtext">Alternatively, you can get the latest and greatest version of PHP-GTK directly from the PHP CVS server. </p> <blockquote> <p class="mtext"><b>cvs -d :pserver:cvsread@cvs.php.net:/repository login <br> (Logging in to cvsread@cvs.php.net) <br> CVS password: phpfi</b></p> </blockquote> <blockquote> <p class="mtext"><br> <b>cvs -d :pserver:cvsread@cvs.php.net:/repository co php-gtk <br> cd php-gtk <br> phpize <br> ./configure <br> make <br> make install</b></p> </blockquote> </td> </tr> </table> <?php common_footer(); ?> Index: php-gtk-web/license.php +++ php-gtk-web/license.php <?php require_once("includes/shared.inc"); common_header(); ?> <table width="80%" border="0" cellpadding="0" cellspacing="0" height="100%"> <tr> <td> <div class="title">Copyright and Licence</div> <h2>Website Copyright</h2> <P> The code, text, PHP logo, and graphical elements on this website and the mirror websites (the "Site") are Copyright © 2001 The PHP-GTK Team. All rights reserved. </P> <P> Except as otherwise indicated elsewhere on this Site, you are free view, download and print the documents and information available on this Site subject to the following conditions: </P> <UL> <LI>You may not remove any copyright or other proprietary notices contained in the documents and information on this Site. <LI>The rights granted to you constitute a license and not a transfer of title. <LI>The rights specified above to view, download and print the documents and information available on this Site are not applicable to the graphical elements, design or layout of this Site. These elements of the Site are protected by trade dress and other laws and may not be copied or imitated in whole or in part. </UL> <P> You can contact the webmaster at <a href="mailto:miester@php.net">miester@php.net</a> </P> <P> For more information on the PHP-GTK Team and the PHP-GTK project, please see <a href="http://gtk.php.net/">http://gtk.php.net/</a>. </P> <BR> </td> </tr> </table> <?php common_footer(); ?> Index: php-gtk-web/manual.php +++ php-gtk-web/manual.php <?php require_once("includes/shared.inc"); common_header(); ?> <table width="80%" border="0" cellpadding="0" cellspacing="0" height="100%"> <tr> <td> <div class="title">Manual</div> <p class="mtext">The PHP-GTK manual is currently being written by a team of little easter bunnies.This means the manual is not here right now but you can see the latest development version at <a href="http://www.phpuk.org/gtk/">http://www.phpuk.org/gtk/</a></p> <p class="mtext">If you have some time to spear then please help us with the manual. We need lots of people to document all of the objects, wether you want to write the docs or are willing to check the example code and comment on the content of the documentation please drop me a line at <a href="mailto:jmoore@php.net">jmoore@php.net</a>. Any help is greatfully recieved.</p> <p class="mtext"> </p> <blockquote> </blockquote> </td> </tr> </table> <?php common_footer(); ?> Index: php-gtk-web/resources.php +++ php-gtk-web/resources.php <?php require_once("includes/shared.inc"); common_header(); ?> <table width="80%" border="0" cellpadding="0" cellspacing="0" height="100%"> <tr> <td> <div class="title">Resources</div> <p class="mtext">There are various resources for PHP-GTK appearing, below are listed the ones that we are aware of, if you know of others please email the webmaster at <a href="mailto:miester@php.net">miester@php.net</a></p> <p class="title2">Sites</p> <p class="mtext"><a href="http://gtk.php-coder.net/"><b>http://gtk.php-coder.net/</b></a><br> This site provides some basic howto's and news about PHP-GTK. </p> <p class="mtext"><a href="http://www.phpgtk.com/"><b>http://www.phpgtk.com/</b></a><br> A Windows install and PHP-GTK news site. </p> <blockquote> </blockquote> </td> </tr> </table> <?php common_footer(); ?> Index: php-gtk-web/includes/shared.inc +++ php-gtk-web/includes/shared.inc <?php function common_header($title = "PHP-GTK") { ?> <html> <!-- Start: common header --> <head> <title>PHP-GTK: PHP language bindings for GTK+ </title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> <!-- title { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 36px; font-style: normal; font-weight: bolder} mtext { font-family: "Times New Roman", Times, serif; font-size: 12pt; font-style: normal} a { text-decoration:none } title2 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 24px; font-style: normal; font-weight: bolder} --> </style> </head> <body bgcolor="#FFFFFF" text="#000000" link="#5B69A6" vlink="#5B69A6" alink="#FF0000" leftmargin="0" rightmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr bgcolor="#0080e5"> <td width="132" bgcolor="#0080e5" height="74"><img src="images/php_gtk_logo.gif" width="128" height="67"></td> <td width="622" height="74" bgcolor="#0080e5"> <h1> <font face="Arial, Helvetica, sans-serif" class="title" size="+6"> <?php echo $title; ?> </font> </h1> </td> <td width="505" height="74"> </td> </tr> <tr bgcolor="#0080e5"> <td colspan="3" bgcolor="#000000" height="2"><img src="images/1b1.gif" width="100%" height="2"></td> </tr> </table> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td width="120" bgcolor="#ffffff" background="images/120b2.gif" valign="top"> <table width="120" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="images/120b2.gif" width="120" height="70"></td> </tr> <tr> <td><a href="download.php"><img src="images/download.gif" width="120" height="30" alt="Information" border="0"></a></td> </tr> <tr> <td><a href="manual.php"><img src="images/manual.gif" width="120" height="28" alt="Meetings" border="0"></a></td> </tr> <tr> <td><a href="resources.php"><img src="images/resources.gif" width="120" height="28" alt="Developers" border="0"></a></td> </tr> <tr> <td><a href="faq.php"><img src="images/faq.gif" width="120" height="28" alt="Resources" border="0"></a></td> </tr> <tr> <td> </td> </tr> <tr> <td> </td> </tr> <tr> <td><img src="images/120b2.gif" width="120" height="70"></td> </tr> <td></td> </tr> </table> <table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0"> </table> </td> <td valign="top"> <!-- End: common header --> <?php } function common_footer() { ?> <!-- Start: Common Footer --> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr bgcolor="#000000"> <td colspan="2" height="2"><img src="images/1b1.gif" width="100%" height="2"></td> </tr> <tr> <td> <div align="right"> <p><font size="1" face="Arial, Helvetica, sans-serif">This site is subject to the following<font color="#0080e5"> <a href="license.php"><font color="#5B69A6">license</font></a></font><br> Questions about PHP-GTK should be sent <font color="#5B69A6"><a href="mailto:info@phpuk.org">here</a></font><br> Questions about the website shoud be sent to<font color="#5B69A6"> <a href="mailto:miester@php.net">miester@php.netg</a></font><br> </font></p> </div> </td> </tr> </table> </body> </html> <?php } ?>