cvs: qaweb /build_tracker index.php module_list.txt

From: Date: Thu, 24 Aug 2000 21:51:12 +0000
Subject: cvs: qaweb /build_tracker index.php module_list.txt
Groups: php.qa 
Request: Send a blank email to php-qa+get-1048@lists.php.net to get a copy of this message
zak Thu Aug 24 14:51:12 2000 EDT Modified files: /qaweb/build_tracker index.php module_list.txt Log: Added comments Cleaned up code for displaying module checkboxes Removed ?? comment field Index: qaweb/build_tracker/index.php diff -u qaweb/build_tracker/index.php:1.7 qaweb/build_tracker/index.php:1.8 --- qaweb/build_tracker/index.php:1.7 Thu Aug 24 09:27:05 2000 +++ qaweb/build_tracker/index.php Thu Aug 24 14:51:12 2000 @@ -1,6 +1,8 @@ <? - # Set location of text file that contains list of - # acceptable php versions for current testing + # Module, SAPI and Version information for populating form fields + # are stored in plain text files. Each line contains one entry + # for the appropriate select box or group of checkboxes. + $module_list = 'module_list.txt'; $php_version_list = 'php_version_list.txt'; $sapi_list = 'sapi_list.txt'; @@ -238,13 +240,14 @@ <td><font face="Tahoma, Arial, Helvetica, Sans Serif"> <? - $cells = file ($module_list); - $no_of_cells = count ($cells); + $modules = file ($module_list); + $no_of_cells = count ($modules); for ($n=0, $col = 0, $row = 0; $n < $no_of_cells; ++$n) { + $module = trim ($modules[$n]); $line = '<td><font face="Tahoma, Arial, Helvetica, Sans Serif" SIZE="2">'; - $line .= sprintf ('<input type="checkbox" name="field[module][%s]" %s/> %s<br />', $field[module][$cells[$n]], ($field[module][$cells[$n]] ? ' checked' : ''), $cells[$n]); + $line .= sprintf ('<input type="checkbox" name="field[module][%s]" %s/> %s ', $module, ($field[module][$module] ? ' checked' : ''), $module); $line .= '</font></td>'; $cell[$col][$row] = $line; @@ -257,7 +260,7 @@ } } - print '<table border="1">'; + print '<table border="1" WIDTH="90%">'; for ($row = 0; $cell[0][$row]; ++$row) print '<tr>'.$cell[0][$row].$cell[1][$row].$cell[2][$row].$cell[3][$row].'</tr>'; @@ -289,7 +292,7 @@ <table width="100%" cellpadding="4" cellspacing="0" border="0" bgcolor="#CCCCCC"> <tr> <td align="right" width="25%"><font face="Tahoma, Arial, Helvetica, Sans Serif"> - ? Output of ./configure and make scripts ? + Output of ./configure and make scripts </font></td> <td><font face="Tahoma, Arial, Helvetica, Sans Serif"> @@ -299,16 +302,6 @@ <tr> <td align="right" width="25%"><font face="Tahoma, Arial, Helvetica, Sans Serif"> - ?? - </font></td> - - <td><font face="Tahoma, Arial, Helvetica, Sans Serif"> - <textarea name="field['']" cols="32" rows="4" wrap="virtual" /><?= $field[''] ?></textarea> - </font></td> - </tr> - - <tr> - <td align="right" width="25%"><font face="Tahoma, Arial, Helvetica, Sans Serif"> Notes and Comments </font></td> @@ -330,7 +323,8 @@ </tr> </table><br /> - +<PRE> +<? print_r ($HTTP_POST_VARS) ?> </form> </font> </body> Index: qaweb/build_tracker/module_list.txt diff -u qaweb/build_tracker/module_list.txt:1.1 qaweb/build_tracker/module_list.txt:1.2 --- qaweb/build_tracker/module_list.txt:1.1 Thu Aug 24 09:18:48 2000 +++ qaweb/build_tracker/module_list.txt Thu Aug 24 14:51:12 2000 @@ -27,7 +27,7 @@ OCI8 ODBC Oracle -Perl Compatible<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Regex +Perl Compatible Regex PDF Posix PostgreSQL @@ -37,8 +37,8 @@ SNMP SWF Sybase -System V<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Shared Memory -System V<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Semaphores +System V Shared Memory +System V Semaphores WDDX XML Yellow Pages

« previous php.qa (#1048) next »