aboutsummaryrefslogtreecommitdiff
path: root/mod/simplepie/views/default/forms
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2014-01-22 04:02:17 +0100
committerSem <sembrestels@riseup.net>2014-01-22 04:02:17 +0100
commitc0295c275d6edbca6c6c8bb51dc199150d0d5fc3 (patch)
tree2c5a744a3859d27883f92b72aef9cf81f1a947d0 /mod/simplepie/views/default/forms
parent4a2ed114bb18c5363f594a380676c5654f4165a4 (diff)
parentae76fa880c7aeb7f7b0846dd4b109be8d398018c (diff)
downloadelgg-c0295c275d6edbca6c6c8bb51dc199150d0d5fc3.tar.gz
elgg-c0295c275d6edbca6c6c8bb51dc199150d0d5fc3.tar.bz2
Merge commit 'ae76fa880c7aeb7f7b0846dd4b109be8d398018c' into develop
Diffstat (limited to 'mod/simplepie/views/default/forms')
-rw-r--r--mod/simplepie/views/default/forms/simplepie/save_group_feed.php39
1 files changed, 39 insertions, 0 deletions
diff --git a/mod/simplepie/views/default/forms/simplepie/save_group_feed.php b/mod/simplepie/views/default/forms/simplepie/save_group_feed.php
new file mode 100644
index 000000000..a3f771586
--- /dev/null
+++ b/mod/simplepie/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;
+
+
+