mooRainbow fix for mootools 1.2; Reset buton for custom color
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
* @infos http://moorainbow.woolly-sheep.net
|
||||
* @copyright Author
|
||||
*
|
||||
*
|
||||
* includes a fix for mootools 1.2 by Piotr Przybylski
|
||||
*/
|
||||
|
||||
var MooRainbow = new Class({
|
||||
@@ -447,7 +447,7 @@ var MooRainbow = new Class({
|
||||
'src': this.options.imgPath + 'moor_slider.png',
|
||||
'class': prefix + 'slider'
|
||||
}).inject(box);
|
||||
this.layout.slider = $E('#' + idPrefix + 'slider');
|
||||
this.layout.slider = sl;
|
||||
sl.width = sl.getStyle('width').toInt();
|
||||
sl.height = sl.getStyle('height').toInt();
|
||||
|
||||
@@ -501,24 +501,23 @@ var MooRainbow = new Class({
|
||||
|
||||
this.rePosition();
|
||||
|
||||
var overlays = $$('#' + idPrefix + 'overlay');
|
||||
var overlays = $$('#' + id + ' .' + prefix + 'overlay');
|
||||
this.layout.overlay = overlays[0];
|
||||
this.layout.overlay2 = overlays[1];
|
||||
this.layout.cursor = $E('#' + idPrefix + 'cursor');
|
||||
this.layout.arrows = $E('#' + idPrefix + 'arrows');
|
||||
this.chooseColor = $E('#' + idPrefix + 'chooseColor');
|
||||
this.layout.backup = $E('#' + idPrefix + 'currentColor');
|
||||
this.RedInput = $E('#' + idPrefix + 'rInput');
|
||||
this.GreenInput = $E('#' + idPrefix + 'gInput');
|
||||
this.BlueInput = $E('#' + idPrefix + 'bInput');
|
||||
this.HueInput = $E('#' + idPrefix + 'HueInput');
|
||||
this.SatuInput = $E('#' + idPrefix + 'SatuInput');
|
||||
this.BrighInput = $E('#' + idPrefix + 'BrighInput');
|
||||
this.hexInput = $E('#' + idPrefix + 'hexInput');
|
||||
this.layout.cursor = cr;
|
||||
this.layout.arrows = ar;
|
||||
this.chooseColor = this.layout.getElement('.' + prefix + 'chooseColor');
|
||||
this.RedInput = inputR;
|
||||
this.GreenInput = inputG;
|
||||
this.BlueInput = inputB;
|
||||
this.HueInput = inputHU;
|
||||
this.SatuInput = this.layout.getElement('.' + prefix + 'SatuInput');
|
||||
this.BrighInput = this.layout.getElement('.' + prefix + 'BrighInput');
|
||||
this.hexInput = this.layout.getElement('.' + prefix + 'hexInput');;
|
||||
|
||||
this.arrRGB = [this.RedInput, this.GreenInput, this.BlueInput];
|
||||
this.arrHSB = [this.HueInput, this.SatuInput, this.BrighInput];
|
||||
this.okButton = $E('#' + idPrefix + 'okButton');
|
||||
this.okButton = ok;
|
||||
|
||||
if (!Browser.Engine.webkit419) this.hide();
|
||||
},
|
||||
|
@@ -1101,4 +1101,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1100,4 +1100,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1102,4 +1102,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1097,4 +1097,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1076,4 +1076,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1094,4 +1094,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1077,4 +1077,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1076,4 +1076,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1100,4 +1100,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1074,4 +1074,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1097,4 +1097,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1072,4 +1072,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1102,4 +1102,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1081,4 +1081,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1075,4 +1075,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1076,4 +1076,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1076,4 +1076,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1098,4 +1098,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -185,6 +185,7 @@ $strCreationDates = 'Creation/Update/Check dates';
|
||||
$strCriteria = 'Criteria';
|
||||
$strCroatian = 'Croatian';
|
||||
$strCSV = 'CSV';
|
||||
$strCustomColor = 'Custom color';
|
||||
$strCyrillic = 'Cyrillic';
|
||||
$strCzech = 'Czech';
|
||||
$strCzechSlovak = 'Czech-Slovak';
|
||||
|
@@ -1082,4 +1082,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1076,4 +1076,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1073,4 +1073,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1075,4 +1075,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1102,4 +1102,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1082,4 +1082,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1099,4 +1099,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1094,4 +1094,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1102,4 +1102,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1093,4 +1093,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1092,4 +1092,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1077,4 +1077,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1093,4 +1093,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1097,4 +1097,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1099,4 +1099,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1092,4 +1092,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1077,4 +1077,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1114,4 +1114,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1097,4 +1097,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1074,4 +1074,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1099,4 +1099,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1070,4 +1070,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1103,4 +1103,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1091,4 +1091,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1078,4 +1078,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1076,4 +1076,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1076,4 +1076,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1079,4 +1079,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1077,4 +1077,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1096,4 +1096,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1072,4 +1072,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1075,4 +1075,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1088,4 +1088,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1098,4 +1098,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1082,4 +1082,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -1096,4 +1096,5 @@ $strAsDefined = 'As defined:'; //to translate
|
||||
$strWiki = 'Wiki'; //to translate
|
||||
$strWebServer = 'Web server'; //to translate
|
||||
$strPHPExtension = 'PHP extension'; //to translate
|
||||
$strCustomColor = 'Custom color'; //to translate
|
||||
?>
|
||||
|
@@ -637,7 +637,10 @@ unset($default_server);
|
||||
/******************************************************************************/
|
||||
/* setup themes LABEL_theme_setup */
|
||||
|
||||
if (isset($_REQUEST['custom_color'])) {
|
||||
if (isset($_REQUEST['custom_color_reset'])) {
|
||||
unset($_SESSION['userconf']['custom_color']);
|
||||
unset($_SESSION['userconf']['custom_color_rgb']);
|
||||
} elseif (isset($_REQUEST['custom_color'])) {
|
||||
$_SESSION['userconf']['custom_color'] = $_REQUEST['custom_color'];
|
||||
$_SESSION['userconf']['custom_color_rgb'] = $_REQUEST['custom_color_rgb'];
|
||||
}
|
||||
|
7
main.php
7
main.php
@@ -147,13 +147,16 @@ if (empty($cfg['Lang'])) {
|
||||
if ($GLOBALS['cfg']['ThemeManager']) {
|
||||
echo '<li id="li_select_theme">';
|
||||
echo $_SESSION['PMA_Theme_Manager']->getHtmlSelectBox();
|
||||
/*
|
||||
echo '</li>';
|
||||
echo '<li id="li_custom_color">';
|
||||
echo $strCustomColor . ': ';
|
||||
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 '<input type="submit" name="custom_color_reset" value="' . $strReset . '" />';
|
||||
echo '</form>';
|
||||
echo '</li>';
|
||||
}
|
||||
echo '<li id="li_select_fontsize">';
|
||||
|
Reference in New Issue
Block a user