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ř <michal@cihar.com>2017-11-27 16:24:42 +0300
committerMichal Čihař <michal@cihar.com>2017-11-27 16:24:42 +0300
commitbed6fb4ebdc5f83ed30fe3e83e380baf24ed2fa5 (patch)
treee0843a441b7c4fa1a7b069f27ea274dc06e99a2e /index.php
parent0aed31b8549e6a78d3c04ab0add96ad5ffcb13d1 (diff)
Avois passing extension to Util::getImage
We do not use it anyway for quite some time and this way it's less processing to generate the img tag. Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'index.php')
-rw-r--r--index.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/index.php b/index.php
index d66365ce9b..f85e000758 100644
--- a/index.php
+++ b/index.php
@@ -184,7 +184,7 @@ if ($server > 0 || count($cfg['Servers']) > 1
|| ($server == 0 && count($cfg['Servers']) == 1)))
) {
echo '<li id="li_select_server" class="no_bullets" >';
- echo Util::getImage('s_host.png') , " "
+ echo Util::getImage('s_host') , " "
, Select::render(true, true);
echo '</li>';
}
@@ -200,7 +200,7 @@ if ($server > 0 || count($cfg['Servers']) > 1
if ($cfg['ShowChgPassword']) {
$conditional_class = 'ajax';
Core::printListItem(
- Util::getImage('s_passwd.png') . "&nbsp;" . __(
+ Util::getImage('s_passwd') . "&nbsp;" . __(
'Change password'
),
'li_change_password',
@@ -217,7 +217,7 @@ if ($server > 0 || count($cfg['Servers']) > 1
echo ' <form method="post" action="index.php">' , "\n"
. Url::getHiddenInputs(null, null, 4, 'collation_connection')
. ' <label for="select_collation_connection">' . "\n"
- . ' ' . Util::getImage('s_asci.png')
+ . ' ' . Util::getImage('s_asci')
. "&nbsp;" . __('Server connection collation') . "\n"
// put the doc link in the form so that it appears on the same line
. Util::showMySQLDocu('Charset-connection')
@@ -249,7 +249,7 @@ $language_manager = LanguageManager::getInstance();
if (empty($cfg['Lang']) && $language_manager->hasChoice()) {
echo '<li id="li_select_lang" class="no_bullets">';
- echo Util::getImage('s_lang.png') , " "
+ echo Util::getImage('s_lang') , " "
, $language_manager->getSelectorDisplay();
echo '</li>';
}
@@ -258,7 +258,7 @@ if (empty($cfg['Lang']) && $language_manager->hasChoice()) {
if ($GLOBALS['cfg']['ThemeManager']) {
echo '<li id="li_select_theme" class="no_bullets">';
- echo Util::getImage('s_theme.png') , " "
+ echo Util::getImage('s_theme') , " "
, ThemeManager::getInstance()->getHtmlSelectBox();
echo '</li>';
}
@@ -273,7 +273,7 @@ echo '</ul>';
if ($server > 0) {
echo '<ul>';
Core::printListItem(
- Util::getImage('b_tblops.png') . "&nbsp;" . __(
+ Util::getImage('b_tblops') . "&nbsp;" . __(
'More settings'
),
'li_user_preferences',