blob: f9986849d9f5c30facce6c33bc3671fcbdc14631 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
<?php
/**
* Elgg report content plugin form
*
* @package ElggReportContent
*/
$guid = 0;
$title = get_input('title', "");
$address = get_input('address', "");
$description = "";
$owner = elgg_get_logged_in_user_entity();
?>
<div>
<label>
<?php
echo elgg_echo('reportedcontent:title');
echo elgg_view('input/text', array(
'name' => 'title',
'value' => $title,
));
?>
</label>
</div>
<div>
<label>
<?php
echo elgg_echo('reportedcontent:address');
echo elgg_view('input/url', array(
'name' => 'address',
'value' => $address,
));
?>
</label>
</div>
<div>
<label>
<?php echo elgg_echo('reportedcontent:description'); ?>
</label>
<?php
echo elgg_view('input/longtext',array(
'name' => 'description',
'value' => $description,
));
?>
</div>
<div class="elgg-foot">
<?php
echo elgg_view('input/submit', array(
'value' => elgg_echo('reportedcontent:report'),
));
?>
</div>
|