upgrade to mootools 1.2; temporarily deactivate the color picker that does not work with this mootools version

This commit is contained in:
Marc Delisle
2008-07-14 19:52:16 +00:00
parent 29d7c3e2f8
commit 2ac75d4591
9 changed files with 1063 additions and 7683 deletions

View File

@@ -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-domready.js';
/**
* Prepares the tables list if the user where not redirected to this script

File diff suppressed because it is too large Load Diff

View File

@@ -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();
});
});
});

File diff suppressed because it is too large Load Diff

View File

@@ -147,13 +147,13 @@ if (empty($cfg['Lang'])) {
if ($GLOBALS['cfg']['ThemeManager']) {
echo '<li id="li_select_theme">';
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 PMA_generate_common_hidden_inputs();
echo '<input type="hidden" name="custom_color" />';
echo '<input type="hidden" name="custom_color_rgb" />';
echo '</form>';
echo '</form>';*/
echo '</li>';
}
echo '<li id="li_select_fontsize">';

View File

@@ -15,7 +15,6 @@ require_once './libraries/check_user_privileges.lib.php';
require_once './libraries/bookmark.lib.php';
$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

View File

@@ -363,7 +363,6 @@ $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-domready.js';
$active_page = $goto_include;
require_once './libraries/header.inc.php';

View File

@@ -18,7 +18,6 @@ require_once './libraries/relation.lib.php'; // foreign keys
require_once './libraries/mysql_charsets.lib.php';
$GLOBALS['js_include'][] = 'mootools.js';
$GLOBALS['js_include'][] = 'mootools-domready.js';
if ($GLOBALS['cfg']['PropertiesIconic'] == true) {
$titles['Browse'] =

View File

@@ -14,7 +14,6 @@ require_once './libraries/mysql_charsets.lib.php';
require_once './libraries/relation.lib.php';
$GLOBALS['js_include'][] = 'mootools.js';
$GLOBALS['js_include'][] = 'mootools-domready.js';
/**
* handle multiple field commands if required