Cleaned-up some more javascript one the admin_view. Changed the admin_view layout. Improved the converion of data. Added a new tabsName field to the admin_fields view.

This commit is contained in:
2017-10-13 05:45:54 +02:00
parent fc41ba85d8
commit dfd98aeacf
290 changed files with 1378 additions and 900 deletions

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 7 of this MVC
@build 12th October, 2017
@version @update number 14 of this MVC
@build 13th October, 2017
@created 12th October, 2017
@package Component Builder
@subpackage default.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 7 of this MVC
@build 12th October, 2017
@version @update number 14 of this MVC
@build 13th October, 2017
@created 12th October, 2017
@package Component Builder
@subpackage default_batch_body.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 7 of this MVC
@build 12th October, 2017
@version @update number 14 of this MVC
@build 13th October, 2017
@created 12th October, 2017
@package Component Builder
@subpackage default_batch_footer.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 7 of this MVC
@build 12th October, 2017
@version @update number 14 of this MVC
@build 13th October, 2017
@created 12th October, 2017
@package Component Builder
@subpackage default_body.php
@ -37,7 +37,7 @@ $edit = "index.php?option=com_componentbuilder&view=admins_fields_conditions&tas
?>
<tr class="row<?php echo $i % 2; ?>">
<td class="order nowrap center hidden-phone">
<?php if ($canDo->get('core.edit.state')): ?>
<?php if ($canDo->get('admin_fields_conditions.edit.state')): ?>
<?php
if ($this->saveOrder)
{
@ -60,7 +60,7 @@ $edit = "index.php?option=com_componentbuilder&view=admins_fields_conditions&tas
<?php endif; ?>
</td>
<td class="nowrap center">
<?php if ($canDo->get('core.edit')): ?>
<?php if ($canDo->get('admin_fields_conditions.edit')): ?>
<?php if ($item->checked_out) : ?>
<?php if ($canCheckin) : ?>
<?php echo JHtml::_('grid.id', $i, $item->id); ?>
@ -75,7 +75,7 @@ $edit = "index.php?option=com_componentbuilder&view=admins_fields_conditions&tas
<?php endif; ?>
</td>
<td class="nowrap">
<?php if ($canDo->get('core.edit')): ?>
<?php if ($canDo->get('admin_fields_conditions.edit')): ?>
<div class="name">
<a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>"><?php echo $this->escape($item->admin_view_system_name); ?></a>
<?php if ($item->checked_out): ?>
@ -87,7 +87,7 @@ $edit = "index.php?option=com_componentbuilder&view=admins_fields_conditions&tas
<?php endif; ?>
</td>
<td class="center">
<?php if ($canDo->get('core.edit.state')) : ?>
<?php if ($canDo->get('admin_fields_conditions.edit.state')) : ?>
<?php if ($item->checked_out) : ?>
<?php if ($canCheckin) : ?>
<?php echo JHtml::_('jgrid.published', $item->published, $i, 'admins_fields_conditions.', true, 'cb'); ?>

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 7 of this MVC
@build 12th October, 2017
@version @update number 14 of this MVC
@build 13th October, 2017
@created 12th October, 2017
@package Component Builder
@subpackage default_foot.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 7 of this MVC
@build 12th October, 2017
@version @update number 14 of this MVC
@build 13th October, 2017
@created 12th October, 2017
@package Component Builder
@subpackage default_head.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 7 of this MVC
@build 12th October, 2017
@version @update number 14 of this MVC
@build 13th October, 2017
@created 12th October, 2017
@package Component Builder
@subpackage default_toolbar.php

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version @update number 7 of this MVC
@build 12th October, 2017
@version @update number 14 of this MVC
@build 13th October, 2017
@created 12th October, 2017
@package Component Builder
@subpackage view.html.php
@ -63,10 +63,10 @@ class ComponentbuilderViewAdmins_fields_conditions extends JViewLegacy
$this->saveOrder = $this->listOrder == 'ordering';
// get global action permissions
$this->canDo = ComponentbuilderHelper::getActions('admin_fields_conditions');
$this->canEdit = $this->canDo->get('core.edit');
$this->canState = $this->canDo->get('core.edit.state');
$this->canCreate = $this->canDo->get('core.create');
$this->canDelete = $this->canDo->get('core.delete');
$this->canEdit = $this->canDo->get('admin_fields_conditions.edit');
$this->canState = $this->canDo->get('admin_fields_conditions.edit.state');
$this->canCreate = $this->canDo->get('admin_fields_conditions.create');
$this->canDelete = $this->canDo->get('admin_fields_conditions.delete');
$this->canBatch = $this->canDo->get('core.batch');
// We don't need toolbar in the modal window.