aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/subsilver2/template/editor.js
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2010-05-18 17:27:21 +0200
committerNils Adermann <naderman@naderman.de>2010-08-20 23:49:22 +0200
commit6dc00b67c7d98b0b8f8cd028e46e7e604f74b75c (patch)
tree48aa66f0c7f7b87a0c65887a4a40617d1214c458 /phpBB/styles/subsilver2/template/editor.js
parentf6674074948f629a3a29587f10c92ef584341ff4 (diff)
downloadforums-6dc00b67c7d98b0b8f8cd028e46e7e604f74b75c.tar
forums-6dc00b67c7d98b0b8f8cd028e46e7e604f74b75c.tar.gz
forums-6dc00b67c7d98b0b8f8cd028e46e7e604f74b75c.tar.bz2
forums-6dc00b67c7d98b0b8f8cd028e46e7e604f74b75c.tar.xz
forums-6dc00b67c7d98b0b8f8cd028e46e7e604f74b75c.zip
[task/restore-subsilver2] Reapply commit 5d9948e
[ticket/9531] BBCode-less quotes fallback-option is missing "Author wrote:" When quoting from the topic-review the statement "Author wrote:" is missing. The fix for this was not complete: Now it's backwards compatibile and uses the LA_ for the language variables. PHPBB3-9531 PHPBB3-9783
Diffstat (limited to 'phpBB/styles/subsilver2/template/editor.js')
-rw-r--r--phpBB/styles/subsilver2/template/editor.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/styles/subsilver2/template/editor.js b/phpBB/styles/subsilver2/template/editor.js
index 54bd3450d0..e340bc74b5 100644
--- a/phpBB/styles/subsilver2/template/editor.js
+++ b/phpBB/styles/subsilver2/template/editor.js
@@ -202,6 +202,12 @@ function addquote(post_id, username, l_wrote)
var theSelection = '';
var divarea = false;
+ if (l_wrote === undefined)
+ {
+ // Backwards compatibility
+ l_wrote = 'wrote';
+ }
+
if (document.all)
{
divarea = document.all[message_name];