upgrade to mootools 1.2; temporarily deactivate the color picker that does not work with this mootools version
This commit is contained in:
@@ -12,7 +12,6 @@ require_once './libraries/common.inc.php';
|
|||||||
require_once './libraries/Table.class.php';
|
require_once './libraries/Table.class.php';
|
||||||
|
|
||||||
$GLOBALS['js_include'][] = 'mootools.js';
|
$GLOBALS['js_include'][] = 'mootools.js';
|
||||||
$GLOBALS['js_include'][] = 'mootools-domready.js';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Prepares the tables list if the user where not redirected to this script
|
* Prepares the tables list if the user where not redirected to this script
|
||||||
|
File diff suppressed because it is too large
Load Diff
@@ -1,15 +0,0 @@
|
|||||||
window.addEvent('domready', function(){
|
|
||||||
var divs = $$(['docs', 'js', 'html', 'css']);
|
|
||||||
divs.each(function(div){
|
|
||||||
var link = $(div.id + 'code');
|
|
||||||
div.setStyle('display', 'none');
|
|
||||||
link.addEvent('click', function(e){
|
|
||||||
e = new Event(e);
|
|
||||||
divs.each(function(other){
|
|
||||||
if (other != div) other.setStyle('display', 'none');
|
|
||||||
});
|
|
||||||
div.setStyle('display', (div.getStyle('display') == 'block') ? 'none' : 'block');
|
|
||||||
e.stop();
|
|
||||||
});
|
|
||||||
});
|
|
||||||
});
|
|
7598
js/mootools.js
7598
js/mootools.js
File diff suppressed because it is too large
Load Diff
6
main.php
6
main.php
@@ -147,13 +147,13 @@ if (empty($cfg['Lang'])) {
|
|||||||
if ($GLOBALS['cfg']['ThemeManager']) {
|
if ($GLOBALS['cfg']['ThemeManager']) {
|
||||||
echo '<li id="li_select_theme">';
|
echo '<li id="li_select_theme">';
|
||||||
echo $_SESSION['PMA_Theme_Manager']->getHtmlSelectBox();
|
echo $_SESSION['PMA_Theme_Manager']->getHtmlSelectBox();
|
||||||
echo '<img id="myRainbow" src="js/mooRainbow/images/rainbow.png" alt="[r]"
|
/*
|
||||||
width="16" height="16" />';
|
echo '<img id="myRainbow" src="js/mooRainbow/images/rainbow.png" alt="[r]" width="16" height="16" />';
|
||||||
echo '<form name="rainbowform" id="rainbowform" method="post" action="index.php" target="_parent">';
|
echo '<form name="rainbowform" id="rainbowform" method="post" action="index.php" target="_parent">';
|
||||||
echo PMA_generate_common_hidden_inputs();
|
echo PMA_generate_common_hidden_inputs();
|
||||||
echo '<input type="hidden" name="custom_color" />';
|
echo '<input type="hidden" name="custom_color" />';
|
||||||
echo '<input type="hidden" name="custom_color_rgb" />';
|
echo '<input type="hidden" name="custom_color_rgb" />';
|
||||||
echo '</form>';
|
echo '</form>';*/
|
||||||
echo '</li>';
|
echo '</li>';
|
||||||
}
|
}
|
||||||
echo '<li id="li_select_fontsize">';
|
echo '<li id="li_select_fontsize">';
|
||||||
|
1
sql.php
1
sql.php
@@ -15,7 +15,6 @@ require_once './libraries/check_user_privileges.lib.php';
|
|||||||
require_once './libraries/bookmark.lib.php';
|
require_once './libraries/bookmark.lib.php';
|
||||||
|
|
||||||
$GLOBALS['js_include'][] = 'mootools.js';
|
$GLOBALS['js_include'][] = 'mootools.js';
|
||||||
$GLOBALS['js_include'][] = 'mootools-domready.js';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines the url to return to in case of error in a sql statement
|
* Defines the url to return to in case of error in a sql statement
|
||||||
|
@@ -363,7 +363,6 @@ $GLOBALS['js_include'][] = 'tbl_change.js';
|
|||||||
$GLOBALS['js_include'][] = 'functions.js';
|
$GLOBALS['js_include'][] = 'functions.js';
|
||||||
// in case we call sql.php which needs those:
|
// in case we call sql.php which needs those:
|
||||||
$GLOBALS['js_include'][] = 'mootools.js';
|
$GLOBALS['js_include'][] = 'mootools.js';
|
||||||
$GLOBALS['js_include'][] = 'mootools-domready.js';
|
|
||||||
|
|
||||||
$active_page = $goto_include;
|
$active_page = $goto_include;
|
||||||
require_once './libraries/header.inc.php';
|
require_once './libraries/header.inc.php';
|
||||||
|
@@ -18,7 +18,6 @@ require_once './libraries/relation.lib.php'; // foreign keys
|
|||||||
require_once './libraries/mysql_charsets.lib.php';
|
require_once './libraries/mysql_charsets.lib.php';
|
||||||
|
|
||||||
$GLOBALS['js_include'][] = 'mootools.js';
|
$GLOBALS['js_include'][] = 'mootools.js';
|
||||||
$GLOBALS['js_include'][] = 'mootools-domready.js';
|
|
||||||
|
|
||||||
if ($GLOBALS['cfg']['PropertiesIconic'] == true) {
|
if ($GLOBALS['cfg']['PropertiesIconic'] == true) {
|
||||||
$titles['Browse'] =
|
$titles['Browse'] =
|
||||||
|
@@ -14,7 +14,6 @@ require_once './libraries/mysql_charsets.lib.php';
|
|||||||
require_once './libraries/relation.lib.php';
|
require_once './libraries/relation.lib.php';
|
||||||
|
|
||||||
$GLOBALS['js_include'][] = 'mootools.js';
|
$GLOBALS['js_include'][] = 'mootools.js';
|
||||||
$GLOBALS['js_include'][] = 'mootools-domready.js';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* handle multiple field commands if required
|
* handle multiple field commands if required
|
||||||
|
Reference in New Issue
Block a user