diff options
author | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2017-09-13 05:12:28 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauriciofauth@gmail.com> | 2017-09-13 05:12:28 +0300 |
commit | 99642bf6e2c94d7f2fbe8fe3b3af933f671c9a2e (patch) | |
tree | 68000a5afcb0e357d8051520db15999ad0b4a248 /index.php | |
parent | ce49e7f60f2995ca2d5c39e1407c3d701c77e967 (diff) |
Refactor select_server functions to static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,6 +15,7 @@ use PhpMyAdmin\RecentFavoriteTable; use PhpMyAdmin\Relation; use PhpMyAdmin\Response; use PhpMyAdmin\Sanitize; +use PhpMyAdmin\Server\Select; use PhpMyAdmin\ThemeManager; use PhpMyAdmin\Url; use PhpMyAdmin\Util; @@ -183,9 +184,8 @@ if ($server > 0 || count($cfg['Servers']) > 1 || ($server == 0 && count($cfg['Servers']) == 1))) ) { echo '<li id="li_select_server" class="no_bullets" >'; - include_once 'libraries/select_server.lib.php'; echo Util::getImage('s_host.png') , " " - , PMA_selectServer(true, true); + , Select::render(true, true); echo '</li>'; } |