/views/default/forms/admin/plugins/sort.php
PHP | 26 lines | 16 code | 3 blank | 7 comment | 0 complexity | 8e0a0e8b1f7c9e7bb2ccb35ec0c05b80 MD5 | raw file
Possible License(s): MIT, BSD-3-Clause, LGPL-2.1, GPL-2.0
- <?php
- /**
- * Sort plugins form body
- *
- * @uses $vars['sort']
- * @uses $vars['sort_options']
- * @uses $vars['category']
- */
- echo '<div class="mtm">';
- echo elgg_view('input/select', 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'
- ));
- echo '</div>';