aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/views')
-rw-r--r--mod/groups/views/default/forms/forums/addtopic.php4
-rw-r--r--mod/groups/views/default/forum/topics.php9
-rw-r--r--mod/groups/views/default/groups/forum_latest.php7
-rw-r--r--mod/groups/views/default/groups/groupprofile.php3
-rw-r--r--mod/groups/views/default/groups/side_menu.php7
5 files changed, 18 insertions, 12 deletions
diff --git a/mod/groups/views/default/forms/forums/addtopic.php b/mod/groups/views/default/forms/forums/addtopic.php
index 2050e5821..1b14b594a 100644
--- a/mod/groups/views/default/forms/forums/addtopic.php
+++ b/mod/groups/views/default/forms/forums/addtopic.php
@@ -28,6 +28,7 @@
echo elgg_view_title(elgg_echo("groups:addtopic"));
?>
+<div class="contentWrapper">
<!-- display the input form -->
<form action="<?php echo $vars['url']; ?>action/<?php echo $action; ?>" method="post">
@@ -93,4 +94,5 @@
<input type="submit" class="submit_button" value="<?php echo elgg_echo('save'); ?>" />
</p>
- </form> \ No newline at end of file
+ </form>
+</div> \ No newline at end of file
diff --git a/mod/groups/views/default/forum/topics.php b/mod/groups/views/default/forum/topics.php
index 357e078b8..80c3d4093 100644
--- a/mod/groups/views/default/forum/topics.php
+++ b/mod/groups/views/default/forum/topics.php
@@ -13,6 +13,10 @@
<div id="content_area_group_title"><h2><?php echo elgg_echo("groups:forum"); ?></h2></div>
+
+
+<div id="forum_topics"><!-- start of the forum_topics div -->
+
<?php
//only show the add link if the user is a member
if(page_owner_entity()->isMember($vars['user'])){
@@ -23,10 +27,7 @@
<?php
}
-?>
-
-<div id="forum_topics"><!-- start of the forum_topics div -->
-
+?>
<!-- display the forum title -->
<h2><?php echo get_entity(get_input("forum"))->title; ?></h2>
diff --git a/mod/groups/views/default/groups/forum_latest.php b/mod/groups/views/default/groups/forum_latest.php
index 120c17188..8ee3d9aa9 100644
--- a/mod/groups/views/default/groups/forum_latest.php
+++ b/mod/groups/views/default/groups/forum_latest.php
@@ -25,9 +25,10 @@
echo "</div>";
}
- }else{
-
- echo elgg_echo("grouptopic:notcreated");
+ } else {
+ echo "<div class=\"forum_latest\">";
+ echo elgg_echo("grouptopic:notcreated");
+ echo "</div>";
}
?>
<br class="clearfloat" />
diff --git a/mod/groups/views/default/groups/groupprofile.php b/mod/groups/views/default/groups/groupprofile.php
index c51ef1455..f9f7478cc 100644
--- a/mod/groups/views/default/groups/groupprofile.php
+++ b/mod/groups/views/default/groups/groupprofile.php
@@ -90,4 +90,5 @@
?>
</p>
-</div> \ No newline at end of file
+</div>
+<div class="clearfloat"></div> \ No newline at end of file
diff --git a/mod/groups/views/default/groups/side_menu.php b/mod/groups/views/default/groups/side_menu.php
index f9d4d6189..b58b0dcd5 100644
--- a/mod/groups/views/default/groups/side_menu.php
+++ b/mod/groups/views/default/groups/side_menu.php
@@ -1,8 +1,9 @@
<div class="sidebarBox">
+<div id="owner_block_submenu"><ul>
<?php
if(isloggedin()){
- echo "<p><a href=\"{$vars['url']}pg/groups/member/{$_SESSION['user']->username}\">". elgg_echo('groups:yours') ."</a></p>";
- echo "<p><a href=\"{$vars['url']}pg/groups/new/\">". elgg_echo('groups:new') ."</a></p>";
+ echo "<li><a href=\"{$vars['url']}pg/groups/member/{$_SESSION['user']->username}\">". elgg_echo('groups:yours') ."</a></li>";
+ echo "<li><a href=\"{$vars['url']}pg/groups/new/\">". elgg_echo('groups:new') ."</a></li>";
}
?>
-</div> \ No newline at end of file
+</ul></div></div> \ No newline at end of file