diff options
author | Michal Čihař <michal@cihar.com> | 2017-11-27 16:24:42 +0300 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2017-11-27 16:24:42 +0300 |
commit | bed6fb4ebdc5f83ed30fe3e83e380baf24ed2fa5 (patch) | |
tree | e0843a441b7c4fa1a7b069f27ea274dc06e99a2e /index.php | |
parent | 0aed31b8549e6a78d3c04ab0add96ad5ffcb13d1 (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.php | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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') . " " . __( + Util::getImage('s_passwd') . " " . __( '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') . " " . __('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') . " " . __( + Util::getImage('b_tblops') . " " . __( 'More settings' ), 'li_user_preferences', |