| Current Path : /home/a/t/e/atelierpru/paris/tmp/cache/skel/ |
| Current File : /home/a/t/e/atelierpru/paris/tmp/cache/skel/html_322c75d7d7cbe5a380bd20ed7cb1d890.php |
<?php
/*
* Squelette : ../plugins/auto/formidable/v3.37.1/prive/squelettes/contenu/formulaire_edit.html
* Date : Fri, 03 Nov 2017 14:17:52 GMT
* Compile : Fri, 26 Apr 2019 13:48:52 GMT
* Boucles : _formulaire, _autoriser
*/
function BOUCLE_formulairehtml_322c75d7d7cbe5a380bd20ed7cb1d890(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
if (!isset($command['table'])) {
$command['table'] = 'formulaires';
$command['id'] = '_formulaire';
$command['from'] = array('formulaires' => 'spip_formulaires');
$command['type'] = array();
$command['groupby'] = array();
$command['select'] = array("1");
$command['orderby'] = array();
$command['join'] = array();
$command['limit'] = '';
$command['having'] =
array();
}
$command['where'] =
array(
array('=', 'formulaires.id_formulaire', sql_quote(table_valeur($Pile["vars"], (string)'id_objet', null), '', 'bigint(21) NOT NULL AUTO_INCREMENT')));
if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime();
$t0 = "";
// REQUETE
$iter = IterFactory::create(
"SQL",
$command,
array('../plugins/auto/formidable/v3.37.1/prive/squelettes/contenu/formulaire_edit.html','html_322c75d7d7cbe5a380bd20ed7cb1d890','_formulaire',24,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (
'
' .
vide($Pile['vars'][$_zzz=(string)'configurer'] = interdire_scripts((in_array(entites_html(table_valeur(@$Pile[0], (string)'configurer', null),true),array('formulaire', 'champs', 'traitements', 'auteurs')) ? interdire_scripts(entites_html(table_valeur(@$Pile[0], (string)'configurer', null),true)):'champs'))));
}
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_formulaire @ ../plugins/auto/formidable/v3.37.1/prive/squelettes/contenu/formulaire_edit.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
function BOUCLE_autoriserhtml_322c75d7d7cbe5a380bd20ed7cb1d890(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) {
static $command = array();
static $connect;
$command['connect'] = $connect = '';
if (!isset($si_init)) { $command['si'] = array(); $si_init = true; }
$command['si'][] = invalideur_session($Cache, ((function_exists("autoriser")||include_spip("inc/autoriser"))&&autoriser('editer', 'formulaire', invalideur_session($Cache, table_valeur($Pile["vars"], (string)'id_objet', null)))?" ":""));
if (!isset($command['table'])) {
$command['table'] = '';
$command['id'] = '_autoriser';
$command['from'] = array();
$command['type'] = array();
$command['groupby'] = array();
$command['select'] = array("1");
$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 = IterFactory::create(
"CONDITION",
$command,
array('../plugins/auto/formidable/v3.37.1/prive/squelettes/contenu/formulaire_edit.html','html_322c75d7d7cbe5a380bd20ed7cb1d890','_autoriser',3,$GLOBALS['spip_lang'])
);
if (!$iter->err()) {
$l1 = _T('formidable:editer_nouveau');$SP++;
// RESULTATS
while ($Pile[$SP]=$iter->fetch()) {
$t0 .= (
'
' .
vide($Pile['vars'][$_zzz=(string)'redirect'] = interdire_scripts(((($a = entites_html(table_valeur(@$Pile[0], (string)'redirect', null),true)) OR (is_string($a) AND strlen($a))) ? $a : interdire_scripts((entites_html(sinon(table_valeur(@$Pile[0], (string)'lier_trad', null), table_valeur($Pile["vars"], (string)'id_objet', null)),true) ? interdire_scripts(generer_url_entite(entites_html(sinon(table_valeur(@$Pile[0], (string)'lier_trad', null), table_valeur($Pile["vars"], (string)'id_objet', null)),true),table_valeur($Pile["vars"], (string)'objet', null))):(table_valeur($Pile["vars"], (string)'id_rubrique', null) ? generer_url_entite(table_valeur($Pile["vars"], (string)'id_rubrique', null),'rubrique'):generer_url_ecrire('rubriques'))))))) .
'<script type="text/javascript">/*<![CDATA[*/
if (window.jQuery){
function debloquer_prive(){ jQuery(\'input[required], textarea[required], select[required]\').removeAttr(\'required\'); }
jQuery(\'document\').ready(debloquer_prive);
onAjaxLoad(debloquer_prive);
}
/*]]>*/</script>
<div class=\'cadre-formulaire-editer\'>
<div class="entete-formulaire">
' .
((table_valeur($Pile["vars"], (string)'id_objet', null)) ?
(' ' . ( '
' .
filtre_icone_verticale_dist(table_valeur($Pile["vars"], (string)'redirect', null),_T(objet_info(table_valeur($Pile["vars"], (string)'objet', null),'texte_retour')),objet_info(table_valeur($Pile["vars"], (string)'objet', null),'icone_objet'),'',( 'left retour' .
(($t3 = strval(interdire_scripts(((entites_html(sinon(table_valeur(@$Pile[0], (string)'retourajax', null), ''),true)) ?' ' :''))))!=='' ?
($t3 . 'ajax preload') :
''))) .
'
')) :
'') .
'
' .
(($t1 = strval(interdire_scripts(entites_html(sinon(table_valeur(@$Pile[0], (string)'titre', null), interdire_scripts(((($a = generer_info_entite(table_valeur($Pile["vars"], (string)'id_objet', null), table_valeur($Pile["vars"], (string)'objet', null), 'titre')) OR (is_string($a) AND strlen($a))) ? $a : interdire_scripts(((entites_html(table_valeur(@$Pile[0], (string)'nouveau', null),true) == 'oui') ? $l1:_request('id_menu')))))),true))))!=='' ?
(( '
' .
_T(objet_info(table_valeur($Pile["vars"], (string)'objet', null),(table_valeur($Pile["vars"], (string)'id_objet', null) ? 'texte_modifier':'texte_creer'))) .
'
<h1>') . $t1 . '</h1>
') :
'') .
'
</div>
' .
vide($Pile['vars'][$_zzz=(string)'configurer'] = 'formulaire') .
BOUCLE_formulairehtml_322c75d7d7cbe5a380bd20ed7cb1d890($Cache, $Pile, $doublons, $Numrows, $SP) .
'
' .
(((table_valeur($Pile["vars"], (string)'configurer', null) == 'formulaire')) ?
(' ' . ( '
' .
executer_balise_dynamique('FORMULAIRE_EDITER_FORMULAIRE',
array(table_valeur($Pile["vars"], (string)'id_objet', null),((($a = _request('nouveau')) OR (is_string($a) AND strlen($a))) ? $a : '')),
array('../plugins/auto/formidable/v3.37.1/prive/squelettes/contenu/formulaire_edit.html','html_322c75d7d7cbe5a380bd20ed7cb1d890','_autoriser',29,$GLOBALS['spip_lang'])))) :
'') .
'
' .
(((table_valeur($Pile["vars"], (string)'configurer', null) == 'auteurs')) ?
(' ' . ( '
' .
executer_balise_dynamique('FORMULAIRE_EDITER_LIENS',
array('formulaires',table_valeur($Pile["vars"], (string)'id_objet', null),'auteurs'),
array('../plugins/auto/formidable/v3.37.1/prive/squelettes/contenu/formulaire_edit.html','html_322c75d7d7cbe5a380bd20ed7cb1d890','_autoriser',30,$GLOBALS['spip_lang'])))) :
'') .
'
' .
(((table_valeur($Pile["vars"], (string)'configurer', null) == 'champs')) ?
(' ' . ( '
' .
executer_balise_dynamique('FORMULAIRE_EDITER_FORMULAIRE_CHAMPS',
array(interdire_scripts(entites_html(table_valeur(@$Pile[0], (string)'id_formulaire', null),true))),
array('../plugins/auto/formidable/v3.37.1/prive/squelettes/contenu/formulaire_edit.html','html_322c75d7d7cbe5a380bd20ed7cb1d890','_autoriser',31,$GLOBALS['spip_lang'])))) :
'') .
'
' .
(((table_valeur($Pile["vars"], (string)'configurer', null) == 'traitements')) ?
(' ' . ( '
' .
executer_balise_dynamique('FORMULAIRE_EDITER_FORMULAIRE_TRAITEMENTS',
array(interdire_scripts(entites_html(table_valeur(@$Pile[0], (string)'id_formulaire', null),true))),
array('../plugins/auto/formidable/v3.37.1/prive/squelettes/contenu/formulaire_edit.html','html_322c75d7d7cbe5a380bd20ed7cb1d890','_autoriser',32,$GLOBALS['spip_lang'])))) :
'') .
'
</div>
');
}
$iter->free();
}
if (defined("_BOUCLE_PROFILER")
AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
spip_log(intval(1000*$timer)."ms BOUCLE_autoriser @ ../plugins/auto/formidable/v3.37.1/prive/squelettes/contenu/formulaire_edit.html","profiler"._LOG_AVERTISSEMENT);
return $t0;
}
//
// Fonction principale du squelette ../plugins/auto/formidable/v3.37.1/prive/squelettes/contenu/formulaire_edit.html
// Temps de compilation total: 47.790 ms
//
function html_322c75d7d7cbe5a380bd20ed7cb1d890($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)'objet'] = 'formulaire') .
vide($Pile['vars'][$_zzz=(string)'id_objet'] = intval(_request('id_formulaire'))) .
BOUCLE_autoriserhtml_322c75d7d7cbe5a380bd20ed7cb1d890($Cache, $Pile, $doublons, $Numrows, $SP) .
'
');
return analyse_resultat_skel('html_322c75d7d7cbe5a380bd20ed7cb1d890', $Cache, $page, '../plugins/auto/formidable/v3.37.1/prive/squelettes/contenu/formulaire_edit.html');
}
?>