/views/default/forms/admin/plugins/sort.php
PHP | 24 lines | 14 code | 3 blank | 7 comment | 0 complexity | f31c65db3a59fdc478b445d0e4b56246 MD5 | raw file
Possible License(s): GPL-2.0, MIT, LGPL-2.1, BSD-3-Clause
- <?php
- /**
- * Sort plugins form body
- *
- * @uses $vars['sort']
- * @uses $vars['sort_options']
- * @uses $vars['category']
- */
- echo elgg_view('input/dropdown', array(
- 'name' => 'sort',
- 'options_values' => $vars['sort_options'],
- 'value' => $vars['sort'],
- ));
- echo elgg_view('input/hidden', array(
- 'name' => 'category',
- 'value' => $vars['category'],
- ));
- echo elgg_view('input/submit', array(
- 'value' => elgg_echo('sort'),
- 'class' => 'elgg-button elgg-button-action'
- ));