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

[email protected] ("Steph Fox") Tue, 17 Oct 2006 18:55:11 -0000
Newsgroups php.gtk.webmaster
Message-ID <cvssfox1161111311@cvsserver>
sfox		Tue Oct 17 18:55:11 2006 UTC

  Modified files:              
    /php-gtk-web	download-docs.php 
  Log:
  Spot the deliberate mistake.
  
http://cvs.php.net/viewvc.cgi/php-gtk-web/download-docs.php?r1=1.11&r2=1.12&diff_format=u
Index: php-gtk-web/download-docs.php
diff -u php-gtk-web/download-docs.php:1.11 php-gtk-web/download-docs.php:1.12
--- php-gtk-web/download-docs.php:1.11	Tue Oct 17 18:31:06 2006
+++ php-gtk-web/download-docs.php	Tue Oct 17 18:55:11 2006
@@ -54,7 +54,7 @@
 
 <table border="0" cellpadding="2" cellspacing="1" width="100%">
  <tr bgcolor="#dddddd">
-  <td colspan="<?php echo sizeof($formats); ?>"><b>PHP-GTK 2 manual</b></td>
+  <td colspan="<?php echo (sizeof($formats) + 1); ?>"><b>PHP-GTK 2 manual</b></td>
  </tr>
  <tr bgcolor="#cccccc">
   <td>&nbsp;</td>
@@ -78,7 +78,7 @@
 			elseif (file_exists("distributions/manual/php_gtk_manual_$langcode.$details[1]")) {
 				$link_to = "distributions/manual/php_gtk_manual_$langcode.$details[1]";
 			}
-			elseif (file_exists("distributions/manual1/manual-$langcode.$details[1]")) {
+			elseif (file_exists("distributions/manual/manual-$langcode.$details[1]")) {
 				$link_to = "distributions/manual/manual-$langcode.$details[1]";
 			}
 
@@ -105,7 +105,7 @@
 	reset($formats);
 ?>
  <tr bgcolor="#dddddd">
-  <td colspan="<?php echo sizeof($formats); ?>"><b>PHP-GTK 1 manual</b></td>
+  <td colspan="<?php echo (sizeof($formats) + 1); ?>"><b>PHP-GTK 1 manual</b></td>
  </tr>
  <tr bgcolor="#cccccc">
   <td>&nbsp;</td>