aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/language/en/common.php1
-rw-r--r--phpBB/styles/prosilver/template/posting_topic_review.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/language/en/common.php b/phpBB/language/en/common.php
index 0d3d2b4720..39284b3208 100644
--- a/phpBB/language/en/common.php
+++ b/phpBB/language/en/common.php
@@ -107,6 +107,7 @@ $lang = array_merge($lang, array(
'CHANGING_PREFERENCES' => 'Changing forum preferences',
'CHANGING_PROFILE' => 'Changing forum profile settings',
'CLICK_VIEW_PRIVMSG' => '%sGo to your inbox%s',
+ 'COLLAPSE_VIEW' => 'Collapse view',
'CLOSE_WINDOW' => 'Close window',
'COLOUR_SWATCH' => 'Colour swatch',
'COMMA_SEPARATOR' => ', ', // Used in pagination and secret yet-to-be-release style, use localised comma if appropriate, eg: Ideographic or Arabic
diff --git a/phpBB/styles/prosilver/template/posting_topic_review.html b/phpBB/styles/prosilver/template/posting_topic_review.html
index c8d3369eaf..d999d344da 100644
--- a/phpBB/styles/prosilver/template/posting_topic_review.html
+++ b/phpBB/styles/prosilver/template/posting_topic_review.html
@@ -1,6 +1,6 @@
<h3 id="review">
- <span class="right-box"><a href="#review" onclick="viewableArea(getElementById('topicreview'), true);">{L_EXPAND_VIEW}</a></span>
+ <span class="right-box"><a href="#review" onclick="viewableArea(getElementById('topicreview'), true); var rev_text = getElementById('review').getElementsByTagName('a').item(0).firstChild; if (rev_text.data == '{L_EXPAND_VIEW}'){rev_text.data = '{L_COLLAPSE_VIEW}'; return false}; if (rev_text.data == '{L_COLLAPSE_VIEW}'){rev_text.data = '{L_EXPAND_VIEW}'};">{L_EXPAND_VIEW}</a></span>
{L_TOPIC_REVIEW}: {TOPIC_TITLE}
</h3>