diff --git a/modules/comment/lang/en.lang.php b/modules/comment/lang/en.lang.php index 8bc6908d1..c201816e2 100644 --- a/modules/comment/lang/en.lang.php +++ b/modules/comment/lang/en.lang.php @@ -28,4 +28,6 @@ 'last_update' => 'Last update', 'ipaddress' => 'IP Address', ); + + $lang->no_text_comment = 'No text in this comment.'; ?> diff --git a/modules/comment/lang/es.lang.php b/modules/comment/lang/es.lang.php index d1dfd720b..4240bb704 100644 --- a/modules/comment/lang/es.lang.php +++ b/modules/comment/lang/es.lang.php @@ -28,4 +28,6 @@ 'last_update' => 'Ultima actualización', 'ipaddress' => 'Dirección IP', ); + + $lang->no_text_comment = 'No text in this comment.'; ?> diff --git a/modules/comment/lang/fr.lang.php b/modules/comment/lang/fr.lang.php index aa9755333..39960e0be 100644 --- a/modules/comment/lang/fr.lang.php +++ b/modules/comment/lang/fr.lang.php @@ -29,4 +29,6 @@ 'last_update' => 'Mise à Jour', 'ipaddress' => 'Adresse IP', ); + + $lang->no_text_comment = 'No text in this comment.'; ?> diff --git a/modules/comment/lang/jp.lang.php b/modules/comment/lang/jp.lang.php index 3e31a87e1..05c55c038 100644 --- a/modules/comment/lang/jp.lang.php +++ b/modules/comment/lang/jp.lang.php @@ -29,4 +29,6 @@ 'last_update' => '最終更新日 ', 'ipaddress' => 'IPアドレス', ); + + $lang->no_text_comment = 'No text in this comment.'; ?> diff --git a/modules/comment/lang/ko.lang.php b/modules/comment/lang/ko.lang.php index 589336a4c..1c29e83c9 100644 --- a/modules/comment/lang/ko.lang.php +++ b/modules/comment/lang/ko.lang.php @@ -29,4 +29,6 @@ 'last_update' => '최근수정일 ', 'ipaddress' => 'IP 주소', ); + + $lang->no_text_comment = '텍스트가 없는 댓글입니다.'; ?> diff --git a/modules/comment/lang/ru.lang.php b/modules/comment/lang/ru.lang.php index c9151c3f3..331c41b70 100644 --- a/modules/comment/lang/ru.lang.php +++ b/modules/comment/lang/ru.lang.php @@ -29,4 +29,6 @@ 'last_update' => 'Дата последнего обновления', 'ipaddress' => 'IP-адрес', ); + + $lang->no_text_comment = 'No text in this comment.'; ?> diff --git a/modules/comment/lang/vi.lang.php b/modules/comment/lang/vi.lang.php index da0a75ca0..a8c2629b5 100644 --- a/modules/comment/lang/vi.lang.php +++ b/modules/comment/lang/vi.lang.php @@ -30,4 +30,6 @@ 'last_update' => 'Cập nhật lần cuối', 'ipaddress' => 'IP', ); + + $lang->no_text_comment = 'No text in this comment.'; ?> diff --git a/modules/comment/lang/zh-CN.lang.php b/modules/comment/lang/zh-CN.lang.php index b0790bcbd..b2cdf02ac 100644 --- a/modules/comment/lang/zh-CN.lang.php +++ b/modules/comment/lang/zh-CN.lang.php @@ -29,4 +29,6 @@ 'last_update' => '最后更新 ', 'ipaddress' => 'IP 地址', ); + + $lang->no_text_comment = 'No text in this comment.'; ?> diff --git a/modules/comment/lang/zh-TW.lang.php b/modules/comment/lang/zh-TW.lang.php index 370d6ca5a..0048e4675 100644 --- a/modules/comment/lang/zh-TW.lang.php +++ b/modules/comment/lang/zh-TW.lang.php @@ -29,4 +29,6 @@ 'last_update' => '最後更新', 'ipaddress' => 'IP位址', ); + + $lang->no_text_comment = 'No text in this comment.'; ?> diff --git a/modules/comment/tpl/comment_list.html b/modules/comment/tpl/comment_list.html index dfd9843b6..5a27b14f6 100644 --- a/modules/comment/tpl/comment_list.html +++ b/modules/comment/tpl/comment_list.html @@ -45,10 +45,11 @@ + {@ $comment = cut_str(trim(htmlspecialchars(strip_tags($val->content))), 200, '...')} {$no} - {cut_str(htmlspecialchars(strip_tags($val->content)),200,'...')} + {$comment}{$lang->no_text_comment} {htmlspecialchars($val->nick_name)} {(zdate($val->regdate,"Y-m-d\nH:i:s"))} {$val->ipaddress}