Load mootools in every page.
This commit is contained in:
@@ -14,7 +14,6 @@ require_once './libraries/common.inc.php';
|
||||
/**
|
||||
* Load mootools for upload progress bar
|
||||
*/
|
||||
$GLOBALS['js_include'][] = 'mootools.js';
|
||||
$GLOBALS['js_include'][] = 'mootools-more.js';
|
||||
|
||||
/**
|
||||
|
@@ -12,7 +12,6 @@
|
||||
require_once './libraries/common.inc.php';
|
||||
require_once './libraries/Table.class.php';
|
||||
|
||||
$GLOBALS['js_include'][] = 'mootools.js';
|
||||
$GLOBALS['js_include'][] = 'mootools-more.js';
|
||||
|
||||
/**
|
||||
|
@@ -14,7 +14,6 @@
|
||||
require_once './libraries/common.inc.php';
|
||||
//require_once './libraries/display_import_functions.lib.php';
|
||||
$GLOBALS['js_include'][] = 'functions.js';
|
||||
$GLOBALS['js_include'][] = 'mootools.js';
|
||||
$GLOBALS['js_include'][] = 'mootools-more.js';
|
||||
|
||||
// reset import messages for ajax request
|
||||
|
@@ -112,6 +112,8 @@ $GLOBALS['js_events'][] = array(
|
||||
'function' => 'PMA_TT_init',
|
||||
);
|
||||
|
||||
$GLOBALS['js_include'][] = 'mootools.js';
|
||||
|
||||
foreach ($GLOBALS['js_include'] as $js_script_file) {
|
||||
echo '<script src="./js/' . $js_script_file . '?ts=' . filemtime('./js/' . $js_script_file) . '" type="text/javascript"></script>' . "\n";
|
||||
}
|
||||
|
1
main.php
1
main.php
@@ -11,7 +11,6 @@
|
||||
*/
|
||||
define('PMA_MOORAINBOW', true);
|
||||
require_once './libraries/common.inc.php';
|
||||
$GLOBALS['js_include'][] = 'mootools.js';
|
||||
$GLOBALS['js_include'][] = 'mootools-more.js';
|
||||
$GLOBALS['js_include'][] = 'mooRainbow/mooRainbow.js';
|
||||
$GLOBALS['js_include'][] = 'mootools-domready-rainbow.js';
|
||||
|
@@ -14,7 +14,6 @@ require_once './libraries/common.inc.php';
|
||||
/**
|
||||
* Load mootools for upload progress bar
|
||||
*/
|
||||
$GLOBALS['js_include'][] = 'mootools.js';
|
||||
$GLOBALS['js_include'][] = 'mootools-more.js';
|
||||
|
||||
|
||||
|
@@ -16,7 +16,6 @@ require_once './libraries/common.inc.php';
|
||||
*/
|
||||
$GLOBALS['js_include'][] = 'server_privileges.js';
|
||||
$GLOBALS['js_include'][] = 'functions.js';
|
||||
$GLOBALS['js_include'][] = 'mootools.js';
|
||||
$GLOBALS['js_include'][] = 'mootools-more.js';
|
||||
$GLOBALS['js_include'][] = 'mootools_common.js';
|
||||
|
||||
|
@@ -16,7 +16,6 @@ require_once './libraries/common.inc.php';
|
||||
* Does the common work
|
||||
*/
|
||||
$GLOBALS['js_include'][] = 'functions.js';
|
||||
$GLOBALS['js_include'][] = 'mootools.js';
|
||||
$GLOBALS['js_include'][] = 'mootools-more.js';
|
||||
require_once './libraries/server_common.inc.php';
|
||||
|
||||
|
1
sql.php
1
sql.php
@@ -15,7 +15,6 @@ require_once './libraries/Table.class.php';
|
||||
require_once './libraries/check_user_privileges.lib.php';
|
||||
require_once './libraries/bookmark.lib.php';
|
||||
|
||||
$GLOBALS['js_include'][] = 'mootools.js';
|
||||
$GLOBALS['js_include'][] = 'mootools-more.js';
|
||||
|
||||
/**
|
||||
|
@@ -14,7 +14,6 @@ require_once './libraries/common.inc.php';
|
||||
/**
|
||||
* Load mootools for upload progress bar
|
||||
*/
|
||||
$GLOBALS['js_include'][] = 'mootools.js';
|
||||
$GLOBALS['js_include'][] = 'mootools-more.js';
|
||||
|
||||
/**
|
||||
|
@@ -430,7 +430,6 @@ if (isset($return_to_sql_query)) {
|
||||
$GLOBALS['js_include'][] = 'tbl_change.js';
|
||||
$GLOBALS['js_include'][] = 'functions.js';
|
||||
// in case we call sql.php which needs those:
|
||||
$GLOBALS['js_include'][] = 'mootools.js';
|
||||
$GLOBALS['js_include'][] = 'mootools-more.js';
|
||||
|
||||
$active_page = $goto_include;
|
||||
|
@@ -19,7 +19,6 @@ require_once './libraries/relation.lib.php'; // foreign keys
|
||||
require_once './libraries/mysql_charsets.lib.php';
|
||||
|
||||
$GLOBALS['js_include'][] = 'tbl_change.js';
|
||||
$GLOBALS['js_include'][] = 'mootools.js';
|
||||
$GLOBALS['js_include'][] = 'mootools-more.js';
|
||||
|
||||
if ($GLOBALS['cfg']['PropertiesIconic'] == true) {
|
||||
|
@@ -14,7 +14,6 @@ require_once './libraries/common.inc.php';
|
||||
require_once './libraries/mysql_charsets.lib.php';
|
||||
require_once './libraries/relation.lib.php';
|
||||
|
||||
$GLOBALS['js_include'][] = 'mootools.js';
|
||||
$GLOBALS['js_include'][] = 'mootools-more.js';
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user