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:
authorMichal Čihař <mcihar@suse.cz>2012-04-11 17:34:27 +0400
committerMichal Čihař <mcihar@suse.cz>2012-04-11 17:34:27 +0400
commit5d54482c66f3471bd9950fecaa43de911208edca (patch)
treee19a16a247e7672c4c99df7472878a865ecf367b /server_plugins.php
parentcfee08c7810950d89bc2f8e2a5558d7ac7b4cce9 (diff)
Drop $cfg['MainPageIconic'].
Diffstat (limited to 'server_plugins.php')
-rw-r--r--server_plugins.php10
1 files changed, 3 insertions, 7 deletions
diff --git a/server_plugins.php b/server_plugins.php
index 0b836b946f..26fec2fe11 100644
--- a/server_plugins.php
+++ b/server_plugins.php
@@ -32,9 +32,7 @@ require 'libraries/server_links.inc.php';
* Displays the sub-page heading
*/
echo '<h2>' . "\n"
- . ($GLOBALS['cfg']['MainPageIconic']
- ? '<img class="icon" src="' . $pmaThemeImage . 'b_engine.png"'
- .' width="16" height="16" alt="" />' : '')
+ . PMA_getImage('b_engine.png')
. "\n" . __('Plugins') . "\n"
. '</h2>' . "\n";
@@ -91,10 +89,8 @@ pma_theme_image = '<?php echo $GLOBALS['pmaThemeImage']; ?>';
<caption class="tblHeaders">
<a class="top" href="#serverinfo"><?php
echo __('Begin');
- echo $GLOBALS['cfg']['MainPageIconic']
- ? '<img src="' . $GLOBALS['pmaThemeImage'] .
- 's_asc.png" width="11" height="9" align="middle" alt="" />'
- : ''; ?></a>
+ echo PMA_getImage('s_asc.png');
+ ?></a>
<?php echo htmlspecialchars($plugin_type); ?>
</caption>
<thead>