diff options
author | capo <capo@riseup.net> | 2013-12-16 00:12:26 +0100 |
---|---|---|
committer | capo <capo@riseup.net> | 2013-12-16 00:12:26 +0100 |
commit | e5dd9906d16d97aed7ba3511b7e1132bd4da3761 (patch) | |
tree | 79d6ff965e20c54fb498433fa1435bf92f9e64c8 /views/default/forms/simplepie | |
parent | 408a27487d24938a3fa86c69a567b8666877347b (diff) | |
download | elgg-e5dd9906d16d97aed7ba3511b7e1132bd4da3761.tar.gz elgg-e5dd9906d16d97aed7ba3511b7e1132bd4da3761.tar.bz2 |
Added feature to be able to use simplepie rss module in the groups
Diffstat (limited to 'views/default/forms/simplepie')
-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; |