Changeset 92624 in spip-zone
- Timestamp:
- Nov 3, 2015, 10:22:31 AM (5 years ago)
- Location:
- _plugins_/sedna/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/sedna/trunk/paquet.xml
r84614 r92624 2 2 prefix="sedna" 3 3 categorie="squelette" 4 version="1.3. 1"4 version="1.3.2" 5 5 etat="stable" 6 6 compatibilite="[3.0.0;3.0.*]" -
_plugins_/sedna/trunk/sedna-pied.html
r68168 r92624 32 32 ] 33 33 </BOUCLE_refresh> 34 #SET{max_age,#EVAL{$GLOBALS['sedna_max_maj']}}34 <BOUCLE_last(jobs){fonction=syndic}{0,1}>[(#SET{max_age,#VAL{'Y-m-d H:i:s'}|date{#DATE|strtotime|moins{#EVAL{_PERIODE_SYNDICATION}|intval|sinon{120}|mult{60}}}})]</BOUCLE_last> 35 35 [(#GET{ignore}|!={oui}|oui) 36 36 [<:sedna:derniere_syndication:> -
_plugins_/sedna/trunk/sedna_options.php
r68168 r92624 65 65 if ($id = intval(_request('refresh'))) { 66 66 include_spip('genie/syndic'); 67 spip_touch(_DIR_TMP.'syndic.lock');68 67 syndic_a_jour($id); 69 68 } 70 71 // Calcul du delais optimal (on est tjs a jour, mais quand meme en cache)72 // valeur max = 15 minutes (900s) (et on hacke #ENV{max_maj} pour affichage73 // de "Derniere syndication..." en pied de page).74 $GLOBALS['sedna_max_maj'] = @filemtime(_DIR_TMP.'syndic.lock');75 if ($GLOBALS['sedna_max_maj'] > lire_meta('derniere_modif')) {76 include_spip('inc/meta');77 ecrire_meta('derniere_modif', $GLOBALS['sedna_max_maj']);78 ecrire_metas();79 }80 $GLOBALS['sedna_max_maj'] = date('Y-m-d H:i:s', $GLOBALS['sedna_max_maj']); # format SPIP81 69 } 82 70
Note: See TracChangeset
for help on using the changeset viewer.