Changeset 94388 in spip-zone
- Timestamp:
- Dec 30, 2015, 8:00:49 AM (5 years ago)
- Location:
- _core_/plugins/statistiques
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
_core_/plugins/statistiques/paquet.xml
r92931 r94388 2 2 prefix="stats" 3 3 categorie="statistique" 4 version="0. 6.12"4 version="0.7.0" 5 5 etat="stable" 6 6 compatibilite="[3.0.0;3.1.*]" -
_core_/plugins/statistiques/prive/squelettes/inclure/stats-visites-data_fonctions.php
r93661 r94388 13 13 } 14 14 15 if ($periode == 'mois') { 16 $debut = sql_getfetsel("date", "spip_visites", "", "", "date", "0,1"); 17 $debut = strtotime($debut); 18 $duree = ceil((time() - $debut) / 24 / 3600); 15 $debut = sql_getfetsel("date", "spip_visites", "", "", "date", "0,1"); 16 $debut = strtotime($debut); 17 $duree = ceil((time()-$debut)/24/3600); 19 18 20 return $duree; 21 } 22 23 return 90; 19 return $duree; 24 20 } 25 21 -
_core_/plugins/statistiques/prive/squelettes/inclure/stats-visites-jours.html
r91434 r94388 10 10 [<span class="duree">(#GET{duree}) <:info_jours:></span>] | 11 11 <a href="#" class="noajax" onclick="jQuery('.statistiques_visites_quotidiennes .visites').show(); jQuery('.statistiques_visites_quotidiennes .graphResult-wrap, .statistiques_visites_quotidiennes .graphInfo').hide(); return false;"><:statistiques:info_tableaux:></a> | 12 <a href="#" class="noajax" onclick="jQuery('.statistiques_visites_quotidiennes .visites').hide(); jQuery('.statistiques_visites_quotidiennes .graphResult-wrap, .statistiques_visites_quotidiennes .graphInfo').show(); return false;"><:statistiques:info_graphiques:></a> | 13 <a href="[(#SELF|parametre_url{duree,#GET{duree}|duree_zoom{moins}})]" 14 class="ajax">[(#CHEMIN_IMAGE{zoomout-24.png}|balise_img{<:statistiques:info_zoom:> -})]</a> 15 <a href="[(#SELF|parametre_url{duree,#GET{duree}|duree_zoom{plus}})]" 16 class="ajax">[(#CHEMIN_IMAGE{zoomin-24.png}|balise_img{<:statistiques:info_zoom:> +})]</a> 12 <a href="#" class="noajax" onclick="jQuery('.statistiques_visites_quotidiennes .visites').hide(); jQuery('.statistiques_visites_quotidiennes .graphResult-wrap, .statistiques_visites_quotidiennes .graphInfo').show(); return false;"><:statistiques:info_graphiques:></a> 17 13 </div> 18 14 #SET{max,0} -
_core_/plugins/statistiques/prive/squelettes/inclure/stats-visites-mois.html
r85455 r94388 7 7 </span> 8 8 | 9 [<span class="duree">(#GET{duree}|div{30 }|intval) <:date_mois:></span>] |9 [<span class="duree">(#GET{duree}|div{30.41}|intval) <:date_mois:></span>] | 10 10 <a href="#" class="noajax" onclick="jQuery('.statistiques_visites_mensuelles .visites').show(); jQuery('.statistiques_visites_mensuelles .graphResult-wrap, .statistiques_visites_mensuelles .graphInfo').hide(); return false;"><:statistiques:info_tableaux:></a> | 11 <a href="#" class="noajax" onclick="jQuery('.statistiques_visites_mensuelles .visites').hide(); jQuery('.statistiques_visites_mensuelles .graphResult-wrap, .statistiques_visites_mensuelles .graphInfo').show(); return false;"><:statistiques:info_graphiques:></a> | 12 <a href="[(#SELF|parametre_url{duree,#GET{duree}|duree_zoom{moins}})]" 13 class="ajax">[(#CHEMIN_IMAGE{zoomout-24.png}|balise_img{<:statistiques:info_zoom:> -})]</a> 14 <a href="[(#SELF|parametre_url{duree,#GET{duree}|duree_zoom{plus}})]" 15 class="ajax">[(#CHEMIN_IMAGE{zoomin-24.png}|balise_img{<:statistiques:info_zoom:> +})]</a> 11 <a href="#" class="noajax" onclick="jQuery('.statistiques_visites_mensuelles .visites').hide(); jQuery('.statistiques_visites_mensuelles .graphResult-wrap, .statistiques_visites_mensuelles .graphInfo').show(); return false;"><:statistiques:info_graphiques:></a> 16 12 </div> 17 13 -
_core_/plugins/statistiques/prive/stats/visites.html
r84690 r94388 88 88 flot:{ 89 89 xaxis:{ 90 min: [(#ENV{date}|affdate{'Y-m-d 00:00:00'}|strtotime|moins{7776000}|mult{1000})], /* 90 jours */ 90 91 timeformat:"%d %b", 91 92 minTickSize: [1, "day"] -
_core_/plugins/statistiques/prive/style_prive_plugin_stats.html
r91404 r94388 26 26 27 27 table.visites caption, h3.caption {font-size:1.3em;font-weight:bold;text-align: center;margin:0.5em auto; clear:both;} 28 .stats_visites #contenu h3.caption {float:#GET{left};margin:0. 5em auto;}28 .stats_visites #contenu h3.caption {float:#GET{left};margin:0.1em auto 0.5em;} 29 29 table.visites {width: 80%; margin-bottom: 1em; border-collapse: collapse; border-spacing: 0; line-height: normal;border:1px solid #999;} 30 30 table.visites a {color:#[(#GET{foncee}|couleur_foncer)];}
Note: See TracChangeset
for help on using the changeset viewer.