uawdijnntqw1x1x1
IP : 216.73.216.231
Hostname : 213-108-241-110.cprapid.com
Kernel : Linux 213-108-241-110.cprapid.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
digilove
/
public_html
/
includes
/
..
/
41423
/
layouts.tar
/
/
field/render.php000064400000002221152326013670007621 0ustar00<?php /** * @package Joomla.Site * @subpackage com_contact * * @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; if (!key_exists('field', $displayData)) { return; } $field = $displayData['field']; $label = JText::_($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; } ?> <dt class="contact-field-entry <?php echo $class; ?>"> <?php if ($showLabel == 1) : ?> <span class="field-label <?php echo $labelClass; ?>"><?php echo htmlentities($label, ENT_QUOTES | ENT_IGNORE, 'UTF-8'); ?>: </span> <?php endif; ?> </dt> <dd class="contact-field-entry <?php echo $class; ?>"> <span class="field-value"><?php echo $value; ?></span> </dd> fields/render.php000064400000002734152326013670010015 0ustar00<?php /** * @package Joomla.Site * @subpackage com_contact * * @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; // Check if we have all the data if (!key_exists('item', $displayData) || !key_exists('context', $displayData)) { return; } // Setting up for display $item = $displayData['item']; if (!$item) { return; } $context = $displayData['context']; if (!$context) { return; } JLoader::register('FieldsHelper', JPATH_ADMINISTRATOR . '/components/com_fields/helpers/fields.php'); $parts = explode('.', $context); $component = $parts[0]; $fields = null; if (key_exists('fields', $displayData)) { $fields = $displayData['fields']; } else { $fields = $item->jcfields ?: FieldsHelper::getFields($context, $item, true); } if (!$fields) { return; } // Check if we have mail context in first element $isMail = (reset($fields)->context == 'com_contact.mail'); if (!$isMail) { // Print the container tag echo '<dl class="fields-container contact-fields dl-horizontal">'; } // Loop through the fields and print them foreach ($fields as $field) { // If the value is empty do nothing if (!strlen($field->value) && !$isMail) { continue; } $layout = $field->params->get('layout', 'render'); echo FieldsHelper::render($context, 'field.' . $layout, array('field' => $field)); } if (!$isMail) { // Close the container echo '</dl>'; } joomla/form/renderfield.php000064400000003521152326013670011772 0ustar00<?php /** * @package Joomla.Site * @subpackage Layout * * @copyright (C) 2015 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; extract($displayData); /** * Layout variables * --------------------- * $options : (array) Optional parameters * $label : (string) The html code for the label (not required if $options['hiddenLabel'] is true) * $input : (string) The input field html code */ if (!empty($options['showonEnabled'])) { JHtml::_('jquery.framework'); JHtml::_('script', 'jui/cms.js', array('version' => 'auto', 'relative' => true)); } $class = empty($options['class']) ? '' : ' ' . $options['class']; $rel = empty($options['rel']) ? '' : ' ' . $options['rel']; /** * @TODO: * * As mentioned in #8473 (https://github.com/joomla/joomla-cms/pull/8473), ... * as long as we cannot access the field properties properly, this seems to * be the way to go for now. * * On a side note: Parsing html is seldom a good idea. * https://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454 */ preg_match('/class=\"([^\"]+)\"/i', $input, $match); $required = (strpos($input, 'aria-required="true"') !== false || (!empty($match[1]) && strpos($match[1], 'required') !== false)); $typeOfSpacer = (strpos($label, 'spacer-lbl') !== false); ?> <div class="control-group<?php echo $class; ?>"<?php echo $rel; ?>> <?php if (empty($options['hiddenLabel'])) : ?> <div class="control-label"> <?php echo $label; ?> <?php if (!$required && !$typeOfSpacer) : ?> <span class="optional"><?php echo JText::_('COM_CONTACT_OPTIONAL'); ?></span> <?php endif; ?> </div> <?php endif; ?> <div class="controls"><?php echo $input; ?></div> </div>
/home/digilove/public_html/includes/../41423/layouts.tar