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