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

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

add a PWG Stuffs module, add menu bar on comments page

File size: 3.0 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{if isset($MENUBAR)}{$MENUBAR}{/if}
21<div id="content" class="content">
22
23<div class="titrePage">
24  <ul class="categoryActions">
25    <li><a href="comments.php" title="{'Comments on photos'|@translate}" class="pwg-state-default pwg-button">
26      <span class="pwg-icon pwg-icon-comments-images">&nbsp;</span><span class="pwg-button-text">{'Comments on photos'|@translate}</span>
27    </a></li>
28    <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button">
29      <span class="pwg-icon pwg-icon-home">&nbsp;</span><span class="pwg-button-text">{'Home'|@translate}</span>
30    </a></li>
31  </ul>
32  <h2>{'User comments'|@translate}</h2>
33</div>
34
35<form class="filter" action="{$F_ACTION}?display_mode=albums" method="get">
36
37  <fieldset>
38    <legend>{'Filter'|@translate}</legend>
39
40    <label>{'Keyword'|@translate}<input type="text" name="keyword" value="{$F_KEYWORD}"></label>
41
42    <label>{'Author'|@translate}<input type="text" name="author" value="{$F_AUTHOR}"></label>
43
44    <label>
45      {'Album'|@translate}
46      <select name="cat">
47        <option value="0">------------</option>
48        {html_options options=$categories selected=$categories_selected}
49      </select>
50    </label>
51
52    <label>
53      {'Since'|@translate}
54      <select name="since">
55        {html_options options=$since_options selected=$since_options_selected}
56      </select>
57    </label>
58
59  </fieldset>
60
61  <fieldset>
62
63    <legend>{'Display'|@translate}</legend>
64
65    <label>
66      {'Sort by'|@translate}
67      <select name="sort_by">
68        {html_options options=$sort_by_options selected=$sort_by_options_selected}
69      </select>
70    </label>
71
72    <label>
73      {'Sort order'|@translate}
74      <select name="sort_order">
75        {html_options options=$sort_order_options selected=$sort_order_options_selected}
76      </select>
77    </label>
78
79    <label>
80      {'Number of items'|@translate}
81      <select name="items_number">
82        {html_options options=$item_number_options selected=$item_number_options_selected}
83      </select>
84    </label>
85
86  </fieldset>
87
88  <input type="hidden" name="display_mode" value="albums"/>
89  <p><input class="submit" type="submit" value="{'Filter and display'|@translate}"></p>
90
91</form>
92 
93{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}
94
95{if isset($comments)}
96<div id="comments">
97  {include file='comment_list.tpl'}
98</div>
99{/if}
100
101</div> <!-- content -->
102
Note: See TracBrowser for help on using the repository browser.