X7ROOT File Manager
Current Path:
/home/notabjze/narcev.com/layouts/joomla/form/field
home
/
notabjze
/
narcev.com
/
layouts
/
joomla
/
form
/
field
/
ðŸ“
..
📄
calendar.php
(7.34 KB)
📄
checkbox.php
(3.18 KB)
📄
checkboxes.php
(4 KB)
ðŸ“
color
📄
combo.php
(2.99 KB)
📄
contenthistory.php
(3.03 KB)
📄
email.php
(3.31 KB)
📄
file.php
(3.16 KB)
📄
groupedlist-fancy-select.php
(4.24 KB)
📄
groupedlist.php
(3.73 KB)
📄
hidden.php
(2.67 KB)
📄
list-fancy-select.php
(3.94 KB)
📄
list.php
(3.81 KB)
ðŸ“
media
📄
media.php
(7.32 KB)
📄
meter.php
(3.34 KB)
📄
moduleorder.php
(3.48 KB)
📄
number.php
(3.26 KB)
📄
password.php
(5.77 KB)
ðŸ“
radio
📄
radiobasic.php
(3.81 KB)
📄
range.php
(3.06 KB)
📄
rules.php
(10.96 KB)
ðŸ“
subform
📄
tag.php
(4.69 KB)
📄
tel.php
(3.27 KB)
📄
text.php
(4.59 KB)
📄
textarea.php
(3.81 KB)
📄
time.php
(2.92 KB)
📄
url.php
(3.28 KB)
📄
user.php
(4.95 KB)
Editing: password.php
<?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 */ defined('_JEXEC') or die; use Joomla\CMS\Factory; 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 boolean $rules Are the rules to be displayed? * @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 $checkedOptions Options that will be set as checked. * @var boolean $hasValue Has this field a value assigned? * @var array $options Options available for this field. * @var array $inputType Options available for this field. * @var string $accept File types that are accepted. * @var string $dataAttribute Miscellaneous data attributes preprocessed for HTML output * @var array $dataAttributes Miscellaneous data attribute for eg, data-*. * @var boolean $lock Is this field locked. */ $document = Factory::getApplication()->getDocument(); /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $document->getWebAssetManager(); if ($meter) { $wa->useScript('field.passwordstrength'); $class = 'js-password-strength ' . $class; if ($forcePassword) { $class = $class . ' meteredPassword'; } } $wa->useScript('field.passwordview'); Text::script('JFIELD_PASSWORD_INDICATE_INCOMPLETE'); Text::script('JFIELD_PASSWORD_INDICATE_COMPLETE'); Text::script('JSHOWPASSWORD'); Text::script('JHIDEPASSWORD'); if ($lock) { Text::script('JMODIFY'); Text::script('JCANCEL'); $disabled = true; $hint = str_repeat('•', 10); $value = ''; } $ariaDescribedBy = $rules ? $name . '-rules ' : ''; $ariaDescribedBy .= !empty($description) ? $name . '-desc' : ''; $attributes = array( strlen($hint) ? 'placeholder="' . htmlspecialchars($hint, ENT_COMPAT, 'UTF-8') . '"' : '', !empty($autocomplete) ? 'autocomplete="' . $autocomplete . '"' : '', !empty($class) ? 'class="form-control ' . $class . '"' : 'class="form-control"', !empty($ariaDescribedBy) ? 'aria-describedby="' . trim($ariaDescribedBy) . '"' : '', $readonly ? 'readonly' : '', $disabled ? 'disabled' : '', !empty($size) ? 'size="' . $size . '"' : '', !empty($maxLength) ? 'maxlength="' . $maxLength . '"' : '', $required ? 'required' : '', $autofocus ? 'autofocus' : '', !empty($minLength) ? 'data-min-length="' . $minLength . '"' : '', !empty($minIntegers) ? 'data-min-integers="' . $minIntegers . '"' : '', !empty($minSymbols) ? 'data-min-symbols="' . $minSymbols . '"' : '', !empty($minUppercase) ? 'data-min-uppercase="' . $minUppercase . '"' : '', !empty($minLowercase) ? 'data-min-lowercase="' . $minLowercase . '"' : '', !empty($forcePassword) ? 'data-min-force="' . $forcePassword . '"' : '', $dataAttribute, ); if ($rules) { $requirements = []; if ($minLength) { $requirements[] = Text::sprintf('JFIELD_PASSWORD_RULES_CHARACTERS', $minLength); } if ($minIntegers) { $requirements[] = Text::sprintf('JFIELD_PASSWORD_RULES_DIGITS', $minIntegers); } if ($minSymbols) { $requirements[] = Text::sprintf('JFIELD_PASSWORD_RULES_SYMBOLS', $minSymbols); } if ($minUppercase) { $requirements[] = Text::sprintf('JFIELD_PASSWORD_RULES_UPPERCASE', $minUppercase); } if ($minLowercase) { $requirements[] = Text::sprintf('JFIELD_PASSWORD_RULES_LOWERCASE', $minLowercase); } } ?> <?php if ($rules) : ?> <div id="<?php echo $name . '-rules'; ?>" class="small text-muted"> <?php echo Text::sprintf('JFIELD_PASSWORD_RULES_MINIMUM_REQUIREMENTS', implode(', ', $requirements)); ?> </div> <?php endif; ?> <div class="password-group"> <div class="input-group"> <input type="password" name="<?php echo $name; ?>" id="<?php echo $id; ?>" value="<?php echo htmlspecialchars($value, ENT_COMPAT, 'UTF-8'); ?>" <?php echo implode(' ', $attributes); ?>> <?php if (!$lock): ?> <button type="button" class="btn btn-secondary input-password-toggle"> <span class="icon-eye icon-fw" aria-hidden="true"></span> <span class="visually-hidden"><?php echo Text::_('JSHOWPASSWORD'); ?></span> </button> <?php else: ?> <button type="button" id="<?php echo $id; ?>_lock" class="btn btn-info input-password-modify locked"> <?php echo Text::_('JMODIFY'); ?> </button> <?php endif; ?> </div> </div>
Upload File
Create Folder