30
1
mirror of https://github.com/joomla-extensions/weblinks.git synced 2024-06-03 15:00:48 +00:00
weblinks/src/administrator/components/com_weblinks/tmpl/weblink/modal_params.php

35 lines
1.1 KiB
PHP
Raw Normal View History

2017-05-16 06:03:22 +00:00
<?php
2023-05-18 16:45:59 +00:00
2017-05-16 06:03:22 +00:00
/**
* @package Joomla.Administrator
* @subpackage com_weblinks
*
* @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
2023-05-18 16:45:59 +00:00
// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects
use Joomla\CMS\Language\Text;
2017-05-16 06:03:22 +00:00
$fieldSets = $this->form->getFieldsets('params'); ?>
2023-05-18 16:45:59 +00:00
<?php foreach ($fieldSets as $name => $fieldSet) :
?>
<div class="tab-pane" id="params-<?php echo $name; ?>">
<?php if (isset($fieldSet->description) && trim($fieldSet->description)) :
?>
<?php echo '<p class="alert alert-info">' . $this->escape(Text::_($fieldSet->description)) . '</p>'; ?>
<?php
endif; ?>
<?php foreach ($this->form->getFieldset($name) as $field) :
?>
<div class="control-group">
<div class="control-label"><?php echo $field->label; ?></div>
<div class="controls"><?php echo $field->input; ?></div>
</div>
<?php
endforeach; ?>
</div>
<?php
endforeach; ?>