acknowledgments update
[openemr.git] / phpmyadmin / navigation.php
blob4b4b3b36f706a5b1bdd5bacef7a61568d718f879
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * the navigation frame - displays server, db and table selection tree
6 * @package PhpMyAdmin-Navigation
7 */
9 // Include common functionalities
10 require_once './libraries/common.inc.php';
12 // Also initialises the collapsible tree class
13 require_once './libraries/navigation/Navigation.class.php';
15 // Do the magic
16 $response = PMA_Response::getInstance();
17 if ($response->isAjax()) {
18 $navigation = new PMA_Navigation();
19 $response->addJSON('message', $navigation->getDisplay());
20 } else {
21 $response->addHTML(
22 PMA_Message::error(
23 __('Fatal error: The navigation can only be accessed via AJAX')