diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2010-05-18 17:27:21 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2010-07-11 10:18:45 +0200 |
commit | 5d9948e39c4add6c16d81699d91433d3805f2db9 (patch) | |
tree | a0b484ab3dda08fb170ea6eccd3bea88fb3fe34f /phpBB/styles/prosilver/template/editor.js | |
parent | 6d7e30ae995fe0791c2bced0974b0445fa769ee9 (diff) | |
download | forums-5d9948e.tar forums-5d9948e.tar.gz forums-5d9948e.tar.bz2 forums-5d9948e.tar.xz forums-5d9948e.zip |
[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
Diffstat (limited to 'phpBB/styles/prosilver/template/editor.js')
-rw-r--r-- | phpBB/styles/prosilver/template/editor.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/styles/prosilver/template/editor.js b/phpBB/styles/prosilver/template/editor.js index c4c3483766..ddc862bb8c 100644 --- a/phpBB/styles/prosilver/template/editor.js +++ b/phpBB/styles/prosilver/template/editor.js @@ -200,6 +200,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]; |