appdb/include testData.php

WineHQ wineowner at wine.codeweavers.com
Sun Jul 8 12:37:34 CDT 2007


ChangeSet ID:	31242
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2007/07/08 12:37:34

Modified files:
	include        : testData.php 

Log message:
	Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
	Add 'delete' link to enable deleting testData

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

Old revision  New revision  Changes     Path
 1.63          1.64          +4 -1       appdb/include/testData.php

Index: appdb/include/testData.php
diff -u -p appdb/include/testData.php:1.63 appdb/include/testData.php:1.64
--- appdb/include/testData.php:1.63	8 Jul 2007 17:37:34 -0000
+++ appdb/include/testData.php	8 Jul 2007 17:37:34 -0000
@@ -514,7 +514,10 @@ class testData{
                 $oObject = new objectManager("testData");
                 echo '<td><a href="'.$oObject->makeUrl("edit", $oTest->iTestingId,
                         "Edit Test Results").'">',"\n";
-                echo 'Edit</a></td>',"\n";
+                echo 'Edit</a> &nbsp; ',"\n";
+                echo '<a href="objectManager.php?sClass=testData&bIsQueue=false&sAction='.
+                        'delete&iId='.$oTest->iTestingId.'&sTitle=Delete+Test+Results'.
+                        '">Delete</a></td>',"\n";
             }
             echo '</tr>',"\n";
         }



More information about the wine-cvs mailing list