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

Last change on this file since 11011 was 7995, checked in by rvelices, 13 years ago

trunk admin theme goes with combine_script instead of old style known_script

  • Property svn:eol-style set to LF
File size: 4.3 KB
RevLine 
[2632]1
2{include file='include/datepicker.inc.tpl'}
3
[7995]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}
[2632]8
[2531]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>
[5021]17    <li><label>{'Date'|@translate}</label></li>
[2531]18    <li>
[2680]19      <select id="start_day" name="start_day">
[3055]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}
[2531]24      </select>
[2680]25      <select id="start_month" name="start_month">
[3055]26      {html_options options=$month_list selected=$START_MONTH_SELECTED}
[2531]27      </select>
[2680]28      <input id="start_year" name="start_year" value="{$START_YEAR}" type="text" size="4" maxlength="4" >
[3185]29      <input id="start_linked_date" name="start_linked_date" type="hidden" size="10" disabled="disabled">
[2531]30    </li>
31  </ul>
32  <ul>
[5021]33    <li><label>{'End-Date'|@translate}</label></li>
[2531]34    <li>
[2680]35      <select id="end_day" name="end_day">
[3055]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}
[2531]40      </select>
[2680]41      <select id="end_month" name="end_month">
[3055]42      {html_options options=$month_list selected=$END_MONTH_SELECTED}
[2531]43      </select>
[2680]44      <input id="end_year" name="end_year" value="{$END_YEAR}" type="text" size="4" maxlength="4" >
[3185]45      <input id="end_linked_date" name="end_linked_date" type="hidden" size="10" disabled="disabled">
[2531]46    </li>
47  </ul>
48
49  <label>
50    {'Element type'|@translate}
51    <select name="types[]" multiple="multiple" size="4">
[3055]52      {html_options values=$type_option_values output=$type_option_values|translate selected=$type_option_selected}
[2531]53    </select>
54  </label>
55
56  <label>
57    {'User'|@translate}
58    <select name="user">
[3055]59      <option value="-1">------------</option>
60      {html_options options=$user_options selected=$user_options_selected}
[2531]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
[3055]74  <label>
75    {'Thumbnails'|@translate}
76    <select name="display_thumbnail">
[5576]77      {html_options options=$display_thumbnails selected=$display_thumbnail_selected}
[3055]78    </select>
79  </label>
80
[3185]81  <input class="submit" type="submit" name="submit" value="{'Submit'|@translate}">
[2531]82</fieldset>
83</form>
[3055]84
[2531]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
[3182]102{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
[2531]103
104<table class="table2" id="detailedStats">
105<tr class="throw">
106  <th>{'Date'|@translate}</th>
[5021]107  <th>{'Time'|@translate}</th>
108  <th>{'User'|@translate}</th>
[2531]109  <th>{'IP'|@translate}</th>
[5021]110  <th>{'Element'|@translate}</th>
[2531]111  <th>{'Element type'|@translate}</th>
[5021]112  <th>{'Section'|@translate}</th>
[6993]113  <th>{'Album'|@translate}</th>
[5021]114  <th>{'Tags'|@translate}</th>
[2531]115</tr>
116{if !empty($search_results) }
[3055]117{foreach from=$search_results item=detail name=res_loop}
[2531]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>
[3055]129{/foreach}
[2531]130{/if}
131</table>
[3055]132
[3182]133{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
Note: See TracBrowser for help on using the repository browser.