blob: a3f771586d2fb41143264d1ebd6ea28a625cbdfe (
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
|
<?php
/**
* Simplepie feed reader widget settings
*/
// set default value
$url_label = elgg_echo("simplepie:feed_url");
$url_textbox = elgg_view('input/text', array(
'name' => 'feed_url',
'id'=> 'feed_url',
'value' => $vars['entity']->feed_url,
));
$group_field = elgg_view('input/hidden', array(
'name' => 'group_guid',
'value' => $vars['entity']->guid,
));
$save_button = elgg_view('input/submit', array(
'value' => elgg_echo('save'),
));
echo <<<HTML
<div>
<label for="feed_url">$url_label</label>
$url_textbox
$group_field
</div>
<div>
$save_button
</div>
HTML;
|