spip_nursit/prive/squelettes/inclure/admin_vider_cache.html

31 lines
1.1 KiB
HTML
Raw Normal View History

2023-06-01 15:30:12 +00:00
[(#AUTORISER{configurer,_admin_vider}|oui)
#BOITE_OUVRIR{#CHEMIN_IMAGE{cache-24.png}|balise_img{'',cadre-icone}|concat{#VAL{taille_repertoire_cache}|_T}|wrap{'<h3>'},'simple','titrem'}
<div id="placehoder_taille_cache"><p>&nbsp;</p></div>
<script type="text/javascript">
jQuery(function($){
$('#placehoder_taille_cache').animateLoading().load('[(#URL_ACTION_AUTEUR{calculer_taille_cache,skel}|replace{&amp;,&})]');
});
</script>
<noscript>
<iframe src="#URL_ACTION_AUTEUR{calculer_taille_cache,skel}" style="width: 100%;height: 3em;overflow: hidden;"></iframe>
</noscript>
#SET{cache_inhib,#CONFIG{cache_inhib}|sinon{0}|>{#EVAL{'time()'}}|oui}
[(#GET{cache_inhib}|oui)
<div><strong><:info_cache_desactive:></strong>
</div>
]
#BOITE_PIED
[(#GET{cache_inhib}|non)
[(#BOUTON_ACTION{<:bouton_cache_desactiver:>,#URL_ACTION_AUTEUR{purger,inhibe_cache,#SELF},ajax})]
]
[(#GET{cache_inhib}|oui)
[(#BOUTON_ACTION{<:bouton_cache_activer:>,#URL_ACTION_AUTEUR{purger,reactive_cache,#SELF},ajax})]
]
[(#BOUTON_ACTION{<:bouton_vider_cache:>,#URL_ACTION_AUTEUR{purger,cache,#SELF},ajax})]
#BOITE_FERMER
]