From e1333dd7fc1af0fdf56e5180f00243fc5ccea810 Mon Sep 17 00:00:00 2001 From: WineHQ Date: Wed, 22 Nov 2006 01:41:36 +0000 Subject: [PATCH] Include the real name of the user deleting, rejecting and accepting applications and versions --- include/application.php | 6 +++--- include/version.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/application.php b/include/application.php index 7520300..dd022fb 100644 --- a/include/application.php +++ b/include/application.php @@ -342,12 +342,12 @@ class Application { { case "add": $sSubject = "Submitted application accepted"; - $sMsg = "The application you submitted (".$oApp->sName." ".$this->sName.") has been accepted."; + $sMsg = "The application you submitted (".$oApp->sName." ".$this->sName.") has been accepted by ".$_SESSION['current']->sRealname."."; $sMsg .= "Administrators Responce:\n"; break; case "reject": $sSubject = "Submitted application rejected"; - $sMsg = "The application you submitted (".$oApp->sName." ".$this->sName.") has been rejected."; + $sMsg = "The application you submitted (".$oApp->sName." ".$this->sName.") has been rejected by ".$_SESSION['current']->sRealname."."; $sMsg .= "Clicking on the link in this email will allow you to modify and resubmit the application. "; $sMsg .= "A link to your queue of applications and versions will also show up on the left hand side of the Appdb site once you have logged in. "; $sMsg .= APPDB_ROOT."appsubmit.php?sub=view&apptype=application&appId=".$this->iAppId."\n"; @@ -355,7 +355,7 @@ class Application { break; case "delete": $sSubject = "Submitted application deleted"; - $sMsg = "The application you submitted (".$oApp->sName." ".$this->sName.") has been deleted."; + $sMsg = "The application you submitted (".$oApp->sName." ".$this->sName.") has been deleted by ".$_SESSION['current']->sRealname."."; $sMsg .= "Reason given:\n"; break; diff --git a/include/version.php b/include/version.php index 726efde..5b6ff23 100644 --- a/include/version.php +++ b/include/version.php @@ -404,12 +404,12 @@ class Version { { case "add": $sSubject = "Submitted version accepted"; - $sMsg = "The version you submitted (".$oApp->sName." ".$this->sName.") has been accepted."; + $sMsg = "The version you submitted (".$oApp->sName." ".$this->sName.") has been accepted by ".$_SESSION['current']->sRealname."."; $sMsg .= "Administrators Responce:\n"; break; case "reject": $sSubject = "Submitted version rejected"; - $sMsg = "The version you submitted (".$oApp->sName." ".$this->sName.") has been rejected. "; + $sMsg = "The version you submitted (".$oApp->sName." ".$this->sName.") has been rejected by ".$_SESSION['current']->sRealname."."; $sMsg .= "Clicking on the link in this email will allow you to modify and resubmit the version. "; $sMsg .= "A link to your queue of applications and versions will also show up on the left hand side of the Appdb site once you have logged in. "; $sMsg .= APPDB_ROOT."appsubmit.php?sSub=view&sAppType=version&iVersionId=".$this->iVersionId."\n"; @@ -417,7 +417,7 @@ class Version { break; case "delete": $sSubject = "Submitted version deleted"; - $sMsg = "The version you submitted (".$oApp->sName." ".$this->sName.") has been deleted."; + $sMsg = "The version you submitted (".$oApp->sName." ".$this->sName.") has been deleted by ".$_SESSION['current']->sRealname."."; $sMsg .= "Reason given:\n"; break; }