芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/administrator.4/components/com_contenthistory/tmpl/compare/compare.php
* @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; use Joomla\CMS\Session\Session; Session::checkToken('get') or die(Text::_('JINVALID_TOKEN')); $version2 = $this->items[0]; $version1 = $this->items[1]; $object1 = $version1->data; $object2 = $version2->data; /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $this->document->getWebAssetManager(); $wa->useScript('com_contenthistory.admin-compare-compare'); ?>
$value) : ?> value) && isset($object2->$name->value) && $value->value != $object2->$name->value) : ?> value)) : ?>
label; ?>
value as $subName => $subValue) : ?> $name->value->$subName->value ?? ''; ?> value || $newSubValue) : ?> value != $newSubValue) : ?>
label; ?>
value, ENT_COMPAT, 'UTF-8'); ?>
label; ?>
value); ?>
$name->value = is_object($object2->$name->value) ? json_encode($object2->$name->value) : $object2->$name->value; ?>
$name->value, ENT_COMPAT, 'UTF-8'); ?>