ChangeSet ID: 29968
CVSROOT: /opt/cvs-commit
Module name: appdb
Changes by: wineowner(a)winehq.org 2006/11/21 19:41:36
Modified files:
include : application.php version.php
Log message:
Include the real name of the user deleting, rejecting and accepting applications and versions
Patch: http://cvs.winehq.org/patch.py?id=29968
Old revision New revision Changes Path
1.74 1.75 +3 -3 appdb/include/application.php
1.82 1.83 +3 -3 appdb/include/version.php
Index: appdb/include/application.php
diff -u -p appdb/include/application.php:1.74 appdb/include/application.php:1.75
--- appdb/include/application.php:1.74 22 Nov 2006 1:41:36 -0000
+++ appdb/include/application.php 22 Nov 2006 1:41:36 -0000
@@ -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;
Index: appdb/include/version.php
diff -u -p appdb/include/version.php:1.82 appdb/include/version.php:1.83
--- appdb/include/version.php:1.82 22 Nov 2006 1:41:36 -0000
+++ appdb/include/version.php 22 Nov 2006 1:41:36 -0000
@@ -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;
}