From 4db61a411abca5ebeb170509e2870ca38c618869 Mon Sep 17 00:00:00 2001 From: Pascal Corpet Date: Sat, 15 Jan 2005 14:04:57 +0000 Subject: [PATCH] closes 215 : singular/plural in notifications git-archimport-id: opensource@polytechnique.org--2005/platal--mainline--0.9--patch-342 --- ChangeLog | 1 + bin/cron/notifs.send.php | 4 ++-- templates/carnet/panel.tpl | 12 +++++++++++- upgrade/0.9.4/60_watch.sql | 8 +++++++- 4 files changed, 21 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index bfe4c2e..e355994 100644 --- a/ChangeLog +++ b/ChangeLog @@ -65,6 +65,7 @@ Bug/Wish : * Notifications : - #63: Birthdays are now in the notifications ! -MC + - #215: The notifications use singular or plural. -Car - #232: Add a link to the fiche. -MC/Car * Profile : diff --git a/bin/cron/notifs.send.php b/bin/cron/notifs.send.php index 2c1abf4..bee2e03 100755 --- a/bin/cron/notifs.send.php +++ b/bin/cron/notifs.send.php @@ -47,8 +47,8 @@ foreach($all->_data as $u) { EOF; foreach($u['data'] as $cid=>$d) { - $text .= " {$all->_cats[$cid]['mail']} :\n\n"; - $html .= "

{$all->_cats[$cid]['mail']} :

\n