blob: 56cc901c5a5319b289c0b9a9a3498b620ecbbf31 (
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
29
30
31
32
33
34
35
36
|
<?php
/**
* Elgg group forum post edit/add page
*
* @package ElggGroups
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
* @author Curverider <info@elgg.com>
* @copyright Curverider Ltd 2008-2009
* @link http://elgg.com/
*
* @uses $vars['entity'] Optionally, the post to edit
*/
?>
<form action="<?php echo $vars['url']; ?>action/groups/addpost" method="post">
<p class="longtext_editarea">
<label><?php echo elgg_echo("groups:reply"); ?><br />
<?php
echo elgg_view("input/longtext",array(
"internalname" => "topic_post",
"value" => $body,
));
?>
</label>
</p>
<p>
<!-- pass across the topic guid -->
<input type="hidden" name="topic_guid" value="<?php echo $vars['entity']->guid; ?>" />
<input type="hidden" name="group_guid" value="<?php echo $vars['entity']->container_guid; ?>" />
<!-- display the save button -->
<input type="submit" class="submit_button" value="<?php echo elgg_echo('save'); ?>" />
</p>
</form>
|