aboutsummaryrefslogtreecommitdiffstats
path: root/addon/statusnet/admin.tpl
diff options
context:
space:
mode:
authorfabrixxm <fabrix.xm@gmail.com>2011-06-19 15:43:10 +0200
committerfabrixxm <fabrix.xm@gmail.com>2011-06-19 15:43:10 +0200
commit001982cac0c343f6405fa4191292e3f8efbd4df3 (patch)
tree5a8ca8b637ad654cae2d9b930e6730ef4ee3ff6f /addon/statusnet/admin.tpl
parentb650183cd4b82325dcaf74a42386882ef1802750 (diff)
downloadvolse-hubzilla-001982cac0c343f6405fa4191292e3f8efbd4df3.tar.gz
volse-hubzilla-001982cac0c343f6405fa4191292e3f8efbd4df3.tar.bz2
volse-hubzilla-001982cac0c343f6405fa4191292e3f8efbd4df3.zip
Change logic in admin.php to load plugin settings form. Add statusnet settings form.
Diffstat (limited to 'addon/statusnet/admin.tpl')
-rw-r--r--addon/statusnet/admin.tpl16
1 files changed, 16 insertions, 0 deletions
diff --git a/addon/statusnet/admin.tpl b/addon/statusnet/admin.tpl
new file mode 100644
index 000000000..b40adf35a
--- /dev/null
+++ b/addon/statusnet/admin.tpl
@@ -0,0 +1,16 @@
+{{ for $sites as $s }}
+ {{ inc field_input.tpl with $field=$s.sitename }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$s.apiurl }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$s.secret }}{{ endinc }}
+ {{ inc field_input.tpl with $field=$s.key }}{{ endinc }}
+ {{ if $s.delete }}
+ {{ inc field_checkbox.tpl with $field=$s.delete }}{{ endinc }}
+ <hr>
+ {{ else }}
+ <p>Fill this form to add a new site</p>
+ {{ endif }}
+
+{{ endfor }}
+
+
+<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>