From c6cdf6b8821c34f7227b6c95470d1b186b9d4982 Mon Sep 17 00:00:00 2001 From: x2001corpet Date: Sun, 4 Jun 2006 14:26:46 +0000 Subject: [PATCH] bug 410 ajout d'un lien pour remonter au sommaire apres chaque article git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@288 839d8a87-29fc-0310-9880-83ba4fa771e5 --- ChangeLog | 3 +++ include/newsletter.inc.php | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f9fa7f0..0d052bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,9 @@ Bug/Wish : * Core : - #411: Count chars in events proposals to make them smaller. -Car + * Newsletter : + - #410: In Html newsletter add a link to go back to summary. -Car + * Search : - #412: Error SQL in big referent searches. -Car diff --git a/include/newsletter.inc.php b/include/newsletter.inc.php index 9e960d3..32ab3e1 100644 --- a/include/newsletter.inc.php +++ b/include/newsletter.inc.php @@ -252,6 +252,7 @@ class NewsLetter } $i = 1; + $res .= ""; foreach ($this->_arts as $cid=>$arts) { $res .= "
$i. {$this->_cats[$cid]}"; foreach ($arts as $art) { @@ -264,7 +265,8 @@ class NewsLetter foreach ($this->_arts as $cid=>$arts) { $res .= "

".$this->_cats[$cid].'

'; foreach($arts as $art) { - $res .= $art->toHtml(); + $res .= $art->toHtml(); + $res .= "

Revenir au sommaire

"; } } -- 2.1.4