aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/simplepie/save_group_feed.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2014-01-13 00:13:35 +0100
committerSem <sembrestels@riseup.net>2014-01-13 00:13:35 +0100
commitf92ed6b4771efc70f0f5a77aad0bb0357faf3264 (patch)
tree88d3deacd48f49bb0c38b09584ed3896da75d936 /views/default/forms/simplepie/save_group_feed.php
parent97c0db5dd349f8c777bc813f5f3a00a858412828 (diff)
parent0581f68053380f55118b568a0ae70b9fd34b8dd1 (diff)
downloadelgg-f92ed6b4771efc70f0f5a77aad0bb0357faf3264.tar.gz
elgg-f92ed6b4771efc70f0f5a77aad0bb0357faf3264.tar.bz2
Merge branch 'release/1.8.1'
Diffstat (limited to 'views/default/forms/simplepie/save_group_feed.php')
-rw-r--r--views/default/forms/simplepie/save_group_feed.php39
1 files changed, 39 insertions, 0 deletions
diff --git a/views/default/forms/simplepie/save_group_feed.php b/views/default/forms/simplepie/save_group_feed.php
new file mode 100644
index 000000000..a3f771586
--- /dev/null
+++ b/views/default/forms/simplepie/save_group_feed.php
@@ -0,0 +1,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;
+
+
+