diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-20 11:16:29 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-02-20 11:16:29 +0000 |
commit | f0503c0688695922937f41e24b50a2b5a6fbda4e (patch) | |
tree | 6ea8b32d2552ff2abcf9403f5a5e41ad96a7b5cc /mod | |
parent | 806795fa390753539dbb02c490dcd94c2c7610d8 (diff) | |
download | elgg-f0503c0688695922937f41e24b50a2b5a6fbda4e.tar.gz elgg-f0503c0688695922937f41e24b50a2b5a6fbda4e.tar.bz2 |
group areas interfacing
git-svn-id: https://code.elgg.org/elgg/trunk@2845 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r-- | mod/groups/views/default/forms/forums/addtopic.php | 4 | ||||
-rw-r--r-- | mod/groups/views/default/forum/topics.php | 9 | ||||
-rw-r--r-- | mod/groups/views/default/groups/forum_latest.php | 7 | ||||
-rw-r--r-- | mod/groups/views/default/groups/groupprofile.php | 3 | ||||
-rw-r--r-- | mod/groups/views/default/groups/side_menu.php | 7 |
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 |