File "html_e9ca4281bb1f7b2d8d1ba62068c896f9.php"
Full path: /home/argothem/www/cache/inc/cache/calcul/9f/html_e9ca4281bb1f7b2d8d1ba62068c896f9.php
File size: 4.03 KB
MIME-type: text/x-php
Charset: utf-8
<?php
/*
* Squelette : ../prive/objets/liste/objets-en-edition.html
* Date : Fri, 07 Jul 2023 11:03:22 GMT
* Compile : Sat, 24 Feb 2024 12:49:15 GMT
* Boucles : _objets
*/
function BOUCLE_objetshtml_e9ca4281bb1f7b2d8d1ba62068c896f9(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
$command['sourcemode'] = 'table';
$command['source'] = array(interdire_scripts(invalideur_session($Cache, liste_drapeau_edition(table_valeur($GLOBALS["visiteur_session"]??[], (string)'id_auteur', null)))));
if (!isset($command['table'])) {
$command['table'] = '';
$command['id'] = '_objets';
$command['from'] = array();
$command['type'] = array();
$command['groupby'] = array();
$command['select'] = array(".valeur",
"info_titre");
$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/objets/liste/objets-en-edition.html','html_e9ca4281bb1f7b2d8d1ba62068c896f9','_objets',4,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
// COMPTEUR
$Numrows['_objets']['compteur_boucle'] = 0;
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$Numrows['_objets']['compteur_boucle']++;
$t0 .= (($t1 = strval(interdire_scripts(safehtml((isset($Pile[$SP]['info_titre'])?$Pile[$SP]['info_titre']:(generer_objet_info(interdire_scripts(safehtml(table_valeur($Pile[$SP]['valeur'], 'id_objet'))), interdire_scripts(safehtml(table_valeur($Pile[$SP]['valeur'], 'objet'))), 'titre', '', [])))))))!=='' ?
(( '
<li class="item ' .
interdire_scripts(safehtml(table_valeur($Pile[$SP]['valeur'], 'objet'))) .
'"><a href="' .
interdire_scripts(generer_objet_url(safehtml(table_valeur($Pile[$SP]['valeur'], 'id_objet')),interdire_scripts(safehtml(table_valeur($Pile[$SP]['valeur'], 'objet'))))) .
'">' .
interdire_scripts(objet_icone(safehtml(table_valeur($Pile[$SP]['valeur'], 'objet')),'16','icone-objet'))) . $t1 . ( '</a>
' .
bouton_action(filtre_balise_img_dist(chemin_image((string)'supprimer-12.png')),invalideur_session($Cache, safehtml(generer_action_auteur('debloquer_edition',(($t4 = strval(interdire_scripts(invalideur_session($Cache, safehtml(table_valeur($Pile[$SP]['valeur'], 'objet'))))))!=='' ?
($t4 . ( '-' .
interdire_scripts(invalideur_session($Cache, safehtml(table_valeur($Pile[$SP]['valeur'], 'id_objet')))))) :
''),invalideur_session($Cache, self())))),'ajax') .
'
</li>
')) :
'');
}
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_objets @ ../prive/objets/liste/objets-en-edition.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
//
// Fonction principale du squelette ../prive/objets/liste/objets-en-edition.html
// Temps de compilation total: 1.962 ms
//
function html_e9ca4281bb1f7b2d8d1ba62068c896f9($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 = (
(($t1 = BOUCLE_objetshtml_e9ca4281bb1f7b2d8d1ba62068c896f9($Cache, $Pile, $doublons, $Numrows, $SP))!=='' ?
(( '
' .
boite_ouvrir(_T('public|spip|ecrire:info_cours_edition'), 'note en-edition') .
'
<ul class="liste-items">
') . $t1 . ( '
</ul>
' .
(((($Numrows['_objets']['compteur_boucle'] ?? 0) > '1')) ?
(' ' . ( '
' .
bouton_action(_T('public|spip|ecrire:lien_liberer_tous'),invalideur_session($Cache, generer_action_auteur('debloquer_edition','tous',invalideur_session($Cache, self()))),'ajax') .
'
')) :
'') .
'
' .
boite_fermer() .
'
')) :
'') .
'
');
return analyse_resultat_skel('html_e9ca4281bb1f7b2d8d1ba62068c896f9', $Cache, $page, '../prive/objets/liste/objets-en-edition.html');
}