Release of v4.1.1-beta2
Adds new JCB package engine. Fix issue with loading the Component Builder Wiki. Adds advanced version update notice to the Component Builder Dashboard. Completely refactors the class that builds the Component Dashboard. #1134. Adds Initialize, Reset, and Push functionality to the Repository entities. Completely refactors the SQL teaks and SQL dump classes. Changes J4 fields to allow NULL. Fix a bug in Dynamic Get JavaScript that causes table columns to not load.
This commit is contained in:
@@ -31,7 +31,7 @@ $edit = "index.php?option=com_componentbuilder&view=class_methods&task=class_met
|
||||
?>
|
||||
<tr class="row<?php echo $i % 2; ?>">
|
||||
<td class="order nowrap center hidden-phone">
|
||||
<?php if ($canDo->get('class_method.edit.state')): ?>
|
||||
<?php if (!$this->isModal && $canDo->get('class_method.edit.state')): ?>
|
||||
<?php
|
||||
$iconClass = '';
|
||||
if (!$this->saveOrder)
|
||||
@@ -51,7 +51,7 @@ $edit = "index.php?option=com_componentbuilder&view=class_methods&task=class_met
|
||||
<?php endif; ?>
|
||||
</td>
|
||||
<td class="nowrap center">
|
||||
<?php if ($canDo->get('class_method.edit')): ?>
|
||||
<?php if (!$this->isModal && $canDo->get('class_method.edit')): ?>
|
||||
<?php if ($item->checked_out) : ?>
|
||||
<?php if ($canCheckin) : ?>
|
||||
<?php echo Html::_('grid.id', $i, $item->id); ?>
|
||||
@@ -67,13 +67,29 @@ $edit = "index.php?option=com_componentbuilder&view=class_methods&task=class_met
|
||||
</td>
|
||||
<td class="nowrap">
|
||||
<div>
|
||||
<?php if ($canDo->get('class_method.edit')): ?>
|
||||
<?php if (!$this->isModal && $canDo->get('class_method.edit')): ?>
|
||||
<a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>"><?php echo $this->escape($item->name); ?></a>
|
||||
<?php if ($item->checked_out): ?>
|
||||
<?php echo Html::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'class_methods.', $canCheckin); ?>
|
||||
<?php endif; ?>
|
||||
<?php else: ?>
|
||||
<?php echo $this->escape($item->name); ?>
|
||||
<?php if (!$this->isModal): ?>
|
||||
<?php echo $this->escape($item->name); ?>
|
||||
<?php else: ?>
|
||||
<?php
|
||||
$link = "{$edit}&id={$item->id}";
|
||||
$dataId = $item->{$this->getModalTitleKey()} ?? 0;
|
||||
$itemHtml = '<a href="' . $this->escape($link, false) . '">' . $this->escape($item->name, false) . '</a>';
|
||||
$attribs = 'data-content-select data-content-type="com_componentbuilder.class_method"'
|
||||
. ' data-id="' . $dataId . '"'
|
||||
. ' data-title="' . $this->escape($item->name, false) . '"'
|
||||
. ' data-uri="' . $this->escape($link, false) . '"'
|
||||
. ' data-html="' . $this->escape($itemHtml, false) . '"';
|
||||
?>
|
||||
<a class="select-link" href="javascript:void(0)" <?php echo $attribs; ?>>
|
||||
<?php echo $this->escape($item->name); ?>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>(
|
||||
<?php echo $this->escape($item->arguments); ?>)
|
||||
</div>
|
||||
@@ -93,7 +109,7 @@ $edit = "index.php?option=com_componentbuilder&view=class_methods&task=class_met
|
||||
</div>
|
||||
</td>
|
||||
<td class="center">
|
||||
<?php if ($canDo->get('class_method.edit.state')) : ?>
|
||||
<?php if (!$this->isModal && $canDo->get('class_method.edit.state')) : ?>
|
||||
<?php if ($item->checked_out) : ?>
|
||||
<?php if ($canCheckin) : ?>
|
||||
<?php echo Html::_('jgrid.published', $item->published, $i, 'class_methods.', true, 'cb'); ?>
|
||||
|
@@ -17,7 +17,7 @@ defined('_JEXEC') or die;
|
||||
|
||||
?>
|
||||
<tr>
|
||||
<?php if ($this->canEdit&& $this->canState): ?>
|
||||
<?php if (!$this->isModal && $this->canEdit && $this->canState): ?>
|
||||
<th width="1%" class="nowrap center hidden-phone">
|
||||
<?php echo Html::_('searchtools.sort', '', 'a.ordering', $this->listDirn, $this->listOrder, null, 'asc', 'JGRID_HEADING_ORDERING', 'icon-menu-2'); ?>
|
||||
</th>
|
||||
|
Reference in New Issue
Block a user