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

Revision 7995, 4.3 KB checked in by rvelices, 9 years ago (diff)

trunk admin theme goes with combine_script instead of old style known_script

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