+
+ <?php
+ if ( isset($ordering))
+ {
+ $ordering_opts = array(
+ 'hottest'=> $this->lang->line('ui_show_hottest'),
+ 'newest'=> $this->lang->line('ui_show_newest'),
+ 'alphabetically'=> $this->lang->line('ui_sort_alphabetically')
+ );
+
+ echo '<p>';
+ echo form_dropdown('ordering', $ordering_opts, $ordering, 'id="ordering"');
+ echo '</p>';
+ }
+ ?>