Joomla CMS  3.8.5 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.8.5 et du framework Joomla Platform intégré
Référence du fichier templates/protostar/html/layouts/joomla/form/field/user.php

Espaces de nommage

 Joomla\Site
 

Variables

 $link
 
if(JText::_('JLIB_FORM_SELECT_USER')===htmlspecialchars($userName, ENT_COMPAT, 'UTF-8')) if(! $readonly)< div class="field-user-wrapper" data-url="<?php echo $link; ?> data modal
 
 endif
 
 if (! $readonly)
 

Documentation des variables

◆ $link

$link
Valeur initiale :
= 'index.php?option=com_users&amp;view=users&amp;layout=modal&amp;tmpl=component&amp;required='
. ($required ? 1 : 0) . '&amp;field={field-user-id}&amp;ismoo=0'
. (isset($groups) ? ('&amp;groups=' . base64_encode(json_encode($groups))) : '')
. (isset($excluded) ? ('&amp;excluded=' . base64_encode(json_encode($excluded))) : '')
$required
Definition: components/com_contact/layouts/joomla/form/renderfield.php:43
$groups
Definition: components/com_content/views/category/tmpl/blog_children.php:17
json_encode('#' . $selector . 'Tabs')
Definition: addtabscript.php:19

◆ endif

endif

◆ if

if(! $readonly)

◆ modal

if (JText::_( 'JLIB_FORM_SELECT_USER')===htmlspecialchars( $userName, ENT_COMPAT, 'UTF-8')) if (! $readonly)<div class="field-user-wrapper" data-url="<?php echo $link; ?> data modal
Valeur initiale :
=".modal"
data-modal-width="100%"
data-modal-height="400px"
data-input=".field-user-input"
data-input-name=".field-user-input-name"
data-button-select=".button-select"
>
<div class="input-append">
<input
type="text" id="<?php echo $id; ?>"
value="<?php echo htmlspecialchars($userName, ENT_COMPAT, 'UTF-8'); ?>"
placeholder="<?php echo JText::_('JLIB_FORM_SELECT_USER'); ?>"
readonly
class="field-user-input-name <?php echo $class ? (string) $class : ''?>"
<?php echo $size ? ' size="' . (int) $size . '"' : ''
elseif($this->showJedAndWebInstaller) line height
Definition: administrator/components/com_installer/views/install/tmpl/default.php:113
if(JText::_('JLIB_FORM_SELECT_USER')===htmlspecialchars($userName, ENT_COMPAT, 'UTF-8')) if(! $readonly)< div class="field-user-wrapper" data-url="<?php echo $link; ?> data modal
Definition: templates/protostar/html/layouts/joomla/form/field/user.php:69
$this name
Definition: components/com_config/view/application/tmpl/default_cache.php:12
max width
Definition: administrator/components/com_templates/views/template/tmpl/default.php:171
$object2 $name value
Definition: views/compare/tmpl/compare.php:86
button
Definition: plugins/installer/packageinstaller/tmpl/default.php:50

Référencé par JFormFieldModal_Article\getInput(), JFormFieldModal_Newsfeed\getInput(), JFormFieldModal_Category\getInput(), JFormFieldModal_Contact\getInput(), et JFormFieldModal_Menu\getInput().