diff --git a/phpBB/styles/subSilver/template/editor.js b/phpBB/styles/subSilver/template/editor.js index f00750a2d6..a54a31db38 100644 --- a/phpBB/styles/subSilver/template/editor.js +++ b/phpBB/styles/subSilver/template/editor.js @@ -263,7 +263,7 @@ function storeCaret(textEl) { if (textEl.createTextRange) { textEl.caretPos = document.selection.createRange().duplicate(); } } -function colorPalette() +function colorPalette(dir, width, height) { var r = 0, g = 0, b = 0; var numberList = new Array(6); @@ -275,16 +275,30 @@ function colorPalette() document.writeln(''); for(r = 0; r < 5; r++) { - for(g = 0; g < 5; g++) + if (dir == 'h') { document.writeln(''); + } + for(g = 0; g < 5; g++) + { + if (dir == 'v') + { + document.writeln(''); + } for(b = 0; b < 5; b++) { color = String(numberList[r]) + String(numberList[g]) + String(numberList[b]); document.write(''); } + if (dir == 'v') + { + document.writeln(''); + } + } + if (dir == 'h') + { document.writeln(''); } } diff --git a/phpBB/styles/subSilver/template/posting_body.html b/phpBB/styles/subSilver/template/posting_body.html index 7303077712..d9e789eea0 100644 --- a/phpBB/styles/subSilver/template/posting_body.html +++ b/phpBB/styles/subSilver/template/posting_body.html @@ -228,7 +228,7 @@ function checkForm() diff --git a/phpBB/styles/subSilver/template/ucp_profile_signature.html b/phpBB/styles/subSilver/template/ucp_profile_signature.html index ad7e165de2..f298a595c3 100644 --- a/phpBB/styles/subSilver/template/ucp_profile_signature.html +++ b/phpBB/styles/subSilver/template/ucp_profile_signature.html @@ -85,6 +85,17 @@ function marklist(form_name, status) + + +
'); - document.write('#' + color + ''); + document.write('#' + color + ''); document.writeln('
+ + + +