aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/simplepie/group_module.php
blob: a7c1f6858df881200419595b9acc0909d05964e3 (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
<?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',
	'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>
	$url_label
	$url_textbox
	$group_field
</div>
<div>
	$save_button
</div>
HTML;