2 /* vim: set expandtab sw=4 ts=4 sts=4: */
8 use PMA\libraries\config\PageSettings
;
9 use PMA\libraries\Response
;
14 require_once 'libraries/common.inc.php';
15 require_once 'libraries/config/user_preferences.forms.php';
16 require_once 'libraries/config/page_settings.forms.php';
18 PageSettings
::showGroup('Sql_queries');
23 $response = Response
::getInstance();
24 $header = $response->getHeader();
25 $scripts = $header->getScripts();
26 $scripts->addFile('makegrid.js');
27 $scripts->addFile('jquery/jquery.uitablefilter.js');
28 $scripts->addFile('sql.js');
30 require 'libraries/tbl_common.inc.php';
31 $url_query .= '&goto=tbl_sql.php&back=tbl_sql.php';
33 require_once 'libraries/sql_query_form.lib.php';
35 $err_url = 'tbl_sql.php' . $err_url;
36 // After a syntax error, we return to this script
37 // with the typed query in the textarea.
38 $goto = 'tbl_sql.php';
39 $back = 'tbl_sql.php';
42 * Query box, bookmark, insert data from textfile
45 PMA_getHtmlForSqlQueryForm(
47 isset($_REQUEST['delimiter'])
48 ?
htmlspecialchars($_REQUEST['delimiter'])