aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/comment_list.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-08-22 00:45:03 +0000
committerrvelices <rv-github@modusoptimus.com>2008-08-22 00:45:03 +0000
commit0b32dd4c0bd53092fed21a0262dce0ebbd2afb9f (patch)
tree9a5cf9016316c94505d80475d39a25fe3d6e25ad /template/yoga/comment_list.tpl
parent685f4e2998ba782b03bd0488131a6e1665de0955 (diff)
- further reduce css rules and remove unused ones
- added a smarty prefilter so that html output is nicely indented now ... git-svn-id: http://piwigo.org/svn/trunk@2481 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/comment_list.tpl')
-rw-r--r--template/yoga/comment_list.tpl35
1 files changed, 20 insertions, 15 deletions
diff --git a/template/yoga/comment_list.tpl b/template/yoga/comment_list.tpl
index 334b07a1a..320f79717 100644
--- a/template/yoga/comment_list.tpl
+++ b/template/yoga/comment_list.tpl
@@ -1,32 +1,37 @@
{* $Id$ *}
{foreach from=$comments item=comment}
- <div class="comment" >
- {if isset($comment.TN_SRC)}
- <a class="illustration" href="{$comment.U_PICTURE}"><img src="{$comment.TN_SRC}" alt="{$comment.ALT}" /></a>
- {/if}
- <div class="commentHeader">
+ <div class="thumbnailCategory">
+ {if isset($comment.TN_SRC)}
+ <div class="illustration">
+ <a href="{$comment.U_PICTURE}">
+ <img src="{$comment.TN_SRC}" alt="{$comment.ALT}" />
+ </a>
+ </div>
+ {/if}
+ <div class="description">
{if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) }
<ul class="actions" style="float:right">
{if isset($comment.U_DELETE)}
- <li>
+ <li>
<a href="{$comment.U_DELETE}" title="{'comments_del'|@translate}">
- <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[{'delete'|@translate}]"/>
+ <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[delete]" />
</a>
- </li>{/if}
-
+ </li>
+ {/if}
{if isset($comment.U_VALIDATE)}
- <li>
+ <li>
<a href="{$comment.U_VALIDATE}" title="validate this comment">
- <img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" alt="[validate]"/>
+ <img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" alt="[validate]" />
</a>
- </li>{/if}
+ </li>
+ {/if}
</ul>
{/if}
<span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span>
+ <blockquote>{$comment.CONTENT}</blockquote>
</div>
-
- <blockquote>{$comment.CONTENT}</blockquote>
</div>
+ {if isset($comment_separator)}
<hr/>
+ {/if}
{/foreach}
-