File manager - Edit - /home/ferretapmx/public_html/associations.php.tar
Back
home/ferretapmx/public_html/layouts/joomla/edit/associations.php 0000644 00000002262 15231065473 0021301 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2013 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Factory; use Joomla\CMS\Language\Text; $form = $displayData->getForm(); $options = [ 'formControl' => $form->getFormControl(), 'hidden' => (int) ($form->getValue('language', null, '*') === '*'), ]; // Load JavaScript message titles Text::script('ERROR'); Text::script('WARNING'); Text::script('NOTICE'); Text::script('MESSAGE'); Text::script('SUCCESS'); Text::script('JGLOBAL_ASSOC_NOT_POSSIBLE'); Text::script('JGLOBAL_ASSOCIATIONS_RESET_WARNING'); /** @var \Joomla\CMS\Document\HtmlDocument $doc */ $doc = Factory::getApplication()->getDocument(); $wa = $doc->getWebAssetManager(); $wa->getRegistry()->addExtensionRegistryFile('com_associations'); $wa->useScript('com_associations.associations-edit'); $doc->addScriptOptions('system.associations.edit', $options); // JLayout for standard handling of associations fields in the administrator items edit screens. echo $form->renderFieldset('item_associations'); home/ferretapmx/public_html/layouts/joomla/content/associations.php 0000644 00000001404 15231065477 0022027 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2013 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; $items = $displayData; if (!empty($items)) : ?> <ul class="item-associations"> <?php foreach ($items as $id => $item) : ?> <?php if (is_array($item) && isset($item['link'])) : ?> <li> <?php echo $item['link']; ?> </li> <?php elseif (isset($item->link)) : ?> <li> <?php echo $item->link; ?> </li> <?php endif; ?> <?php endforeach; ?> </ul> <?php endif; ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings