appdb/include testData.php

WineHQ wineowner at wine.codeweavers.com
Tue Jan 9 21:44:26 CST 2007


ChangeSet ID:	30873
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2007/01/09 21:44:26

Modified files:
	include        : testData.php 

Log message:
	Chris Morgan <cmorgan at alum.wpi.edu>
	Test data processing emails should contain the name of the user accepting, rejecting or deleting the entries

Patch: http://cvs.winehq.org/patch.py?id=30873

Old revision  New revision  Changes     Path
 1.19          1.20          +3 -3       appdb/include/testData.php

Index: appdb/include/testData.php
diff -u -p appdb/include/testData.php:1.19 appdb/include/testData.php:1.20
--- appdb/include/testData.php:1.19	10 Jan 2007  3:44:26 -0000
+++ appdb/include/testData.php	10 Jan 2007  3:44:26 -0000
@@ -261,19 +261,19 @@ class testData{
             {
             case "add":
                 $sSubject =  "Submitted testing data accepted";
-                $sMsg  = "The testing data you submitted for '$sName' has been accepted.";
+                $sMsg  = "The testing data you submitted for '$sName' has been accepted by ".$_SESSION['current']->sRealname.".";
                 $sMsg .= APPDB_ROOT."appview.php?iVersionId=".$this->iVersionId."&iTestingId=".$this->iTestingId."\n";
                 $sMsg .= "Administrators Responce:\n";
             break;
             case "reject":
                 $sSubject =  "Submitted testing data rejected";
-                $sMsg  = "The testing data you submitted for '$sName' has been rejected.";
+                $sMsg  = "The testing data you submitted for '$sName' has been rejected by ".$_SESSION['current']->sRealname.".";
                 $sMsg .= APPDB_ROOT."testResults.php?sSub=view&iTestingId=".$this->iTestingId."\n";
                 $sMsg .= "Reason given:\n";
             break;
             case "delete":
                 $sSubject =  "Submitted testing data deleted";
-                $sMsg  = "The testing data you submitted for '$sName' has been deleted.";
+                $sMsg  = "The testing data you submitted for '$sName' has been deleted by ".$_SESSION['current']->sRealname.".";
                 $sMsg .= "Reason given:\n";
             break;
             }



More information about the wine-cvs mailing list