Include the real name of the user deleting, rejecting and accepting applications and versions
This commit is contained in:
@@ -342,12 +342,12 @@ class Application {
|
|||||||
{
|
{
|
||||||
case "add":
|
case "add":
|
||||||
$sSubject = "Submitted application accepted";
|
$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";
|
$sMsg .= "Administrators Responce:\n";
|
||||||
break;
|
break;
|
||||||
case "reject":
|
case "reject":
|
||||||
$sSubject = "Submitted application rejected";
|
$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 .= "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 .= "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";
|
$sMsg .= APPDB_ROOT."appsubmit.php?sub=view&apptype=application&appId=".$this->iAppId."\n";
|
||||||
@@ -355,7 +355,7 @@ class Application {
|
|||||||
break;
|
break;
|
||||||
case "delete":
|
case "delete":
|
||||||
$sSubject = "Submitted application deleted";
|
$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";
|
$sMsg .= "Reason given:\n";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
@@ -404,12 +404,12 @@ class Version {
|
|||||||
{
|
{
|
||||||
case "add":
|
case "add":
|
||||||
$sSubject = "Submitted version accepted";
|
$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";
|
$sMsg .= "Administrators Responce:\n";
|
||||||
break;
|
break;
|
||||||
case "reject":
|
case "reject":
|
||||||
$sSubject = "Submitted version rejected";
|
$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 .= "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 .= "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";
|
$sMsg .= APPDB_ROOT."appsubmit.php?sSub=view&sAppType=version&iVersionId=".$this->iVersionId."\n";
|
||||||
@@ -417,7 +417,7 @@ class Version {
|
|||||||
break;
|
break;
|
||||||
case "delete":
|
case "delete":
|
||||||
$sSubject = "Submitted version deleted";
|
$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";
|
$sMsg .= "Reason given:\n";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user