Add a URL to the application/version and a few line breaks.
This commit is contained in:
committed by
WineHQ
parent
2055b14d73
commit
87cb1627e5
@@ -82,13 +82,19 @@ class maintainer
|
|||||||
$sEmail = $oUser->sEmail;
|
$sEmail = $oUser->sEmail;
|
||||||
if ($sEmail)
|
if ($sEmail)
|
||||||
{
|
{
|
||||||
|
if($this->iVersionId)
|
||||||
|
$sURL = APPDB_ROOT."appview.php?iVersionId=$this->iVersionId";
|
||||||
|
else
|
||||||
|
$sURL = APPDB_ROOT."appview.php?iAppId=$this->iAppId";
|
||||||
|
|
||||||
$sSubject = "Application Maintainer Request Report";
|
$sSubject = "Application Maintainer Request Report";
|
||||||
$sMsg = "Your application to be the maintainer of ".$oApp->sName." ".$oVersion->sName." has been accepted. ";
|
$sMsg = "Your application to be the maintainer of ".$oApp->sName." ".$oVersion->sName." has been accepted.\n";
|
||||||
$sMsg .= $sReplyText;
|
$sMsg .= "$sURL\n";
|
||||||
|
$sMsg .= "$sReplyText\n";
|
||||||
$sMsg .= "We appreciate your help in making the Application Database better for all users.\n\n";
|
$sMsg .= "We appreciate your help in making the Application Database better for all users.\n\n";
|
||||||
|
|
||||||
mail_appdb($sEmail, $sSubject ,$sMsg);
|
mail_appdb($sEmail, $sSubject ,$sMsg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user