aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-10 18:29:40 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-03-10 18:29:40 +0000
commitbe4a15fba0c35cd1df5077b121e0a416acab5834 (patch)
treee29c57f68b260780b4b3e87f8d344ea2a25b7453 /mod
parentc19ffb87ab3f745e664ac9100100c1fc37cb3281 (diff)
downloadelgg-be4a15fba0c35cd1df5077b121e0a416acab5834.tar.gz
elgg-be4a15fba0c35cd1df5077b121e0a416acab5834.tar.bz2
Minor ui updates to group forms
git-svn-id: http://code.elgg.org/elgg/trunk@5350 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/groups/views/default/forms/groups/edit.php18
-rw-r--r--mod/groups/views/default/forms/groups/invite.php4
-rw-r--r--mod/groups/views/default/groups/css.php6
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 {