aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/comment_list.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2008-08-21 01:14:03 +0000
committerrvelices <rv-github@modusoptimus.com>2008-08-21 01:14:03 +0000
commit685f4e2998ba782b03bd0488131a6e1665de0955 (patch)
tree535929a845d0139653fd9d39e25e384cc43298c1 /template/yoga/comment_list.tpl
parent5a6298548b194e0987cdccc8a11b04efa8c9fd61 (diff)
- tried to reduce the number of css rules and selectors (most gains on menubar and usercomments) tested with IE6,IE7,FF,Opera9,Safari3
git-svn-id: http://piwigo.org/svn/trunk@2480 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/comment_list.tpl32
1 files changed, 32 insertions, 0 deletions
diff --git a/template/yoga/comment_list.tpl b/template/yoga/comment_list.tpl
new file mode 100644
index 000000000..334b07a1a
--- /dev/null
+++ b/template/yoga/comment_list.tpl
@@ -0,0 +1,32 @@
+{* $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">
+ {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) }
+ <ul class="actions" style="float:right">
+ {if isset($comment.U_DELETE)}
+ <li>
+ <a href="{$comment.U_DELETE}" title="{'comments_del'|@translate}">
+ <img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[{'delete'|@translate}]"/>
+ </a>
+ </li>{/if}
+
+ {if isset($comment.U_VALIDATE)}
+ <li>
+ <a href="{$comment.U_VALIDATE}" title="validate this comment">
+ <img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" alt="[validate]"/>
+ </a>
+ </li>{/if}
+ </ul>
+ {/if}
+ <span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span>
+ </div>
+
+ <blockquote>{$comment.CONTENT}</blockquote>
+ </div>
+ <hr/>
+{/foreach}
+