diff --git a/phpBB/language/en/viewtopic.php b/phpBB/language/en/viewtopic.php index 25593fd24a..3e1874f1ab 100644 --- a/phpBB/language/en/viewtopic.php +++ b/phpBB/language/en/viewtopic.php @@ -48,6 +48,7 @@ $lang = array_merge($lang, array( 'BUMP_TOPIC' => 'Bump topic', 'CODE' => 'Code', + 'COLLAPSE_QR' => 'Hide Quick Reply', 'DELETE_TOPIC' => 'Delete topic', 'DOWNLOAD_NOTICE' => 'You do not have the required permissions to view the files attached to this post.', diff --git a/phpBB/styles/prosilver/template/quickreply_editor.html b/phpBB/styles/prosilver/template/quickreply_editor.html index cc090957f9..398b1a5680 100644 --- a/phpBB/styles/prosilver/template/quickreply_editor.html +++ b/phpBB/styles/prosilver/template/quickreply_editor.html @@ -6,12 +6,44 @@ dE('qr_showeditor_div'); return true; } + - onload_functions.push('hide_qr();'); + function init_qr() + { + dE('qr_showeditor_div'); + return true; + } + onload_functions.push('init_qr();'); // ]]> +