1 | {* this is a copy of theme/defaults/template/comments.tpl a bit modified *} |
---|
2 | |
---|
3 | {combine_css path=$COA_PATH|@cat:'template/style_comments.css'} |
---|
4 | |
---|
5 | {html_head} |
---|
6 | <style type="text/css"> |
---|
7 | .pwg-icon-comments-images {ldelim} |
---|
8 | background-image: url({$COA_PATH}template/s26/{$ICON_COLOR}); |
---|
9 | background-position: 0 0; |
---|
10 | } |
---|
11 | a:hover .pwg-icon-comments-images {ldelim} |
---|
12 | background-image: url({$COA_PATH}template/s26/{$ICON_COLOR_OVER}); |
---|
13 | background-position: 0 0; |
---|
14 | } |
---|
15 | </style> |
---|
16 | {/html_head} |
---|
17 | |
---|
18 | <div id="content" class="content"> |
---|
19 | |
---|
20 | <div class="titrePage"> |
---|
21 | <ul class="categoryActions"> |
---|
22 | <li><a href="comments.php" title="{'COA_comments_photos'|@translate}" class="pwg-state-default pwg-button"> |
---|
23 | <span class="pwg-icon pwg-icon-comments-images"> </span><span class="pwg-button-text">{'COA_comments_photos'|@translate}</span> |
---|
24 | </a></li> |
---|
25 | <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button"> |
---|
26 | <span class="pwg-icon pwg-icon-home"> </span><span class="pwg-button-text">{'Home'|@translate}</span> |
---|
27 | </a></li> |
---|
28 | </ul> |
---|
29 | <h2>{'User comments'|@translate}</h2> |
---|
30 | </div> |
---|
31 | |
---|
32 | <form class="filter" action="{$F_ACTION}?display_mode=albums" method="get"> |
---|
33 | |
---|
34 | <fieldset> |
---|
35 | <legend>{'Filter'|@translate}</legend> |
---|
36 | |
---|
37 | <label>{'Keyword'|@translate}<input type="text" name="keyword" value="{$F_KEYWORD}"></label> |
---|
38 | |
---|
39 | <label>{'Author'|@translate}<input type="text" name="author" value="{$F_AUTHOR}"></label> |
---|
40 | |
---|
41 | <label> |
---|
42 | {'Album'|@translate} |
---|
43 | <select name="cat"> |
---|
44 | <option value="0">------------</option> |
---|
45 | {html_options options=$categories selected=$categories_selected} |
---|
46 | </select> |
---|
47 | </label> |
---|
48 | |
---|
49 | <label> |
---|
50 | {'Since'|@translate} |
---|
51 | <select name="since"> |
---|
52 | {html_options options=$since_options selected=$since_options_selected} |
---|
53 | </select> |
---|
54 | </label> |
---|
55 | |
---|
56 | </fieldset> |
---|
57 | |
---|
58 | <fieldset> |
---|
59 | |
---|
60 | <legend>{'Display'|@translate}</legend> |
---|
61 | |
---|
62 | <label> |
---|
63 | {'Sort by'|@translate} |
---|
64 | <select name="sort_by"> |
---|
65 | {html_options options=$sort_by_options selected=$sort_by_options_selected} |
---|
66 | </select> |
---|
67 | </label> |
---|
68 | |
---|
69 | <label> |
---|
70 | {'Sort order'|@translate} |
---|
71 | <select name="sort_order"> |
---|
72 | {html_options options=$sort_order_options selected=$sort_order_options_selected} |
---|
73 | </select> |
---|
74 | </label> |
---|
75 | |
---|
76 | <label> |
---|
77 | {'Number of items'|@translate} |
---|
78 | <select name="items_number"> |
---|
79 | {html_options options=$item_number_options selected=$item_number_options_selected} |
---|
80 | </select> |
---|
81 | </label> |
---|
82 | |
---|
83 | </fieldset> |
---|
84 | |
---|
85 | <input type="hidden" name="display_mode" value="albums"/> |
---|
86 | <p><input class="submit" type="submit" value="{'Filter and display'|@translate}"></p> |
---|
87 | |
---|
88 | </form> |
---|
89 | |
---|
90 | {if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} |
---|
91 | |
---|
92 | {if isset($comments)} |
---|
93 | <div id="comments"> |
---|
94 | {include file='comment_list.tpl'} |
---|
95 | </div> |
---|
96 | {/if} |
---|
97 | |
---|
98 | </div> <!-- content --> |
---|
99 | |
---|