aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/admin/stats.tpl
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2007-01-16 23:39:39 +0000
committerplegall <plg@piwigo.org>2007-01-16 23:39:39 +0000
commit5d9a865fe1931869d3d9edb19f64d66783a0f4f4 (patch)
tree35805541591d81cbb9a7758ddb3e2da538a2237d /template/yoga/admin/stats.tpl
parent62149d74a9724bba01c5ae5b8b99fa00e0a60fe7 (diff)
Modification: new data model for history, more compact, more efficient. A
summary table is used as cache for history stats display. New: a Perl script fill_history.pl was added to simulate a high load on history table (making the efficiency of the new data model obvious). Modification: function prepend_append_array_items moved from include/functions_search.inc.php to include/functions_search.inc.php since this function is used in new file admin/history.php Modification: admin/images/*_stats.img.php replaced by a simpler and more generic admin/images/stats.img.php unique file. New: a history detail search page was added. Currently, only start and end dates can be modified, it's just a beginning. git-svn-id: http://piwigo.org/svn/trunk@1727 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/admin/stats.tpl40
1 files changed, 4 insertions, 36 deletions
diff --git a/template/yoga/admin/stats.tpl b/template/yoga/admin/stats.tpl
index 75de81f79..edf7d9a3c 100644
--- a/template/yoga/admin/stats.tpl
+++ b/template/yoga/admin/stats.tpl
@@ -2,50 +2,18 @@
<h2>{lang:title_history}</h2>
<h3>{L_STAT_TITLE}</h3>
-<img class="image" src="{IMG_REPORT}" alt="{L_STAT_MONTHLY_ALT}" />
-<h3>{L_STAT_DETAIL_TITLE}</h3>
+<img class="image" src="{SRC_REPORT}" alt="{lang:history chart}" />
+
<table class="table2" id="dailyStats">
<tr class="throw">
- <th>{L_VALUE}</th>
- <th>{L_PAGES_SEEN}</th>
- <th>{L_VISITORS}</th>
- <th>{L_PICTURES}</th>
+ <th>{PERIOD_LABEL}</th>
+ <th>{lang:Pages seen}</th>
</tr>
<!-- BEGIN statrow -->
<tr class="{statrow.T_CLASS}">
<td>{statrow.VALUE}</td>
<td class="number">{statrow.PAGES}</td>
- <td class="number">{statrow.VISITORS}</td>
- <td class="number">{statrow.IMAGES}</td>
</tr>
<!-- END statrow -->
</table>
-
-<h3>{L_DATE_TITLE}</h3>
-<table class="table2" id="detailedStats">
- <tr class="throw">
- <th>{L_STAT_HOUR}</th>
- <th>{L_STAT_LOGIN}</th>
- <th>{L_STAT_ADDR}</th>
- <th>{L_STAT_CATEGORY}</th>
- <th>{L_STAT_FILE}</th>
- <th>{L_STAT_PICTURE}</th>
- </tr>
-<!-- BEGIN detail -->
- <tr class="{detail.T_CLASS}">
- <td class="hour">{detail.HOUR}</td>
- <td>{detail.LOGIN}</td>
- <td>{detail.IP}</td>
- <td>{detail.CATEGORY}</td>
- <td>{detail.FILE}</td>
- <td>{detail.PICTURE}</td>
- </tr>
-<!-- END detail -->
-</table>
-
-<!-- BEGIN navigation -->
-<div class="admin">
-{navigation.NAV_BAR}
-</div>
-<!-- END navigation -->