aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/comment_list.tpl
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2012-03-29 19:34:00 +0000
committerrvelices <rv-github@modusoptimus.com>2012-03-29 19:34:00 +0000
commit0929426813a04f627ff3ef357138a154c79f368a (patch)
tree5ca23984b6f53c16d87e1ec07fa3d9842e82ba85 /themes/default/template/comment_list.tpl
parentdd9d0beded1bd4629d42dfc19d9779c9e819104e (diff)
removed unused css, merged some css, etc...
git-svn-id: http://piwigo.org/svn/trunk@13801 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default/template/comment_list.tpl')
-rw-r--r--themes/default/template/comment_list.tpl12
1 files changed, 5 insertions, 7 deletions
diff --git a/themes/default/template/comment_list.tpl b/themes/default/template/comment_list.tpl
index 315cbfe07..b73cc39e2 100644
--- a/themes/default/template/comment_list.tpl
+++ b/themes/default/template/comment_list.tpl
@@ -1,18 +1,17 @@
{if isset($comment_derivative_params)}
{strip}{html_style}
-.commentElement DIV.illustration{ldelim}
- width: {$comment_derivative_params->max_width()+5}px;
+.commentElement .illustration{ldelim}
+ width: {$comment_derivative_params->max_width()+5}px
}
.content .commentElement .description{ldelim}
- height: {$comment_derivative_params->max_height()+5}px;
+ height: {$comment_derivative_params->max_height()+5}px
}
{/html_style}{/strip}
{/if}
<ul class="commentsList">
{foreach from=$comments item=comment name=comment_loop}
-<li>
- <div class="commentElement {if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}">
+<li class="commentElement {if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}">
{if isset($comment.src_image)}
<div class="illustration">
<a href="{$comment.U_PICTURE}">
@@ -41,7 +40,7 @@
</div>
{/if}
- <span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span>
+ <span class="commentAuthor">{$comment.AUTHOR}</span> - <span class="commentDate">{$comment.DATE}</span>
{if isset($comment.IN_EDIT)}
<a name="edit_comment"></a>
<form method="post" action="{$comment.U_EDIT}" class="filter" id="editComment">
@@ -57,7 +56,6 @@
<blockquote><div>{$comment.CONTENT}</div></blockquote>
{/if}
</div>
- </div>
</li>
{/foreach}
</ul>