2016-03-06 00:50:22 +00:00
|
|
|
<?php
|
2022-03-03 03:49:35 +00:00
|
|
|
/*--------------------------------------------------------------------------------------------------------| www.vdm.io |------/
|
|
|
|
__ __ _ _____ _ _ __ __ _ _ _
|
|
|
|
\ \ / / | | | __ \ | | | | | \/ | | | | | | |
|
|
|
|
\ \ / /_ _ ___| |_ | | | | _____ _____| | ___ _ __ _ __ ___ ___ _ __ | |_ | \ / | ___| |_| |__ ___ __| |
|
|
|
|
\ \/ / _` / __| __| | | | |/ _ \ \ / / _ \ |/ _ \| '_ \| '_ ` _ \ / _ \ '_ \| __| | |\/| |/ _ \ __| '_ \ / _ \ / _` |
|
|
|
|
\ / (_| \__ \ |_ | |__| | __/\ V / __/ | (_) | |_) | | | | | | __/ | | | |_ | | | | __/ |_| | | | (_) | (_| |
|
|
|
|
\/ \__,_|___/\__| |_____/ \___| \_/ \___|_|\___/| .__/|_| |_| |_|\___|_| |_|\__| |_| |_|\___|\__|_| |_|\___/ \__,_|
|
|
|
|
| |
|
|
|
|
|_|
|
|
|
|
/-------------------------------------------------------------------------------------------------------------------------------/
|
|
|
|
|
|
|
|
@version 1.0.11
|
|
|
|
@build 2nd March, 2022
|
|
|
|
@created 24th February, 2016
|
|
|
|
@package Support Groups
|
|
|
|
@subpackage edit.php
|
|
|
|
@author Llewellyn van der Merwe <http://www.vdm.io>
|
|
|
|
@copyright Copyright (C) 2015. All Rights Reserved
|
|
|
|
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
|
|
|
|
|
|
|
Support Groups
|
|
|
|
|
|
|
|
/-----------------------------------------------------------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
// No direct access to this file
|
|
|
|
defined('_JEXEC') or die('Restricted access');
|
|
|
|
|
2021-01-06 13:58:12 +00:00
|
|
|
JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html');
|
2022-03-03 03:49:35 +00:00
|
|
|
JHtml::_('behavior.formvalidator');
|
2021-01-06 13:58:12 +00:00
|
|
|
JHtml::_('formbehavior.chosen', 'select');
|
2022-03-03 03:49:35 +00:00
|
|
|
JHtml::_('behavior.keepalive');
|
|
|
|
$componentParams = $this->params; // will be removed just use $this->params instead
|
|
|
|
?>
|
|
|
|
<div id="supportgroups_loader">
|
|
|
|
<form action="<?php echo JRoute::_('index.php?option=com_supportgroups&layout=edit&id='. (int) $this->item->id . $this->referral); ?>" method="post" name="adminForm" id="adminForm" class="form-validate" enctype="multipart/form-data">
|
2016-03-06 00:50:22 +00:00
|
|
|
|
2018-05-05 13:35:10 +00:00
|
|
|
<?php echo JLayoutHelper::render('additional_info.settings_above', $this); ?>
|
|
|
|
<div class="form-horizontal">
|
2016-03-06 00:50:22 +00:00
|
|
|
|
2018-05-05 13:35:10 +00:00
|
|
|
<?php echo JHtml::_('bootstrap.startTabSet', 'additional_infoTab', array('active' => 'settings')); ?>
|
2016-03-06 00:50:22 +00:00
|
|
|
|
2018-05-05 13:35:10 +00:00
|
|
|
<?php echo JHtml::_('bootstrap.addTab', 'additional_infoTab', 'settings', JText::_('COM_SUPPORTGROUPS_ADDITIONAL_INFO_SETTINGS', true)); ?>
|
2016-03-06 00:50:22 +00:00
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
2018-05-05 13:35:10 +00:00
|
|
|
<div class="span12">
|
|
|
|
<?php echo JLayoutHelper::render('additional_info.settings_left', $this); ?>
|
|
|
|
</div>
|
2016-03-06 00:50:22 +00:00
|
|
|
</div>
|
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span12">
|
2018-05-05 13:35:10 +00:00
|
|
|
<?php echo JLayoutHelper::render('additional_info.settings_fullwidth', $this); ?>
|
2016-03-06 00:50:22 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
|
|
|
|
2016-03-08 10:24:26 +00:00
|
|
|
<?php if ($this->canDo->get('support_group.access')) : ?>
|
2018-05-05 13:35:10 +00:00
|
|
|
<?php echo JHtml::_('bootstrap.addTab', 'additional_infoTab', 'support_groups', JText::_('COM_SUPPORTGROUPS_ADDITIONAL_INFO_SUPPORT_GROUPS', true)); ?>
|
2016-03-08 10:24:26 +00:00
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
</div>
|
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span12">
|
2018-05-05 13:35:10 +00:00
|
|
|
<?php echo JLayoutHelper::render('additional_info.support_groups_fullwidth', $this); ?>
|
2016-03-08 10:24:26 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
|
2019-04-04 11:53:29 +00:00
|
|
|
<?php $this->ignore_fieldsets = array('details','metadata','vdmmetadata','accesscontrol'); ?>
|
|
|
|
<?php $this->tab_name = 'additional_infoTab'; ?>
|
|
|
|
<?php echo JLayoutHelper::render('joomla.edit.params', $this); ?>
|
|
|
|
|
2021-01-06 13:58:12 +00:00
|
|
|
<?php if ($this->canDo->get('additional_info.edit.created_by') || $this->canDo->get('additional_info.edit.created') || $this->canDo->get('additional_info.edit.state') || ($this->canDo->get('additional_info.delete') && $this->canDo->get('additional_info.edit.state'))) : ?>
|
2018-05-05 13:35:10 +00:00
|
|
|
<?php echo JHtml::_('bootstrap.addTab', 'additional_infoTab', 'publishing', JText::_('COM_SUPPORTGROUPS_ADDITIONAL_INFO_PUBLISHING', true)); ?>
|
2016-03-06 00:50:22 +00:00
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span6">
|
2018-05-05 13:35:10 +00:00
|
|
|
<?php echo JLayoutHelper::render('additional_info.publishing', $this); ?>
|
2016-03-06 00:50:22 +00:00
|
|
|
</div>
|
|
|
|
<div class="span6">
|
2018-05-05 13:35:10 +00:00
|
|
|
<?php echo JLayoutHelper::render('additional_info.metadata', $this); ?>
|
2016-03-06 00:50:22 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
<?php if ($this->canDo->get('core.admin')) : ?>
|
2018-05-05 13:35:10 +00:00
|
|
|
<?php echo JHtml::_('bootstrap.addTab', 'additional_infoTab', 'permissions', JText::_('COM_SUPPORTGROUPS_ADDITIONAL_INFO_PERMISSION', true)); ?>
|
2016-03-06 00:50:22 +00:00
|
|
|
<div class="row-fluid form-horizontal-desktop">
|
|
|
|
<div class="span12">
|
|
|
|
<fieldset class="adminform">
|
|
|
|
<div class="adminformlist">
|
|
|
|
<?php foreach ($this->form->getFieldset('accesscontrol') as $field): ?>
|
|
|
|
<div>
|
|
|
|
<?php echo $field->label; echo $field->input;?>
|
|
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<?php echo JHtml::_('bootstrap.endTab'); ?>
|
|
|
|
<?php endif; ?>
|
|
|
|
|
|
|
|
<?php echo JHtml::_('bootstrap.endTabSet'); ?>
|
|
|
|
|
|
|
|
<div>
|
2018-05-05 13:35:10 +00:00
|
|
|
<input type="hidden" name="task" value="additional_info.edit" />
|
2016-03-06 00:50:22 +00:00
|
|
|
<?php echo JHtml::_('form.token'); ?>
|
|
|
|
</div>
|
2022-03-03 03:49:35 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|