From a7b0a98e223e36090f7b2fc2a68a036e655727cc Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 19 Dec 2010 18:47:10 +0000 Subject: replacing action-button with elgg-action-button git-svn-id: http://code.elgg.org/elgg/trunk@7688 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/tabbed_profile/views/default/profile/css.php | 4 ++-- mod/tabbed_profile/views/default/profile/ownerblock.php | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'mod/tabbed_profile/views/default') diff --git a/mod/tabbed_profile/views/default/profile/css.php b/mod/tabbed_profile/views/default/profile/css.php index 812daf16d..45c67b6b2 100644 --- a/mod/tabbed_profile/views/default/profile/css.php +++ b/mod/tabbed_profile/views/default/profile/css.php @@ -135,7 +135,7 @@ img.medium { #owner_block .profile_actions { margin-top:10px; } -#owner_block .profile_actions a.action-button { +#owner_block .profile_actions a.elgg-action-button { margin-bottom:4px; display: table; } @@ -334,7 +334,7 @@ p.visit_twitter a { border-top: 1px solid #dedede; margin-top:30px; } -.default_profile_reset .action-button { +.default_profile_reset .elgg-action-button { float:right; } /* field re-order */ diff --git a/mod/tabbed_profile/views/default/profile/ownerblock.php b/mod/tabbed_profile/views/default/profile/ownerblock.php index 85c930678..8f6d333a5 100755 --- a/mod/tabbed_profile/views/default/profile/ownerblock.php +++ b/mod/tabbed_profile/views/default/profile/ownerblock.php @@ -38,8 +38,8 @@ if ($section == 'details') { $profile_actions = ""; if (isloggedin() && (get_loggedin_userid() == elgg_get_page_owner_guid())) { $profile_actions = "
"; - $profile_actions .= "". elgg_echo('profile:edit') .""; - $profile_actions .= "". elgg_echo('avatar:edit') .""; + $profile_actions .= "". elgg_echo('profile:edit') .""; + $profile_actions .= "". elgg_echo('avatar:edit') .""; $profile_actions .= "
"; } else { $profile_actions = "
"; @@ -48,16 +48,16 @@ if (isloggedin() && (get_loggedin_userid() == elgg_get_page_owner_guid())) { if ($user->isFriend()) { $url = elgg_get_site_url()."action/friends/remove?friend={$user->getGUID()}"; $url = elgg_add_action_tokens_to_url($url); - $profile_actions .= "" . elgg_echo('friend:remove') . ""; + $profile_actions .= "" . elgg_echo('friend:remove') . ""; } else { $url = elgg_get_site_url()."action/friends/add?friend={$user->getGUID()}"; $url = elgg_add_action_tokens_to_url($url); - $profile_actions .= "" . elgg_echo('friend:add') . ""; + $profile_actions .= "" . elgg_echo('friend:add') . ""; } } } if (is_plugin_enabled('messages') && isloggedin()) { - $profile_actions .= "guid}\" class='action-button'>". elgg_echo('messages:send') .""; + $profile_actions .= "guid}\" class='elgg-action-button'>". elgg_echo('messages:send') .""; } $profile_actions .= "
"; } -- cgit v1.2.3