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 /server_engines.php
parentb1c60c7d19d88c16b6ea591b2219a0793c2d961f (diff)
Replaced use of hard coded images with the sprite-aware PMA_getImage() functions (both PHP and JS).
Diffstat (limited to 'server_engines.php')
-rw-r--r--server_engines.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/server_engines.php b/server_engines.php
index 4e5eeb3f0d..afd6d5071d 100644
--- a/server_engines.php
+++ b/server_engines.php
@@ -41,8 +41,7 @@ if (empty($_REQUEST['engine'])
* Displays the sub-page heading
*/
echo '<h2>' . "\n"
- . ($GLOBALS['cfg']['MainPageIconic']
- ? '<img class="icon ic_b_engine" src="themes/dot.gif" alt="" />' : '')
+ . ($GLOBALS['cfg']['MainPageIconic'] ? PMA_getImage('b_engine.png') : '')
. "\n" . __('Storage Engines') . "\n"
. '</h2>' . "\n";
@@ -105,8 +104,7 @@ if (empty($_REQUEST['engine'])
$engine_plugin = PMA_StorageEngine::getEngine($_REQUEST['engine']);
echo '<h2>' . "\n"
- . ($GLOBALS['cfg']['MainPageIconic']
- ? '<img class="icon ic_b_engine" src="themes/dot.gif" alt="" />' : '')
+ . ($GLOBALS['cfg']['MainPageIconic'] ? PMA_getImage('b_engine.png') : '')
. ' ' . htmlspecialchars($engine_plugin->getTitle()) . "\n"
. ' ' . PMA_showMySQLDocu('', $engine_plugin->getMysqlHelpPage()) . "\n"
. '</h2>' . "\n\n";