diff --git a/ChangeLog b/ChangeLog index cb31f1309..3e3707be2 100755 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,7 @@ $Source$ * db_details_structure.php3, header.inc.php3, new db_datadict.php3, lang/*.php3: data dictionary feature, thanks to Ian Davidson (Ian.Davidson at tayside.pnn.police.uk) + * tbl_printview.php3: better format, thanks to Ian Davidson 2002-10-30 Alexander M. Turek * libraries/common.lib.php3: Better display of the query if parser is diff --git a/tbl_printview.php3 b/tbl_printview.php3 index 777f27b22..e2a6c3c34 100755 --- a/tbl_printview.php3 +++ b/tbl_printview.php3 @@ -1,6 +1,6 @@ ' . "\n"; + echo '' . "\n"; echo '

' . $table . '

' . "\n"; - + /** * Gets table informations */ @@ -166,7 +165,8 @@ while (list($key, $table) = each($the_tables)) { } else { $have_rel = FALSE; - } // end if + } + // end if /** @@ -175,28 +175,28 @@ while (list($key, $table) = each($the_tables)) { if (!empty($show_comment)) { echo $strTableComments . ' : ' . $show_comment . '

'; } - + /** * Displays the table structure */ ?> - +
- - - - - - + + + + + + ' . ucfirst($strLinksTo) . '' . "\n"; + echo ' ' . "\n"; } if ($cfgRelation['commwork']) { - echo ' ' . "\n"; + echo ' ' . "\n"; } ?> @@ -248,7 +248,7 @@ while (list($key, $table) = each($the_tables)) { echo "\n"; ?> - - - - - - + + + + + '; + echo ' ' . "\n"; } if ($cfgRelation['commwork']) { - echo '
' . ucfirst($strLinksTo) . '' . ucfirst($strComments) . '' . ucfirst($strComments) . '
+ ' . $field_name . ' ' . "\n"; @@ -257,22 +257,22 @@ while (list($key, $table) = each($the_tables)) { } ?> >   >   '; if (isset($res_rel[$field_name])) { - echo htmlspecialchars($res_rel[$field_name]['foreign_table'] . '->' . $res_rel[$field_name]['foreign_field'] ); + echo htmlspecialchars($res_rel[$field_name]['foreign_table'] . ' -> ' . $res_rel[$field_name]['foreign_field'] ); } echo ' '; + echo ' '; $comments = PMA_getComments($db, $table); if (isset($comments[$field_name])) { echo htmlspecialchars($comments[$field_name]); @@ -304,7 +304,7 @@ while (list($key, $table) = each($the_tables)) {   - +
@@ -315,7 +315,7 @@ while (list($key, $table) = each($the_tables)) { echo "\n"; while (list($index_no, $index_name) = each($indexes)) { $cell_bgd = (($index_no % 2) ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo']); - $index_td = ' ' . "\n"; echo $index_td . ' ' . htmlspecialchars($index_name) . "\n" @@ -343,15 +343,15 @@ while (list($key, $table) = each($the_tables)) { echo ' ' . "\n"; } if (!empty($indexes_data[$index_name][$seq_index]['Sub_part'])) { - echo ' ' . "\n"; - echo ' ' . "\n"; echo ' ' . "\n"; } else { - echo ' ' . "\n"; echo ' ' . "\n"; @@ -407,26 +407,26 @@ while (list($key, $table) = each($the_tables)) { -
' . "\n"; + $index_td = ' ' . "\n"; echo '
' . "\n" + echo ' ' . "\n" . ' ' . $indexes_data[$index_name][$seq_index]['Column_name'] . "\n" . ' ' . "\n" + echo ' ' . "\n" . ' ' . $indexes_data[$index_name][$seq_index]['Sub_part'] . "\n" . '
' . "\n" + echo ' ' . "\n" . ' ' . $indexes_data[$index_name][$seq_index]['Column_name'] . "\n" . '
+   - +
- - - + + + - - - + + + - - - + + + - - - + + + - - - + + + - +
     - +
@@ -477,8 +477,8 @@ while (list($key, $table) = each($the_tables)) { echo "\n"; ?> - - + - - + @@ -511,8 +511,8 @@ while (list($key, $table) = each($the_tables)) { echo "\n"; ?> - - + @@ -523,8 +523,8 @@ while (list($key, $table) = each($the_tables)) { echo "\n"; ?> - - + @@ -535,8 +535,8 @@ while (list($key, $table) = each($the_tables)) { echo "\n"; ?> - - + @@ -570,5 +570,13 @@ while (list($key, $table) = each($the_tables)) { * Displays the footer */ echo "\n"; +echo "

 "; require('./footer.inc.php3'); -?> +?>
+
+
 ø +  ø
 ø +  ø
 Autoindex +  Autoindex