phpmyadmin/setup/frames/menu.inc.php
Maurício Meneghini Fauth ca910e8de8 Move classes to PhpMyAdmin namespace
- Move Table to PhpMyAdmin namespace
- Move Template to PhpMyAdmin namespace
- Move ThemeManager to PhpMyAdmin namespace
- Move Theme to PhpMyAdmin namespace
- Move Tracker to PhpMyAdmin namespace
- Move Transformations to PhpMyAdmin namespace
- Move TypesMySQL to PhpMyAdmin namespace
- Move Types to PhpMyAdmin namespace
- Move Util to PhpMyAdmin namespace
- Move VersionInformation to PhpMyAdmin namespace
- Move Url to PhpMyAdmin namespace

Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
2017-07-08 10:54:21 -03:00

37 lines
917 B
PHP

<?php
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Menu items
*
* @package PhpMyAdmin-Setup
*/
use PhpMyAdmin\Url;
if (!defined('PHPMYADMIN')) {
exit;
}
$formset_id = isset($_GET['formset']) ? $_GET['formset'] : null;
echo '<ul>';
echo '<li><a href="index.php' , Url::getCommon() , '"'
, ($formset_id === null ? ' class="active' : '')
, '">' , __('Overview') , '</a></li>';
$formsets = array(
'Features' => __('Features'),
'Sql_queries' => __('SQL queries'),
'Navi_panel' => __('Navigation panel'),
'Main_panel' => __('Main panel'),
'Import' => __('Import'),
'Export' => __('Export')
);
foreach ($formsets as $formset => $label) {
echo '<li><a href="index.php' , Url::getCommon(array('page' => 'form', 'formset' => $formset)) , '" '
, ($formset_id === $formset ? ' class="active' : '')
, '">' , $label , '</a></li>';
}
echo '</ul>';