aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/comments.tpl
blob: 96f42b09b51c4704d0955babea6f06d237f3f0ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{if isset($MENUBAR)}{$MENUBAR}{/if}
<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">

<div class="titrePage">
	<ul class="categoryActions">
	</ul>
	<h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'User comments'|@translate}</h2>
</div>

{include file='infos_errors.tpl'}

<form class="filter" action="{$F_ACTION}" method="get">

  <fieldset>
    <legend>{'Filter'|@translate}</legend>

		<ul>
			<li>
				<label>{'Keyword'|@translate}</label>
			</li>
			<li>
				<input type="text" name="keyword" value="{$F_KEYWORD}">
			</li>
		</ul>

		<ul>
			<li>
				<label>{'Author'|@translate}</label>
			</li>
			<li>
				<input type="text" name="author" value="{$F_AUTHOR}">
			</li>
		</ul>

		<ul>
			<li>
				<label>{'Album'|@translate}</label>
			</li>
			<li>
				<select name="cat">
					<option value="0">------------</option>
					{html_options options=$categories selected=$categories_selected}
				</select>
			</li>
		</ul>

		<ul>
			<li>
				<label>{'Since'|@translate}</label>
			</li>
			<li>
				<select name="since">
					{html_options options=$since_options selected=$since_options_selected}
				</select>
			</li>
		</ul>

  </fieldset>

  <fieldset>

    <legend>{'Display'|@translate}</legend>

		<ul>
			<li>
				<label>{'Sort by'|@translate}</label>
			</li>
			<li>
				<select name="sort_by">
					{html_options options=$sort_by_options selected=$sort_by_options_selected}
				</select>
			</li>
		</ul>

		<ul>
			<li>
				<label>{'Sort order'|@translate}</label>
			</li>
			<li>
				<select name="sort_order">
					{html_options options=$sort_order_options selected=$sort_order_options_selected}
				</select>
			</li>
		</ul>

		<ul>
			<li>
				<label>{'Number of items'|@translate}</label>
			</li>
			<li>
				<select name="items_number">
					{html_options options=$item_number_options selected=$item_number_options_selected}
				</select>
			</li>
		</ul>

  </fieldset>

  <p><input type="submit" value="{'Filter and display'|@translate}"></p>

</form>

{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}

{if isset($comments)}
<div id="comments">
	{include file='comment_list.tpl' comment_derivative_params=$derivative_params}
</div>
{/if}

</div> <!-- content -->