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 /tbl_create.php | |
parent | b1c60c7d19d88c16b6ea591b2219a0793c2d961f (diff) |
Replaced use of hard coded images with the sprite-aware PMA_getImage() functions (both PHP and JS).
Diffstat (limited to 'tbl_create.php')
-rw-r--r-- | tbl_create.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tbl_create.php b/tbl_create.php index e60c172450..2810e0d3cb 100644 --- a/tbl_create.php +++ b/tbl_create.php @@ -266,9 +266,11 @@ if (isset($_REQUEST['do_save_data'])) { if (PMA_Tracker::isActive()) { $truename = str_replace(' ', ' ', htmlspecialchars($table)); if (PMA_Tracker::isTracked($db, $truename)) { - $new_table_string .= '<a href="tbl_tracking.php' . PMA_generate_common_url($tbl_url_params) . '"><img class="icon ic_eye" src="themes/dot.gif" alt="' . __('Tracking is active.') . '" title="' . __('Tracking is active.') . '" /></a>'; + $new_table_string .= '<a href="tbl_tracking.php' . PMA_generate_common_url($tbl_url_params) . '">'; + $new_table_string .= PMA_getImage('eye.png', __('Tracking is active.')); } elseif (PMA_Tracker::getVersion($db, $truename) > 0) { - $new_table_string .= '<a href="tbl_tracking.php' . PMA_generate_common_url($tbl_url_params) . '"><img class="icon ic_eye_grey" src="themes/dot.gif" alt="' . __('Tracking is not active.') . '" title="' . __('Tracking is not active.') . '" /></a>'; + $new_table_string .= '<a href="tbl_tracking.php' . PMA_generate_common_url($tbl_url_params) . '">'; + $new_table_string .= PMA_getImage('eye_grey.png', __('Tracking is not active.')); } unset($truename); } |