芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/components.8/com_contact/layouts/field/render.php
* @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Language\Text; if (!array_key_exists('field', $displayData)) { return; } $field = $displayData['field']; $label = Text::_($field->label); $value = $field->value; $class = $field->params->get('render_class'); $showLabel = $field->params->get('showlabel'); $labelClass = $field->params->get('label_render_class'); if ($field->context == 'com_contact.mail') { // Prepare the value for the contact form mail $value = html_entity_decode($value); echo ($showLabel ? $label . ': ' : '') . $value . "\r\n"; return; } if (!strlen($value)) { return; } ?>
: