diff --git a/ext/comment/theme.php b/ext/comment/theme.php
index 08976d9d..c0f8ca0b 100644
--- a/ext/comment/theme.php
+++ b/ext/comment/theme.php
@@ -157,33 +157,37 @@ class CommentListTheme extends Themelet {
}
$stripped_nonl = str_replace("\n", "\\n", substr($tfe->stripped, 0, 50));
$stripped_nonl = str_replace("\r", "\\r", $stripped_nonl);
- $h_dellink = $user->is_admin() ?
- '
('.$h_poster_ip.', '.$h_timestamp.', Del)' : '';
if($trim) {
return '
'.$h_userlink.': '.$h_comment.'
>>>
- '.$h_dellink.'
';
}
else {
- //$avatar = "";
- //if(!empty($comment->owner->email)) {
- // $hash = md5(strtolower($comment->owner->email));
- // $avatar = "
";
- //}
+ $avatar = "";
+ if(!empty($comment->owner_email)) {
+ $hash = md5(strtolower($comment->owner_email));
+ $avatar = "
";
+ }
+ $a = $user->is_admin();
+ $h_reply = " - Reply";
+ $h_ip = $a ? "
$h_poster_ip" : "";
+ $h_del = $a ?
+ ' - Del' : '';
return '