aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-02-11 00:06:14 +0000
committerrub <rub@piwigo.org>2007-02-11 00:06:14 +0000
commit8a8c80d4405d2bd3300558aa29848937bcf77f5d (patch)
tree4fbf23998f54a08f434f2509f6970257863ddf3d
parentf18bded8a4927529ae6696ec78e277b804eabf75 (diff)
Add picture link on RSS & mail notification.
git-svn-id: http://piwigo.org/svn/trunk@1802 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/functions_notification.inc.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/functions_notification.inc.php b/include/functions_notification.inc.php
index a69bd4211..c7f3fdc49 100644
--- a/include/functions_notification.inc.php
+++ b/include/functions_notification.inc.php
@@ -534,7 +534,9 @@ function get_html_description_recent_post_date($date_detail)
foreach($date_detail['elements'] as $element)
{
$tn_src = get_thumbnail_url($element);
- $description .= '<img src="'.$tn_src.'"/>';
+ $description .= '<a href="'.
+ make_picture_url(array('image_id' => $element['id']))
+ .'"><img src="'.$tn_src.'"/></a>';
}
$description .= '...<br/>';