Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Référence du fichier cassiopeia/offline.php

Espaces de nommage

 Joomla\Site
 

Variables

 $extraButtons = AuthenticationHelper::getLoginButtons('form-login')
 
 $app = Factory::getApplication()
 
 $wa = $this->getWebAssetManager()
 
 $fullWidth = 1
 
 $templatePath = 'media/templates/site/cassiopeia'
 
 $paramsColorName = $this->params->get('colorName', 'colors_standard')
 
 $assetColorName = 'theme.' . $paramsColorName
 
 $paramsFontScheme = $this->params->get('useFontScheme', false)
 
 $fontStyles = ''
 
if($paramsFontScheme) $wa usePreset ( 'template.cassiopeia.' .( $this->direction==='rtl' ? 'rtl' :'ltr')) -> useStyle( 'template.active.language') ->useStyle( 'template.offline') ->useStyle( 'template.user') ->useScript( 'template.user') ->addInlineStyle(":root
 
 $sitename = htmlspecialchars($app->get('sitename'), ENT_QUOTES, 'UTF-8')
 
if($this->params->get('logoFile')) elseif($this->params->get('siteTitle')) else
 
 endif
 

Documentation des variables

◆ $app

$app = Factory::getApplication()

◆ $assetColorName

$assetColorName = 'theme.' . $paramsColorName

◆ $extraButtons

$extraButtons = AuthenticationHelper::getLoginButtons('form-login')

◆ $fontStyles

$fontStyles = ''

◆ $fullWidth

$fullWidth = 1

◆ $paramsColorName

$paramsColorName = $this->params->get('colorName', 'colors_standard')

◆ $paramsFontScheme

$paramsFontScheme = $this->params->get('useFontScheme', false)

◆ $sitename

$sitename = htmlspecialchars($app->get('sitename'), ENT_QUOTES, 'UTF-8')

◆ $templatePath

$templatePath = 'media/templates/site/cassiopeia'

◆ $wa

$wa = $this->getWebAssetManager()

◆ else

if (!empty( $logo)) else
Valeur initiale :
{
$logo = '<img src="' . $templatePath . '/images/logo.svg" class="logo d-inline-block" alt="' . $sitename . '">'
$templatePath
Definition: cassiopeia/offline.php:29
$sitename
Definition: cassiopeia/offline.php:79

◆ endif

endif

◆ usePreset

if ( $paramsFontScheme) $wa usePreset('template.cassiopeia.' .($this->direction==='rtl' ? 'rtl' :'ltr')) -> useStyle('template.active.language') ->useStyle('template.offline') ->useStyle('template.user') ->useScript('template.user') ->addInlineStyle(":root