From 6ec315502a02fe12636d2c945ca63bdd4b2d7d02 Mon Sep 17 00:00:00 2001 From: Sem Date: Fri, 6 Jul 2012 17:54:59 +0200 Subject: Fixes #4635. Added 'back' translation for external pages. --- languages/en.php | 1 + mod/externalpages/views/default/expages/wrapper.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/languages/en.php b/languages/en.php index 7cd091115..18d0c88d9 100644 --- a/languages/en.php +++ b/languages/en.php @@ -875,6 +875,7 @@ $english = array( 'down' => 'Down', 'top' => 'Top', 'bottom' => 'Bottom', + 'back' => 'Back', 'invite' => "Invite", diff --git a/mod/externalpages/views/default/expages/wrapper.php b/mod/externalpages/views/default/expages/wrapper.php index 8eb0b2f84..c579da1ba 100644 --- a/mod/externalpages/views/default/expages/wrapper.php +++ b/mod/externalpages/views/default/expages/wrapper.php @@ -9,7 +9,7 @@ echo $vars['content']; echo '
'; echo elgg_view('output/url', array( - 'text' => 'Back', + 'text' => elgg_echo('back'), 'href' => $_SERVER['HTTP_REFERER'], 'class' => 'float-alt' )); -- cgit v1.2.3