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

decouper en blocs pour les ajaxer separemment. Dispatcher les _fonctions.php

Ne faudrait-il-pas ranger ces  modules dans un dossier dedie ?
parent b51a1683
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -737,7 +737,6 @@ prive/spip_pass.html -text
prive/spip_style.css -text
prive/squelettes/body.html -text
prive/squelettes/contenu/page-admin_vider.html -text
prive/squelettes/contenu/page-admin_vider_fonctions.php -text
prive/squelettes/contenu/page-breves.html -text
prive/squelettes/contenu/page-charte.html -text
prive/squelettes/contenu/page-configurer.html -text
......@@ -751,6 +750,10 @@ prive/squelettes/hierarchie/page-configurer_identite.html -text
prive/squelettes/hierarchie/page-configurer_langage.html -text
prive/squelettes/hierarchie/page-configurer_preferences.html -text
prive/squelettes/hierarchie/page-typo.html -text
prive/squelettes/inclure/admin_vider_cache.html -text
prive/squelettes/inclure/admin_vider_cache_fonctions.php -text
prive/squelettes/inclure/admin_vider_images.html -text
prive/squelettes/inclure/admin_vider_images_fonctions.php -text
prive/squelettes/inclure/barre-nav.html -text
prive/squelettes/inclure/head.html -text
prive/squelettes/inclure/pied.html -text
......
......@@ -5,48 +5,6 @@
<p><:texte_suppression_fichiers:></p>
<p><:texte_recalcul_page:></p>
<INCLURE{fond=prive/squelettes/inclure/admin_vider_cache,ajax,env}>
#BOITE_OUVRIR{#CHEMIN_IMAGE{cache-24.png}|balise_img{'',cadre-icone}|concat{#VAL{taille_repertoire_cache}|_T}|wrap{'<h3>'},'simple','titrem'}
#SET{taille,#REM|taille_du_cache}
<p><b>
[(#GET{taille}|intval|>{250000}|non) <:taille_cache_vide:>]
[(#GET{taille}|intval|>{250000}|oui)
#SET{taille,#GET{taille}|taille_en_octets}
<:taille_cache_octets{octets=#GET{taille}}:>
]
</b></p>
#SET{quota,#EVAL{$GLOBALS}|table_valeur{quota_cache}}
<p>
[(#GET{quota}|non) <:taille_cache_infinie:>]
[(#GET{quota}|oui)
#SET{quota,#GET{quota}|mult{1024}|mult{1024}|taille_en_octets}
<:taille_cache_maxi{octets=#GET{quota}}:>
]
(<:cache_modifiable_webmestre:>)
</p>
#SET{cache_inhib,#CONFIG{cache_inhib}|sinon{0}|>{#REM|time}|oui}
[(#GET{cache_inhib}|oui)
<div><strong>Le cache est temporairement desactivé.</strong> [(#BOUTON_ACTION{Reactiver le cache,#URL_ACTION_AUTEUR{purger,reactive_cache,#SELF},ajax link})]
</div>
]
[(#GET{cache_inhib}|non)
<div>[(#BOUTON_ACTION{Desactiver temporairement le cache,#URL_ACTION_AUTEUR{purger,inhibe_cache,#SELF},ajax link})]
</div>
]
#BOITE_PIED
[(#BOUTON_ACTION{<:bouton_vider_cache:>,#URL_ACTION_AUTEUR{purger,cache,#SELF},ajax})]
#BOITE_FERMER
#BOITE_OUVRIR{#CHEMIN_IMAGE{image-24.png}|balise_img{'',cadre-icone}|concat{#VAL{info_images_auto}|_T}|wrap{'<h3>'},'simple','titrem'}
[<p>(#REM|afficher_taille_cache_vignettes{})</p>]
#BOITE_PIED
[(#BOUTON_ACTION{<:bouton_vider_cache:>,#URL_ACTION_AUTEUR{purger,vignettes,#SELF},ajax})]
#BOITE_FERMER
<INCLURE{fond=prive/squelettes/inclure/admin_vider_images,ajax,env}>
#BOITE_OUVRIR{#CHEMIN_IMAGE{cache-24.png}|balise_img{'',cadre-icone}|concat{#VAL{taille_repertoire_cache}|_T}|wrap{'<h3>'},'simple','titrem'}
#SET{taille,#REM|taille_du_cache}
<p><b>
[(#GET{taille}|intval|>{250000}|non) <:taille_cache_vide:>]
[(#GET{taille}|intval|>{250000}|oui)
#SET{taille,#GET{taille}|taille_en_octets}
<:taille_cache_octets{octets=#GET{taille}}:>
]
</b></p>
#SET{quota,#EVAL{$GLOBALS}|table_valeur{quota_cache}}
<p>
[(#GET{quota}|non) <:taille_cache_infinie:>]
[(#GET{quota}|oui)
#SET{quota,#GET{quota}|mult{1024}|mult{1024}|taille_en_octets}
<:taille_cache_maxi{octets=#GET{quota}}:>
]
(<:cache_modifiable_webmestre:>)
</p>
#SET{cache_inhib,#CONFIG{cache_inhib}|sinon{0}|>{#REM|time}|oui}
[(#GET{cache_inhib}|oui)
<div><strong>Le cache est temporairement desactivé.</strong> [(#BOUTON_ACTION{Reactiver le cache,#URL_ACTION_AUTEUR{purger,reactive_cache,#SELF},ajax link})]
</div>
]
[(#GET{cache_inhib}|non)
<div>[(#BOUTON_ACTION{Desactiver temporairement le cache,#URL_ACTION_AUTEUR{purger,inhibe_cache,#SELF},ajax link})]
</div>
]
#BOITE_PIED
[(#BOUTON_ACTION{<:bouton_vider_cache:>,#URL_ACTION_AUTEUR{purger,cache,#SELF},ajax})]
#BOITE_FERMER
<?php
/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
* Copyright (c) 2001-2009 *
* Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
* *
* Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
* Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne. *
\***************************************************************************/
if (!defined("_ECRIRE_INC_VERSION")) return;
include_spip('inc/invalideur');
?>
\ No newline at end of file
#BOITE_OUVRIR{#CHEMIN_IMAGE{image-24.png}|balise_img{'',cadre-icone}|concat{#VAL{info_images_auto}|_T}|wrap{'<h3>'},'simple','titrem'}
[<p>(#REM|afficher_taille_cache_vignettes{})</p>]
#BOITE_PIED
[(#BOUTON_ACTION{<:bouton_vider_cache:>,#URL_ACTION_AUTEUR{purger,vignettes,#SELF},ajax})]
#BOITE_FERMER
......@@ -12,8 +12,6 @@
if (!defined("_ECRIRE_INC_VERSION")) return;
include_spip('inc/invalideur');
// http://doc.spip.org/@calculer_taille_dossier
function calculer_taille_dossier ($dir) {
$handle = @opendir($dir);
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter