PageRenderTime 12ms CodeModel.GetById 11ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/administrator/templates/hathor/html/com_installer/manage/default_filter.php

https://bitbucket.org/eternaware/joomus
PHP | 38 lines | 28 code | 3 blank | 7 comment | 2 complexity | 82ca1190fef4f39a7f606cedf5be0adc MD5 | raw file
Possible License(s): LGPL-2.1
 1<?php
 2/**
 3 * @package     Joomla.Administrator
 4 * @subpackage  Template.hathor
 5 *
 6 * @copyright   Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
 7 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 8 */
 9
10defined('_JEXEC') or die;
11
12?>
13<fieldset id="filter-bar">
14	<div class="filter-search">
15		<?php foreach($this->form->getFieldSet('search') as $field): ?>
16			<?php /* remove "onchange" action for accessibility reasons*/?>
17			<?php $this->form->setFieldAttribute($field->fieldname, 'onchange', '', 'filters');?>
18			<?php if (!$field->hidden): ?>
19				<?php echo $field->label; ?>
20			<?php endif; ?>
21			<?php echo $field->input; ?>
22		<?php endforeach; ?>
23	</div>
24
25	<div class="filter-select">
26		<?php foreach($this->form->getFieldSet('select') as $field): ?>
27			<?php /* remove "onchange" action for accessibility reasons*/?>
28			<?php $this->form->setFieldAttribute($field->fieldname, 'onchange', '', 'filters');?>
29			<?php if (!$field->hidden): ?>
30				<?php echo $field->label; ?>
31			<?php endif; ?>
32			<?php echo $field->input; ?>
33		<?php endforeach; ?>
34		<button type="submit" id="filter-go">
35				<?php echo JText::_('JSUBMIT'); ?></button>
36	</div>
37</fieldset>
38<div class="clr"></div>