diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-08 10:56:04 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-08-08 10:56:04 +0000 |
commit | a34f241e00f57035d199a9d40f78a2ab7889a6f1 (patch) | |
tree | f4075ad4790c31ce4738ac07042542646616596e /mod/groups/views/default/forum/topics.php | |
parent | fe61cde95c90838475ccbd164ce09cf9deea1085 (diff) | |
download | elgg-a34f241e00f57035d199a9d40f78a2ab7889a6f1.tar.gz elgg-a34f241e00f57035d199a9d40f78a2ab7889a6f1.tar.bz2 |
continuation of cleanup on groups
git-svn-id: https://code.elgg.org/elgg/trunk@1788 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 | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/mod/groups/views/default/forum/topics.php b/mod/groups/views/default/forum/topics.php index 9fa80db79..b574aea7c 100644 --- a/mod/groups/views/default/forum/topics.php +++ b/mod/groups/views/default/forum/topics.php @@ -11,20 +11,23 @@ ?>
-<h2><?php echo elgg_echo("groups:forum"); ?></h2>
- <div id="forum_topics"><!-- start of the forum_topics div -->
-
+<div id="content_area_group_title"><h2><?php echo elgg_echo("groups:forum"); ?></h2></div>
+
<?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 -->
- <p>[<a href="<?php echo $vars['url']; ?>mod/groups/addtopic.php?group_guid=<?php echo get_input('group_guid'); ?>"><?php echo elgg_echo("groups:addtopic"); ?></a>]</p>
+ <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>
<?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>
@@ -62,7 +65,7 @@ <table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
- <a href="<?php echo $vars['url']; ?>mod/groups/topicposts.php?topic=<?php echo $topic->guid; ?>&group_guid=<?php echo $topic->container_guid; ?>"><?php echo $topic->title; ?></a>
+ <p class="topic_title"><a href="<?php echo $vars['url']; ?>mod/groups/topicposts.php?topic=<?php echo $topic->guid; ?>&group_guid=<?php echo $topic->container_guid; ?>"><?php echo $topic->title; ?></a></p>
<!-- display edit and delete links if the user has privileges -->
<?php
@@ -70,7 +73,7 @@ if ($topic->canEdit()) {
?>
- <a href="<?php echo $vars['url']; ?>mod/groups/edittopic.php?topic=<?php echo $topic->guid; ?>&group=<?php echo $topic->container_guid; ?>"><?php echo elgg_echo("edit"); ?></a>
+ <a href="<?php echo $vars['url']; ?>mod/groups/edittopic.php?topic=<?php echo $topic->guid; ?>&group=<?php echo $topic->container_guid; ?>"><?php echo elgg_echo("edit"); ?></a>
<?php
// display the delete link to those allowed to delete
|