blob: 9f3f4b57e5f8ed3805340de3ec22bd38769c4f06 (
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
37
38
|
<?php
/**
* Reply form
*
* @uses $vars['message']
*/
// fix for RE: RE: RE: that builds on replies
$reply_title = $vars['message']->title;
if (strncmp($reply_title, "RE:", 3) != 0) {
$reply_title = "RE: " . $reply_title;
}
echo elgg_view('input/hidden', array(
'name' => 'recipient_guid',
'value' => $vars['message']->fromId,
));
?>
<div>
<label><?php echo elgg_echo("messages:title"); ?>: <br /></label>
<?php echo elgg_view('input/text', array(
'name' => 'subject',
'value' => $reply_title,
));
?>
</div>
<div>
<label><?php echo elgg_echo("messages:message"); ?>:</label>
<?php echo elgg_view("input/longtext", array(
'name' => 'body',
'value' => '',
));
?>
</div>
<div class="elgg-foot">
<?php echo elgg_view('input/submit', array('value' => elgg_echo('messages:send'))); ?>
</div>
|