|
@@ -13,7 +13,7 @@
|
|
|
// The main template for the post page.
|
|
|
function template_main()
|
|
|
{
|
|
|
- global $context, $settings, $options, $txt, $scripturl, $modSettings, $counter, $editortxt;
|
|
|
+ global $context, $settings, $options, $txt, $scripturl, $modSettings, $counter;
|
|
|
|
|
|
// Start the javascript... and boy is there a lot.
|
|
|
echo '
|
|
@@ -711,7 +711,7 @@ function template_main()
|
|
|
|
|
|
if ($context['can_quote'])
|
|
|
echo '
|
|
|
- newPostsHTML += \'<ul class="reset smalltext quickbuttons" id="msg_\' + newPosts[i].getAttribute("id") + \'_quote"><li><a href="#postmodify" onclick="return insertQuoteFast(\\\'\' + newPosts[i].getAttribute("id") + \'\\\');" class="quote_button"><span>',$editortxt['bbc_quote'],'</span><\' + \'/a></li></ul>\';';
|
|
|
+ newPostsHTML += \'<ul class="reset smalltext quickbuttons" id="msg_\' + newPosts[i].getAttribute("id") + \'_quote"><li><a href="#postmodify" onclick="return insertQuoteFast(\\\'\' + newPosts[i].getAttribute("id") + \'\\\');" class="quote_button"><span>', $txt['quote'], '</span><\' + \'/a></li></ul>\';';
|
|
|
|
|
|
echo '
|
|
|
newPostsHTML += \'<br class="clear" />\';
|
|
@@ -840,7 +840,7 @@ function template_main()
|
|
|
{
|
|
|
echo '
|
|
|
<ul class="quickbuttons" id="msg_', $post['id'], '_quote">
|
|
|
- <li><a href="#postmodify" onclick="return insertQuoteFast(', $post['id'], ');" class="quote_button">',$editortxt['bbc_quote'],'</a></li>
|
|
|
+ <li><a href="#postmodify" onclick="return insertQuoteFast(', $post['id'], ');" class="quote_button">', $txt['quote'], '</a></li>
|
|
|
</ul>';
|
|
|
}
|
|
|
|