aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms
diff options
context:
space:
mode:
authorcapo <capo@riseup.net>2014-01-12 18:55:35 +0100
committercapo <capo@riseup.net>2014-01-12 18:55:35 +0100
commite79633358a5165bb68f6d0e1b8fe855d84cea8cc (patch)
treeaf3c05426eaec1c6aecd983db7e4bc5b5a5a8a16 /views/default/forms
parent74a2c0f73100209d1c10259a3f862d3645ab5dbb (diff)
downloadelgg-e79633358a5165bb68f6d0e1b8fe855d84cea8cc.tar.gz
elgg-e79633358a5165bb68f6d0e1b8fe855d84cea8cc.tar.bz2
fix identation
Diffstat (limited to 'views/default/forms')
-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;
+
+
+