2008-02-28 02:41:48 +00:00
|
|
|
{* $Id$ *}
|
2005-08-21 21:23:17 +00:00
|
|
|
<div id="content">
|
2005-08-18 07:04:05 +00:00
|
|
|
|
2005-08-21 21:23:17 +00:00
|
|
|
<div class="titrePage">
|
|
|
|
<ul class="categoryActions">
|
2008-02-28 02:41:48 +00:00
|
|
|
<li><a href="{$U_HOME}" title="{'return to homepage'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li>
|
2005-08-21 21:23:17 +00:00
|
|
|
</ul>
|
2008-02-28 02:41:48 +00:00
|
|
|
<h2>{'User comments'|@translate}</h2>
|
2005-08-21 21:23:17 +00:00
|
|
|
</div>
|
2005-08-18 07:04:05 +00:00
|
|
|
|
2008-02-28 02:41:48 +00:00
|
|
|
<form class="filter" action="{$F_ACTION}" method="get">
|
2005-08-18 07:04:05 +00:00
|
|
|
|
2005-08-21 21:23:17 +00:00
|
|
|
<fieldset>
|
2008-02-28 02:41:48 +00:00
|
|
|
<legend>{'Filter'|@translate}</legend>
|
2005-08-21 21:23:17 +00:00
|
|
|
|
2008-02-28 02:41:48 +00:00
|
|
|
<label>{'Keyword'|@translate}<input type="text" name="keyword" value="{$F_KEYWORD}" /></label>
|
2005-08-21 21:23:17 +00:00
|
|
|
|
2008-02-28 02:41:48 +00:00
|
|
|
<label>{'Author'|@translate}<input type="text" name="author" value="{$F_AUTHOR}" /></label>
|
2005-08-21 21:23:17 +00:00
|
|
|
|
|
|
|
<label>
|
2008-02-28 02:41:48 +00:00
|
|
|
{'Category'|@translate}
|
2005-08-21 21:23:17 +00:00
|
|
|
<select name="cat">
|
2008-02-28 02:41:48 +00:00
|
|
|
<option value="0">------------</option>
|
|
|
|
{html_options options=$categories selected=$categories_selected}
|
2005-08-21 21:23:17 +00:00
|
|
|
</select>
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<label>
|
2008-02-28 02:41:48 +00:00
|
|
|
{'Since'|@translate}
|
2005-08-21 21:23:17 +00:00
|
|
|
<select name="since">
|
2008-02-28 02:41:48 +00:00
|
|
|
{html_options options=$since_options selected=$since_options_selected}
|
2005-08-21 21:23:17 +00:00
|
|
|
</select>
|
|
|
|
</label>
|
|
|
|
|
|
|
|
</fieldset>
|
|
|
|
|
|
|
|
<fieldset>
|
|
|
|
|
2008-02-28 02:41:48 +00:00
|
|
|
<legend>{'Display'|@translate}</legend>
|
2005-08-21 21:23:17 +00:00
|
|
|
|
|
|
|
<label>
|
2008-02-28 02:41:48 +00:00
|
|
|
{'Sort by'|@translate}
|
2005-08-21 21:23:17 +00:00
|
|
|
<select name="sort_by">
|
2008-02-28 02:41:48 +00:00
|
|
|
{html_options options=$sort_by_options selected=$sort_by_options_selected}
|
2005-08-21 21:23:17 +00:00
|
|
|
</select>
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<label>
|
2008-02-28 02:41:48 +00:00
|
|
|
{'Sort order'|@translate}
|
2005-08-21 21:23:17 +00:00
|
|
|
<select name="sort_order">
|
2008-02-28 02:41:48 +00:00
|
|
|
{html_options options=$sort_order_options selected=$sort_order_options_selected}
|
2005-08-21 21:23:17 +00:00
|
|
|
</select>
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<label>
|
2008-02-28 02:41:48 +00:00
|
|
|
{'Number of items'|@translate}
|
2005-08-21 21:23:17 +00:00
|
|
|
<select name="items_number">
|
2008-02-28 02:41:48 +00:00
|
|
|
{html_options options=$item_number_options selected=$item_number_options_selected}
|
2005-08-21 21:23:17 +00:00
|
|
|
</select>
|
|
|
|
</label>
|
|
|
|
|
|
|
|
</fieldset>
|
|
|
|
|
2008-02-28 02:41:48 +00:00
|
|
|
<p><input class="submit" type="submit" value="{'Filter and display'|@translate}"></p>
|
2005-08-18 07:04:05 +00:00
|
|
|
|
|
|
|
</form>
|
2005-08-21 21:23:17 +00:00
|
|
|
|
2008-02-28 02:41:48 +00:00
|
|
|
<div class="navigationBar">{$NAVBAR}</div>
|
2005-08-21 21:23:17 +00:00
|
|
|
|
2008-02-28 02:41:48 +00:00
|
|
|
{if isset($comments)}
|
2005-08-21 21:23:17 +00:00
|
|
|
<div id="comments">
|
|
|
|
|
2008-02-28 02:41:48 +00:00
|
|
|
{foreach from=$comments item=comment}
|
2005-08-21 21:23:17 +00:00
|
|
|
<div class="comment">
|
2008-02-28 02:41:48 +00:00
|
|
|
<a class="illustration" href="{$comment.U_PICTURE}"><img src="{$comment.TN_SRC}" alt="{$comment.ALT}" /></a>
|
|
|
|
<p class="commentHeader"><span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span>
|
|
|
|
|
|
|
|
{if isset($comment.U_DELETE)}
|
|
|
|
<a href="{$comment.U_DELETE}" title="{'comments_del'|@translate}">
|
|
|
|
<img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[{'delete'|@translate}]"/>
|
2006-11-08 04:28:30 +00:00
|
|
|
</a>
|
2008-02-28 02:41:48 +00:00
|
|
|
{/if}
|
|
|
|
|
|
|
|
{if isset($comment.U_VALIDATE)}
|
|
|
|
<a href="{$comment.U_VALIDATE}" title="validate this comment">
|
|
|
|
<img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" style="border:none;vertical-align:middle; margin-left:5px;" alt="[validate]"/>
|
2006-11-08 04:28:30 +00:00
|
|
|
</a>
|
2008-02-28 02:41:48 +00:00
|
|
|
{/if}
|
|
|
|
|
2006-11-08 04:28:30 +00:00
|
|
|
</p>
|
2008-02-28 02:41:48 +00:00
|
|
|
<blockquote>{$comment.CONTENT}</blockquote>
|
2005-08-21 21:23:17 +00:00
|
|
|
<hr class="separation">
|
|
|
|
</div>
|
2008-02-28 02:41:48 +00:00
|
|
|
|
|
|
|
{/foreach}
|
2005-08-21 21:23:17 +00:00
|
|
|
</div>
|
2008-02-28 02:41:48 +00:00
|
|
|
{/if}
|
2005-08-21 21:23:17 +00:00
|
|
|
|
|
|
|
</div> <!-- content -->
|