source: trunk/admin/themes/default/template/history.tpl @ 5357

Last change on this file since 5357 was 5123, checked in by plg, 15 years ago

feature 1502: based on Dotclear model, P@t has reorganized the way Piwigo
manages template/theme in a simpler "theme only level" architecture. It
supports multiple level inheritance.

  • Property svn:eol-style set to LF
File size: 4.3 KB
Line 
1
2{include file='include/datepicker.inc.tpl'}
3
4{literal}
5<script type="text/javascript">
6  pwg_initialization_datepicker("#start_day", "#start_month", "#start_year", "#start_linked_date", null, null, "#end_linked_date");
7  pwg_initialization_datepicker("#end_day", "#end_month", "#end_year", "#end_linked_date", null, "#start_linked_date", null);
8</script>
9{/literal}
10
11<div class="titrePage">
12  <h2>{'History'|@translate} {$TABSHEET_TITLE}</h2>
13</div>
14
15<form class="filter" method="post" name="filter" action="{$F_ACTION}">
16<fieldset>
17  <legend>{'Filter'|@translate}</legend>
18  <ul>
19    <li><label>{'Date'|@translate}</label></li>
20    <li>
21      <select id="start_day" name="start_day">
22        <option value="0">--</option>
23        {section name=day start=1 loop=32}
24        <option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$START_DAY_SELECTED}selected="selected"{/if}>{$smarty.section.day.index}</option>
25        {/section}
26      </select>
27      <select id="start_month" name="start_month">
28      {html_options options=$month_list selected=$START_MONTH_SELECTED}
29      </select>
30      <input id="start_year" name="start_year" value="{$START_YEAR}" type="text" size="4" maxlength="4" >
31      <input id="start_linked_date" name="start_linked_date" type="hidden" size="10" disabled="disabled">
32    </li>
33  </ul>
34  <ul>
35    <li><label>{'End-Date'|@translate}</label></li>
36    <li>
37      <select id="end_day" name="end_day">
38        <option value="0">--</option>
39        {section name=day start=1 loop=32}
40        <option value="{$smarty.section.day.index}" {if $smarty.section.day.index==$END_DAY_SELECTED}selected="selected"{/if}>{$smarty.section.day.index}</option>
41        {/section}
42      </select>
43      <select id="end_month" name="end_month">
44      {html_options options=$month_list selected=$END_MONTH_SELECTED}
45      </select>
46      <input id="end_year" name="end_year" value="{$END_YEAR}" type="text" size="4" maxlength="4" >
47      <input id="end_linked_date" name="end_linked_date" type="hidden" size="10" disabled="disabled">
48    </li>
49  </ul>
50
51  <label>
52    {'Element type'|@translate}
53    <select name="types[]" multiple="multiple" size="4">
54      {html_options values=$type_option_values output=$type_option_values|translate selected=$type_option_selected}
55    </select>
56  </label>
57
58  <label>
59    {'User'|@translate}
60    <select name="user">
61      <option value="-1">------------</option>
62      {html_options options=$user_options selected=$user_options_selected}
63    </select>
64  </label>
65
66  <label>
67    {'Image id'|@translate}
68    <input name="image_id" value="{$IMAGE_ID}" type="text" size="5">
69  </label>
70
71  <label>
72    {'File name'|@translate}
73    <input name="filename" value="{$FILENAME}" type="text">
74  </label>
75
76  <label>
77    {'Thumbnails'|@translate}
78    <select name="display_thumbnail">
79      {html_options values=$display_thumbnail_values output=$display_thumbnail_values|translate selected=$display_thumbnail_selected}
80    </select>
81  </label>
82
83  <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}">
84</fieldset>
85</form>
86
87{if isset($search_summary)}
88<fieldset>
89  <legend>{'Summary'|@translate}</legend>
90
91  <ul>
92    <li>{$search_summary.NB_LINES}, {$search_summary.FILESIZE}</li>
93    <li>
94      {$search_summary.USERS}
95      <ul>
96        <li>{$search_summary.MEMBERS}</li>
97        <li>{$search_summary.GUESTS}</li>
98      </ul>
99    </li>
100  </ul>
101</fieldset>
102{/if}
103
104{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
105
106<table class="table2" id="detailedStats">
107<tr class="throw">
108  <th>{'Date'|@translate}</th>
109  <th>{'Time'|@translate}</th>
110  <th>{'User'|@translate}</th>
111  <th>{'IP'|@translate}</th>
112  <th>{'Element'|@translate}</th>
113  <th>{'Element type'|@translate}</th>
114  <th>{'Section'|@translate}</th>
115  <th>{'Category'|@translate}</th>
116  <th>{'Tags'|@translate}</th>
117</tr>
118{if !empty($search_results) }
119{foreach from=$search_results item=detail name=res_loop}
120<tr class="{if $smarty.foreach.res_loop.index is odd}row1{else}row2{/if}">
121  <td class="hour">{$detail.DATE}</td>
122  <td class="hour">{$detail.TIME}</td>
123  <td>{$detail.USER}</td>
124  <td>{$detail.IP}</td>
125  <td>{$detail.IMAGE}</td>
126  <td>{$detail.TYPE}</td>
127  <td>{$detail.SECTION}</td>
128  <td>{$detail.CATEGORY}</td>
129  <td>{$detail.TAGS}</td>
130</tr>
131{/foreach}
132{/if}
133</table>
134
135{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
Note: See TracBrowser for help on using the repository browser.