cvs: php-gtk-web / changelog.php download-docs.php download.php faq.php index.php resources.php style.css /include layout.php
[email protected] ("Steph Fox")
| Newsgroups | php.gtk.webmaster |
|---|---|
| Message-ID | <cvssfox1144947999@cvsserver> |
sfox Thu Apr 13 17:06:39 2006 UTC
Modified files:
/php-gtk-web changelog.php download-docs.php download.php faq.php
index.php resources.php style.css
/php-gtk-web/include layout.php
Log:
Reverting style changes pending discussion and tests
sfox-20060413170639.txt
(text/plain, 34 KB)
http://cvs.php.net/viewcvs.cgi/php-gtk-web/changelog.php?r1=1.12&r2=1.13&diff_format=u
Index: php-gtk-web/changelog.php
diff -u php-gtk-web/changelog.php:1.12 php-gtk-web/changelog.php:1.13
--- php-gtk-web/changelog.php:1.12 Thu Apr 13 14:07:42 2006
+++ php-gtk-web/changelog.php Thu Apr 13 17:06:39 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=<path> 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)
http://cvs.php.net/viewcvs.cgi/php-gtk-web/download-docs.php?r1=1.8&r2=1.9&diff_format=u
Index: php-gtk-web/download-docs.php
diff -u php-gtk-web/download-docs.php:1.8 php-gtk-web/download-docs.php:1.9
--- php-gtk-web/download-docs.php:1.8 Thu Apr 13 14:07:42 2006
+++ php-gtk-web/download-docs.php Thu Apr 13 17:06:39 2006
@@ -55,50 +55,49 @@
<table border="0" cellpadding="2" cellspacing="1" width="100%">
<tr bgcolor="#cccccc">
<td> </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 " ";
- } 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 " ";
- }
- }
- echo "</td>\n";
- }
- echo "</tr>\n";
- }
-?>
+ if (!$link_to) {
+ echo " ";
+ }
+ 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 " ";
+ }
+ }
+ echo "</td>\n";
+ }
+}?>
</table>
<?php commonFooter(); ?>
http://cvs.php.net/viewcvs.cgi/php-gtk-web/download.php?r1=1.36&r2=1.37&diff_format=u
Index: php-gtk-web/download.php
diff -u php-gtk-web/download.php:1.36 php-gtk-web/download.php:1.37
--- php-gtk-web/download.php:1.36 Thu Apr 13 14:07:42 2006
+++ php-gtk-web/download.php Thu Apr 13 17:06:39 2006
@@ -19,20 +19,21 @@
<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.2.tar.gz', 'php-gtk-1.0.2 Source'); ?> - 15-Jul-2005<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>
+<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>
<!-- 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>
+<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.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.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.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.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.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>
@@ -46,35 +47,31 @@
<ul>
<li>
- Log in to the PHP anonymous CVS server (use <b>phpfi</b> as the password):
+Log in to the PHP anonymous CVS server (use <B>phpfi</B> as the password):
<pre>
cvs -d :pserver:[email protected]:/repository login
</pre>
-</li>
<li>
- Obtain the PHP-GTK tree:
+Obtain the PHP-GTK tree:
<pre>
cvs -d :pserver:[email protected]:/repository co -r PHP_GTK_1 php-gtk
</pre>
-</li>
<li>
- Move into the source tree:
+Move into the source tree:
<pre>
cd php-gtk
</pre>
-</li>
<li>
- Configure and install:
+Configure and install:
<pre>
./buildconf
./configure
make
make install
</pre>
-</li>
</ul>
http://cvs.php.net/viewcvs.cgi/php-gtk-web/faq.php?r1=1.22&r2=1.23&diff_format=u
Index: php-gtk-web/faq.php
diff -u php-gtk-web/faq.php:1.22 php-gtk-web/faq.php:1.23
--- php-gtk-web/faq.php:1.22 Thu Apr 13 14:07:42 2006
+++ php-gtk-web/faq.php Thu Apr 13 17:06:39 2006
@@ -8,19 +8,19 @@
<ul>
- <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>
+<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>
</ul>
<dl>
<dt>
- <a name="1"><b>What is PHP-GTK?</b></a>
+<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
@@ -30,7 +30,7 @@
<dt>
- <a name="2"><b>Why is it not working with the browser/web server?</b></a>
+<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
@@ -38,35 +38,33 @@
</p></dd>
<dt>
- <a name="3"><b>How do I install PHP-GTK on Win32?</b></a>
+<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>
-
-<p>
- <b>For Windows 98/NT/2000/XP:</b>
+<dd><p>
+<b>For Windows 98/NT/2000/XP:</b>
</p>
-
-<p>In your PHP directory (e.g., c:\php4):</p>
+<dd><p>In your PHP directory (e.g., c:\php4):
<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>
+ <li>php.exe
+ <li>php_win.exe
+ <li>php-cgi.exe
+ <li>php.ini
+ <li>php.ini-gtk
+ <li>all .dll files
</ul>
-<p>In a test directory (e.g., c:\php4\test):</p>
+In a test directory (e.g., c:\php4\test):
<ul>
- <li>all .php files</li>
- <li>testgtkrc</li>
- <li>testgtkrc2</li>
- <li>window.xpm</li>
-</ul>
-<p>
+ <li>all .php files
+ <li>testgtkrc
+ <li>testgtkrc2
+ <li>window.xpm
+</ul><br>
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.
@@ -74,88 +72,72 @@
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>
- <b>For Windows 95:</b>
-</p>
-
-<p>
- PHP-GTK has <b>not</b> been tested on Windows 95 ... sorry.
</p>
+<dd><p>
+PHP-GTK has <b>not</b> been tested on Windows 95 ... sorry.
+</p><br>
-<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:
+<dd><p>
+<b>Testing the installation:</b>
</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>
+<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>
-
-<p>If you can't produce the hello window, try the following:</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>
- <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>
+ <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>
-<p>
- <b>Tips/Tricks:</b>
+<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'.</li>
+ <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>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>
- <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>
+ <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>.
<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>
- <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>
+ <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>
-</dd>
-
-
<dt>
- <a name="4"><b>How do I use the buttons in GtkFileSelection?</b></a>
+<a name="4"><b>How do I use the buttons in GtkFileSelection?</b></a>
</dt>
-<dd>
+<dd><p>
<pre class="code">
// Create the dialog window:
- $fs = &new GtkFileSelection("Save file");
+ $fs = &new GtkFileSelection("Save file");
// Get a handle to the Ok button:
$ok_button = $fs->ok_button;
@@ -166,13 +148,12 @@
// Connect the destroy action on the dialog window:
$ok_button->connect_object("clicked", "destroy", $fs);
</pre>
-
-<p>
- It is <b>not</b> currently possible to do it this way:
-</p>
+</p></dd>
+<dd><p>
+It is <B>not</B> currently possible to do it this way:
<pre class="code">
// Create the dialog window
- $fs = &new GtkFileSelection("Save file");
+ $fs = &new GtkFileSelection("Save file");
// Connect a function
$fs->ok_button->connect("clicked", "enddialog");
@@ -180,47 +161,37 @@
// Connect the destroy action on the dialog window
$fs->ok_button->connect_object("clicked", "destroy", $fs);
</pre>
-</dd>
-
+</p></dd>
<dt>
- <a name="5"><b>How do I know which GTK Classes are supported?</b></a>
+<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>
+<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">
$array = get_declared_classes();
while(list(,$classname) = each($array)) {
echo $classname."\n";
}
</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>
-
<dt>
- <a name="6"><b>Can I use Themes under Win32?</b></a>
+<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>
-
+<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>
+<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>
+<dd><p>
+Check out the <?php print_link('/resources.php', 'Resources page'); ?>.
+</p></dd>
</dl>
http://cvs.php.net/viewcvs.cgi/php-gtk-web/index.php?r1=1.111&r2=1.112&diff_format=u
Index: php-gtk-web/index.php
diff -u php-gtk-web/index.php:1.111 php-gtk-web/index.php:1.112
--- php-gtk-web/index.php:1.111 Thu Apr 13 14:07:42 2006
+++ php-gtk-web/index.php Thu Apr 13 17:06:39 2006
@@ -1,6 +1,6 @@
<?php
/*
- * $Id: index.php,v 1.111 2006/04/13 14:07:42 cweiske Exp $
+ * $Id: index.php,v 1.112 2006/04/13 17:06:39 sfox 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&m=114029530823343&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,7 +87,6 @@
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>
@@ -106,6 +105,7 @@
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,8 +118,6 @@
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>
@@ -157,7 +155,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&m=112142925911670&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
@@ -214,7 +212,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&m=111316563116664&w=2">post</a>
to the documentation mailing list for more details.
</p>
@@ -225,7 +223,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&m=111006182204075&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>
@@ -267,11 +265,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&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>
@@ -284,7 +282,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&m=109903609804913&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/resources.php?r1=1.36&r2=1.37&diff_format=u
Index: php-gtk-web/resources.php
diff -u php-gtk-web/resources.php:1.36 php-gtk-web/resources.php:1.37
--- php-gtk-web/resources.php:1.36 Thu Apr 13 14:07:42 2006
+++ php-gtk-web/resources.php Thu Apr 13 17:06:39 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,18 +107,19 @@
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&r=1&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/style.css?r1=1.17&r2=1.18&diff_format=u
Index: php-gtk-web/style.css
diff -u php-gtk-web/style.css:1.17 php-gtk-web/style.css:1.18
--- php-gtk-web/style.css:1.17 Thu Apr 13 14:07:42 2006
+++ php-gtk-web/style.css Thu Apr 13 17:06:39 2006
@@ -1,5 +1,5 @@
/*
- * $Id: style.css,v 1.17 2006/04/13 14:07:42 cweiske Exp $
+ * $Id: style.css,v 1.18 2006/04/13 17:06:39 sfox 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: 90%;
+ font-size: 85%;
}
li {
http://cvs.php.net/viewcvs.cgi/php-gtk-web/include/layout.php?r1=1.45&r2=1.46&diff_format=u
Index: php-gtk-web/include/layout.php
diff -u php-gtk-web/include/layout.php:1.45 php-gtk-web/include/layout.php:1.46
--- php-gtk-web/include/layout.php:1.45 Thu Apr 13 14:07:42 2006
+++ php-gtk-web/include/layout.php Thu Apr 13 17:06:39 2006
@@ -1,11 +1,11 @@
<?php
-/* $Id: layout.php,v 1.45 2006/04/13 14:07:42 cweiske Exp $ */
+/* $Id: layout.php,v 1.46 2006/04/13 17:06:39 sfox Exp $ */
# spacer()
# print a IMG tag for a sized spacer GIF
#
function spacer($width=1, $height=1, $align=false, $extras=false) {
- printf('<img src="/gifs/spacer.gif" width="%d" height="%d" border="0" alt="" %s%s/>',
+ printf('<img src="/gifs/spacer.gif" width="%d" height="%d" border="0" alt="" %s%s>',
$width,
$height,
($align ? 'align="'.$align.'" ' : ''),
@@ -33,7 +33,7 @@
}
if ($size = @getimagesize($_SERVER['DOCUMENT_ROOT'].$dir.'/'.$file)) {
- $image = sprintf('<img src="%s/%s" border="%d" %s alt="%s" %s%s/>',
+ $image = sprintf('<img src="%s/%s" border="%d" %s alt="%s" %s%s>',
$dir,
$file,
$border,
@@ -43,12 +43,12 @@
($extras ? ' '.$extras : '')
);
} else {
- $image = sprintf('<img src="%s/%s" border="%d" alt="%s"%s%s/>',
+ $image = sprintf('<img src="%s/%s" border="%d" alt="%s" %s%s>',
$dir,
$file,
$border,
($alt ? $alt : ''),
- ($align ? ' align="'.$align.'"' : ''),
+ ($align ? ' ALIGN="'.$align.'"' : ''),
($extras ? ' '.$extras : '')
);
}
@@ -73,10 +73,10 @@
$return = make_image($file, $alt, $align, $extras, $dir, $border);
- if ($return != "<img/>") {
- $return = str_replace(' border="' . $border . '"', '', '<input type="image"' . substr($return,4));
+ if ($return != "<img>") {
+ $return = '<input type="image"' . substr($return,4);
} else {
- $return = '<input type="submit"/>';
+ $return = '<input type="submit">';
}
return $return;
}
@@ -88,7 +88,7 @@
if (!$color) {
return ' | ';
}
- return sprintf('<span style="color:%s"> | </span>', $color);
+ return sprintf('<font color="%s"> | </font>', $color);
}
# hdelim()
@@ -121,7 +121,7 @@
# make an e-mail hyperlink
#
function make_email($email, $linktext=false) {
- return sprintf('<a href="mailto:%s">%s</a>',
+ return sprintf("<a href=\"mailto:%s\">%s</a>",
$email,
($linktext ? $linktext : $email)
);
@@ -138,13 +138,10 @@
#
#
function commonHeader($title=false, $padding=true) {
- 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">
+ global $SIDEBAR_DATA;
+?><html>
<head>
- <meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title>PHP-GTK<?php if ($title) { echo ' : '.$title; } ?></title>
<link rel="stylesheet" href="/style.css" />
<link rel="stylesheet" href="/style-highlight.css" />
@@ -153,17 +150,19 @@
<body bgcolor="#FFFFFF" text="#000000" link="#000099" alink="#0000FF" vlink="#000099">
<a name="TOP"></a>
-<table border="0" cellspacing="0" cellpadding="0" width="100%" style="height:48px;">
+<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
<tr bgcolor="#0099CC">
<td align="left" rowspan="2">
<?php print_link('/', make_image('php-gtk.gif', 'PHP-GTK', false, 'vspace="2" hspace="2"')); ?><br />
</td>
- <td align="right" valign="top" nowrap="nowrap" style="color:#FFF; font-weight:bold">
- <?php echo strftime("%A, %B %d, %Y"); ?> <br />
+ <td align="right" valign="top" nowrap>
+ <font color="#FFFFFF">
+ <b><?php echo strftime("%A, %B %d, %Y"); ?></b> <br />
+ </font>
</td>
</tr>
<tr bgcolor="#0099CC">
- <td align="right" valign="bottom" nowrap="nowrap">
+ <td align="right" valign="bottom" nowrap>
<?php
print_link('/download.php', 'download', false, 'class="menuBlack"');
echo delim();
@@ -188,23 +187,24 @@
</tr>
<tr bgcolor="#000033"><td colspan="2"><?php spacer(1,1); ?><br /></td></tr>
<tr bgcolor="#006699">
- <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>
- <select name="show" class="small">
- <option value="manual1"<?php echo $_SERVER['SCRIPT_NAME'] == '/manual1-lookup.php' ? ' selected="selected"':'' ?>>manual v1</option>
- <option value="manual2"<?php echo $_SERVER['SCRIPT_NAME'] == '/manual2-lookup.php' ? ' selected="selected"':'' ?>>manual v2</option>
- <option value="whole-site">whole site</option>
- <option value="wiki">wiki</option>
- <option value="php-gtk-general-list">general mailing list</option>
- <option value="php-gtk-dev-list">development mailing list</option>
- <option value="php-gtk-doc-list">documentation mailing list</option>
- </select>
- <?php echo make_submit('small_submit_white.gif', 'search', 'bottom'); ?> <br />
- </form>
- </td>
+ <form method="POST" action="/search.php">
+ <td align="right" valign="top" colspan="2" nowrap>
+ <font color="#FFFFFF">
+ <small>search for</small>
+ <input class="small" type="text" name="pattern" value="<?php echo htmlentities($prevsearch); ?>" size="30" />
+ <small>in the</small>
+ <select name="show" class="small">
+ <option value="manual">manual</option>
+ <option value="whole-site">whole site</option>
+ <option value="wiki">wiki</option>
+ <option value="php-gtk-general-list">general mailing list</option>
+ <option value="php-gtk-dev-list">development mailing list</option>
+ <option value="php-gtk-doc-list">documentation mailing list</option>
+ </select>
+ <?php echo make_submit('small_submit_white.gif', 'search', 'bottom'); ?> <br />
+ </font>
+ </td>
+ </form>
</tr>
<tr bgcolor="#000033"><td colspan="2"><?php spacer(1,1) ;?><br /></td></tr>
</table>
@@ -221,7 +221,7 @@
</tr>
</table>
</td>
- <td bgcolor="#CCCCCC" style="background-image:url(/gifs/checkerboard.gif)"><?php spacer(1,1); ?><br /></td>
+ <td bgcolor="#CCCCCC" background="/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">
@@ -245,7 +245,7 @@
</table>
</td>
<?php if (isset($RIGHT_SIDEBAR_DATA)): ?>
- <td bgcolor="#CCCCCC" style="background-image:url(/gifs/checkerboard.gif)"><?php spacer(1,1);?><br /></td>
+ <td bgcolor="#CCCCCC" background="/gifs/checkerboard.gif"><?php spacer(1,1);?><br /></td>
<td width="170" bgcolor="#F0F0F0">
<table width="100%" cellpadding="4" cellspacing="0">
<tr valign="top">