From 0283036dc202859af31a56d163e5c6fb085872e4 Mon Sep 17 00:00:00 2001 From: jacob Date: Tue, 6 Oct 2009 15:09:13 +0000 Subject: [PATCH] Updated the activity logging function for more generic use. --- admin/donors.php | 42 ++++++++++++++++++++++++++++++++---------- 1 file changed, 32 insertions(+), 10 deletions(-) diff --git a/admin/donors.php b/admin/donors.php index 0f60df3a..fc87c63a 100644 --- a/admin/donors.php +++ b/admin/donors.php @@ -100,7 +100,11 @@ switch($_GET['action']) { exit; break; case 'activityinfo_save': - save_activityinfo(); + if(save_activityinfo()){ + happy_(i18n("Activity Logged")); + }else{ + error_(i18n("Unable to save activity log")); + } exit; break; } @@ -356,16 +360,34 @@ function draw_activityinfo_form(){