phpmyadmin/libraries/server_common.lib.php
xmujay bfb6dec7e6 fix the issues:
1. replace tab with space in server_bin_log.lib.php
2. move $bin_log to server_binlog.php
3. add server common function file server_common.lib.php
2013-06-08 00:02:45 +08:00

37 lines
694 B
PHP

<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Shared code for server pages
*
* @package PhpMyAdmin
*/
if (! defined('PHPMYADMIN')) {
exit;
}
/**
* Returns the html for the sub-page heading
*
* @param string $type Sub page type
*
* @return string
*/
function PMA_getSubPageHeader($type)
{
$res = array();
$res['plugins']['icon'] = 'b_engine.png';
$res['plugins']['text'] = __('Plugins');
$res['binlog']['icon'] = 's_tbl.png';
$res['binlog']['text'] = __('Binary log');
$html = '<h2>' . "\n"
. PMA_Util::getImage($res[$type]['icon'])
. ' ' . $res[$type]['text'] . "\n"
. '</h2>' . "\n";
return $html;
}
?>