diff options
author | Rouslan Placella <rouslan@placella.com> | 2011-09-26 23:54:59 +0400 |
---|---|---|
committer | Rouslan Placella <rouslan@placella.com> | 2011-09-26 23:54:59 +0400 |
commit | d17814f463678cec54e6d9f469eb8f273668264e (patch) | |
tree | 2fbcfc5eccf8d1bd5301a58524b723afdf180d2f /db_structure.php | |
parent | b1c60c7d19d88c16b6ea591b2219a0793c2d961f (diff) |
Replaced use of hard coded images with the sprite-aware PMA_getImage() functions (both PHP and JS).
Diffstat (limited to 'db_structure.php')
-rw-r--r-- | db_structure.php | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/db_structure.php b/db_structure.php index 3926eaef82..faa5e02fca 100644 --- a/db_structure.php +++ b/db_structure.php @@ -307,12 +307,14 @@ foreach ($tables as $keyname => $each_table) { if (PMA_Tracker::isActive()) { if (PMA_Tracker::isTracked($GLOBALS["db"], $truename)) { $tracking_icon = '<a href="tbl_tracking.php?' . $url_query - . '&table=' . $truename . '"><img class="icon ic_eye" src="themes/dot.gif" alt="' - . __('Tracking is active.') . '" title="' . __('Tracking is active.') . '" /></a>'; + . '&table=' . $truename . '">' + . PMA_getImage('eye.png', __('Tracking is active.')) + . '</a>'; } elseif (PMA_Tracker::getVersion($GLOBALS["db"], $truename) > 0) { $tracking_icon = '<a href="tbl_tracking.php?' . $url_query - . '&table=' . $truename . '"><img class="icon ic_eye" src="themes/dot.gif" alt="' - . __('Tracking is not active.') . '" title="' . __('Tracking is not active.') . '" /></a>'; + . '&table=' . $truename . '">' + . PMA_getImage('eye.png', __('Tracking is not active.')) + . '</a>'; } } @@ -377,10 +379,10 @@ foreach ($tables as $keyname => $each_table) { </th> <?php if ($server_slave_status) { ?><td align="center"><?php echo $ignored - ? ' <img class="icon ic_s_cancel" src="themes/dot.gif" alt="NOT REPLICATED" />' + ? PMA_getImage('s_cancel.png', 'NOT REPLICATED') : ''. $do - ? ' <img class="icon ic_s_success" src="themes/dot.gif" alt="REPLICATED" />' + ? PMA_getImage('s_success.png', 'REPLICATED') : ''; ?></td><?php } ?> <td align="center"><?php echo $browse_table; ?></td> <td align="center"> |