aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2009-04-26 14:59:15 +0000
committerrub <rub@piwigo.org>2009-04-26 14:59:15 +0000
commit1bbf9a9f64b2c27009ee2bc2c39d8d4b25714c6f (patch)
treee991db050f37415bed401e14ee435df52381f6ee
parentce93e60cb0f3f7f8ff160fce507c46cb37a1b6a1 (diff)
Rollback "Missing <ul> on NBM" in order to dd <ul> on feed too.
git-svn-id: http://piwigo.org/svn/trunk@3257 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--include/functions_notification.inc.php4
-rw-r--r--template/yoga/mail/text/html/notification_by_mail.tpl2
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>