diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-15 14:45:29 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-15 14:45:29 -0300 |
commit | 2e227be9e9cf772d71acafdc3a1b335630777acd (patch) | |
tree | d734b46dc826bb0720559dc50518a706ed2b2951 /views/default/plugins/vegan/settings.php | |
download | elgg-2e227be9e9cf772d71acafdc3a1b335630777acd.tar.gz elgg-2e227be9e9cf772d71acafdc3a1b335630777acd.tar.bz2 |
Squashed 'mod/vegan/' content from commit e48966e
git-subtree-dir: mod/vegan
git-subtree-split: e48966e8a43f5da5309a796c5a749f9fcd317a69
Diffstat (limited to 'views/default/plugins/vegan/settings.php')
-rw-r--r-- | views/default/plugins/vegan/settings.php | 16 |
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>"; |