1 | {if ($Slim.style_slim)==3} |
---|
2 | {$MENUBAR} |
---|
3 | <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}"> |
---|
4 | <div id="infoBlock"> |
---|
5 | <div class="titrePage"> |
---|
6 | <ul class="categoryActions"> |
---|
7 | </ul> |
---|
8 | <h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'User comments'|@translate}</h2> |
---|
9 | </div> |
---|
10 | </div> |
---|
11 | {include file='infos_errors.tpl'} |
---|
12 | |
---|
13 | <form class="filter" action="{$F_ACTION}" method="get"> |
---|
14 | |
---|
15 | <fieldset> |
---|
16 | <legend>{'Filter'|@translate}</legend> |
---|
17 | |
---|
18 | <label>{'Keyword'|@translate}<input type="text" name="keyword" value="{$F_KEYWORD}"></label> |
---|
19 | |
---|
20 | <label>{'Author'|@translate}<input type="text" name="author" value="{$F_AUTHOR}"></label> |
---|
21 | |
---|
22 | <label> |
---|
23 | {'Album'|@translate} |
---|
24 | <select name="cat"> |
---|
25 | <option value="0">------------</option> |
---|
26 | {html_options options=$categories selected=$categories_selected} |
---|
27 | </select> |
---|
28 | </label> |
---|
29 | |
---|
30 | <label> |
---|
31 | {'Since'|@translate} |
---|
32 | <select name="since"> |
---|
33 | {html_options options=$since_options selected=$since_options_selected} |
---|
34 | </select> |
---|
35 | </label> |
---|
36 | |
---|
37 | </fieldset> |
---|
38 | |
---|
39 | <fieldset> |
---|
40 | |
---|
41 | <legend>{'Display'|@translate}</legend> |
---|
42 | |
---|
43 | <label> |
---|
44 | {'Sort by'|@translate} |
---|
45 | <select name="sort_by"> |
---|
46 | {html_options options=$sort_by_options selected=$sort_by_options_selected} |
---|
47 | </select> |
---|
48 | </label> |
---|
49 | |
---|
50 | <label> |
---|
51 | {'Sort order'|@translate} |
---|
52 | <select name="sort_order"> |
---|
53 | {html_options options=$sort_order_options selected=$sort_order_options_selected} |
---|
54 | </select> |
---|
55 | </label> |
---|
56 | |
---|
57 | <label> |
---|
58 | {'Number of items'|@translate} |
---|
59 | <select name="items_number"> |
---|
60 | {html_options options=$item_number_options selected=$item_number_options_selected} |
---|
61 | </select> |
---|
62 | </label> |
---|
63 | |
---|
64 | </fieldset> |
---|
65 | |
---|
66 | <p><input type="submit" value="{'Filter and display'|@translate}"></p> |
---|
67 | |
---|
68 | </form> |
---|
69 | |
---|
70 | {if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} |
---|
71 | |
---|
72 | {if isset($comments)} |
---|
73 | <div id="comments"> |
---|
74 | {include file='comment_list.tpl' comment_derivative_params=$derivative_params} |
---|
75 | </div> |
---|
76 | {/if} |
---|
77 | |
---|
78 | </div> <!-- content --> |
---|
79 | |
---|
80 | {else} |
---|
81 | {php} |
---|
82 | header("Refresh: 2; index.php" ); |
---|
83 | {/php} |
---|
84 | |
---|
85 | <div> |
---|
86 | <h3>{'You are not authorized to access the requested page'|@translate}</h3> |
---|
87 | </div> |
---|
88 | |
---|
89 | |
---|
90 | {/if} |
---|