source: extensions/Comments_on_Albums/template/comments_page.tpl @ 11267

Last change on this file since 11267 was 11267, checked in by mistic100, 13 years ago

big code cleaning

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