aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'views/default')
-rw-r--r--views/default/plugins/vegan/settings.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/views/default/plugins/vegan/settings.php b/views/default/plugins/vegan/settings.php
new file mode 100644
index 000000000..22805e2a2
--- /dev/null
+++ b/views/default/plugins/vegan/settings.php
@@ -0,0 +1,16 @@
+<?php
+/**
+ * Vegan -- Plugin settings view
+ *
+ */
+
+$title = elgg_echo('vegan:settings:title');
+
+$options = array(
+ 'name' => 'params[bad_domains]',
+ 'value' => $vars['entity']->bad_domains,
+);
+
+$input = elgg_view('input/text', $options);
+
+echo "<p><label for=\"params[bad_domains]\">$title</label>$input</p>";