Translated using Weblate (Chinese (China))
[phpmyadmin.git] / server_plugins.php
blob11654b8f8d5ee3429b4c3e3f920ff6821c6e3d18
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * object the server plugin page
6 * @package PhpMyAdmin
7 */
9 /**
10 * requirements
12 require_once 'libraries/common.inc.php';
14 /**
15 * JS includes
17 $response = PMA_Response::getInstance();
18 $header = $response->getHeader();
19 $scripts = $header->getScripts();
20 $scripts->addFile('jquery/jquery.tablesorter.js');
21 $scripts->addFile('server_plugins.js');
23 /**
24 * Does the common work
26 require 'libraries/server_common.inc.php';
27 require 'libraries/server_plugins.lib.php';
29 $plugins = PMA_getServerPlugins();
31 /**
32 * Displays the page
34 $response->addHTML('<div>');
35 $response->addHTML(PMA_getHtmlForPluginsSubTabs('server_plugins.php'));
36 $response->addHTML(PMA_getPluginTab($plugins));
37 $response->addHTML('</div>');
39 exit;