diff options
Diffstat (limited to 'views/default/forms/simplepie/group_module.php')
-rw-r--r-- | views/default/forms/simplepie/group_module.php | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/views/default/forms/simplepie/group_module.php b/views/default/forms/simplepie/group_module.php new file mode 100644 index 000000000..a7c1f6858 --- /dev/null +++ b/views/default/forms/simplepie/group_module.php @@ -0,0 +1,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; |