aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2004-09-26 21:24:49 +0000
committergweltas <gweltas@piwigo.org>2004-09-26 21:24:49 +0000
commit1d4238055a7fbb86bdb901f09eb5de90026ba431 (patch)
treea3273603e2a8c4e859bded7f992c02a8ba101270 /template
parentbb8189ea750fdde2b489abd563034e0efb32db20 (diff)
-First draft of history display
git-svn-id: http://piwigo.org/svn/trunk@537 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/default/admin/stats.tpl3
-rw-r--r--template/default/admin/stats.vtp83
2 files changed, 3 insertions, 83 deletions
diff --git a/template/default/admin/stats.tpl b/template/default/admin/stats.tpl
new file mode 100644
index 000000000..40b6078a1
--- /dev/null
+++ b/template/default/admin/stats.tpl
@@ -0,0 +1,3 @@
+<div class="admin">{L_STAT_TITLE}</div>
+
+<img src="{IMG_MONTHLY_REPORT}" alt="{L_STAT_MONTHLY_ALT}" /> \ No newline at end of file
diff --git a/template/default/admin/stats.vtp b/template/default/admin/stats.vtp
deleted file mode 100644
index e66c1ba18..000000000
--- a/template/default/admin/stats.vtp
+++ /dev/null
@@ -1,83 +0,0 @@
-<div style="text-align:center;margin-top:5px;">
- <!--VTP_last_day_option-->
- <a href="{#link}" style="{#style}">{#option}</a>{#separation}
- <!--/VTP_last_day_option-->
- {#stats_last_days}
-</div>
-
-<table width="100%">
- <tr>
- <th width="1%">{#date}</th>
- <th>{#login}</th>
- <th>{#IP}</th>
- <th>{#file}</th>
- <th>{#category}</th>
- <th>{#picture}</th>
- </tr>
- <tr>
- <td colspan="6" style="text-align:center;"><a href="{#emply_url}">{#stats_empty}</a></td>
- </tr>
- <!--VTP_day-->
- <tr>
- <td colspan="6">
- <a href="{#url}"><!--VTP_collapsed--><img src="./template/{#user_template}/admin/images/collapsed.gif" style="border:none;" /><!--/VTP_collapsed--><!--VTP_expanded--><img src="./template/{#user_template}/admin/images/expanded.gif" style="border:none;" /><!--/VTP_expanded--></a>
- <span style="font-weight:bold;">{#name}</span> [ {#nb_pages} {#stats_pages_seen} - {#nb_visitors} {#stats_visitors} ]
- [ <a href="{#url}">{#open_or_close}</a> ]
- </td>
- </tr>
- <!--VTP_line-->
- <tr>
- <td>{#date}</td>
- <td style="text-align:center;">{#login}</td>
- <td>{#IP}</td>
- <td>{#file}</td>
- <td>{#category}</td>
- <td>{#picture}</td>
- </tr>
- <!--/VTP_line-->
- <!--/VTP_day-->
-</table>
-
-<!-- Graph with the number of pages seen per day -->
-<table style="margin:auto;margin-top:10px;margin-bottom:10px;border:1px solid black;">
-<tr>
- <td colspan="3" style="text-align:center;font-weight:bold">{#stats_pages_seen_graph_title}</td>
-</tr>
-<!--VTP_pages_day-->
-<tr>
- <td>{#date}</td>
- <td>
- <table style="border-collapse:collapse;">
- <tr>
- <td style="padding:0;"><img src="./template/{#user_template}/admin/images/stat_left.gif" width="4" height="12" /></td>
- <td style="padding:0;"><img src="./template/{#user_template}/admin/images/stat_middle.gif" width="{#width}" height="12" /></td>
- <td style="padding:0;"><img src="./template/{#user_template}/admin/images/stat_right.gif" width="4" height="12" /></td>
- </tr>
- </table>
- </td>
- <td align="center">[ {#nb_pages} ]</td>
-</tr>
-<!--/VTP_pages_day-->
-</table>
-
-<!-- Graph with the number of visitors per day -->
-<table style="margin:auto;margin-top:10px;margin-bottom:10px;border:1px solid black;">
-<tr>
- <td colspan="3" style="text-align:center;font-weight:bold">{#stats_visitors_graph_title}</td>
-</tr>
-<!--VTP_visitors_day-->
-<tr>
- <td>{#date}</td>
- <td>
- <table style="border-collapse:collapse;">
- <tr>
- <td style="padding:0;"><img src="./template/{#user_template}/admin/images/stat_left.gif" width="4" height="12" /></td>
- <td style="padding:0;"><img src="./template/{#user_template}/admin/images/stat_middle.gif" width="{#width}" height="12" /></td>
- <td style="padding:0;"><img src="./template/{#user_template}/admin/images/stat_right.gif" width="4" height="12" /></td>
- </tr>
- </table>
- </td>
- <td align="center">[ {#nb_visitors} ]</td>
-</tr>
-<!--/VTP_visitors_day-->
-</table> \ No newline at end of file