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 | 0d860aca4fda73fce303dad41003e61f040acca8 (patch) | |
tree | cf76bb71a1d270506d7fa437b8f710c0733eb6e4 /mod/vegan/views | |
parent | 1aab25944601ab83f5fb620fd0013633fd87cee9 (diff) | |
parent | 2e227be9e9cf772d71acafdc3a1b335630777acd (diff) | |
download | elgg-0d860aca4fda73fce303dad41003e61f040acca8.tar.gz elgg-0d860aca4fda73fce303dad41003e61f040acca8.tar.bz2 |
Merge commit '2e227be9e9cf772d71acafdc3a1b335630777acd' as 'mod/vegan'
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>"; |