From 6a90e4e3c8373736550ab4d341847b0870ba1b60 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 25 Apr 2002 00:48:53 +0000 Subject: [PATCH] new cfg --- tbl_printview.php3 | 56 ++++++++++++++++++++--------------------- tbl_properties.inc.php3 | 20 +++++++-------- 2 files changed, 38 insertions(+), 38 deletions(-) diff --git a/tbl_printview.php3 b/tbl_printview.php3 index 65abc6ed8b..1e5daa09cd 100755 --- a/tbl_printview.php3 +++ b/tbl_printview.php3 @@ -179,7 +179,7 @@ while (list($key, $table) = each($the_tables)) { ?> - +
@@ -197,7 +197,7 @@ while (list($key, $table) = each($the_tables)) {   -
+
@@ -296,7 +296,7 @@ while (list($key, $table) = each($the_tables)) { ' . "\n"; echo ' ' . "\n"; echo $index_td @@ -353,7 +353,7 @@ while (list($key, $table) = each($the_tables)) { * * staybyte - 9 June 2001 */ - if ($cfgShowStats) { + if ($cfg['ShowStats']) { $nonisam = FALSE; if (isset($showtable['Type']) && !eregi('ISAM|HEAP', $showtable['Type'])) { $nonisam = TRUE; @@ -391,24 +391,24 @@ while (list($key, $table) = each($the_tables)) {
  - +
- - - + + + - - - + + + - - - + + + - - - + + + - - - + + +
  - +
@@ -455,7 +455,7 @@ while (list($key, $table) = each($the_tables)) { @@ -477,7 +477,7 @@ while (list($key, $table) = each($the_tables)) { @@ -489,7 +489,7 @@ while (list($key, $table) = each($the_tables)) { 0) { - $bgcolor = ((++$i%2) ? $cfgBgcolorTwo : $cfgBgcolorOne); + $bgcolor = ((++$i%2) ? $cfg['BgcolorTwo'] : $cfg['BgcolorOne']); echo "\n"; ?> @@ -501,7 +501,7 @@ while (list($key, $table) = each($the_tables)) { 0 && $mergetable == FALSE) { - $bgcolor = ((++$i%2) ? $cfgBgcolorTwo : $cfgBgcolorOne); + $bgcolor = ((++$i%2) ? $cfg['BgcolorTwo'] : $cfg['BgcolorOne']); echo "\n"; ?> @@ -513,7 +513,7 @@ while (list($key, $table) = each($the_tables)) { @@ -533,7 +533,7 @@ while (list($key, $table) = each($the_tables)) { = 32303 && $nonisam == FALSE) - } // end if ($cfgShowStats) + } // end if ($cfg['ShowStats']) echo "\n"; if ($multi_tables) { diff --git a/tbl_properties.inc.php3 b/tbl_properties.inc.php3 index a147a26aa9..ad7da1c099 100755 --- a/tbl_properties.inc.php3 +++ b/tbl_properties.inc.php3 @@ -24,7 +24,7 @@ echo "\n"; $is_backup = ($action != 'tbl_create.php3' && $action != 'tbl_addfield.php3'); ?> -
+
@@ -53,7 +53,7 @@ for ($i = 0 ; $i < $num_fields; $i++) { if (isset($fields_meta)) { $row = $fields_meta[$i]; } - $bgcolor = ($i % 2) ? $cfgBgcolorOne : $cfgBgcolorTwo; + $bgcolor = ($i % 2) ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo']; ?>
' . PMA_showDocuShort('C/o/Column_types.html'); ?>
@@ -101,12 +101,12 @@ for ($i = 0 ; $i < $num_fields; $i++) { } } // end if else - for ($j = 0; $j < count($cfgColumnTypes); $j++) { - echo ' \n"; + echo ">$cfg['ColumnTypes'][$j]\n"; } // end for ?> @@ -140,12 +140,12 @@ for ($i = 0 ; $i < $num_fields; $i++) { if ($zerofill) { $strAttribute = 'UNSIGNED ZEROFILL'; } - for ($j = 0;$j < count($cfgAttributeTypes); $j++) { - echo ' \n"; + echo ">$cfg['AttributeTypes'][$j]\n"; } ?>