mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[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
This commit is contained in:
@@ -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];
|
||||
|
Reference in New Issue
Block a user