diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-19 15:41:26 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-19 15:41:26 +0000 |
commit | eab878d0d5ee286212dc6b3a7cfd629c3a28b3eb (patch) | |
tree | 82728788ca7c30cd1b6331d11c12a4a9834e7271 /mod/profile/views | |
parent | e4bc53c61702b22c845cbbd22ba3335935ee2c9c (diff) | |
download | elgg-eab878d0d5ee286212dc6b3a7cfd629c3a28b3eb.tar.gz elgg-eab878d0d5ee286212dc6b3a7cfd629c3a28b3eb.tar.bz2 |
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
Diffstat (limited to 'mod/profile/views')
-rwxr-xr-x | mod/profile/views/default/profile/owner_block.php | 4 |
1 files changed, 3 insertions, 1 deletions
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 = '<ul class="profile-admin-menu-wrapper">'; - $admin_links .= '<li><a class="elgg-toggler href="#profile-menu-admin">Admin options…</a>'; + $admin_links .= "<li><a class=\"elgg-toggler\" href=\"#profile-menu-admin\">$text…</a>"; $admin_links .= '<ul class="profile-admin-menu" id="profile-menu-admin">'; foreach ($admin as $menu_item) { $admin_links .= elgg_view('navigation/menu/elements/item', array('item' => $menu_item)); |