diff options
-rw-r--r-- | mod/groups/views/default/forms/groups/edit.php | 18 | ||||
-rw-r--r-- | mod/groups/views/default/forms/groups/invite.php | 4 | ||||
-rw-r--r-- | mod/groups/views/default/groups/css.php | 6 |
3 files changed, 12 insertions, 16 deletions
diff --git a/mod/groups/views/default/forms/groups/edit.php b/mod/groups/views/default/forms/groups/edit.php index 1c5cb9b6e..810c29bc9 100644 --- a/mod/groups/views/default/forms/groups/edit.php +++ b/mod/groups/views/default/forms/groups/edit.php @@ -17,8 +17,7 @@ } ?> -<div class="contentWrapper"> -<form action="<?php echo $vars['url']; ?>action/groups/edit" enctype="multipart/form-data" method="post"> +<form action="<?php echo $vars['url']; ?>action/groups/edit" enctype="multipart/form-data" method="post" class="margin_top"> <?php echo elgg_view('input/securitytoken'); ?> @@ -128,9 +127,8 @@ ?> <p> <?php - if ($vars['entity']) - { - ?><input type="hidden" name="group_guid" value="<?php echo $vars['entity']->getGUID(); ?>" /><?php + if ($vars['entity']) { + ?><input type="hidden" name="group_guid" value="<?php echo $vars['entity']->getGUID(); ?>" /><?php } ?> <input type="hidden" name="user_guid" value="<?php echo page_owner_entity()->guid; ?>" /> @@ -139,23 +137,19 @@ </p> </form> -</div> -<div class="contentWrapper"> -<div id="delete_group_option"> +<div class="delete_group"> <form action="<?php echo $vars['url'] . "action/groups/delete"; ?>"> <?php echo elgg_view('input/securitytoken'); - if ($vars['entity']) - { + if ($vars['entity']) { $warning = elgg_echo("groups:deletewarning"); ?> <input type="hidden" name="group_guid" value="<?php echo $vars['entity']->getGUID(); ?>" /> - <input type="submit" name="delete" value="<?php echo elgg_echo('groups:delete'); ?>" onclick="javascript:return confirm('<?php echo $warning; ?>')"/><?php + <input type="submit" class="action_button disabled" name="delete" value="<?php echo elgg_echo('groups:delete'); ?>" onclick="javascript:return confirm('<?php echo $warning; ?>')"/><?php } ?> </form> -</div><div class="clearfloat"></div> </div> diff --git a/mod/groups/views/default/forms/groups/invite.php b/mod/groups/views/default/forms/groups/invite.php index ebe184c53..e5042aa4e 100644 --- a/mod/groups/views/default/forms/groups/invite.php +++ b/mod/groups/views/default/forms/groups/invite.php @@ -15,8 +15,7 @@ ?> -<div class="contentWrapper"> -<form action="<?php echo $vars['url']; ?>action/groups/invite" method="post"> +<form action="<?php echo $vars['url']; ?>action/groups/invite" method="post" class="margin_top"> <?php echo elgg_view('input/securitytoken'); @@ -31,4 +30,3 @@ <input type="hidden" name="group_guid" value="<?php echo $group->guid; ?>" /> <input type="submit" value="<?php echo elgg_echo('invite'); ?>" /> </form> -</div> diff --git a/mod/groups/views/default/groups/css.php b/mod/groups/views/default/groups/css.php index f1030243b..2cffb3e2a 100644 --- a/mod/groups/views/default/groups/css.php +++ b/mod/groups/views/default/groups/css.php @@ -108,7 +108,11 @@ float:left; margin-top:20px; } - +/* edit group page */ +.delete_group { + float: right; + margin-top:-44px; +} /* Group forum */ .topic .link { |