added static defines to incl.php (for emails)
updated email sent out on delete comment to include the correct URL
This commit is contained in:
committed by
Jeremy Newman
parent
fb0da948c3
commit
1e797f9364
@@ -65,7 +65,7 @@ $email = getNotifyEmailAddressList($appId, $versionId);
|
||||
if($email)
|
||||
{
|
||||
$fullAppName = "Application: ".lookupAppName($appId)." Version: ".lookupVersionName($appId, $versionId);
|
||||
$ms .= apidb_fullurl("appview.php?appId=$appId&versionId=$versionId")."\n";
|
||||
$ms .= APPDB_ROOT."appview.php?appId=$appId&versionId=$versionId\n";
|
||||
$ms .= "\n";
|
||||
$ms .= ($current->username ? $current->username : "Anonymous")." deleted comment from ".$fullAppName."\n";
|
||||
$ms .= "\n";
|
||||
|
||||
@@ -238,9 +238,12 @@ function dumpmsgbuffer()
|
||||
mysql_query("DELETE FROM sessionMessages WHERE sessionId = '$PHPSESSID'");
|
||||
}
|
||||
|
||||
/*
|
||||
* Statics
|
||||
*/
|
||||
define("APPDB_ROOT", "http://appdb.winehq.org/");
|
||||
define("STANDARD_NOTIFY_FOOTER","------- You are receiving this mail because: -------\n".
|
||||
"You are an maintainer of this app or an appdb administrator\n".
|
||||
"to change your preverences go to: http://appdb.winehq.org/preferences.php\n");
|
||||
|
||||
"You are an maintainer of this app or an appdb administrator\n".
|
||||
"to change your preferences go to: ".APPDB_ROOT."preferences.php\n");
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user