Elgg  Version 1.9
sort.php
Go to the documentation of this file.
1 <?php
10 echo '<div class="mtm">';
11 echo elgg_view('input/select', array(
12  'name' => 'sort',
13  'options_values' => $vars['sort_options'],
14  'value' => $vars['sort'],
15 ));
16 
17 echo elgg_view('input/hidden', array(
18  'name' => 'category',
19  'value' => $vars['category'],
20 ));
21 
22 echo elgg_view('input/submit', array(
23  'value' => elgg_echo('sort'),
24  'class' => 'elgg-button elgg-button-action'
25 ));
26 echo '</div>';
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg echo
Translates a string.
Definition: languages.js:43
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition: views.php:354
if(file_exists($welcome)) $vars
Definition: upgrade.php:93