Skip to content
Extraits de code Groupes Projets
Valider f346a868 rédigé par cerdic's avatar cerdic
Parcourir les fichiers

malheureux oubli dans [11289]

parent e9bfab1f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -4,6 +4,7 @@
config/remove.txt -text
dist/favicon.ico -text
dist/feed.png -text
dist/fond/ajax.html -text
dist/formulaires/choix_mots.html -text
dist/formulaires/formulaire_.html -text
dist/formulaires/login_forum_abo.html -text
......
#SET{ajaxid,id#EVAL{'include_spip("inc/acces")?substr(md5(creer_uniqid()),0,8):""'}}
<div id='#GET{ajaxid}'>
<INCLURE{fond=#ENV*{fond_ajax}}{env}>
</div>
[(#REM) calculer l'env et la cle pour le contexte du traitement ajax]
#SET{env,#ENV**|base64_encode}
#SET{cle,#EVAL{#VAL{'include_spip("inc/securiser_action")?calculer_cle_action("'}|concat{#GET{env},'"):""'}}}
<script type='text/javascript'>
var ajaxbloc_#GET{ajaxid} = function() {if (window.jQuery) jQuery('div#[(#GET{ajaxid})]').prepend('<div><input type=\'hidden\' name=\'var_ajax_env\' value=\'#GET{env}\' />'
+'<input type=\'hidden\' name=\'var_ajax_cle\' value=\'#GET{cle}\' /></div>').ajaxbloc();}
jQuery('document').ready(ajaxbloc_#GET{ajaxid});
onAjaxLoad(ajaxbloc_#GET{ajaxid});
</script>
\ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter