mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-06 01:42:29 +02:00
5d9a865fe1
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
94 lines
2.5 KiB
Smarty
94 lines
2.5 KiB
Smarty
<div class="titrePage">
|
|
<ul class="categoryActions">
|
|
<li>
|
|
<a
|
|
href="{U_HELP}"
|
|
onclick="popuphelp(this.href); return false;"
|
|
title="{lang:Help}"
|
|
>
|
|
<img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)">
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
<h2>{lang:History}</h2>
|
|
</div>
|
|
|
|
<form class="filter" method="post" name="filter" action="{F_ACTION}">
|
|
<fieldset>
|
|
<legend>{lang:Filter}</legend>
|
|
<ul>
|
|
<li><label>{lang:search_date_from}</label></li>
|
|
<li>
|
|
<select name="start_day">
|
|
<!-- BEGIN start_day -->
|
|
<option {start_day.SELECTED} value="{start_day.VALUE}">{start_day.OPTION}</option>
|
|
<!-- END start_day -->
|
|
</select>
|
|
<select name="start_month">
|
|
<!-- BEGIN start_month -->
|
|
<option {start_month.SELECTED} value="{start_month.VALUE}">{start_month.OPTION}</option>
|
|
<!-- END start_month -->
|
|
</select>
|
|
<input name="start_year" value="{START_YEAR}" type="text" size="4" maxlength="4" >
|
|
</li>
|
|
</ul>
|
|
<ul>
|
|
<li><label>{lang:search_date_to}</label></li>
|
|
<li>
|
|
<select name="end_day">
|
|
<!-- BEGIN end_day -->
|
|
<option {end_day.SELECTED} value="{end_day.VALUE}">{end_day.OPTION}</option>
|
|
<!-- END end_day -->
|
|
</select>
|
|
<select name="end_month">
|
|
<!-- BEGIN end_month -->
|
|
<option {end_month.SELECTED} value="{end_month.VALUE}">{end_month.OPTION}</option>
|
|
<!-- END end_month -->
|
|
</select>
|
|
<input name="end_year" value="{END_YEAR}" type="text" size="4" maxlength="4" >
|
|
</li>
|
|
</ul>
|
|
|
|
<input type="submit" name="submit" value="{lang:submit}" {TAG_INPUT_ENABLED}/>
|
|
</fieldset>
|
|
</form>
|
|
|
|
<h3>{L_DATE_TITLE}</h3>
|
|
|
|
<!-- BEGIN navigation -->
|
|
<div class="admin">
|
|
{navigation.NAVBAR}
|
|
</div>
|
|
<!-- END navigation -->
|
|
|
|
<table class="table2" id="detailedStats">
|
|
<tr class="throw">
|
|
<th>{lang:date}</th>
|
|
<th>{lang:time}</th>
|
|
<th>{lang:user}</th>
|
|
<th>{lang:IP}</th>
|
|
<th>{lang:image}</th>
|
|
<th>{lang:section}</th>
|
|
<th>{lang:category}</th>
|
|
<th>{lang:tags}</th>
|
|
</tr>
|
|
<!-- BEGIN detail -->
|
|
<tr class="{detail.T_CLASS}">
|
|
<td class="hour">{detail.DATE}</td>
|
|
<td class="hour">{detail.TIME}</td>
|
|
<td>{detail.USER}</td>
|
|
<td>{detail.IP}</td>
|
|
<td>{detail.IMAGE}</td>
|
|
<td>{detail.SECTION}</td>
|
|
<td>{detail.CATEGORY}</td>
|
|
<td>{detail.TAGS}</td>
|
|
</tr>
|
|
<!-- END detail -->
|
|
</table>
|
|
|
|
<!-- BEGIN navigation -->
|
|
<div class="admin">
|
|
{navigation.NAVBAR}
|
|
</div>
|
|
<!-- END navigation -->
|