diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-10 17:13:37 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-03-10 17:13:37 +0000 |
commit | 409331a459355fb827aa33acf3275f3d618a2510 (patch) | |
tree | c300483fe791a99a4e6890cf507ddf7c9843078d /mod/groups/views/default/forum/topics.php | |
parent | 755367a31d3c1dbc1cc24ce270a217d2390cbe44 (diff) | |
download | elgg-409331a459355fb827aa33acf3275f3d618a2510.tar.gz elgg-409331a459355fb827aa33acf3275f3d618a2510.tar.bz2 |
Updated Groups to the new interface. Some view clean-up & simplification done.
git-svn-id: http://code.elgg.org/elgg/trunk@5348 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/views/default/forum/topics.php')
-rw-r--r-- | mod/groups/views/default/forum/topics.php | 30 |
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 |