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/templates/hathor/html/com_contenthistory/history/modal.php

Espaces de nommage

 Joomla\Administrator
 

Variables

 $input = JFactory::getApplication()->input
 
 $field = $input->getCmd('field')
 
 $function = 'jSelectContenthistory_' . $field
 
 $listOrder = $this->escape($this->state->get('list.ordering'))
 
 $listDirn = $this->escape($this->state->get('list.direction'))
 
 $message = JText::_('COM_CONTENTHISTORY_BUTTON_SELECT_ONE', true)
 
 $compareMessage = JText::_('COM_CONTENTHISTORY_BUTTON_SELECT_TWO', true)
 
 $deleteMessage = "alert(Joomla.JText._('JLIB_HTML_PLEASE_MAKE_A_SELECTION_FROM_THE_LIST'));"
 
 $aliasArray = explode('.', $this->state->type_alias)
 
 $option = (end($aliasArray) == 'category') ? 'com_categories&extension=' . implode('.', array_slice($aliasArray, 0, count($aliasArray) - 1)) : $aliasArray[0]
 
 $filter = JFilterInput::getInstance()
 
 $task = $filter->clean(end($aliasArray)) . '.loadhistory'
 
 $loadUrl = JRoute::_('index.php?option=' . $filter->clean($option) . '&task=' . $task)
 
 $deleteUrl = JRoute::_('index.php?option=com_contenthistory&task=history.delete')
 
 $hash = $this->state->get('sha1_hash')
 
 $formUrl
 
 $i = 0
 
 foreach ( $this->items as $item)
 
if($item->sha1_hash==$hash) endif
 
 onclick
 
else __pad18__
 
 endforeach
 

Documentation des variables

◆ $aliasArray

$aliasArray = explode('.', $this->state->type_alias)

◆ $compareMessage

$compareMessage = JText::_('COM_CONTENTHISTORY_BUTTON_SELECT_TWO', true)

◆ $deleteMessage

$deleteMessage = "alert(Joomla.JText._('JLIB_HTML_PLEASE_MAKE_A_SELECTION_FROM_THE_LIST'));"

◆ $deleteUrl

$deleteUrl = JRoute::_('index.php?option=com_contenthistory&task=history.delete')

◆ $field

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

◆ $filter

$filter = JFilterInput::getInstance()

◆ $formUrl

$formUrl
Valeur initiale :
= 'index.php?option=com_contenthistory&view=history&layout=modal&tmpl=component&item_id=' . $this->state->get('item_id') . '&type_id='
. $this->state->get('type_id') . '&type_alias=' . $this->state->get('type_alias') . '&' . JSession::getFormToken() . '=1'

◆ $function

$function = 'jSelectContenthistory_' . $field

◆ $hash

$hash = $this->state->get('sha1_hash')

◆ $i

$i = 0

◆ $input

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

◆ $listDirn

$listDirn = $this->escape($this->state->get('list.direction'))

◆ $listOrder

$listOrder = $this->escape($this->state->get('list.ordering'))

◆ $loadUrl

$loadUrl = JRoute::_('index.php?option=' . $filter->clean($option) . '&task=' . $task)

◆ $message

$message = JText::_('COM_CONTENTHISTORY_BUTTON_SELECT_ONE', true)

◆ $option

$option = (end($aliasArray) == 'category') ? 'com_categories&extension=' . implode('.', array_slice($aliasArray, 0, count($aliasArray) - 1)) : $aliasArray[0]

◆ $task

$task = $filter->clean(end($aliasArray)) . '.loadhistory'

◆ __pad18__

else __pad18__

◆ endforeach

endforeach

◆ endif

endif

◆ foreach

foreach($this->items as $item)

◆ onclick

onclick
Valeur initiale :
="return listItemTask('cb<?php echo $i; ?>','history.keep')"
data-original-title="<?php echo JText::_('COM_CONTENTHISTORY_BUTTON_KEEP_TOGGLE_OFF'); ?>">
<?php echo JText::_('JYES')
if($params->get('googleFont')) site title
Definition: templates/protostar/error.php:56