File "html_78e2562af59e6478bf003ccb77589586.php"
Full path: /home/argothem/www/cache/skel/html_78e2562af59e6478bf003ccb77589586.php
File size: 3.23 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/*
* Squelette : ../prive/themes/spip/vars.css.html
* Date : Fri, 07 Jul 2023 11:03:22 GMT
* Compile : Sat, 24 Feb 2024 12:37:06 GMT
* Boucles : _themes
*/
function BOUCLE_themeshtml_78e2562af59e6478bf003ccb77589586(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
$command['sourcemode'] = 'table';
$command['source'] = array(table_valeur($Pile["vars"]??[], (string)'couleurs', null));
if (!isset($command['table'])) {
$command['table'] = '';
$command['id'] = '_themes';
$command['from'] = array();
$command['type'] = array();
$command['groupby'] = array();
$command['select'] = array(".valeur",
".cle");
$command['orderby'] = array();
$command['where'] =
array();
$command['join'] = array();
$command['limit'] = '';
$command['having'] =
array();
}
if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
$t0 = "";
// REQUETE
$iter = Spip\Compilateur\Iterateur\Factory::create(
"DATA",
$command,
array('../prive/themes/spip/vars.css.html','html_78e2562af59e6478bf003ccb77589586','_themes',29,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (
'
[data-spip-theme-colors="' .
interdire_scripts(safehtml($Pile[$SP]['cle'])) .
'"],
.spip-theme-colors-' .
interdire_scripts(safehtml($Pile[$SP]['cle'])) .
' {
' .
interdire_scripts(spip_generer_variables_css_couleurs_theme(safehtml(table_valeur($Pile[$SP]['valeur'], 'couleur_theme')))) .
'
}
');
}
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_themes @ ../prive/themes/spip/vars.css.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
//
// Fonction principale du squelette ../prive/themes/spip/vars.css.html
// Temps de compilation total: 1.597 ms
//
function html_78e2562af59e6478bf003ccb77589586($Cache, $Pile, $doublons = array(), $Numrows = array(), $SP = 0) {
if (isset($Pile[0]["doublons"]) AND is_array($Pile[0]["doublons"]))
$doublons = nettoyer_env_doublons($Pile[0]["doublons"]);
$connect = '';
$page = (
'
' .
'<'.'?php header("X-Spip-Cache: 360000"); ?'.'>'.'<'.'?php header("Cache-Control: max-age=360000"); ?'.'>'.'<'.'?php header("X-Spip-Statique: oui"); ?'.'>' .
'<'.'?php header(' . _q('Content-Type: text/css; charset=utf-8') . '); ?'.'>' .
'<'.'?php header(' . _q('Vary: Accept-Encoding') . '); ?'.'>:root {
' .
spip_generer_variables_css_typo($Pile,'') .
'
' .
interdire_scripts(spip_generer_variables_css_couleurs_theme(entites_html(table_valeur($Pile[0]??[], (string)'couleur_theme', null),true))) .
'
}
:root,
[data-spip-theme-colors],
[class*="spip-theme-colors"] {
' .
spip_generer_variables_css_couleurs('') .
'
}
' .
vide($Pile['vars'][$_zzz=(string)'couleurs'] = charger_fonction('couleurs','inc')) .
vide($Pile['vars'][$_zzz=(string)'couleurs'] = call_user_func(table_valeur($Pile["vars"]??[], (string)'couleurs', null))) .
BOUCLE_themeshtml_78e2562af59e6478bf003ccb77589586($Cache, $Pile, $doublons, $Numrows, $SP) .
'
');
return analyse_resultat_skel('html_78e2562af59e6478bf003ccb77589586', $Cache, $page, '../prive/themes/spip/vars.css.html');
}