diff --git a/js/mooRainbow/mooRainbow.js b/js/mooRainbow/mooRainbow.js index dd87e563d..c355a73f5 100644 --- a/js/mooRainbow/mooRainbow.js +++ b/js/mooRainbow/mooRainbow.js @@ -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(); }, diff --git a/lang/afrikaans-utf-8.inc.php b/lang/afrikaans-utf-8.inc.php index 19d08dbf2..ccdf3a9ed 100644 --- a/lang/afrikaans-utf-8.inc.php +++ b/lang/afrikaans-utf-8.inc.php @@ -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 ?> diff --git a/lang/albanian-utf-8.inc.php b/lang/albanian-utf-8.inc.php index 2ae737a3c..84b3a8994 100644 --- a/lang/albanian-utf-8.inc.php +++ b/lang/albanian-utf-8.inc.php @@ -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 ?> diff --git a/lang/arabic-utf-8.inc.php b/lang/arabic-utf-8.inc.php index 8d1cf86b6..1869490e8 100644 --- a/lang/arabic-utf-8.inc.php +++ b/lang/arabic-utf-8.inc.php @@ -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 ?> diff --git a/lang/azerbaijani-utf-8.inc.php b/lang/azerbaijani-utf-8.inc.php index cc2b397d6..daecf6311 100644 --- a/lang/azerbaijani-utf-8.inc.php +++ b/lang/azerbaijani-utf-8.inc.php @@ -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 ?> diff --git a/lang/bangla-utf-8.inc.php b/lang/bangla-utf-8.inc.php index 390795661..a2db0bd35 100644 --- a/lang/bangla-utf-8.inc.php +++ b/lang/bangla-utf-8.inc.php @@ -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 ?> diff --git a/lang/basque-utf-8.inc.php b/lang/basque-utf-8.inc.php index 78cea0855..b8d43a89b 100644 --- a/lang/basque-utf-8.inc.php +++ b/lang/basque-utf-8.inc.php @@ -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 ?> diff --git a/lang/belarusian_cyrillic-utf-8.inc.php b/lang/belarusian_cyrillic-utf-8.inc.php index de7c5840e..41273bdcd 100644 --- a/lang/belarusian_cyrillic-utf-8.inc.php +++ b/lang/belarusian_cyrillic-utf-8.inc.php @@ -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 ?> diff --git a/lang/belarusian_latin-utf-8.inc.php b/lang/belarusian_latin-utf-8.inc.php index 8b9c9d70f..3796db6aa 100644 --- a/lang/belarusian_latin-utf-8.inc.php +++ b/lang/belarusian_latin-utf-8.inc.php @@ -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 ?> diff --git a/lang/bosnian-utf-8.inc.php b/lang/bosnian-utf-8.inc.php index 410b00c01..bcc6f26d3 100644 --- a/lang/bosnian-utf-8.inc.php +++ b/lang/bosnian-utf-8.inc.php @@ -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 ?> diff --git a/lang/brazilian_portuguese-utf-8.inc.php b/lang/brazilian_portuguese-utf-8.inc.php index 1d3280260..88755006b 100644 --- a/lang/brazilian_portuguese-utf-8.inc.php +++ b/lang/brazilian_portuguese-utf-8.inc.php @@ -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 ?> diff --git a/lang/bulgarian-utf-8.inc.php b/lang/bulgarian-utf-8.inc.php index ab608ba48..365472110 100644 --- a/lang/bulgarian-utf-8.inc.php +++ b/lang/bulgarian-utf-8.inc.php @@ -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 ?> diff --git a/lang/catalan-utf-8.inc.php b/lang/catalan-utf-8.inc.php index 02d8bb400..e6bcb83a6 100644 --- a/lang/catalan-utf-8.inc.php +++ b/lang/catalan-utf-8.inc.php @@ -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 ?> diff --git a/lang/chinese_simplified-utf-8.inc.php b/lang/chinese_simplified-utf-8.inc.php index 3533777ab..a8229f830 100644 --- a/lang/chinese_simplified-utf-8.inc.php +++ b/lang/chinese_simplified-utf-8.inc.php @@ -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 ?> diff --git a/lang/chinese_traditional-utf-8.inc.php b/lang/chinese_traditional-utf-8.inc.php index 42a032759..a86f38acb 100644 --- a/lang/chinese_traditional-utf-8.inc.php +++ b/lang/chinese_traditional-utf-8.inc.php @@ -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 ?> diff --git a/lang/croatian-utf-8.inc.php b/lang/croatian-utf-8.inc.php index dac9eb121..a994ecb83 100644 --- a/lang/croatian-utf-8.inc.php +++ b/lang/croatian-utf-8.inc.php @@ -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 ?> diff --git a/lang/czech-utf-8.inc.php b/lang/czech-utf-8.inc.php index 004556b2d..6c3d6ac9f 100644 --- a/lang/czech-utf-8.inc.php +++ b/lang/czech-utf-8.inc.php @@ -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 ?> diff --git a/lang/danish-utf-8.inc.php b/lang/danish-utf-8.inc.php index a4af8b277..9f3010ed3 100644 --- a/lang/danish-utf-8.inc.php +++ b/lang/danish-utf-8.inc.php @@ -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 ?> diff --git a/lang/dutch-utf-8.inc.php b/lang/dutch-utf-8.inc.php index 99ec62e53..0a0d3d68f 100644 --- a/lang/dutch-utf-8.inc.php +++ b/lang/dutch-utf-8.inc.php @@ -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 ?> diff --git a/lang/english-utf-8.inc.php b/lang/english-utf-8.inc.php index c4630d27a..db7e7cabf 100644 --- a/lang/english-utf-8.inc.php +++ b/lang/english-utf-8.inc.php @@ -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'; diff --git a/lang/estonian-utf-8.inc.php b/lang/estonian-utf-8.inc.php index d432263d7..59b2835b6 100644 --- a/lang/estonian-utf-8.inc.php +++ b/lang/estonian-utf-8.inc.php @@ -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 ?> diff --git a/lang/finnish-utf-8.inc.php b/lang/finnish-utf-8.inc.php index cffbe3e85..642921da1 100644 --- a/lang/finnish-utf-8.inc.php +++ b/lang/finnish-utf-8.inc.php @@ -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 ?> diff --git a/lang/french-utf-8.inc.php b/lang/french-utf-8.inc.php index efeb59fe6..db4160d0f 100644 --- a/lang/french-utf-8.inc.php +++ b/lang/french-utf-8.inc.php @@ -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 ?> diff --git a/lang/galician-utf-8.inc.php b/lang/galician-utf-8.inc.php index 84a11fbec..687446451 100644 --- a/lang/galician-utf-8.inc.php +++ b/lang/galician-utf-8.inc.php @@ -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 ?> diff --git a/lang/georgian-utf-8.inc.php b/lang/georgian-utf-8.inc.php index be0f7e939..af272c6f5 100644 --- a/lang/georgian-utf-8.inc.php +++ b/lang/georgian-utf-8.inc.php @@ -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 ?> diff --git a/lang/german-utf-8.inc.php b/lang/german-utf-8.inc.php index dbed6da85..cbf2d62ac 100644 --- a/lang/german-utf-8.inc.php +++ b/lang/german-utf-8.inc.php @@ -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 ?> diff --git a/lang/greek-utf-8.inc.php b/lang/greek-utf-8.inc.php index 54dac0d99..baca237f9 100644 --- a/lang/greek-utf-8.inc.php +++ b/lang/greek-utf-8.inc.php @@ -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 ?> diff --git a/lang/hebrew-utf-8.inc.php b/lang/hebrew-utf-8.inc.php index dd97d7e75..de9ec3af9 100644 --- a/lang/hebrew-utf-8.inc.php +++ b/lang/hebrew-utf-8.inc.php @@ -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 ?> diff --git a/lang/hindi-utf-8.inc.php b/lang/hindi-utf-8.inc.php index 772fa0df0..d88496767 100644 --- a/lang/hindi-utf-8.inc.php +++ b/lang/hindi-utf-8.inc.php @@ -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 ?> diff --git a/lang/hungarian-utf-8.inc.php b/lang/hungarian-utf-8.inc.php index 0088bc2d7..702ce612e 100644 --- a/lang/hungarian-utf-8.inc.php +++ b/lang/hungarian-utf-8.inc.php @@ -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 ?> diff --git a/lang/indonesian-utf-8.inc.php b/lang/indonesian-utf-8.inc.php index df98eff3a..108b370ab 100644 --- a/lang/indonesian-utf-8.inc.php +++ b/lang/indonesian-utf-8.inc.php @@ -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 ?> diff --git a/lang/italian-utf-8.inc.php b/lang/italian-utf-8.inc.php index ba17377d6..50c8230f4 100644 --- a/lang/italian-utf-8.inc.php +++ b/lang/italian-utf-8.inc.php @@ -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 ?> diff --git a/lang/japanese-utf-8.inc.php b/lang/japanese-utf-8.inc.php index b83b067fb..003511f7e 100644 --- a/lang/japanese-utf-8.inc.php +++ b/lang/japanese-utf-8.inc.php @@ -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 ?> diff --git a/lang/korean-utf-8.inc.php b/lang/korean-utf-8.inc.php index 4bea3926b..b67cb0e36 100644 --- a/lang/korean-utf-8.inc.php +++ b/lang/korean-utf-8.inc.php @@ -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 ?> diff --git a/lang/latvian-utf-8.inc.php b/lang/latvian-utf-8.inc.php index 5856898a7..a08f65620 100644 --- a/lang/latvian-utf-8.inc.php +++ b/lang/latvian-utf-8.inc.php @@ -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 ?> diff --git a/lang/lithuanian-utf-8.inc.php b/lang/lithuanian-utf-8.inc.php index b86beccbc..5614b6556 100644 --- a/lang/lithuanian-utf-8.inc.php +++ b/lang/lithuanian-utf-8.inc.php @@ -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 ?> diff --git a/lang/macedonian_cyrillic-utf-8.inc.php b/lang/macedonian_cyrillic-utf-8.inc.php index df5a4e48f..8ec6742ad 100644 --- a/lang/macedonian_cyrillic-utf-8.inc.php +++ b/lang/macedonian_cyrillic-utf-8.inc.php @@ -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 ?> diff --git a/lang/malay-utf-8.inc.php b/lang/malay-utf-8.inc.php index ebb5bda78..07fff6e25 100644 --- a/lang/malay-utf-8.inc.php +++ b/lang/malay-utf-8.inc.php @@ -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 ?> diff --git a/lang/mongolian-utf-8.inc.php b/lang/mongolian-utf-8.inc.php index 8beee5c79..c62a6bdae 100644 --- a/lang/mongolian-utf-8.inc.php +++ b/lang/mongolian-utf-8.inc.php @@ -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 ?> diff --git a/lang/norwegian-utf-8.inc.php b/lang/norwegian-utf-8.inc.php index 6d8c2a70d..9de9d16c4 100644 --- a/lang/norwegian-utf-8.inc.php +++ b/lang/norwegian-utf-8.inc.php @@ -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 ?> diff --git a/lang/persian-utf-8.inc.php b/lang/persian-utf-8.inc.php index b6ae7dc5b..b960da898 100644 --- a/lang/persian-utf-8.inc.php +++ b/lang/persian-utf-8.inc.php @@ -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 ?> diff --git a/lang/polish-utf-8.inc.php b/lang/polish-utf-8.inc.php index cd6554161..9032a397f 100644 --- a/lang/polish-utf-8.inc.php +++ b/lang/polish-utf-8.inc.php @@ -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 ?> diff --git a/lang/portuguese-utf-8.inc.php b/lang/portuguese-utf-8.inc.php index b46383e0f..9d9c35485 100644 --- a/lang/portuguese-utf-8.inc.php +++ b/lang/portuguese-utf-8.inc.php @@ -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 ?> diff --git a/lang/romanian-utf-8.inc.php b/lang/romanian-utf-8.inc.php index 799a9a76b..e96834c04 100644 --- a/lang/romanian-utf-8.inc.php +++ b/lang/romanian-utf-8.inc.php @@ -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 ?> diff --git a/lang/russian-utf-8.inc.php b/lang/russian-utf-8.inc.php index 31a9dee5f..012600c53 100644 --- a/lang/russian-utf-8.inc.php +++ b/lang/russian-utf-8.inc.php @@ -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 ?> diff --git a/lang/serbian_cyrillic-utf-8.inc.php b/lang/serbian_cyrillic-utf-8.inc.php index d36a9e4d3..81d1f6731 100644 --- a/lang/serbian_cyrillic-utf-8.inc.php +++ b/lang/serbian_cyrillic-utf-8.inc.php @@ -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 ?> diff --git a/lang/serbian_latin-utf-8.inc.php b/lang/serbian_latin-utf-8.inc.php index a067bf16a..1ac558fd4 100644 --- a/lang/serbian_latin-utf-8.inc.php +++ b/lang/serbian_latin-utf-8.inc.php @@ -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 ?> diff --git a/lang/sinhala-utf-8.inc.php b/lang/sinhala-utf-8.inc.php index dc87fe826..7e9fba0dd 100644 --- a/lang/sinhala-utf-8.inc.php +++ b/lang/sinhala-utf-8.inc.php @@ -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 ?> diff --git a/lang/slovak-utf-8.inc.php b/lang/slovak-utf-8.inc.php index 59db4bb8f..ef3923a51 100644 --- a/lang/slovak-utf-8.inc.php +++ b/lang/slovak-utf-8.inc.php @@ -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 ?> diff --git a/lang/slovenian-utf-8.inc.php b/lang/slovenian-utf-8.inc.php index 24d5312e0..652dcc8d6 100644 --- a/lang/slovenian-utf-8.inc.php +++ b/lang/slovenian-utf-8.inc.php @@ -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 ?> diff --git a/lang/spanish-utf-8.inc.php b/lang/spanish-utf-8.inc.php index f75f35f01..8699dd434 100644 --- a/lang/spanish-utf-8.inc.php +++ b/lang/spanish-utf-8.inc.php @@ -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 ?> diff --git a/lang/swedish-utf-8.inc.php b/lang/swedish-utf-8.inc.php index b15bcbc4e..1307e14f3 100644 --- a/lang/swedish-utf-8.inc.php +++ b/lang/swedish-utf-8.inc.php @@ -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 ?> diff --git a/lang/tatarish-utf-8.inc.php b/lang/tatarish-utf-8.inc.php index 2d528976f..9d225dc55 100644 --- a/lang/tatarish-utf-8.inc.php +++ b/lang/tatarish-utf-8.inc.php @@ -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 ?> diff --git a/lang/thai-utf-8.inc.php b/lang/thai-utf-8.inc.php index 8f7519b06..996a0c1ac 100644 --- a/lang/thai-utf-8.inc.php +++ b/lang/thai-utf-8.inc.php @@ -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 ?> diff --git a/lang/turkish-utf-8.inc.php b/lang/turkish-utf-8.inc.php index 464e00202..0121fa930 100644 --- a/lang/turkish-utf-8.inc.php +++ b/lang/turkish-utf-8.inc.php @@ -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 ?> diff --git a/lang/ukrainian-utf-8.inc.php b/lang/ukrainian-utf-8.inc.php index 37128e9de..4e76c559a 100644 --- a/lang/ukrainian-utf-8.inc.php +++ b/lang/ukrainian-utf-8.inc.php @@ -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 ?> diff --git a/libraries/common.inc.php b/libraries/common.inc.php index 91cbcf131..30ebbf3fc 100644 --- a/libraries/common.inc.php +++ b/libraries/common.inc.php @@ -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']; } diff --git a/main.php b/main.php index e215d792e..da7c0ef34 100644 --- a/main.php +++ b/main.php @@ -147,13 +147,16 @@ if (empty($cfg['Lang'])) { if ($GLOBALS['cfg']['ThemeManager']) { echo '