diff --git a/ChangeLog b/ChangeLog index 8bb2bde11..b3197430c 100755 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,8 @@ $Source$ libraries/header_meta_style.inc.php: Actually use print style in themes, also fixes RFE #1120880. * sql.php: Better calculate inserted row id (bug #1156963). + * db_details_links.php, db_details_structure.php: Show database comment on + each tab (same as we do with table comments). 2005-03-06 Michael Keck * themes/*/img/bd_deltbl.png, themes/*/bd_drop.png: Added disabled diff --git a/db_details_links.php b/db_details_links.php index c5bc36386..6d89e9f34 100644 --- a/db_details_links.php +++ b/db_details_links.php @@ -97,6 +97,29 @@ if (!$cfg['LightTabs']) { echo '
'; } +/** + * Settings for relations stuff + */ +require_once('./libraries/relation.lib.php'); +$cfgRelation = PMA_getRelationsParam(); + +// Get additional information about tables for tooltip is done in db_details_db_info.php only once +if ($cfgRelation['commwork']) { + $comment = PMA_getComments($db); + + /** + * Displays table comment + */ + if (is_array($comment)) { + ?> + +

+ +

+ - -

- -

-
@@ -478,10 +456,10 @@ else { if ($cfg['ShowStats']) { ?> -  -  +  -  -  -  +  -