appdb/include testResults.php

WineHQ wineowner at wine.codeweavers.com
Sun Apr 2 22:51:27 CDT 2006


ChangeSet ID:	23912
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2006/04/02 22:51:27

Modified files:
	include        : testResults.php 

Log message:
	Tony Lambregts <tony.lambregts at gmail.com>
	Give maintainers/administrators an easy way to edit test results

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

Old revision  New revision  Changes     Path
 1.11          1.12          +5 -0       appdb/include/testResults.php

Index: appdb/include/testResults.php
diff -u -p appdb/include/testResults.php:1.11 appdb/include/testResults.php:1.12
--- appdb/include/testResults.php:1.11	3 Apr 2006  3:51:27 -0000
+++ appdb/include/testResults.php	3 Apr 2006  3:51:27 -0000
@@ -413,6 +413,11 @@ class testData{
             echo '    <td>'.$oTest->sInstalls.'&nbsp</td>',"\n";
             echo '    <td>'.$oTest->sRuns.'&nbsp</td>',"\n";
             echo '    <td>'.$oTest->sTestedRating.'&nbsp</td>',"\n";
+            if ($_SESSION['current']->hasAppVersionModifyPermission($oTest->iVersionId))
+            {
+                echo '<td><a href="'.BASE.'/admin/adminTestResults.php?sub=view&iTestingId='.$oTest->iTestingId.'">',"\n";
+                echo 'Edit</a></td>',"\n";
+            }
             echo '</tr>',"\n";
         }
 



More information about the wine-cvs mailing list