From 1c4ddb5366b9f8311f81e3233a150e44bfa484fa Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Mon, 14 May 2007 15:04:54 +0000 Subject: not ideal, but hey! git-svn-id: file:///svn/phpbb/trunk@7569 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/adm/style/acp_users_signature.html | 12 ++++++++++-- phpBB/adm/style/editor.js | 20 +++++++++++--------- 2 files changed, 21 insertions(+), 11 deletions(-) (limited to 'phpBB/adm') diff --git a/phpBB/adm/style/acp_users_signature.html b/phpBB/adm/style/acp_users_signature.html index 43373a2a7e..b01f03cf9f 100644 --- a/phpBB/adm/style/acp_users_signature.html +++ b/phpBB/adm/style/acp_users_signature.html @@ -47,6 +47,7 @@
{L_SIGNATURE}

{L_SIGNATURE_EXPLAIN}

+
@@ -81,8 +82,15 @@
+

-
+
+
+
+ +
@@ -98,7 +106,7 @@
-
+
 
diff --git a/phpBB/adm/style/editor.js b/phpBB/adm/style/editor.js index 2f490f4746..c7632633d9 100644 --- a/phpBB/adm/style/editor.js +++ b/phpBB/adm/style/editor.js @@ -35,16 +35,17 @@ function initInsertions() var doc; if(document.forms[form_name]) { - doc = document; - } - else + doc = document; + } + else { doc = opener.document; } + var textarea = doc.forms[form_name].elements[text_name]; if (is_ie && typeof(baseHeight) != 'number') - { - textarea.focus(); + { + textarea.focus(); baseHeight = doc.selection.createRange().duplicate().boundingHeight; document.body.focus(); } @@ -118,7 +119,7 @@ function bbfontstyle(bbopen, bbclose) { var range = textarea.createTextRange(); - range.move("character", new_pos); + range.move("character", new_pos); range.select(); storeCaret(textarea); } @@ -172,10 +173,11 @@ function insert_text(text, spaces, popup) { textarea.value = textarea.value + text; } - if (!popup) + + if (!popup) { textarea.focus(); - } + } } @@ -307,7 +309,7 @@ function colorPalette(dir, width, height) numberList[3] = 'BF'; numberList[4] = 'FF'; - document.writeln(''); + document.writeln('
'); for (r = 0; r < 5; r++) { -- cgit v1.2.1