| Current Path : /home/azimutno/www/demo/administrator/components/com_djimageslider/views/item/tmpl/ |
| Current File : /home/azimutno/www/demo/administrator/components/com_djimageslider/views/item/tmpl/edit_params.php |
<?php
/**
* @version $Id: edit_params.php 31 2016-05-12 13:33:54Z szymon $
* @package DJ-ImageSlider
* @subpackage DJ-ImageSlider Component
* @copyright Copyright (C) 2012 DJ-Extensions.com, All rights reserved.
* @license http://www.gnu.org/licenses GNU/GPL
* @author url: http://dj-extensions.com
* @author email contact@dj-extensions.com
* @developer Szymon Woronowski - szymon.woronowski@design-joomla.eu
*
*
* DJ-ImageSlider is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* DJ-ImageSlider is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with DJ-ImageSlider. If not, see <http://www.gnu.org/licenses/>.
*
*/
// No direct access.
defined('_JEXEC') or die;
$fieldSets = $this->form->getFieldsets('params');
foreach ($fieldSets as $name => $fieldSet) : ?>
<fieldset class="panelform" >
<h3><?php echo JText::_($fieldSet->label); ?></h3>
<?php if (isset($fieldSet->description) && trim($fieldSet->description)) :
echo '<p class="tip alert alert-info">'.$this->escape(JText::_($fieldSet->description)).'</p>';
endif; ?>
<?php foreach ($this->form->getFieldset($name) as $field) : $class = '';
$rel = '';
if ($showon = $field->getAttribute('showon'))
{
JHtml::_('jquery.framework');
JHtml::_('script', 'jui/cms.js', false, true);
$id = $this->form->getFormControl();
$showon = explode(':', $showon, 2);
$class = ' showon_' . implode(' showon_', explode(',', $showon[1]));
$rel = ' rel="showon_' . $id . '[params][' . $showon[0] . ']"';
}
?>
<div class="control-group<?php echo $class; ?>"<?php echo $rel; ?>>
<div class="control-label"><?php echo $field->label; ?></div>
<div class="controls"><?php echo $field->input; ?></div>
</div>
<?php endforeach; ?>
</fieldset>
<?php endforeach; ?>