diff options
Diffstat (limited to '')
-rw-r--r-- | include/functions_notification.inc.php | 4 | ||||
-rw-r--r-- | template/yoga/mail/text/html/notification_by_mail.tpl | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/functions_notification.inc.php b/include/functions_notification.inc.php index 2f6d16ed3..7e630439c 100644 --- a/include/functions_notification.inc.php +++ b/include/functions_notification.inc.php @@ -522,7 +522,7 @@ function get_html_description_recent_post_date($date_detail) { global $conf; - $description = ''; + $description = '<ul>'; $description .= '<li>' @@ -564,6 +564,8 @@ function get_html_description_recent_post_date($date_detail) } $description .= '</ul>'; + $description .= '</ul>'; + return $description; } diff --git a/template/yoga/mail/text/html/notification_by_mail.tpl b/template/yoga/mail/text/html/notification_by_mail.tpl index ddc218002..225f11313 100644 --- a/template/yoga/mail/text/html/notification_by_mail.tpl +++ b/template/yoga/mail/text/html/notification_by_mail.tpl @@ -51,7 +51,7 @@ <div id="nbm_recent_post"> {foreach from=$recent_posts item=recent_post } <h2>{$recent_post.TITLE}</h2> - <ul>{$recent_post.HTML_DATA}</ul> + {$recent_post.HTML_DATA} {/foreach} {/if} </div> |