Files
Piwigo/template/cclear/comments.tpl
T
plegall b08df04688 - modification : adaptation of template variables and blocks in comments
page to display comment by comment instead of picture by picture.

- [template cclear] comments.tpl copied and adapted from template
  default. Return to home new icon. As asked by chrisaga, special id
  #commentsPage in comments.tpl to set the #content margin-left to 0 (since
  no #menubar to display).

- [template cclear] FORM.filter rules taken from template default (these
  rules have been written some time ago by yoDan.

- [template cclear] bug fixed on #theImage : display:block must be used only
  on IMG and not on the P>A (yes, in BSF you can have HTML in picture and
  categories descriptions)


git-svn-id: http://piwigo.org/svn/trunk@848 68402e56-0260-453c-a942-63ccdbb3a9ee
2005-08-21 21:23:17 +00:00

97 lines
2.6 KiB
Smarty

<div id="commentsPage">
<div id="content">
<div class="titrePage">
<ul class="categoryActions">
<li><a href="{U_HOME}" title="{lang:return to homepage}"><img src="./template/cclear/theme/home.png" alt="{lang:home}"/></a></li>
</ul>
<h2>{lang:User comments}</h2>
</div>
<form class="filter" action="{F_ACTION}" method="get">
<fieldset>
<legend>{lang:Filter}</legend>
<label>{lang:Keyword}<input type="text" name="keyword" value="{F_KEYWORD}" /></label>
<label>{lang:Author}<input type="text" name="author" value="{F_AUTHOR}" /></label>
<label>
{lang:Category}
<select name="cat">
<!-- BEGIN category -->
<option class="{category.CLASS}" {category.SELECTED} value="{category.VALUE}">{category.OPTION}</option>
<!-- END category -->
</select>
</label>
<label>
{lang:Since}
<select name="since">
<!-- BEGIN since_option -->
<option {since_option.SELECTED} value="{since_option.VALUE}">{since_option.CONTENT}</option>
<!-- END since_option -->
</select>
</label>
</fieldset>
<fieldset>
<legend>{lang:Display}</legend>
<label>
{lang:Sort by}
<select name="sort_by">
<!-- BEGIN sort_by_option -->
<option value="{sort_by_option.VALUE}" {sort_by_option.SELECTED} >{sort_by_option.CONTENT}</option>
<!-- END sort_by_option -->
</select>
</label>
<label>
{lang:Sort order}
<select name="sort_order">
<!-- BEGIN sort_order_option -->
<option value="{sort_order_option.VALUE}" {sort_order_option.SELECTED} >{sort_order_option.CONTENT}</option>
<!-- END sort_order_option -->
</select>
</label>
<label>
{lang:Number of items}
<select name="items_number">
<!-- BEGIN items_number_option -->
<option value="{items_number_option.VALUE}" {items_number_option.SELECTED} >{items_number_option.CONTENT}</option>
<!-- END items_option -->
</select>
</label>
</fieldset>
<input type="submit" name="submit" value="{lang:Filter and display}" />
</form>
<div class="navigationBar">{NAVBAR}</div>
<div id="comments">
<!-- BEGIN comment -->
<div class="comment">
<a class="illustration" href="{comment.U_PICTURE}"><img src="{comment.TN_SRC}" /></a>
<p class="commentHeader"><span class="author">{comment.AUTHOR}</span> - <span class="date">{comment.DATE}</span></p>
<blockquote>{comment.CONTENT}</blockquote>
<hr class="separation">
</div>
<!-- END comment -->
</div>
</div> <!-- content -->
</div> <!-- commentsPage -->