aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire/pages/thewire/reply.php
blob: c29f81669bd5afe60dec6616699da271d51d8984 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
/**
 * Reply page
 * 
 */

gatekeeper();

$post = get_entity(get_input('guid'));

$title = elgg_echo('thewire:reply');

elgg_push_breadcrumb(elgg_echo('thewire'), 'thewire/all');
elgg_push_breadcrumb($title);

$content = elgg_view('thewire/reply', array('post' => $post));
$content .= elgg_view_form('thewire/add', array(), array('post' => $post));
$content .= elgg_view('input/urlshortener');


$body = elgg_view_layout('content', array(
	'filter' => false,
	'content' => $content,
	'title' => $title,
	'buttons' => false,
));

echo elgg_view_page($title, $body);