Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRouslan Placella <rouslan@placella.com>2012-05-24 00:25:48 +0400
committerRouslan Placella <rouslan@placella.com>2012-06-11 17:06:02 +0400
commit4a740376c89755698ae5fac3746eb57ba07142ae (patch)
treeb33aa2a42117a87d24f145080d3f9a8887a0e21e /tbl_select.php
parent97449dae42a11cfa7f4571aaadeab3fefc30acf7 (diff)
Dropped header.inc.php in favor of the PMA_Header class
Diffstat (limited to 'tbl_select.php')
-rw-r--r--tbl_select.php13
1 files changed, 7 insertions, 6 deletions
diff --git a/tbl_select.php b/tbl_select.php
index fd86203715..3323d0b8e9 100644
--- a/tbl_select.php
+++ b/tbl_select.php
@@ -16,12 +16,13 @@ require_once 'libraries/common.inc.php';
require_once 'libraries/mysql_charsets.lib.php';
require_once 'libraries/tbl_select.lib.php';
-$GLOBALS['js_include'][] = 'makegrid.js';
-$GLOBALS['js_include'][] = 'sql.js';
-$GLOBALS['js_include'][] = 'tbl_select.js';
-$GLOBALS['js_include'][] = 'tbl_change.js';
-$GLOBALS['js_include'][] = 'jquery/timepicker.js';
-$GLOBALS['js_include'][] = 'gis_data_editor.js';
+$scripts = PMA_Header::getInstance()->getScripts();
+$scripts->addFile('makegrid.js');
+$scripts->addFile('sql.js');
+$scripts->addFile('tbl_select.js');
+$scripts->addFile('tbl_change.js');
+$scripts->addFile('jquery/timepicker.js');
+$scripts->addFile('gis_data_editor.js');
$post_params = array(
'ajax_request',