Add a URL to the application/version and a few line breaks.

This commit is contained in:
Alexander Nicolaysen Sørnes
2006-12-30 06:13:46 +00:00
committed by WineHQ
parent 2055b14d73
commit 87cb1627e5

View File

@@ -82,9 +82,15 @@ 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);