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

+10 -10
View File
@@ -72,26 +72,26 @@ $edit = "index.php?option=com_componentbuilder&view=libraries&task=library.edit"
<td class="nowrap">
<div>
<?php if (!$this->isModal && $canDo->get('library.edit')): ?>
<a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>"><?php echo $this->escape($item->name); ?></a>
<a href="<?php echo $edit; ?>&id=<?php echo $item->id; ?>"><?php echo $this->sanitize($item->name); ?></a>
<?php if ($item->checked_out): ?>
<?php echo Html::_('jgrid.checkedout', $i, $userChkOut->name, $item->checked_out_time, 'libraries.', $canCheckin); ?>
<?php endif; ?>
<?php else: ?>
<?php if (!$this->isModal): ?>
<?php echo $this->escape($item->name); ?>
<?php echo $this->sanitize($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>';
$itemHtml = '<a href="' . $this->sanitize($link, false) . '">' . $this->sanitize($item->name, false) . '</a>';
$attribs = 'data-content-select data-content-type="com_componentbuilder.library"'
. ' data-id="' . $dataId . '"'
. ' data-title="' . $this->escape($item->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->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->name); ?>
<?php echo $this->sanitize($item->name); ?>
</a>
<?php endif; ?>
<?php endif; ?>
@@ -132,13 +132,13 @@ $edit = "index.php?option=com_componentbuilder&view=libraries&task=library.edit"
<?php echo Text::_($item->target); ?>
</td>
<td class="hidden-phone">
<?php echo $this->escape($item->how); ?>
<?php echo $this->sanitize($item->how); ?>
</td>
<td class="hidden-phone">
<?php echo Text::_($item->type); ?>
</td>
<td class="hidden-phone">
<?php echo $this->escape($item->description); ?>
<?php echo $this->sanitize($item->description); ?>
</td>
<td class="center">
<?php if (!$this->isModal && $canDo->get('library.edit.state')) : ?>