diff options
Diffstat (limited to 'mod/thewire/pages/thewire/reply.php')
-rw-r--r-- | mod/thewire/pages/thewire/reply.php | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/mod/thewire/pages/thewire/reply.php b/mod/thewire/pages/thewire/reply.php new file mode 100644 index 000000000..df4511c51 --- /dev/null +++ b/mod/thewire/pages/thewire/reply.php @@ -0,0 +1,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)); +$form_vars = array('class' => 'thewire-form'); +$content .= elgg_view_form('thewire/add', $form_vars, array('post' => $post)); +$content .= elgg_view('input/urlshortener'); + + +$body = elgg_view_layout('content', array( + 'filter' => false, + 'content' => $content, + 'title' => $title, +)); + +echo elgg_view_page($title, $body); |