2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Common includes for the table level views
8 if (! defined('PHPMYADMIN')) {
13 * Gets some core libraries
15 require_once './libraries/bookmark.lib.php';
18 PMA_Util
::checkParameters(array('db', 'table'));
20 $db_is_system_schema = $GLOBALS['dbi']->isSystemSchema($db);
23 * Set parameters for links
26 $url_query = PMA_URL_getCommon(array('db' => $db, 'table' => $table));
29 * Set parameters for links
31 $url_params = array();
32 $url_params['db'] = $db;
33 $url_params['table'] = $table;
36 * Defines the urls to return to in case of error in a sql statement
38 $err_url_0 = $cfg['DefaultTabDatabase']
39 . PMA_URL_getCommon(array('db' => $db));
40 $err_url = $cfg['DefaultTabTable'] . PMA_URL_getCommon($url_params);
44 * Ensures the database and the table exist (else move to the "parent" script)
46 require_once './libraries/db_table_exists.lib.php';