diff options
Diffstat (limited to 'mod/vegan/views')
-rw-r--r-- | mod/vegan/views/default/plugins/vegan/settings.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mod/vegan/views/default/plugins/vegan/settings.php b/mod/vegan/views/default/plugins/vegan/settings.php new file mode 100644 index 000000000..22805e2a2 --- /dev/null +++ b/mod/vegan/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>"; |