aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--mod/groups/start.php10
-rw-r--r--mod/groups/views/default/forms/groups/edit.php3
-rw-r--r--views/default/page_elements/elgg_sidebar.php3
3 files changed, 8 insertions, 8 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'])
diff --git a/views/default/page_elements/elgg_sidebar.php b/views/default/page_elements/elgg_sidebar.php
index 77fc312b9..2706a23c5 100644
--- a/views/default/page_elements/elgg_sidebar.php
+++ b/views/default/page_elements/elgg_sidebar.php
@@ -16,5 +16,4 @@ if (isset($vars['area2'])) {
// optional third parameter of elgg_view_layout
if (isset($vars['area3'])) {
echo $vars['area3'];
-}
-
+} \ No newline at end of file