Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Référence du fichier administrator/components/com_media/views/images/tmpl/default.php

Espaces de nommage

 Joomla\Administrator
 

Variables

 $user = JFactory::getUser()
 
 $input = JFactory::getApplication()->input
 
 $params = JComponentHelper::getParams('com_media')
 
 $lang = JFactory::getLanguage()
 
 $onClick = ''
 
 $fieldInput = $this->state->get('field.id')
 
 $isMoo = $input->getInt('ismoo', 1)
 
 $author = $input->getCmd('author')
 
 $asset = $input->getCmd('asset')
 
if(!empty($fieldInput)) else
 
if(!empty($onClick)) view =imagesList&amp
 
 tmpl =component&amp
 
 folder =<?php echo rawurlencode($this->state->folder)
 
 endif
 
 $cMax = (int) $this->config->get('upload_maxsize')
 
 $maxSize = JUtility::getMaxUploadSize($cMax . 'MB')
 

Documentation des variables

◆ $asset

$asset = $input->getCmd('asset')

◆ $author

$author = $input->getCmd('author')

◆ $cMax

$cMax = (int) $this->config->get('upload_maxsize')

◆ $fieldInput

$fieldInput = $this->state->get('field.id')

◆ $input

$input = JFactory::getApplication()->input

◆ $isMoo

$isMoo = $input->getInt('ismoo', 1)

◆ $lang

$lang = JFactory::getLanguage()

◆ $maxSize

$maxSize = JUtility::getMaxUploadSize($cMax . 'MB')

◆ $onClick

$onClick = ''

◆ $params

$params = JComponentHelper::getParams('com_media')

◆ $user

$user = JFactory::getUser()

◆ else

if (!empty( $fieldInput)) else
Valeur initiale :
{
$onClick = 'ImageManager.onok();window.parent.jModalClose();'
$onClick
Definition: administrator/components/com_media/views/images/tmpl/default.php:16

Mootools compatibility

There is an extra option passed in the URL for the iframe &ismoo=0 for the bootstrap fields. By default the value will be 1 or defaults to mootools behaviour

This should be removed when mootools won't be shipped by Joomla.

◆ endif

endif

◆ folder

folder =<?php echo rawurlencode($this->state->folder)

◆ tmpl

tmpl =component&amp

◆ view