aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default/forum/topics.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/views/default/forum/topics.php')
-rw-r--r--mod/groups/views/default/forum/topics.php30
1 files changed, 15 insertions, 15 deletions
diff --git a/mod/groups/views/default/forum/topics.php b/mod/groups/views/default/forum/topics.php
index fdeffa564..821e398e1 100644
--- a/mod/groups/views/default/forum/topics.php
+++ b/mod/groups/views/default/forum/topics.php
@@ -10,24 +10,24 @@
*/
?>
-
-<h2><?php echo elgg_echo("groups:forum"); ?></h2>
-
-<?php
- //only show the add link if the user is a member
- if(page_owner_entity()->isMember($vars['user'])){
-
-?>
- <!-- display the add a topic link -->
- <div class="add_topic"><a href="<?php echo $vars['url']; ?>mod/groups/addtopic.php?group_guid=<?php echo get_input('group_guid'); ?>" class="add_topic_button"><?php echo elgg_echo("groups:addtopic"); ?></a></div>
-
-<?php
- }
-?>
+<div id="content_header" class="clearfloat">
+ <div class="content_header_title">
+ <h2><?php echo elgg_echo("groups:forum"); ?></h2>
+ </div>
+ <?php // only show the add topic button if the user is a member
+ if(page_owner_entity()->isMember($vars['user'])) {
+ ?>
+ <div class="content_header_options">
+ <a class="action_button" href="<?php echo $vars['url']; ?>mod/groups/addtopic.php?group_guid=<?php echo get_input('group_guid'); ?>"><?php echo elgg_echo("groups:addtopic"); ?></a>
+ </div>
+ <?php
+ }
+ ?>
+</div>
<?php
if($vars['topics'])
echo $vars['topics'];
else
- echo "<div class='contentWrapper'>". elgg_echo("grouptopic:notcreated") . "</div>";
+ echo "<p class='margin_top'>". elgg_echo("grouptopic:notcreated") . "</p>";
?> \ No newline at end of file