cvs: php-gtk-web / changelog.php download-docs.php download.php faq.php index.php resources.php style.css /include layout.php

[email protected] ("Christian Weiske")
Newsgroups php.gtk.webmaster
Message-ID <cvscweiske1144937262@cvsserver>
cweiske		Thu Apr 13 14:07:42 2006 UTC

  Modified files:              
    /php-gtk-web/include	layout.php 
    /php-gtk-web	style.css resources.php index.php faq.php download.php 
                	download-docs.php changelog.php 
  Log:
  Make the page XHTML compliant
cweiske-20060413140742.txt (text/plain, 31.2 KB)
http://cvs.php.net/viewcvs.cgi/php-gtk-web/include/layout.php?r1=1.44&r2=1.45&diff_format=u
Index: php-gtk-web/include/layout.php
diff -u php-gtk-web/include/layout.php:1.44 php-gtk-web/include/layout.php:1.45
--- php-gtk-web/include/layout.php:1.44	Tue Apr 11 09:33:20 2006
+++ php-gtk-web/include/layout.php	Thu Apr 13 14:07:42 2006
@@ -1,5 +1,5 @@
 <?php
-/* $Id: layout.php,v 1.44 2006/04/11 09:33:20 cweiske Exp $ */
+/* $Id: layout.php,v 1.45 2006/04/13 14:07:42 cweiske Exp $ */
 
 # spacer()
 # print a IMG tag for a sized spacer GIF
@@ -74,7 +74,7 @@
     $return = make_image($file, $alt, $align, $extras, $dir, $border);
 
     if ($return != "<img/>") {
-        $return = '<input type="image"' . substr($return,4);
+        $return = str_replace(' border="' . $border . '"', '', '<input type="image"' . substr($return,4));
     } else {
         $return = '<input type="submit"/>';
     }
@@ -138,8 +138,11 @@
 #
 #
 function commonHeader($title=false, $padding=true) {
-	global $SIDEBAR_DATA;
-?><html>
+    global $SIDEBAR_DATA;
+    echo '<' . '?xml version="1.0" encoding="UTF-8"?'.'>' . "\r\n";
+?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
     <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
     <title>PHP-GTK<?php if ($title) { echo ' : '.$title; } ?></title>
@@ -150,7 +153,7 @@
 
 <body bgcolor="#FFFFFF" text="#000000" link="#000099" alink="#0000FF" vlink="#000099">
 <a name="TOP"></a>
-<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
+<table border="0" cellspacing="0" cellpadding="0" width="100%" style="height:48px;">
     <tr bgcolor="#0099CC">
         <td align="left" rowspan="2">
             <?php print_link('/', make_image('php-gtk.gif', 'PHP-GTK', false, 'vspace="2" hspace="2"')); ?><br />
@@ -185,8 +188,8 @@
     </tr>
     <tr bgcolor="#000033"><td colspan="2"><?php spacer(1,1); ?><br /></td></tr>
     <tr bgcolor="#006699">
-        <form method="post" action="/search.php">
-            <td align="right" valign="top" colspan="2" nowrap="nowrap" style="color:#FFF">
+        <td align="right" valign="top" colspan="2" nowrap="nowrap" style="color:#FFF">
+            <form method="post" action="/search.php" style="display:inline">
                 <small>search for</small>
                 <input class="small" type="text" name="pattern" value="<?php echo htmlentities($prevsearch); ?>" size="30" />
                 <small>in the</small>
@@ -200,8 +203,8 @@
                     <option value="php-gtk-doc-list">documentation mailing list</option>
                 </select>
                 <?php echo make_submit('small_submit_white.gif', 'search', 'bottom'); ?>&nbsp;<br />
-            </td>
-        </form>
+            </form>
+        </td>
     </tr>
     <tr bgcolor="#000033"><td colspan="2"><?php spacer(1,1) ;?><br /></td></tr>
 </table>
@@ -218,7 +221,7 @@
                 </tr>
             </table>
         </td>
-        <td bgcolor="#CCCCCC" background="/gifs/checkerboard.gif"><?php spacer(1,1); ?><br /></td>
+        <td bgcolor="#CCCCCC" style="background-image:url(/gifs/checkerboard.gif)"><?php spacer(1,1); ?><br /></td>
     <?php endif; ?>
         <td>
             <table width="100%" cellpadding="<?php if ($padding) { print("10"); } else { print("0"); } ?>" cellspacing="0">
@@ -242,7 +245,7 @@
             </table>
         </td>
     <?php if (isset($RIGHT_SIDEBAR_DATA)): ?>
-        <td bgcolor="#CCCCCC" background="/gifs/checkerboard.gif"><?php spacer(1,1);?><br /></td>
+        <td bgcolor="#CCCCCC"  style="background-image:url(/gifs/checkerboard.gif)"><?php spacer(1,1);?><br /></td>
         <td width="170" bgcolor="#F0F0F0">
             <table width="100%" cellpadding="4" cellspacing="0">
                 <tr valign="top">
http://cvs.php.net/viewcvs.cgi/php-gtk-web/style.css?r1=1.16&r2=1.17&diff_format=u
Index: php-gtk-web/style.css
diff -u php-gtk-web/style.css:1.16 php-gtk-web/style.css:1.17
--- php-gtk-web/style.css:1.16	Wed Aug  4 20:29:27 2004
+++ php-gtk-web/style.css	Thu Apr 13 14:07:42 2006
@@ -1,5 +1,5 @@
 /* 
- * $Id: style.css,v 1.16 2004/08/04 20:29:27 andrei Exp $
+ * $Id: style.css,v 1.17 2006/04/13 14:07:42 cweiske Exp $
  */
 
 /* Let no border around the body appear, and set
@@ -21,7 +21,7 @@
 
 /* Default font size for elements */
 body, ul, td, th {
-    font-size: 85%;
+    font-size: 90%;
 }
 
 li {
http://cvs.php.net/viewcvs.cgi/php-gtk-web/resources.php?r1=1.35&r2=1.36&diff_format=u
Index: php-gtk-web/resources.php
diff -u php-gtk-web/resources.php:1.35 php-gtk-web/resources.php:1.36
--- php-gtk-web/resources.php:1.35	Thu Mar  2 19:43:54 2006
+++ php-gtk-web/resources.php	Thu Apr 13 14:07:42 2006
@@ -6,11 +6,11 @@
 
 <h1>Resources</h1>
 
-<P>
-There are various resources for PHP-GTK.  Below are 
-listed the ones that we are aware of.  If you know of others 
+<p>
+There are various resources for PHP-GTK.  Below are
+listed the ones that we are aware of.  If you know of others
 please <? print_email('[email protected]', 'email the webmaster'); ?>.
-</P>
+</p>
 
 <h2>Sites</h2>
 
@@ -79,7 +79,7 @@
 <a name="lists"></a>
 <h2>Mailing Lists</h2>
 
-<P>
+<p>
 There are various mailing lists for PHP-GTK.
 </p>
 <p>
@@ -107,19 +107,18 @@
 The list is archived at <?php print_link('http://marc.theaimsgroup.com/?l=php-gtk-cvs', 'MARC'); ?>.
 </p>
 <p>
-The old <b>php-gtk</b> list is still archived at <?php print_link('http://marc.theaimsgroup.com/?l=php-gtk&r=1&w=2', 'MARC'); ?>.
+The old <b>php-gtk</b> list is still archived at <?php print_link('http://marc.theaimsgroup.com/?l=php-gtk&amp;r=1&amp;w=2', 'MARC'); ?>.
 </p>
 
 
 
 <h2>IRC</h2>
 
-<P>
-The <B>#php-gtk</B> IRC channel on Freenode has a few regulars who can most
+<p>
+The <b>#php-gtk</b> IRC channel on Freenode has a few regulars who can most
 likely answer the questions you have.
-</P>
+</p>
 
-</ul>
 
 <?php
 
http://cvs.php.net/viewcvs.cgi/php-gtk-web/index.php?r1=1.110&r2=1.111&diff_format=u
Index: php-gtk-web/index.php
diff -u php-gtk-web/index.php:1.110 php-gtk-web/index.php:1.111
--- php-gtk-web/index.php:1.110	Sat Apr  8 10:55:45 2006
+++ php-gtk-web/index.php	Thu Apr 13 14:07:42 2006
@@ -1,6 +1,6 @@
 <?php
 /*
- * $Id: index.php,v 1.110 2006/04/08 10:55:45 sfox Exp $ 
+ * $Id: index.php,v 1.111 2006/04/13 14:07:42 cweiske Exp $ 
  */
 
 // Start output buffering in order to grab the data from the documentation
@@ -65,7 +65,7 @@
 <a href="http://cvs.php.net/viewcvs.cgi/php-gtk/ChangeLog?view=markup">implementing new features</a>. 
 Recently he added the ability to use GtkListStores and GtkTreeStores as if 
 they were 
-<a href="http://marc.theaimsgroup.com/?l=php-gtk-general&m=114029530823343&w=2">iterators or arrays</a>. 
+<a href="http://marc.theaimsgroup.com/?l=php-gtk-general&amp;m=114029530823343&amp;w=2">iterators or arrays</a>. 
 This makes it much easier to work with data models for GtkTreeView and 
 GtkComboBox. The documentation team has been working hard to fill out the docs.
 Several new pages have been added and the PHP-GTK 2 docs will soon make their 
@@ -87,6 +87,7 @@
 Development of PHP-GTK 2 is steadily picking up pace. The last month has seen
 plenty of activity not only in commits to CVS but in other parts of the PHP-GTK
 2 community also:
+</p>
 <ul>
  <li>The PHP-GTK 2 documentation is filling out. More classes have been
      documented and given examples (especially the GtkTree* classes).</li>
@@ -105,7 +106,6 @@
      an application that makes it easy to modify php.ini files, has been
      proposed on <a href="http://pear.php.net">PEAR</a> by Anant Narayanan.</li>
 </ul>
-</p>
 
 <?php hdelim(); ?>
 
@@ -118,6 +118,8 @@
 make installation of PHP-GTK2 and PHP-GTK2 applications quick and easy. For
 more information or to download Gnope visit 
 <a href="http://www.gnope.org">http://www.gnope.org</a>.
+</p>
+
 <?php hdelim(); ?>
 
 <h1>October News</h1>
@@ -155,7 +157,7 @@
 
 <p><span class="newsdate">[25-Jul-2005]</span>
  There is talk on the
- <a href="http://marc.theaimsgroup.com/?l=php-dev&m=112142925911670&w=2">PHP
+ <a href="http://marc.theaimsgroup.com/?l=php-dev&amp;m=112142925911670&amp;w=2">PHP
  Internals mailing list</a> about removing support for Win9x (95/98/2000/ME)
  from PHP 5.1. For most PHP developers this isn't much of a big deal but for 
  PHP-GTK 2 developers it may have a much more significant impact. If you have
@@ -212,7 +214,7 @@
    <p>In other news, Christian Weiske is making steady progress on the 
     documentation system. Docs skeletons can now be automatically generated
     for all of the classes that have been implemented so far. Read his 
-    <a href="http://marc.theaimsgroup.com/?l=php-gtk-doc&m=111316563116664&w=2">post</a>
+    <a href="http://marc.theaimsgroup.com/?l=php-gtk-doc&amp;m=111316563116664&amp;w=2">post</a>
     to the documentation mailing list for more details.
    </p>
 
@@ -223,7 +225,7 @@
 <p><span class="newsdate">[21-Mar-2005]</span> PHP-GTK 2 is making great strides
    toward a working release. Andrei's relentless work has lead to a current CVS
    version that can run non-trivial scripts. See this 
-   <a href="http://marc.theaimsgroup.com/?l=php-gtk-general&m=111006182204075&w=2">posting</a>
+   <a href="http://marc.theaimsgroup.com/?l=php-gtk-general&amp;m=111006182204075&amp;w=2">posting</a>
    to the general mailing list for an example. Take a look at the
    <a href="http://cvs.php.net/co.php/php-gtk/ChangeLog">change log</a> for the
    latest updates.</p>
@@ -265,11 +267,11 @@
 
 <p>Other PHP communities are contributing to PHP-GTK development in their 
    own way. PEAR has released another class, <a 
-   href="http://pear.php.net/packages.php?catpid=34&catname=Gtk+Components">Gtk_Styled</a>, 
+   href="http://pear.php.net/packages.php?catpid=34&amp;catname=Gtk+Components">Gtk_Styled</a>, 
    to help PHP-GTK developers write cleaner, more stable code. The folks 
    over at Zend have recognized everyone who has contributed to PHP-GTK 
    development, documentation or the web site by adding them to the "<a 
-   href="http://www.zend.com/pear/whoiswho.php">Zend Who's Who of PHP</a>".<p>
+   href="http://www.zend.com/pear/whoiswho.php">Zend Who's Who of PHP</a>".</p>
 
 <p>In other news, the GDK section of the manual has been completely 
    translated into <a href="http://gtk.php.net/manual1/ru/">Russian</a>.</p>
@@ -282,7 +284,7 @@
 <p><span class="newsdate">[20-Dec-2004]</span> There has been a lot of 
     discussion lately about the role PHP-GTK can and is playing in the 
     business world. Several people have <a
-    href="http://marc.theaimsgroup.com/?l=php-gtk-general&m=109903609804913&w=2">commented</a>
+    href="http://marc.theaimsgroup.com/?l=php-gtk-general&amp;m=109903609804913&amp;w=2">commented</a>
     on the <a href="http://gtk.php.net/resources.php">php-gtk-general
     mailing list</a> about how they have developed secure, cross-platform
     applications for use in business with PHP-GTK. Using tools such as
http://cvs.php.net/viewcvs.cgi/php-gtk-web/faq.php?r1=1.21&r2=1.22&diff_format=u
Index: php-gtk-web/faq.php
diff -u php-gtk-web/faq.php:1.21 php-gtk-web/faq.php:1.22
--- php-gtk-web/faq.php:1.21	Mon Mar 27 13:08:09 2006
+++ php-gtk-web/faq.php	Thu Apr 13 14:07:42 2006
@@ -8,136 +8,154 @@
 
 
 <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="#7">Where do I go from here?</a>
+ <li><a href="#1">What is PHP-GTK?</a></li>
+ <li><a href="#2">Why is it not working with the browser/web server?</a></li>
+ <li><a href="#3">How do I install PHP-GTK on Win32?</a></li>
+ <li><a href="#4">How do I use the buttons in GtkFileSelection?</a></li>
+ <li><a href="#5">How do I know which GTK Classes are supported?</a></li>
+ <li><a href="#6">Can I use Themes under Win32?</a></li>
+ <li><a href="#7">Where do I go from here?</a></li>
 </ul>
 
-<DL>
-
-<DT>
-<a name="1"><b>What is PHP-GTK?</b></a>
-</DT>
-<DD><P>
+<dl>
+
+<dt>
+ <a name="1"><b>What is PHP-GTK?</b></a>
+</dt>
+<dd><p>
 PHP-GTK is a PHP extension that implements language bindings for GTK+. It
 provides an object-oriented interface to GTK+ classes and functions and greatly
 simplifies writing client side cross-platform GUI applications.
-</P></DD>
+</p></dd>
 
 
-<DT>
-<a name="2"><b>Why is it not working with the browser/web server?</b></a>
-</DT>
-<DD><P>
+<dt>
+ <a name="2"><b>Why is it not working with the browser/web server?</b></a>
+</dt>
+<dd><p>
 PHP-GTK is not meant to be used in the Web environment. It is intended for
 creation of standalone applications (run via command-line, user's desktop, etc.).
-</P></DD>
-
-<DT>
-<a name="3"><b>How do I install PHP-GTK on Win32?</b></a>
-</DT>
-<DD><P>
+</p></dd>
 
+<dt>
+ <a name="3"><b>How do I install PHP-GTK on Win32?</b></a>
+</dt>
+<dd><p>
 Download the latest binaries from <a href="http://gtk.php.net/download.php">gtk.php.net</a>.
 The zip file contains all binaries needed to run core PHP-GTK, as well as extra features such as Glade/XML and Scintilla. 
 Extract the files to a temporary directory and then copy them into the following locations:
-</P>
-<DD><P>
-<B>For Windows 98/NT/2000/XP:</B>
-</P>
-<DD><P>In your PHP directory (e.g., c:\php4):  
-<UL>
-  <li>php.exe
-  <li>php_win.exe
-  <li>php-cgi.exe
-  <li>php.ini
-  <li>php.ini-gtk
-  <li>all .dll files
-</UL>
-In a test directory (e.g., c:\php4\test):
-<UL>
-  <li>all .php files
-  <li>testgtkrc
-  <li>testgtkrc2
-  <li>window.xpm
-</UL><br>
+</p>
+
+<p>
+ <b>For Windows 98/NT/2000/XP:</b>
+</p>
+
+<p>In your PHP directory (e.g., c:\php4):</p>
+<ul>
+  <li>php.exe</li>
+  <li>php_win.exe</li>
+  <li>php-cgi.exe</li>
+  <li>php.ini</li>
+  <li>php.ini-gtk</li>
+  <li>all .dll files</li>
+</ul>
+<p>In a test directory (e.g., c:\php4\test):</p>
+<ul>
+  <li>all .php files</li>
+  <li>testgtkrc</li>
+  <li>testgtkrc2</li>
+  <li>window.xpm</li>
+</ul>
+<p>
 NOTE: You can install the php.ini into your Windows 
 directory (i.e., c:\winnt or c:\windows) as indicated by the zip file, but it is often not a good option,
 depending on the installation.
 It is also no longer required; the php.exe (CLI version as of PHP 4.3.0) will search the working directory, e.g., c:\php4,
 as well as the Windows directory. Or you can specify your php.ini location in your command line statement with '-c' option, 
 as given in the php_win example below. 
-</P>
-<DD><P>
-<B>For Windows 95:</B>
-
-</P>
-<DD><P>
-PHP-GTK has <b>not</b> been tested on Windows 95 ... sorry.
-</P><br>
-
-<DD><P>
-<B>Testing the installation:</B>
-</P>
-<dd><p><dl>When the PHP-GTK files are installed, you can verify your setup using a DOS command line. 
-A typical example would be:</p>
-<dd><p>c:\php4\php c:\php4\test\hello.php</p></dl>
-<p></p>
-<dd><p><dl>To avoid the DOS box, you can use the php_win executable, provided in the install file:</p>
-<dd><p>c:\php4\php_win c:\php4\test\hello.php</p>
-<dd><p>or:</p>
-<dd><p>start c:\php4\php_win c:\php4\test\hello.php</p>
-<dd><p>or:</p>
-<dd><p>c:\php4\php_win -c \php4\php.ini -f c:\php4\test\hello.php</p></dl>
-<dd><p>(If you have installed your php.ini file in your windows directory, the -c option can be dropped.  For more
-information on command line options, see <a href="http://www.php.net/manual/en/features.commandline.php">'Using PHP from the command line'</a> 
-on the main PHP site.)</p>
-<DD><P>
-<B>Troubleshooting:</B>
-</P>
-<dd><p>If you can't produce the hello window, try the following:</p>
-<UL>
-  <li>Verify the hello.php location, i.e., [drive:]\php4\test
-  <li>Open hello.php in Notepad, and make sure there is no obvious corruption to the code.
-  <li>Modify your php.ini file, to log any errors, as detailed below.
-  <li>Review the postings at the <a href="http://marc.theaimsgroup.com/?l=php-gtk-general">PHP-GTK discussion list archive</a> for possible solutions. 
-  <li>If you still have a problem, subscribe to the <a href="mailto:[email protected]">PHP-GTK general discussion list</a> and post your question there.
-</UL>
-
-<DD><P>
-<B>Tips/Tricks:</B>
-</P>
-<UL>
-  <li>To debug your scripts, modify the php.ini file as follows: 
-  <UL>
-     <li>Find the line for 'log_errors'.  Set it to 'On'.
+</p>
+
+<p>
+ <b>For Windows 95:</b>
+</p>
+
+<p>
+ PHP-GTK has <b>not</b> been tested on Windows 95 ... sorry.
+</p>
+
+<p>
+ <b>Testing the installation:</b>
+</p>
+<p>
+ When the PHP-GTK files are installed, you can verify your setup using a DOS command line.
+ A typical example would be:
+</p>
+
+<ul>
+ <li>c:\php4\php c:\php4\test\hello.php</li>
+ <li>To avoid the DOS box, you can use the php_win executable, provided in the install file:
+  <ul>
+   <li>c:\php4\php_win c:\php4\test\hello.php</li>
+   <li>or</li>
+   <li>start c:\php4\php_win c:\php4\test\hello.php</li>
+   <li>or</li>
+   <li>c:\php4\php_win -c \php4\php.ini -f c:\php4\test\hello.php</li>
+  </ul>
+
+ (If you have installed your php.ini file in your windows directory, the -c option can
+ be dropped.  For more information on command line options, see
+ <a href="http://www.php.net/manual/en/features.commandline.php">'Using PHP from the command line'</a>
+ on the main PHP site.)
+ </li>
+</ul>
+
+<p>
+ <b>Troubleshooting:</b>
+</p>
+
+<p>If you can't produce the hello window, try the following:</p>
+<ul>
+  <li>Verify the hello.php location, i.e., [drive:]\php4\test</li>
+  <li>Open hello.php in Notepad, and make sure there is no obvious corruption to the code.</li>
+  <li>Modify your php.ini file, to log any errors, as detailed below.</li>
+  <li>Review the postings at the <a href="http://marc.theaimsgroup.com/?l=php-gtk-general">PHP-GTK discussion list archive</a> for possible solutions.</li>
+  <li>If you still have a problem, subscribe to the <a href="mailto:[email protected]">PHP-GTK general discussion list</a> and post your question there.</li>
+</ul>
+
+<p>
+ <b>Tips/Tricks:</b>
+</p>
+<ul>
+  <li>To debug your scripts, modify the php.ini file as follows:
+   <ul>
+     <li>Find the line for 'log_errors'.  Set it to 'On'.</li>
      <li>Find the line for 'error_log'.  Remove the beginning semicolon (uncomment) and replace 'filename' with an actual file location.
-         <br>Example: error_log=c:\php4\error_log.txt. 
-     <li>If the error file does not exist, php will create it on the next run.  Open the file and review. 
-  </UL>
-  <li>If you are planning to launch on an association, decide which extension you want to use for your scripts.  
-  Be aware that other applications register .php, so something like .php-gtk might be a better option. 
-  <li>Check out the Code Snippets and Code Hints on the <a href="http://gtk.php.net/wiki/">PHP-GTK Wiki page</a>.
+         <br/>Example: error_log=c:\php4\error_log.txt.</li>
+     <li>If the error file does not exist, php will create it on the next run.  Open the file and review.</li>
+   </ul>
+  </li>
+  <li>If you are planning to launch on an association, decide which extension you want to use for your scripts.
+  Be aware that other applications register .php, so something like .php-gtk might be a better option.</li>
+  <li>Check out the Code Snippets and Code Hints on the <a href="http://gtk.php.net/wiki/">PHP-GTK Wiki page</a>.</li>
   <li>You can set your scripts to use Win32 themes, courtesy of Christian Weiske.  Check out the info page at:
-				     <br><a href="http://www.cweiske.de/phpgtk_themes.htm ">http://www.cweiske.de/phpgtk_themes.htm </a>
-  <li>Install the <a href="http://www.cweiske.de/phpgtk_apps.htm#phpgtklauncher">php-gtk launcher</a>. It 
-  handles many of the Windows directory issues and provides a series of PHP-GTK icons.  Also from Christian.
-  <li>Consider using Glade/XML for setting up your screens and reducing maintenance time.   
-				     <dl><dd>- Start with the info page at: <a href="http://gtk.php.net/manual1/en/glade.gladexml.php">http://gtk.php.net/manual1/en/glade.gladexml.php</a>.</dl>   
-  <br>
-</UL>
-
-<DT>
-<a name="4"><b>How do I use the buttons in GtkFileSelection?</b></a>
-</DT>
-<DD><P>
-<PRE CLASS="code">
+        <br/><a href="http://www.cweiske.de/phpgtk_themes.htm ">http://www.cweiske.de/phpgtk_themes.htm </a></li>
+  <li>Install the <a href="http://www.cweiske.de/phpgtk_apps.htm#phpgtklauncher">php-gtk launcher</a>. It
+  handles many of the Windows directory issues and provides a series of PHP-GTK icons.  Also from Christian.</li>
+  <li>Consider using Glade/XML for setting up your screens and reducing maintenance time.<br/>
+   Start with the info page at: <a href="http://gtk.php.net/manual1/en/glade.gladexml.php">http://gtk.php.net/manual1/en/glade.gladexml.php</a>.
+  </li>
+</ul>
+
+</dd>
+
+
+<dt>
+ <a name="4"><b>How do I use the buttons in GtkFileSelection?</b></a>
+</dt>
+<dd>
+<pre class="code">
 // Create the dialog window:
-    $fs = &new GtkFileSelection("Save file");
+    $fs = &amp;new GtkFileSelection("Save file");
 
 // Get a handle to the Ok button:
     $ok_button = $fs->ok_button;
@@ -147,53 +165,64 @@
 
 // Connect the destroy action on the dialog window:
     $ok_button->connect_object("clicked", "destroy", $fs);
-</PRE>
-</P></DD>
-<DD><P>
-It is <B>not</B> currently possible to do it this way:
-<PRE CLASS="code">
+</pre>
+
+<p>
+ It is <b>not</b> currently possible to do it this way:
+</p>
+<pre class="code">
 // Create the dialog window
-    $fs = &new GtkFileSelection("Save file");
+    $fs = &amp;new GtkFileSelection("Save file");
 
 // Connect a function
     $fs->ok_button->connect("clicked", "enddialog");
 
 // Connect the destroy action on the dialog window
     $fs->ok_button->connect_object("clicked", "destroy", $fs); 
-</PRE>
-</P></DD>
+</pre>
+</dd>
 
-<DT>
-<a name="5"><b>How do I know which GTK Classes are supported?</b></a>
-</DT>
-<DD><P>
-The following code will show the defined classes. All the PHP-GTK 
-classes will be listed along with one or two others.
-<PRE CLASS="code">
+
+<dt>
+ <a name="5"><b>How do I know which GTK Classes are supported?</b></a>
+</dt>
+<dd>
+<p>
+ The following code will show the defined classes. All the PHP-GTK 
+ classes will be listed along with one or two others.
+</p>
+<pre class="code">
 $array = get_declared_classes();
 while(list(,$classname) = each($array)) {
     echo $classname."\n";
 }
-</PRE>
+</pre>
+<p>
 See the <?php print_link('http://www.php.net/manual/en/ref.classobj.php', 'Class/Object functions'); ?>
 in the PHP Manual for other useful functions.
-</P></DD>
+</p></dd>
+
 
-<DT>
-<a name="6"><b>Can I use Themes under Win32?</b></a>
-</DT>
-<DD><P>
-No, The Win32 GTK port does not currently support this.
-</P></DD>
-
-<DT>
-<a name="7"><b>Where do I go from here?</b></a>
-</DT>
-<DD><P>
-Check out the <?php print_link('/resources.php', 'Resources page'); ?>.
-</P></DD>
+<dt>
+ <a name="6"><b>Can I use Themes under Win32?</b></a>
+</dt>
+<dd>
+ <p>
+  No, The Win32 GTK port does not currently support this.
+ </p>
+</dd>
+
+
+<dt>
+ <a name="7"><b>Where do I go from here?</b></a>
+</dt>
+<dd>
+ <p>
+  Check out the <?php print_link('/resources.php', 'Resources page'); ?>.
+ </p>
+</dd>
 
-</DL>
+</dl>
 
 <?php
 
http://cvs.php.net/viewcvs.cgi/php-gtk-web/download.php?r1=1.35&r2=1.36&diff_format=u
Index: php-gtk-web/download.php
diff -u php-gtk-web/download.php:1.35 php-gtk-web/download.php:1.36
--- php-gtk-web/download.php:1.35	Fri Jul 15 18:26:30 2005
+++ php-gtk-web/download.php	Thu Apr 13 14:07:42 2006
@@ -6,74 +6,77 @@
 
 <h1>Download</h1>
 
-<P>
+<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.
-</P>
-<P>
+</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/'); ?>.
-</P>
+</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<br>
+<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<br>
+<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>
 
 <!-- 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<br>
+<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>
 -->
 
-<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<br>
+<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<br>
+<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<br>
+<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>
+</ul>
 
 <h2>CVS Version</h2>
 
-<P>
+<p>
 Alternatively, you can get the latest and greatest 
 version of PHP-GTK directly from the PHP CVS server.
-</P>
+</p>
 
-<UL>
+<ul>
 
-<LI>
-Log in to the PHP anonymous CVS server (use <B>phpfi</B> as the password):
-<PRE>
+<li>
+ Log in to the PHP anonymous CVS server (use <b>phpfi</b> as the password):
+<pre>
 cvs -d :pserver:[email protected]:/repository login
-</PRE>
+</pre>
+</li>
 
-<LI>
-Obtain the PHP-GTK tree:
-<PRE>
+<li>
+ Obtain the PHP-GTK tree:
+<pre>
 cvs -d :pserver:[email protected]:/repository co -r PHP_GTK_1 php-gtk
-</PRE>
+</pre>
+</li>
 
-<LI>
-Move into the source tree:
-<PRE>
+<li>
+ Move into the source tree:
+<pre>
 cd php-gtk
-</PRE>
+</pre>
+</li>
 
-<LI>
-Configure and install:
-<PRE>
+<li>
+ Configure and install:
+<pre>
 ./buildconf
 ./configure
 make
 make install
-</PRE>
+</pre>
+</li>
 
-</UL>
+</ul>
 
       
 <?php
http://cvs.php.net/viewcvs.cgi/php-gtk-web/download-docs.php?r1=1.7&r2=1.8&diff_format=u
Index: php-gtk-web/download-docs.php
diff -u php-gtk-web/download-docs.php:1.7 php-gtk-web/download-docs.php:1.8
--- php-gtk-web/download-docs.php:1.7	Mon Mar 27 13:08:09 2006
+++ php-gtk-web/download-docs.php	Thu Apr 13 14:07:42 2006
@@ -55,49 +55,50 @@
 <table border="0" cellpadding="2" cellspacing="1" width="100%">
  <tr bgcolor="#cccccc">
   <td>&nbsp;</td>
-  <?php 
-	while (list($k,$v) = each($formats)) {
-		echo "<th valign=\"bottom\">$v[0]</th>\n";
-	}?>
+  <?php
+    while (list($k,$v) = each($formats)) {
+        echo "<th valign=\"bottom\">$v[0]</th>\n";
+    }?>
  </tr>
  <?php
-	while (list(,$langcode) = each($man_languages)) {
-		$language = $LANGUAGES[$langcode];
-		echo "<tr>\n<td bgcolor=\"#dddddd\"><b>$language</b></td>\n";
-		reset($formats);
-		while (list($fn,$details) = each($formats)) {
-			echo "<td align=\"center\" bgcolor=\"#eeeeee\">";
+    while (list(,$langcode) = each($man_languages)) {
+        $language = $LANGUAGES[$langcode];
+        echo "<tr>\n<td bgcolor=\"#dddddd\"><b>$language</b></td>\n";
+        reset($formats);
+        while (list($fn,$details) = each($formats)) {
+            echo "<td align=\"center\" bgcolor=\"#eeeeee\">";
 
-			$link_to = "";
-			if (file_exists("manual1/$langcode/$fn")) {
-				$link_to = "manual1/$langcode/$fn";
-			}
-			elseif (file_exists("distributions/manual1/php_gtk_manual_$langcode.$details[1]")) {
-				$link_to = "distributions/manual1/php_gtk_manual_$langcode.$details[1]";
-			}
-			elseif (file_exists("distributions/manual1/manual-$langcode.$details[1]")) {
-				$link_to = "distributions/manual1/manual-$langcode.$details[1]";
-			}
+            $link_to = "";
+            if (file_exists("manual1/$langcode/$fn")) {
+                $link_to = "manual1/$langcode/$fn";
+            }
+            elseif (file_exists("distributions/manual1/php_gtk_manual_$langcode.$details[1]")) {
+                $link_to = "distributions/manual1/php_gtk_manual_$langcode.$details[1]";
+            }
+            elseif (file_exists("distributions/manual1/manual-$langcode.$details[1]")) {
+                $link_to = "distributions/manual1/manual-$langcode.$details[1]";
+            }
 
-			if (!$link_to) {
-			echo "&nbsp;";
-			}
-			else {
-				$size = @filesize($link_to);
-				$changed = @filemtime($link_to);
-				$date_format = "j M Y"; // Part of the RFC date type (to be short)
-				if ($size) {
-					echo "<a href=\"$link_to\" title=\" Size: ", (int) ($size/1024), "Kb\n Date: ", date($date_format, $changed), "\">$details[1]</a>";
-				if ($sizes) {
-					echo "<br><small>Size: ", (int) ($size/1024), "Kb<br>Date: ", date($date_format, $changed), "</small>";
-				}
-			} else {
-				echo "&nbsp;";
-			}
-		}
-	echo "</td>\n";
-	}
-}?>
+            if (!$link_to) {
+                echo "&nbsp;";
+            } else {
+                $size = @filesize($link_to);
+                $changed = @filemtime($link_to);
+                $date_format = "j M Y"; // Part of the RFC date type (to be short)
+                if ($size) {
+                    echo "<a href=\"$link_to\" title=\" Size: ", (int) ($size/1024), "Kb\n Date: ", date($date_format, $changed), "\">$details[1]</a>";
+                    if ($sizes) {
+                        echo "<br/><small>Size: ", (int) ($size/1024), "Kb<br/>Date: ", date($date_format, $changed), "</small>";
+                    }
+                } else {
+                    echo "&nbsp;";
+                }
+            }
+            echo "</td>\n";
+        }
+        echo "</tr>\n";
+    }
+?>
 </table>
 
 <?php commonFooter(); ?>
http://cvs.php.net/viewcvs.cgi/php-gtk-web/changelog.php?r1=1.11&r2=1.12&diff_format=u
Index: php-gtk-web/changelog.php
diff -u php-gtk-web/changelog.php:1.11 php-gtk-web/changelog.php:1.12
--- php-gtk-web/changelog.php:1.11	Tue Aug 10 00:33:50 2004
+++ php-gtk-web/changelog.php	Thu Apr 13 14:07:42 2006
@@ -10,7 +10,7 @@
 <h3>Version 1.0.1 "you thought we were done?"</h3>
 <b>09-Aug-2004</b>
 <ul>
-<li>buildconf script now takes an optional --with-phpize=<path> option to specify the location of phpize script. (Andrei)</li>
+<li>buildconf script now takes an optional --with-phpize=&lt;path&gt; option to specify the location of phpize script. (Andrei)</li>
 <li>removed support for old build system. PHP 4.3.x is now required to build PHP-GTK. (Andrei)</li>
 <li>implemented append_element(), prepend_element(), insert_element(), append_item(), prepend_item(), and insert_item() methods of GtkToolbar class. (Andrei)</li>
 <li>exposed the following (read-only) GtkToolbar properties: (Andrei)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.