aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/comment_list.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/template/comment_list.tpl')
-rw-r--r--themes/default/template/comment_list.tpl12
1 files changed, 6 insertions, 6 deletions
diff --git a/themes/default/template/comment_list.tpl b/themes/default/template/comment_list.tpl
index 433de1ff2..5fe4e2f47 100644
--- a/themes/default/template/comment_list.tpl
+++ b/themes/default/template/comment_list.tpl
@@ -1,16 +1,16 @@
{if isset($comment_derivative_params)}
{strip}{html_style}
-.commentElement .illustration{ldelim}
- width: {$comment_derivative_params->max_width()+5}px
+.commentElement .illustration{
+ width:{$comment_derivative_params->max_width()+5}px
}
-.content .commentElement .description{ldelim}
- min-height: {$comment_derivative_params->max_height()+5}px
+.content .commentElement .description{
+ min-height:{$comment_derivative_params->max_height()+5}px
}
{/html_style}{/strip}
-{/if}
{footer_script}var error_icon = "{$ROOT_URL}{$themeconf.icon_dir}/errors_small.png";{/footer_script}
<div class="loader"><img src="{$ROOT_URL}{$themeconf.img_dir}/ajax_loader.gif"></div>
+{/if}
<ul class="commentsList">
{foreach from=$comments item=comment name=comment_loop}
<li class="commentElement {if $smarty.foreach.comment_loop.index is odd}odd{else}even{/if}">
@@ -57,7 +57,7 @@
{/if}
<span class="commentAuthor">{if $comment.WEBSITE_URL}<a href="{$comment.WEBSITE_URL}" class="external" target="_blank" rel="nofollow">{$comment.AUTHOR}</a>{else}{$comment.AUTHOR}{/if}</span>
- {if $comment.EMAIL}- <a href="mailto:{$comment.EMAIL}">{$comment.EMAIL}</a>{/if}
+ {if isset($comment.EMAIL)}- <a href="mailto:{$comment.EMAIL}">{$comment.EMAIL}</a>{/if}
- <span class="commentDate">{$comment.DATE}</span>
{if isset($comment.IN_EDIT)}
<a name="edit_comment"></a>