aboutsummaryrefslogtreecommitdiff
path: root/mod/groups
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-30 13:41:47 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-06-30 13:41:47 +0000
commitecb75914dba4432be98f3afd96419c576e896409 (patch)
treeae8a111b074bdcae47b2deb575f9cf41d9ed832d /mod/groups
parent549fff991e3396ad7f9ad1298701b3deeb7d874b (diff)
downloadelgg-ecb75914dba4432be98f3afd96419c576e896409.tar.gz
elgg-ecb75914dba4432be98f3afd96419c576e896409.tar.bz2
Added classname to group edit form, divider before edit buttons, and moved the invalid number preceding the classname.
git-svn-id: http://code.elgg.org/elgg/trunk@6588 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups')
-rw-r--r--mod/groups/start.php10
-rw-r--r--mod/groups/views/default/forms/groups/edit.php3
2 files changed, 7 insertions, 6 deletions
diff --git a/mod/groups/start.php b/mod/groups/start.php
index 7b11def20..ccffa7257 100644
--- a/mod/groups/start.php
+++ b/mod/groups/start.php
@@ -208,15 +208,15 @@
if ($page_owner instanceof ElggGroup) {
if (isloggedin() && $page_owner->canEdit() && !$page_owner->isPublicMembership()) {
$url = "{$CONFIG->wwwroot}mod/groups/membershipreq.php?group_guid={$page_owner->getGUID()}";
- add_submenu_item(elgg_echo('groups:membershiprequests'), $url, '1groupsactions');
+ add_submenu_item(elgg_echo('groups:membershiprequests'), $url, 'groupsactions1');
}
} else {
- add_submenu_item(elgg_echo('groups:all'), "{$CONFIG->wwwroot}pg/groups/world/", '1groupslinks');
+ add_submenu_item(elgg_echo('groups:all'), "{$CONFIG->wwwroot}pg/groups/world/", 'groupslinks1');
if ($user = get_loggedin_user()) {
- add_submenu_item(elgg_echo('groups:owned'), "{$CONFIG->wwwroot}pg/groups/owned/$user->username", '1groupslinks');
- add_submenu_item(elgg_echo('groups:yours'), "{$CONFIG->wwwroot}pg/groups/member/$user->username", '1groupslinks');
- add_submenu_item(elgg_echo('groups:invitations'), "{$CONFIG->wwwroot}pg/groups/invitations/$user->username", '1groupslinks');
+ add_submenu_item(elgg_echo('groups:owned'), "{$CONFIG->wwwroot}pg/groups/owned/$user->username", 'groupslinks1');
+ add_submenu_item(elgg_echo('groups:yours'), "{$CONFIG->wwwroot}pg/groups/member/$user->username", 'groupslinks1');
+ add_submenu_item(elgg_echo('groups:invitations'), "{$CONFIG->wwwroot}pg/groups/invitations/$user->username", 'groupslinks1');
}
}
}
diff --git a/mod/groups/views/default/forms/groups/edit.php b/mod/groups/views/default/forms/groups/edit.php
index fbc8c0777..c02b279c1 100644
--- a/mod/groups/views/default/forms/groups/edit.php
+++ b/mod/groups/views/default/forms/groups/edit.php
@@ -17,7 +17,7 @@
}
?>
-<form action="<?php echo $vars['url']; ?>action/groups/edit" enctype="multipart/form-data" method="post" class="margin_top">
+<form action="<?php echo $vars['url']; ?>action/groups/edit" id="edit_group" enctype="multipart/form-data" method="post" class="margin_top">
<?php echo elgg_view('input/securitytoken'); ?>
@@ -130,6 +130,7 @@ if (is_array($vars['config']->group) && sizeof($vars['config']->group) > 0)
}
}
?>
+ <div class="divider"></div>
<p>
<?php
if ($vars['entity'])