49 lines
2.7 KiB
PHP
49 lines
2.7 KiB
PHP
<?php
|
|
/**
|
|
* @package eHealth Portal
|
|
*
|
|
* @created 13th August, 2020
|
|
* @author Llewellyn van der Merwe <https://git.vdm.dev/joomla/eHealth-Portal>
|
|
* @copyright Copyright (C) 2020 Vast Development Method. All rights reserved.
|
|
* @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
|
*
|
|
* Portal for mobile health clinics
|
|
*/
|
|
|
|
// No direct access to this file
|
|
defined('_JEXEC') or die;
|
|
|
|
use Joomla\CMS\Language\Text;
|
|
use Joomla\CMS\HTML\HTMLHelper as Html;
|
|
|
|
?>
|
|
<div id="filter-bar" class="btn-toolbar">
|
|
<div class="filter-search btn-group pull-left">
|
|
<label for="filter_search" class="element-invisible"><?php echo Text::_('Search');?></label>
|
|
<input type="text" name="filter_search" id="filter_search" placeholder="<?php echo Text::_('JSEARCH_FILTER'); ?>" value="<?php echo $this->escape($this->state->get('filter.search')); ?>" class="hasTooltip" title="<?php echo Html::tooltipText('Search Medications'); ?>" />
|
|
</div>
|
|
<div class="btn-group pull-left">
|
|
<button type="submit" class="btn hasTooltip" title="<?php echo Html::tooltipText('JSEARCH_FILTER_SUBMIT'); ?>"><i class="icon-search"></i></button>
|
|
<button type="button" class="btn hasTooltip" title="<?php echo Html::tooltipText('JSEARCH_FILTER_CLEAR'); ?>" onclick="document.id('filter_search').value='';this.form.submit();"><i class="icon-remove"></i></button>
|
|
</div>
|
|
<div class="btn-group pull-right hidden-phone">
|
|
<label for="limit" class="element-invisible"><?php echo Text::_('JFIELD_PLG_SEARCH_SEARCHLIMIT_DESC');?></label>
|
|
<?php echo $this->pagination->getLimitBox(); ?>
|
|
</div>
|
|
<div class="btn-group pull-right hidden-phone">
|
|
<label for="directionTable" class="element-invisible"><?php echo Text::_('JFIELD_ORDERING_DESC');?></label>
|
|
<select name="directionTable" id="directionTable" class="input-medium" onchange="Joomla.orderTable()">
|
|
<option value=""><?php echo Text::_('JFIELD_ORDERING_DESC');?></option>
|
|
<option value="asc" <?php if ($this->listDirn == 'asc') echo 'selected="selected"'; ?>><?php echo Text::_('JGLOBAL_ORDER_ASCENDING');?></option>
|
|
<option value="desc" <?php if ($this->listDirn == 'desc') echo 'selected="selected"'; ?>><?php echo Text::_('JGLOBAL_ORDER_DESCENDING');?></option>
|
|
</select>
|
|
</div>
|
|
<div class="btn-group pull-right">
|
|
<label for="sortTable" class="element-invisible"><?php echo Text::_('JGLOBAL_SORT_BY');?></label>
|
|
<select name="sortTable" id="sortTable" class="input-medium" onchange="Joomla.orderTable()">
|
|
<option value=""><?php echo Text::_('JGLOBAL_SORT_BY');?></option>
|
|
<?php echo Html::_('select.options', $this->getSortFields(), 'value', 'text', $this->listOrder);?>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="clearfix"> </div>
|