From 5d9a865fe1931869d3d9edb19f64d66783a0f4f4 Mon Sep 17 00:00:00 2001 From: plegall Date: Tue, 16 Jan 2007 23:39:39 +0000 Subject: 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 --- template/yoga/admin/stats.tpl | 40 ++++------------------------------------ 1 file changed, 4 insertions(+), 36 deletions(-) (limited to 'template/yoga/admin/stats.tpl') 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 @@

{lang:title_history}

{L_STAT_TITLE}

-{L_STAT_MONTHLY_ALT} -

{L_STAT_DETAIL_TITLE}

+{lang:history chart} + - - - - + + - -
{L_VALUE}{L_PAGES_SEEN}{L_VISITORS}{L_PICTURES}{PERIOD_LABEL}{lang:Pages seen}
{statrow.VALUE} {statrow.PAGES}{statrow.VISITORS}{statrow.IMAGES}
- -

{L_DATE_TITLE}

- - - - - - - - - - - - - - - - - - - -
{L_STAT_HOUR}{L_STAT_LOGIN}{L_STAT_ADDR}{L_STAT_CATEGORY}{L_STAT_FILE}{L_STAT_PICTURE}
{detail.HOUR}{detail.LOGIN}{detail.IP}{detail.CATEGORY}{detail.FILE}{detail.PICTURE}
- - -
-{navigation.NAV_BAR} -
- -- cgit v1.2.3