__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* @package Joomla.Site
* @subpackage Layout
*
* @copyright (C) 2016 Open Source Matters, Inc. <https://www.joomla.org>
* @license GNU General Public License version 2 or later; see LICENSE.txt
*
* @deprecated 5.2 will be moved to the b/c plugin in 6.0 and removed in 7.0
*
*/
defined('_JEXEC') or die;
use Joomla\CMS\Language\Text;
extract($displayData);
/**
* Layout variables
* -----------------
* @var string $autocomplete Autocomplete attribute for the field.
* @var boolean $autofocus Is autofocus enabled?
* @var string $class Classes for the input.
* @var string $description Description of the field.
* @var boolean $disabled Is this field disabled?
* @var string $group Group the field belongs to. <fields> section in form XML.
* @var boolean $hidden Is this field hidden in the form?
* @var string $hint Placeholder for the field.
* @var string $id DOM id of the field.
* @var string $label Label of the field.
* @var string $labelclass Classes to apply to the label.
* @var boolean $multiple Does this field support multiple values?
* @var string $name Name of the input field.
* @var string $onchange Onchange attribute for the field.
* @var string $onclick Onclick attribute for the field.
* @var string $pattern Pattern (Reg Ex) of value of the form field.
* @var boolean $readonly Is this field read only?
* @var boolean $repeat Allows extensions to duplicate elements.
* @var boolean $required Is this field required?
* @var integer $size Size attribute of the input.
* @var boolean $spellcheck Spellcheck state for the form field.
* @var string $validate Validation rules to apply.
* @var string $value Value attribute of the field.
* @var array $options Options available for this field.
* @var string $dataAttribute Miscellaneous data attributes preprocessed for HTML output
* @var array $dataAttributes Miscellaneous data attribute for eg, data-*.
*/
/**
* The format of the input tag to be filled in using sprintf.
* %1 - id
* %2 - name
* %3 - value
* %4 = any other attributes
*/
$format = '<input type="radio" id="%1$s" name="%2$s" value="%3$s" %4$s>';
$alt = preg_replace('/[^a-zA-Z0-9_\-]/', '_', $name);
?>
<fieldset id="<?php echo $id; ?>" class="<?php echo trim($class . ' radio'); ?>"
<?php echo $disabled ? 'disabled' : ''; ?>
<?php echo $required ? 'required' : ''; ?>
<?php echo $autofocus ? 'autofocus' : ''; ?>
<?php echo $dataAttribute; ?>>
<?php if (!empty($options)) : ?>
<?php foreach ($options as $i => $option) : ?>
<?php
// Initialize some option attributes.
$checked = ((string) $option->value === $value) ? 'checked="checked"' : '';
$optionClass = !empty($option->class) ? 'class="' . $option->class . '"' : '';
$disabled = !empty($option->disable) || ($disabled && !$checked) ? 'disabled' : '';
// Initialize some JavaScript option attributes.
$onclick = !empty($option->onclick) ? 'onclick="' . $option->onclick . '"' : '';
$onchange = !empty($option->onchange) ? 'onchange="' . $option->onchange . '"' : '';
$oid = $id . $i;
$ovalue = htmlspecialchars($option->value, ENT_COMPAT, 'UTF-8');
$attributes = array_filter([$checked, $optionClass, $disabled, $onchange, $onclick]);
?>
<?php if ($required) : ?>
<?php $attributes[] = 'required'; ?>
<?php endif; ?>
<div class="radio mb-0">
<label for="<?php echo $oid; ?>" <?php echo $optionClass; ?>>
<?php echo sprintf($format, $oid, $name, $ovalue, implode(' ', $attributes)); ?>
<?php echo Text::alt($option->text, $alt); ?>
</label>
</div>
<?php endforeach; ?>
<?php endif; ?>
</fieldset>
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| color | Folder | 0775 |
|
|
| media | Folder | 0775 |
|
|
| modal-select | Folder | 0775 |
|
|
| radio | Folder | 0775 |
|
|
| subform | Folder | 0775 |
|
|
| calendar.php | File | 7.61 KB | 0664 |
|
| checkbox.php | File | 3.22 KB | 0664 |
|
| checkboxes.php | File | 4.18 KB | 0664 |
|
| combo.php | File | 3.02 KB | 0664 |
|
| contenthistory.php | File | 2.97 KB | 0664 |
|
| email.php | File | 3.38 KB | 0664 |
|
| file.php | File | 3.2 KB | 0664 |
|
| groupedlist-fancy-select.php | File | 4.41 KB | 0664 |
|
| groupedlist.php | File | 3.89 KB | 0664 |
|
| hidden.php | File | 2.69 KB | 0664 |
|
| list-fancy-select.php | File | 4.03 KB | 0664 |
|
| list.php | File | 3.91 KB | 0664 |
|
| media.php | File | 7.15 KB | 0664 |
|
| meter.php | File | 3.34 KB | 0664 |
|
| modal-select.php | File | 3.47 KB | 0664 |
|
| moduleorder.php | File | 3.5 KB | 0664 |
|
| number.php | File | 3.33 KB | 0664 |
|
| password.php | File | 6.05 KB | 0664 |
|
| radiobasic.php | File | 4.15 KB | 0664 |
|
| range.php | File | 3.11 KB | 0664 |
|
| rules.php | File | 14.08 KB | 0664 |
|
| tag.php | File | 4.78 KB | 0664 |
|
| tel.php | File | 3.39 KB | 0664 |
|
| text.php | File | 5.44 KB | 0664 |
|
| textarea.php | File | 3.88 KB | 0664 |
|
| time.php | File | 2.98 KB | 0664 |
|
| url.php | File | 3.5 KB | 0664 |
|
| user.php | File | 4.66 KB | 0664 |
|