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:
authorChanaka Indrajith <pe.chanaka.ck@gmail.com>2012-06-22 22:08:33 +0400
committerChanaka Indrajith <pe.chanaka.ck@gmail.com>2012-06-22 22:08:33 +0400
commit766466135e0e4dcca26744e72fc277a3d8f05d11 (patch)
treeb04788e750c9cce728ae58b2ca7893dc3c000db8 /server_engines.php
parentb214b9807b4c050d64ae3135d5dd2b77f4f5b631 (diff)
Implement class behavior of common.lib.php file
Diffstat (limited to 'server_engines.php')
-rw-r--r--server_engines.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/server_engines.php b/server_engines.php
index 1a8a0cadf6..a49c5945c4 100644
--- a/server_engines.php
+++ b/server_engines.php
@@ -17,6 +17,8 @@ require_once 'libraries/common.inc.php';
require 'libraries/server_common.inc.php';
require 'libraries/StorageEngine.class.php';
+$common_functions = PMA_CommonFunctions::getInstance();
+
/**
* Did the user request information about a certain storage engine?
*/
@@ -28,7 +30,7 @@ if (empty($_REQUEST['engine'])
* Displays the sub-page heading
*/
echo '<h2>' . "\n"
- . PMA_getImage('b_engine.png')
+ . $common_functions->getImage('b_engine.png')
. "\n" . __('Storage Engines') . "\n"
. '</h2>' . "\n";
@@ -77,9 +79,9 @@ if (empty($_REQUEST['engine'])
$engine_plugin = PMA_StorageEngine::getEngine($_REQUEST['engine']);
echo '<h2>' . "\n"
- . PMA_getImage('b_engine.png')
+ . $common_functions->getImage('b_engine.png')
. ' ' . htmlspecialchars($engine_plugin->getTitle()) . "\n"
- . ' ' . PMA_showMySQLDocu('', $engine_plugin->getMysqlHelpPage()) . "\n"
+ . ' ' . $common_functions->showMySQLDocu('', $engine_plugin->getMysqlHelpPage()) . "\n"
. '</h2>' . "\n\n";
echo '<p>' . "\n"
. ' <em>' . "\n"