Decoupled fields and conditions from admin view as explained in gh-136. Added new admin_fields and admin_fields_conditions tables and moved the data from admin_view to these new tables.

This commit is contained in:
2017-10-13 01:14:17 +02:00
parent 39e1e5f078
commit 35482416cb
367 changed files with 8762 additions and 2210 deletions

View File

@ -126,7 +126,6 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
</div>
<?php echo JHtml::_('bootstrap.endTab'); ?>
<?php if ($this->canDo->get('admin_view.access')) : ?>
<?php echo JHtml::_('bootstrap.addTab', 'joomla_componentTab', 'admin_views', JText::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_ADMIN_VIEWS', true)); ?>
<div class="row-fluid form-horizontal-desktop">
</div>
@ -136,7 +135,6 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
</div>
</div>
<?php echo JHtml::_('bootstrap.endTab'); ?>
<?php endif; ?>
<?php if ($this->canDo->get('custom_admin_view.access')) : ?>
<?php echo JHtml::_('bootstrap.addTab', 'joomla_componentTab', 'custom_admin_views', JText::_('COM_COMPONENTBUILDER_JOOMLA_COMPONENT_CUSTOM_ADMIN_VIEWS', true)); ?>
@ -201,7 +199,7 @@ $componentParams = JComponentHelper::getParams('com_componentbuilder');
<?php echo JLayoutHelper::render('joomla_component.publishing', $this); ?>
</div>
<div class="span6">
<?php echo JLayoutHelper::render('joomla_component.publlshing', $this); ?>
<?php echo JLayoutHelper::render('joomla_component.metadata', $this); ?>
</div>
</div>
<?php echo JHtml::_('bootstrap.endTab'); ?>