From: cash Date: Sat, 19 Mar 2011 15:41:26 +0000 (+0000) Subject: Fixes #3173 quote was missing from conversion to new toggler pattern X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=eab878d0d5ee286212dc6b3a7cfd629c3a28b3eb;p=lorea%2Felgg.git Fixes #3173 quote was missing from conversion to new toggler pattern git-svn-id: http://code.elgg.org/elgg/trunk@8771 36083f99-b078-4883-b0ff-0f9b5a30f544 --- diff --git a/languages/en.php b/languages/en.php index 8ffb11547..6ccdbaecb 100644 --- a/languages/en.php +++ b/languages/en.php @@ -608,6 +608,8 @@ $english = array( 'admin:notices:could_not_delete' => 'Could not delete notice.', + 'admin:options' => 'Admin options', + /** * Plugins diff --git a/mod/profile/views/default/profile/owner_block.php b/mod/profile/views/default/profile/owner_block.php index b8f912649..c93398034 100755 --- a/mod/profile/views/default/profile/owner_block.php +++ b/mod/profile/views/default/profile/owner_block.php @@ -32,8 +32,10 @@ if (elgg_is_logged_in() && $actions) { // if admin, display admin links $admin_links = ''; if (elgg_is_admin_logged_in() && elgg_get_logged_in_user_guid() != elgg_get_page_owner_guid()) { + $text = elgg_echo('admin:options'); + $admin_links = '