File "html_34a76f8b575d8294f2d2edc07c295ad9.php"
Full path: /home/argothem/www/cache/skel/html_34a76f8b575d8294f2d2edc07c295ad9.php
File size: 19.57 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/*
* Squelette : ../prive/squelettes/inclure/barre-nav.html
* Date : Fri, 07 Jul 2023 11:03:22 GMT
* Compile : Sat, 24 Feb 2024 12:37:09 GMT
* Boucles : _sous, _boutons, _creersous, _creer, _collaborersous, _collaborer
*/
function BOUCLE_soushtml_34a76f8b575d8294f2d2edc07c295ad9(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
$command['sourcemode'] = 'table';
$command['source'] = array(interdire_scripts(safehtml(table_valeur($Pile[$SP]['valeur'], 'sousmenu'))));
if (!isset($command['table'])) {
$command['table'] = '';
$command['id'] = '_sous';
$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/squelettes/inclure/barre-nav.html','html_34a76f8b575d8294f2d2edc07c295ad9','_sous',83,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$Numrows['_sous']['command'] = $command;
$Numrows['_sous']['total'] = @intval($iter->count());
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (
'
' .
(($t1 = strval(interdire_scripts(((safehtml(table_valeur($Pile[$SP]['valeur'], 'favori'))) ?' ' :''))))!=='' ?
($t1 . vide($Pile['vars'][$_zzz=(string)'has_favoris'] = '1')) :
'') .
'
' .
(($t1 = strval(interdire_scripts(_T(safehtml(table_valeur($Pile[$SP]['valeur'], 'libelle'))))))!=='' ?
(( '<li class="deroulant__item' .
(($t2 = strval(interdire_scripts((safehtml(table_valeur($Pile[$SP]['valeur'], 'favori')) ? 'deroulant__item_favori':(table_valeur($Pile["vars"]??[], (string)'has_favoris', null) ? 'deroulant__item_non-favori':'')))))!=='' ?
(' ' . $t2) :
'') .
'" data-profondeur="1">
<a class="deroulant__lien bando2_' .
interdire_scripts(safehtml($Pile[$SP]['cle'])) .
'" href="' .
interdire_scripts(bandeau_creer_url(((($a = safehtml(table_valeur($Pile[$SP]['valeur'], 'url'))) OR (is_string($a) AND strlen($a))) ? $a : interdire_scripts(safehtml($Pile[$SP]['cle']))),interdire_scripts(safehtml(table_valeur($Pile[$SP]['valeur'], 'urlArg'))),table_valeur($Pile["vars"]??[], (string)'contexte', null))) .
'" data-profondeur="1">
<span class="libelle">') . $t1 . '</span>
</a>
</li>') :
'') .
'
');
}
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_sous @ ../prive/squelettes/inclure/barre-nav.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
function BOUCLE_boutonshtml_34a76f8b575d8294f2d2edc07c295ad9(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
$command['sourcemode'] = 'tableau';
$command['source'] = array(table_valeur($Pile["vars"]??[], (string)'boutons', null));
if (!isset($command['table'])) {
$command['table'] = '';
$command['id'] = '_boutons';
$command['from'] = array();
$command['type'] = array();
$command['groupby'] = array();
$command['select'] = array(".valeur",
".cle");
$command['orderby'] = array();
$command['where'] =
array(
array('NOT',
array('=', 'cle', "'outils_rapides'")),
array('NOT',
array('=', 'cle', "'outils_collaboratifs'")));
$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/squelettes/inclure/barre-nav.html','html_34a76f8b575d8294f2d2edc07c295ad9','_boutons',70,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (
'
' .
(($t1 = strval(interdire_scripts((((((safehtml($Pile[$SP]['cle']) == 'menu_accueil')) OR (interdire_scripts(safehtml(table_valeur($Pile[$SP]['valeur'], 'sousmenu'))))) ?' ' :'') ? ' ':vide($Pile['vars'][$_zzz=(string)'li'] = '')))))!=='' ?
('<li class="deroulant__item" data-racine>
' . $t1 . ( ' ' .
vide($Pile['vars'][$_zzz=(string)'li'] = '</li>') .
'<a class="deroulant__lien" href="' .
interdire_scripts(bandeau_creer_url(((($a = safehtml(table_valeur($Pile[$SP]['valeur'], 'url'))) OR (is_string($a) AND strlen($a))) ? $a : interdire_scripts(safehtml($Pile[$SP]['cle']))),interdire_scripts(safehtml(table_valeur($Pile[$SP]['valeur'], 'urlArg'))),table_valeur($Pile["vars"]??[], (string)'contexte', null))) .
'" id="bando1_' .
interdire_scripts(safehtml($Pile[$SP]['cle'])) .
'" data-racine>
' .
interdire_scripts(filtre_balise_svg_dist(safehtml(table_valeur($Pile[$SP]['valeur'], 'icone')),'',( 'picto picto_main' .
(($t3 = strval(interdire_scripts(replace(safehtml($Pile[$SP]['cle']),'_','-'))))!=='' ?
(' picto_' . $t3) :
'')))) .
'
' .
(($t2 = strval(interdire_scripts(_T(safehtml(table_valeur($Pile[$SP]['valeur'], 'libelle'))))))!=='' ?
('<span class="libelle">' . $t2 . '</span>') :
'') .
'
</a>
')) :
'') .
vide($Pile['vars'][$_zzz=(string)'has_favoris'] = '0') .
'
' .
(($t1 = BOUCLE_soushtml_34a76f8b575d8294f2d2edc07c295ad9($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
(( '
<ul class="deroulant__sous-menu' .
(((($Numrows['_sous']['total'] ?? 0) > '20')) ?
(' ' . ' ' . 'cols-2') :
'') .
'" data-profondeur="1">
') . $t1 . '
</ul>
') :
'') .
'
' .
table_valeur($Pile["vars"]??[], (string)'li', null));
}
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_boutons @ ../prive/squelettes/inclure/barre-nav.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
function BOUCLE_creersoushtml_34a76f8b575d8294f2d2edc07c295ad9(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
$command['sourcemode'] = 'table';
$command['source'] = array(interdire_scripts(safehtml(table_valeur($Pile[$SP]['valeur'], 'sousmenu'))));
if (!isset($command['table'])) {
$command['table'] = '';
$command['id'] = '_creersous';
$command['from'] = array();
$command['type'] = array();
$command['groupby'] = array();
$command['select'] = array(".valeur",
".cle");
$command['orderby'] = array('position');
$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/squelettes/inclure/barre-nav.html','html_34a76f8b575d8294f2d2edc07c295ad9','_creersous',130,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (
'
' .
(($t1 = strval(interdire_scripts(_T(safehtml(table_valeur($Pile[$SP]['valeur'], 'libelle'))))))!=='' ?
(( '<li class="rapides__item">
<a
href="' .
interdire_scripts(bandeau_creer_url(((($a = safehtml(table_valeur($Pile[$SP]['valeur'], 'url'))) OR (is_string($a) AND strlen($a))) ? $a : interdire_scripts(safehtml($Pile[$SP]['cle']))),interdire_scripts(safehtml(table_valeur($Pile[$SP]['valeur'], 'urlArg'))),table_valeur($Pile["vars"]??[], (string)'contexte', null))) .
'"
title="' .
interdire_scripts(attribut_html(_T(safehtml(table_valeur($Pile[$SP]['valeur'], 'libelle'))))) .
'"
class="rapides__lien bando2_' .
interdire_scripts(safehtml($Pile[$SP]['cle'])) .
'"><span class="libelle">') . $t1 . '</span></a>
</li>') :
'') .
'
');
}
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_creersous @ ../prive/squelettes/inclure/barre-nav.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
function BOUCLE_creerhtml_34a76f8b575d8294f2d2edc07c295ad9(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
$command['sourcemode'] = 'table';
$command['source'] = array(table_valeur($Pile["vars"]??[], (string)'boutons', null));
if (!isset($command['table'])) {
$command['table'] = '';
$command['id'] = '_creer';
$command['from'] = array();
$command['type'] = array();
$command['groupby'] = array();
$command['select'] = array(".valeur");
$command['orderby'] = array();
$command['where'] =
array(
array('=', 'cle', "'outils_rapides'"));
$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/squelettes/inclure/barre-nav.html','html_34a76f8b575d8294f2d2edc07c295ad9','_creer',129,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (
'
' .
BOUCLE_creersoushtml_34a76f8b575d8294f2d2edc07c295ad9($Cache, $Pile, $doublons, $Numrows, $SP));
}
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_creer @ ../prive/squelettes/inclure/barre-nav.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
function BOUCLE_collaborersoushtml_34a76f8b575d8294f2d2edc07c295ad9(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
$command['sourcemode'] = 'table';
$command['source'] = array(interdire_scripts(safehtml(table_valeur($Pile[$SP]['valeur'], 'sousmenu'))));
if (!isset($command['table'])) {
$command['table'] = '';
$command['id'] = '_collaborersous';
$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/squelettes/inclure/barre-nav.html','html_34a76f8b575d8294f2d2edc07c295ad9','_collaborersous',149,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (
'
' .
(($t1 = strval(interdire_scripts(_T(safehtml(table_valeur($Pile[$SP]['valeur'], 'libelle'))))))!=='' ?
(( '<li class="rapides__item">
<a
href="' .
interdire_scripts(bandeau_creer_url(((($a = safehtml(table_valeur($Pile[$SP]['valeur'], 'url'))) OR (is_string($a) AND strlen($a))) ? $a : interdire_scripts(safehtml($Pile[$SP]['cle']))),interdire_scripts(safehtml(table_valeur($Pile[$SP]['valeur'], 'urlArg'))),table_valeur($Pile["vars"]??[], (string)'contexte', null))) .
'"
title="' .
interdire_scripts(attribut_html(_T(safehtml(table_valeur($Pile[$SP]['valeur'], 'libelle'))))) .
'"
class="rapides__lien bando2_' .
interdire_scripts(safehtml($Pile[$SP]['cle'])) .
'"><span class="libelle">') . $t1 . '</span></a>
</li>') :
'') .
'
');
}
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_collaborersous @ ../prive/squelettes/inclure/barre-nav.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
function BOUCLE_collaborerhtml_34a76f8b575d8294f2d2edc07c295ad9(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
$command['sourcemode'] = 'table';
$command['source'] = array(table_valeur($Pile["vars"]??[], (string)'boutons', null));
if (!isset($command['table'])) {
$command['table'] = '';
$command['id'] = '_collaborer';
$command['from'] = array();
$command['type'] = array();
$command['groupby'] = array();
$command['select'] = array(".valeur");
$command['orderby'] = array();
$command['where'] =
array(
array('=', 'cle', "'outils_collaboratifs'"));
$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/squelettes/inclure/barre-nav.html','html_34a76f8b575d8294f2d2edc07c295ad9','_collaborer',148,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (
'
' .
BOUCLE_collaborersoushtml_34a76f8b575d8294f2d2edc07c295ad9($Cache, $Pile, $doublons, $Numrows, $SP));
}
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_collaborer @ ../prive/squelettes/inclure/barre-nav.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
//
// Fonction principale du squelette ../prive/squelettes/inclure/barre-nav.html
// Temps de compilation total: 2.219 ms
//
function html_34a76f8b575d8294f2d2edc07c295ad9($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 = (
vide($Pile['vars'][$_zzz=(string)'contexte'] = interdire_scripts(eval('return '.'definir_barre_contexte()'.';'))) .
vide($Pile['vars'][$_zzz=(string)'boutons'] = trier_boutons_enfants_par_favoris_alpha(definir_barre_boutons(table_valeur($Pile["vars"]??[], (string)'contexte', null),'1'))) .
'<div id="bando_haut" class="bando-haut" role="navigation">
' .
'
<div id="bando_liens_rapides" class="bando-evitement">
<div class="largeur">
<p class="menu-simple menu-simple_evitement">
<a class="menu-simple__item" href="#conteneur" onclick="return focus_zone(\'#conteneur\')">Aller au contenu</a>
<a class="menu-simple__item" href="#bando_navigation" onclick="return focus_zone(\'#bando_navigation\')">Aller à la navigation</a>
<a class="menu-simple__item" href="#recherche" onclick="return focus_zone(\'#rapides .formulaire_recherche\')">Aller à la recherche</a>
</p>
</div>
</div>
<div id="bando_identite" class="bando-id">
<div class="largeur">
<p class="menu-simple menu-simple_perso">
<a
class="menu-simple__item menu-simple__item_nom"
title="' .
attribut_html(_T('public|spip|ecrire:icone_informations_personnelles')) .
' (' .
attribut_html(_T('public|spip|ecrire:auteur')) .
' #' .
interdire_scripts(invalideur_session($Cache, table_valeur($GLOBALS["visiteur_session"]??[], (string)'id_auteur', null))) .
')"
href="' .
generer_url_ecrire('infos_perso') .
'">
<strong class="nom">' .
interdire_scripts(invalideur_session($Cache, couper(typo(((($a = trim(table_valeur($GLOBALS["visiteur_session"]??[], (string)'nom', null))) OR (is_string($a) AND strlen($a))) ? $a : interdire_scripts(invalideur_session($Cache, table_valeur($GLOBALS["visiteur_session"]??[], (string)'login', null))))),'30'))) .
'</strong>
</a>
<a class="menu-simple__item menu-simple__item_lang menu_lang"
href="' .
generer_url_ecrire('configurer_langage') .
'"
title="' .
_T('public|spip|ecrire:titre_config_langage') .
'">
' .
filtre_balise_svg_dist(chemin_image((string)'langue-12.svg'),_T('public|spip|ecrire:titre_config_langage'),'picto-lang') .
traduire_nom_langue(spip_htmlentities(($Pile[0]['lang'] ?? null) ? ($Pile[0]['lang'] ?? null) : $GLOBALS['spip_lang'])) .
'
</a>
' .
(($t1 = strval(interdire_scripts(((filtre_info_plugin_dist("aide", "est_actif")) ?' ' :''))))!=='' ?
($t1 . ( '<a
class="menu-simple__item menu-simple__item_aide aide popin" target="_blank"
href="' .
generer_url_ecrire('aide',( 'var_lang=' .
spip_htmlentities(($Pile[0]['lang'] ?? null) ? ($Pile[0]['lang'] ?? null) : $GLOBALS['spip_lang']))) .
'">
' .
_T('public|spip|ecrire:icone_aide_ligne') .
'
</a>')) :
'') .
'
<a class="menu-simple__item menu-simple__item_logout" href="' .
generer_url_action('logout','logout=prive') .
'">
' .
_T('public|spip|ecrire:icone_deconnecter') .
'
</a>
</p>
<p class="menu-simple menu-simple_site nom_site_spip">
' .
vide($Pile['vars'][$_zzz=(string)'configurer'] = invalideur_session($Cache, (((function_exists("autoriser")||include_spip("inc/autoriser"))&&autoriser('configurer', '_identite')?" ":"") ? 'oui':''))) .
'
' .
((table_valeur($Pile["vars"]??[], (string)'configurer', null)) ?
(' ' . ( '
<a
class="menu-simple__item menu-simple__item_site info"
title="' .
attribut_html(_T('public|spip|ecrire:titre_identite_site')) .
'"
href="' .
generer_url_ecrire('configurer_identite') .
'"
>
')) :
'') .
(!(table_valeur($Pile["vars"]??[], (string)'configurer', null)) ?
(' ' . '
<span class="menu-simple__item menu-simple__item_nom">
') :
'') .
'
<strong class="nom">' .
interdire_scripts(couper(typo($GLOBALS['meta']['nom_site'], "TYPO", $connect, $Pile[0]),'35')) .
'</strong>
' .
(table_valeur($Pile["vars"]??[], (string)'configurer', null) ? '</a>':'</span>') .
'
<a
class="menu-simple__item menu-simple__item_voir voir"
href="' .
spip_htmlspecialchars(sinon($GLOBALS['meta']['adresse_site'],'.')) .
'">
' .
_T('public|spip|ecrire:icone_visiter_site') .
'
</a>
</p>
</div>
</div>
<div id="bando_navigation" class="bando-nav">
<div class="largeur">
' .
(($t1 = BOUCLE_boutonshtml_34a76f8b575d8294f2d2edc07c295ad9($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
('
<ul class="deroulant deroulant_navigation" data-racine>
' . $t1 . '
</ul>
') :
'') .
'
</div>
</div>
<div id="bando_outils" class="bando-outils">
<div class="largeur">
<div class="outils outils_plan-creer">
<ul class="deroulant deroulant_rubriques bandeau_rubriques" data-racine>
<li class="deroulant__item deroulant__item_plan plan_site" data-racine>
<a
class="deroulant__lien"
href="' .
generer_url_ecrire('plan') .
'"
id="boutonbandeautoutsite"
data-racine
>
' .
filtre_balise_img_dist(chemin_image((string)'plan_site-24.png'),'','picto picto_plan') .
'
</a>
' .
menu_rubriques('') .
'
</li>
</ul>
' .
(($t1 = BOUCLE_creerhtml_34a76f8b575d8294f2d2edc07c295ad9($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
('
<ul class="rapides rapides_creer creer">
' . $t1 . '
</ul>
') :
'') .
'
</div>
<div class="outils outils_collab-cherche" id="rapides">
' .
(($t1 = BOUCLE_collaborerhtml_34a76f8b575d8294f2d2edc07c295ad9($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
('
<ul class="rapides rapides_collaborer collaborer">
' . $t1 . '
</ul>
') :
'') .
'
' .
executer_balise_dynamique('FORMULAIRE_RECHERCHE_ECRIRE',
array(),
array('../prive/squelettes/inclure/barre-nav.html','html_34a76f8b575d8294f2d2edc07c295ad9','',92,$GLOBALS['spip_lang'])) .
'
</div>
</div>
</div>
</div>
');
return analyse_resultat_skel('html_34a76f8b575d8294f2d2edc07c295ad9', $Cache, $page, '../prive/squelettes/inclure/barre-nav.html');
}