Changeset 112233 in spip-zone
- Timestamp:
- Oct 31, 2018, 11:48:55 AM (2 years ago)
- Location:
- _core_/plugins/statistiques/prive
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
_core_/plugins/statistiques/prive/squelettes/inclure/stats-visites-jours.html
r94425 r112233 25 25 <tr class="odd on"> 26 26 <th><:info_maximum|trim{':'}|trim|ucfirst:></th> 27 <td class='num'> #GET{max}</td>27 <td class='num'>[(#GET{max}|number_format{0,""," "})]</td> 28 28 </tr> 29 29 <tr class="odd on"> 30 30 <th><:info_moyenne|trim{':'}|trim|ucfirst:></th> 31 <td class='num'>[(#GET{moy}|round )]</td>31 <td class='num'>[(#GET{moy}|round|number_format{0,""," "})]</td> 32 32 </tr> 33 33 <tr class="even"> 34 34 <th><a href="#URL_ECRIRE{stats_referers,jour=jour}" 35 35 title="<:statistiques:titre_liens_entrants|trim{':'}|trim|attribut_html:>: <:info_aujourdhui|trim{':'}|trim|attribut_html:>"><:info_aujourdhui|trim{':'}|trim|ucfirst:></a></th> 36 <td class='num'> #GET{last}</td>36 <td class='num'>[(#GET{last}|number_format{0,""," "})]</td> 37 37 </tr> 38 38 <tr class="even"> 39 39 <th><a href="#URL_ECRIRE{stats_referers,jour=veille}" 40 40 title="<:statistiques:titre_liens_entrants|trim{':'}|trim|attribut_html:>: <:info_hier|trim{':'}|trim|attribut_html:>"><:info_hier|trim{':'}|trim|ucfirst:></a></th> 41 <td class='num'> #GET{lastlast}</td>41 <td class='num'>[(#GET{lastlast}|number_format{0,""," "})]</td> 42 42 </tr> 43 43 <BOUCLE_art(ARTICLES){id_article}{statut?}> 44 44 <tr class="odd"> 45 45 <th><:statistiques:info_popularite_5|trim{':'}|trim|ucfirst:></th> 46 <td class='num'>[(#CHAMP_SQL{popularite}|round )]</td>46 <td class='num'>[(#CHAMP_SQL{popularite}|round|number_format{0,""," "})]</td> 47 47 </tr> 48 48 <tr class="odd"> 49 49 <th><:info_total|trim{':'}|trim|ucfirst:></th> 50 <td class='num'>[(#VISITES|round )]</td>50 <td class='num'>[(#VISITES|round|number_format{0,""," "})]</td> 51 51 </tr> 52 52 <tr class="odd"> … … 57 57 <tr class="odd"> 58 58 <th><:info_total|trim{':'}|trim|ucfirst:></th> 59 <td class='num'>[(#REM|stats_total )]</td>59 <td class='num'>[(#REM|stats_total|number_format{0,""," "})]</td> 60 60 </tr> 61 61 <tr class="odd"> 62 62 <th><:statistiques:info_popularite_2|trim{':'}|trim|ucfirst:></th> 63 <td class='num'>[(#CONFIG{popularite_total}|round )]</td>63 <td class='num'>[(#CONFIG{popularite_total}|round|number_format{0,""," "})]</td> 64 64 </tr> 65 65 <//B_art> -
_core_/plugins/statistiques/prive/stats/visites.html
r101742 r112233 71 71 }, 72 72 yaxis:{ 73 position: "right" 73 position: "right", 74 tickDecimals: 1, 75 tickFormatter: function nbFormatter(val, axis) { 76 if (val >= 1000000){ 77 var fval = (val / 1000000).toFixed(axis.tickDecimals) ; 78 return fval.replace(/\.0$/,"") + " M"; 79 } 80 else{ 81 if (val >= 100000) 82 return (val / 1000).toFixed(axis.tickDecimals).replace(/\.0$/,"") + " k"; 83 else{ 84 var fval = val.toFixed(axis.tickDecimals).replace(/\.0$/,"") ; 85 return fval.replace(/(\d{3})$/," $1") ; 86 } 87 } 88 } 74 89 } 75 90 }, -
_core_/plugins/statistiques/prive/style_prive_plugin_stats.html
r107993 r112233 50 50 /* graphique flot */ 51 51 .graphique{clear:both; overflow:hidden; margin-bottom:2em;} 52 .graphResult-wrap {padding: 10px 25px;float:#GET{left};}52 .graphResult-wrap {padding: 10px;float:#GET{left};} 53 53 .graphResult{} 54 54 .graphInfo{float:#GET{left}; clear:#GET{left};margin-#GET{left}:20px;}
Note: See TracChangeset
for help on using the changeset viewer.