Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRouslan Placella <rouslan@placella.com>2011-09-26 23:54:59 +0400
committerRouslan Placella <rouslan@placella.com>2011-09-26 23:54:59 +0400
commitd17814f463678cec54e6d9f469eb8f273668264e (patch)
tree2fbcfc5eccf8d1bd5301a58524b723afdf180d2f /db_structure.php
parentb1c60c7d19d88c16b6ea591b2219a0793c2d961f (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.php14
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
- . '&amp;table=' . $truename . '"><img class="icon ic_eye" src="themes/dot.gif" alt="'
- . __('Tracking is active.') . '" title="' . __('Tracking is active.') . '" /></a>';
+ . '&amp;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
- . '&amp;table=' . $truename . '"><img class="icon ic_eye" src="themes/dot.gif" alt="'
- . __('Tracking is not active.') . '" title="' . __('Tracking is not active.') . '" /></a>';
+ . '&amp;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">