Revision: 1290
http://mrbs.svn.sourceforge.net/mrbs/?rev=1290&view=rev
Author: cimorrison
Date: 2010-02-03 12:01:23 +0000 (Wed, 03 Feb 2010)
Log Message:
-----------
Added the name of the deleting user to email notifications of deleted entries.
Modified Paths:
--------------
mrbs/trunk/web/functions_mail.inc
mrbs/trunk/web/lang.en
Modified: mrbs/trunk/web/functions_mail.inc
===================================================================
--- mrbs/trunk/web/functions_mail.inc 2010-01-20 10:03:46 UTC (rev 1289)
+++ mrbs/trunk/web/functions_mail.inc 2010-02-03 12:01:23 UTC (rev 1290)
@@ -645,8 +645,12 @@
{
$subject = get_mail_vocab("mail_subject_delete");
$body = get_mail_vocab("mail_body_del_entry") . "\n\n";
+ // Give the name of the person deleting the entry (might not
+ // be the same as the creator)
+ $body .= get_mail_vocab("deleted_by") . ': ';
+ $body .= convertToMailCharset($user) . "\n";
}
-
+
// Displays deleted entry details
$body .= "\n" . get_mail_vocab("namebooker") . ': ';
$body .= convertToMailCharset($mail_previous['namebooker']) . "\n";
Modified: mrbs/trunk/web/lang.en
===================================================================
--- mrbs/trunk/web/lang.en 2010-01-20 10:03:46 UTC (rev 1289)
+++ mrbs/trunk/web/lang.en 2010-02-03 12:01:23 UTC (rev 1290)
@@ -141,6 +141,7 @@
$vocab["mail_body_del_entry"] = "An entry has been deleted, here are the
details:";
$vocab["mail_body_changed_entry"] = "An entry has been modified, here are the
details:";
$vocab["mail_subject_delete"] = "Entry deleted for $mrbs_company MRBS";
+$vocab["deleted_by"] = "Deleted by";
$vocab["reason"] = "Reason";
$vocab["info_requested"] = "Information requested";
$vocab["min_time_before"] = "The minimum interval between now and the
start of a booking is";
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits