Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
brianteeman committed Jul 14, 2017
1 parent 02a527a commit 16fd41a
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions layouts/joomla/content/options_filters.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?php
/**
* @package Joomla.Site
* @subpackage Layout
*
* @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/

defined('JPATH_BASE') or die;
?>

<fieldset class="<?php echo !empty($displayData->formclass) ? $displayData->formclass : ''; ?>">
<legend><?php echo $displayData->name; ?></legend>

<?php if (!empty($displayData->description)) : ?>
<p><?php echo $displayData->description; ?></p>
<?php endif; ?>

<?php
$fieldsnames = explode(',', $displayData->fieldsname);

foreach ($fieldsnames as $fieldname)
{
foreach ($displayData->form->getFieldset($fieldname) as $field)
{
?>
<div>
<div class="controls"><?php echo $field->input; ?></div>
</div>
<?php
}
}
?>
</fieldset>

0 comments on commit 16fd41a

Please sign in to comment.