Refresh .po files
[phpmyadmin.git] / libraries / tbl_common.php
blob4b8172f5d2ac73eeb8eee91b9d32b0b6080db968
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
5 * @package PhpMyAdmin
6 */
7 if (! defined('PHPMYADMIN')) {
8 exit;
11 /**
12 * Gets some core libraries
14 require_once './libraries/common.inc.php';
15 require_once './libraries/bookmark.lib.php';
17 // Check parameters
18 PMA_checkParameters(array('db', 'table'));
20 $db_is_information_schema = PMA_is_system_schema($db);
22 /**
23 * Set parameters for links
24 * @deprecated
26 $url_query = PMA_generate_common_url($db, $table);
28 $url_params['db'] = $db;
29 $url_params['table'] = $table;
31 /**
32 * Defines the urls to return to in case of error in a sql statement
34 $err_url_0 = $cfg['DefaultTabDatabase'] . PMA_generate_common_url(array('db' => $db,));
35 $err_url = $cfg['DefaultTabTable'] . PMA_generate_common_url($url_params);
38 /**
39 * Ensures the database and the table exist (else move to the "parent" script)
41 require_once './libraries/db_table_exists.lib.php';