diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-15 14:58:59 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-15 14:58:59 -0300 |
commit | 31354451ce2c236c9c963064652c39fe54be4afd (patch) | |
tree | 6203d2ba3f7e29518291e2e3999d9fa89892b417 /views/default/widgets/favorites/edit.php | |
download | elgg-31354451ce2c236c9c963064652c39fe54be4afd.tar.gz elgg-31354451ce2c236c9c963064652c39fe54be4afd.tar.bz2 |
Squashed 'mod/elgg-favorites/' content from commit d96e69b
git-subtree-dir: mod/elgg-favorites
git-subtree-split: d96e69bd1365c3e3c4d998e72d9941ea1ea2278b
Diffstat (limited to 'views/default/widgets/favorites/edit.php')
-rwxr-xr-x | views/default/widgets/favorites/edit.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/views/default/widgets/favorites/edit.php b/views/default/widgets/favorites/edit.php new file mode 100755 index 000000000..3394f22c2 --- /dev/null +++ b/views/default/widgets/favorites/edit.php @@ -0,0 +1,17 @@ +<?php +if (!isset($vars['entity']->pages_num)) { + $vars['entity']->pages_num = 4; +} + +$params = array( + 'name' => 'params[pages_num]', + 'value' => $vars['entity']->pages_num, + 'options' => array(1, 2, 3, 4, 5, 6, 7, 8, 9, 10), +); +$dropdown = elgg_view('input/dropdown', $params); + +?> +<div> + <?php echo elgg_echo('favorites:numbertodisplay'); ?>: + <?php echo $dropdown; ?> +</div> |