Release of v5.2.0

This commit is contained in:
Robot committed 2026-10-08 15:29:06 +00:00
1 parent 78716895d6
commit f7def5f4fb
1451 files changed
+220555 -79875

No files matched your search

+14 -14
View File
@@ -70,26 +70,26 @@ $edit = "index.php?option=com_componentbuilder&view=custom_admin_views&task=cust
<td class="nowrap">
<div class="name">
<?php if (!$this->isModal && $canDo->get('core.edit')): ?>
<a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>"><?php echo $this->escape($item->system_name); ?></a>
<a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>"><?php echo $this->sanitize($item->system_name); ?></a>
<?php if ($item->checked_out): ?>
<?php echo Html::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'custom_admin_views.', $canCheckin); ?>
<?php endif; ?>
<?php else: ?>
<?php if (!$this->isModal): ?>
<?php echo $this->escape($item->system_name); ?>
<?php echo $this->sanitize($item->system_name); ?>
<?php else: ?>
<?php
$link = "{$edit}&id={$item->id}";
$dataId = $item->{$this->getModalTitleKey()} ?? 0;
$itemHtml = '<a href="' . $this->escape($link, false) . '">' . $this->escape($item->system_name, false) . '</a>';
$itemHtml = '<a href="' . $this->sanitize($link, false) . '">' . $this->sanitize($item->system_name, false) . '</a>';
$attribs = 'data-content-select data-content-type="com_componentbuilder.custom_admin_view"'
. ' data-id="' . $dataId . '"'
. ' data-title="' . $this->escape($item->system_name, false) . '"'
. ' data-uri="' . $this->escape($link, false) . '"'
. ' data-html="' . $this->escape($itemHtml, false) . '"';
. ' data-id="' . $this->sanitize($dataId, false) . '"'
. ' data-title="' . $this->sanitize($item->system_name, false) . '"'
. ' data-uri="' . $this->sanitize($link, false) . '"'
. ' data-html="' . $this->sanitize($itemHtml, false) . '"';
?>
<a class="select-link" href="javascript:void(0)" <?php echo $attribs; ?>>
<?php echo $this->escape($item->system_name); ?>
<?php echo $this->sanitize($item->system_name); ?>
</a>
<?php endif; ?>
<?php endif; ?>
@@ -97,18 +97,18 @@ $edit = "index.php?option=com_componentbuilder&view=custom_admin_views&task=cust
</td>
<td class="hidden-phone">
<div><?php echo Text::_('COM_COMPONENTBUILDER_NAME'); ?>: <b>
<?php echo $this->escape($item->name); ?></b><br />
<?php echo $this->sanitize($item->name); ?></b><br />
<?php echo Text::_('COM_COMPONENTBUILDER_CODE'); ?>: <b>
<?php echo $this->escape($item->codename); ?></b><br />
<?php echo $this->sanitize($item->codename); ?></b><br />
<?php if (StringHelper::check($item->context)): ?>
<?php echo Text::_('COM_COMPONENTBUILDER_CONTEXT'); ?>: <b>
<?php echo $this->escape($item->context); ?></b>
<?php echo $this->sanitize($item->context); ?></b>
<?php endif; ?>
</div>
</td>
<td class="hidden-phone">
<div><em>
<?php echo $this->escape($item->description); ?></em>
<?php echo $this->sanitize($item->description); ?></em>
<ul style="list-style: none">
<li><?php echo Text::_("COM_COMPONENTBUILDER_CUSTOM_BUTTON"); ?>: <b>
<?php echo Text::_($item->add_custom_button); ?></b></li>
@@ -120,9 +120,9 @@ $edit = "index.php?option=com_componentbuilder&view=custom_admin_views&task=cust
<td class="nowrap">
<div class="name">
<?php if (!$this->isModal && $this->user->authorise('dynamic_get.edit', 'com_componentbuilder.dynamic_get.' . (int) ($item->main_get_id ?? 0))): ?>
<a href="index.php?option=com_componentbuilder&view=dynamic_gets&task=dynamic_get.edit&id=<?php echo $item->main_get_id; ?>&return=<?php echo $this->return_here; ?>"><?php echo $this->escape($item->main_get_name); ?></a>
<a href="index.php?option=com_componentbuilder&view=dynamic_gets&task=dynamic_get.edit&id=<?php echo $item->main_get_id; ?>&return=<?php echo $this->return_here; ?>"><?php echo $this->sanitize($item->main_get_name); ?></a>
<?php else: ?>
<?php echo $this->escape($item->main_get_name); ?>
<?php echo $this->sanitize($item->main_get_name); ?>
<?php endif; ?>
</div>
</td>