2016-01-30 20:28:43 +00:00
|
|
|
<?php
|
2018-05-18 06:28:27 +00:00
|
|
|
/**
|
|
|
|
* @package Joomla.Component.Builder
|
|
|
|
*
|
|
|
|
* @created 30th April, 2015
|
|
|
|
* @author Llewellyn van der Merwe <http://www.joomlacomponentbuilder.com>
|
|
|
|
* @github Joomla Component Builder <https://github.com/vdm-io/Joomla-Component-Builder>
|
2019-02-23 13:28:54 +00:00
|
|
|
* @copyright Copyright (C) 2015 - 2019 Vast Development Method. All rights reserved.
|
2018-05-18 06:28:27 +00:00
|
|
|
* @license GNU General Public License version 2 or later; see LICENSE.txt
|
|
|
|
*/
|
2016-01-30 20:28:43 +00:00
|
|
|
|
|
|
|
// No direct access to this file
|
|
|
|
defined('_JEXEC') or die('Restricted access');
|
|
|
|
|
|
|
|
$form = $displayData->getForm();
|
|
|
|
|
|
|
|
$fields = $displayData->get('fields') ?: array(
|
2017-10-26 16:43:51 +00:00
|
|
|
'note_component_files_folders',
|
2018-03-11 02:44:43 +00:00
|
|
|
'spacer_hr_four',
|
2018-09-24 14:37:51 +00:00
|
|
|
'add_menu_prefix',
|
|
|
|
'menu_prefix',
|
|
|
|
'spacer_hr_five',
|
2017-09-13 00:37:43 +00:00
|
|
|
'to_ignore_note',
|
|
|
|
'toignore',
|
2018-09-24 14:37:51 +00:00
|
|
|
'spacer_hr_six',
|
2017-04-26 08:55:02 +00:00
|
|
|
'jcb_export_package_note',
|
|
|
|
'export_key',
|
2018-05-05 14:47:48 +00:00
|
|
|
'joomla_source_link',
|
2017-04-26 08:55:02 +00:00
|
|
|
'export_buy_link'
|
2016-01-30 20:28:43 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
$hiddenFields = $displayData->get('hidden_fields') ?: array();
|
|
|
|
|
2019-01-23 14:30:53 +00:00
|
|
|
?>
|
|
|
|
<?php foreach($fields as $field): ?>
|
|
|
|
<?php if (in_array($field, $hiddenFields)) : ?>
|
|
|
|
<?php $form->setFieldAttribute($field, 'type', 'hidden'); ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
<?php echo $form->renderField($field, null, null, array('class' => 'control-wrapper-' . $field)); ?>
|
|
|
|
<?php endforeach; ?>
|