From 2c2ad03dce82a3fffa575a9a1233345a85e0db34 Mon Sep 17 00:00:00 2001 From: ewinslow Date: Thu, 10 Feb 2011 01:43:36 +0000 Subject: Converted buttons to elgg-object-type naming convention. Added table of buttons to forms theming preview meant for previewing all button types and states (still have to implement those...) git-svn-id: http://code.elgg.org/elgg/trunk@8091 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/views/default/groups/css.php | 4 ++-- mod/groups/views/default/groups/edit.php | 2 +- mod/groups/views/default/groups/invitationrequests.php | 4 ++-- mod/groups/views/default/groups/membershiprequests.php | 4 ++-- mod/groups/views/default/groups/profile/buttons.php | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) (limited to 'mod/groups/views') diff --git a/mod/groups/views/default/groups/css.php b/mod/groups/views/default/groups/css.php index 17cd12031..93e15337f 100644 --- a/mod/groups/views/default/groups/css.php +++ b/mod/groups/views/default/groups/css.php @@ -55,8 +55,8 @@ /* group invitations */ -.group_invitations a.elgg-action-button, -.group_invitations a.elgg-submit-button { +.group_invitations a.elgg-button-action, +.group_invitations a.elgg-button-submit { float:right; margin:0 0 0 14px; } diff --git a/mod/groups/views/default/groups/edit.php b/mod/groups/views/default/groups/edit.php index 233ef8306..416ec6375 100644 --- a/mod/groups/views/default/groups/edit.php +++ b/mod/groups/views/default/groups/edit.php @@ -18,7 +18,7 @@ if ($entity) { $warning = elgg_echo("groups:deletewarning"); ?> - " onclick="javascript:return confirm('')"/> diff --git a/mod/groups/views/default/groups/invitationrequests.php b/mod/groups/views/default/groups/invitationrequests.php index c65e8987e..f69482deb 100644 --- a/mod/groups/views/default/groups/invitationrequests.php +++ b/mod/groups/views/default/groups/invitationrequests.php @@ -18,9 +18,9 @@ if (!empty($vars['invitations']) && is_array($vars['invitations'])) { $url = elgg_add_action_tokens_to_url(elgg_get_site_url()."action/groups/join?user_guid={$user->guid}&group_guid={$group->guid}"); ?>
- + "action/groups/killinvitation?user_guid={$user->getGUID()}&group_guid={$group->getGUID()}", 'confirm' => elgg_echo('groups:invite:remove:check'), 'text' => elgg_echo('delete'), diff --git a/mod/groups/views/default/groups/membershiprequests.php b/mod/groups/views/default/groups/membershiprequests.php index 05f194059..0ea6967af 100644 --- a/mod/groups/views/default/groups/membershiprequests.php +++ b/mod/groups/views/default/groups/membershiprequests.php @@ -19,9 +19,9 @@ $url = elgg_add_action_tokens_to_url(elgg_get_site_url()."action/groups/addtogroup?user_guid={$request->guid}&group_guid={$vars['entity']->guid}"); ?>
- + 'action/groups/killrequest?user_guid='.$request->guid.'&group_guid=' . $vars['entity']->guid, 'confirm' => elgg_echo('groups:joinrequest:remove:check'), 'text' => elgg_echo('delete'), diff --git a/mod/groups/views/default/groups/profile/buttons.php b/mod/groups/views/default/groups/profile/buttons.php index bd7560bb8..31df7a5b5 100644 --- a/mod/groups/views/default/groups/profile/buttons.php +++ b/mod/groups/views/default/groups/profile/buttons.php @@ -47,7 +47,7 @@ if ($actions) { echo elgg_view('output/url', array( 'text' => $action, 'href' => $url, - 'class' => 'elgg-action-button', + 'class' => 'elgg-button-action', )); } } -- cgit v1.2.3