aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-07 17:28:53 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-08-07 17:28:53 +0000
commit9fffcb13f23ca91b1efa2da7dbc0627c525ae94c (patch)
tree4f819014ba8766543a2e2cdc74222c69d8b33b91 /mod/groups/views/default
parent89fa2c232ea2a806a70f96d0f28fd6318163227c (diff)
downloadelgg-9fffcb13f23ca91b1efa2da7dbc0627c525ae94c.tar.gz
elgg-9fffcb13f23ca91b1efa2da7dbc0627c525ae94c.tar.bz2
more group tweaks
git-svn-id: https://code.elgg.org/elgg/trunk@1778 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/views/default')
-rw-r--r--mod/groups/views/default/forum/topicposts.php2
-rw-r--r--mod/groups/views/default/groups/forum_latest.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/groups/views/default/forum/topicposts.php b/mod/groups/views/default/forum/topicposts.php
index 53c45a6d0..f1f840136 100644
--- a/mod/groups/views/default/forum/topicposts.php
+++ b/mod/groups/views/default/forum/topicposts.php
@@ -50,7 +50,7 @@
<?php
echo elgg_view("output/confirmlink",array(
- 'href' => $vars['url'] . "action/groups/forums/deletetopic?topic=" . $vars['entity']->entity_guid . "&group=" . (int)get_input('group_guid'),
+ 'href' => $vars['url'] . "action/groups/deletepost?post=" . $vars['entity']->id . "&topic=" . get_input('topic') . "&group=" . get_input('group_guid'),
'text' => elgg_echo('delete'),
'confirm' => elgg_echo('deleteconfirm'),
));
diff --git a/mod/groups/views/default/groups/forum_latest.php b/mod/groups/views/default/groups/forum_latest.php
index 360550cfd..3cf253afe 100644
--- a/mod/groups/views/default/groups/forum_latest.php
+++ b/mod/groups/views/default/groups/forum_latest.php
@@ -1,4 +1,4 @@
-<h2>Forum latest</h2>
+<h2><?php echo elgg_echo('groups:latestdiscussion'); ?></h2>
<?php
$forum = get_entities_from_annotations("object", "groupforumtopic", "group_topic_post", "", 0, $vars['entity']->guid, 4, 0, "asc", false);