From 968569b3fa17b7dd52adfe61f240001e63998415 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Nicolaysen=20S=C3=B8rnes?= Date: Sat, 25 Apr 2009 19:50:17 +0200 Subject: [PATCH] testData: only show Move link to super maintianers --- include/testData.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/testData.php b/include/testData.php index 8217220..6789ec0 100644 --- a/include/testData.php +++ b/include/testData.php @@ -618,10 +618,15 @@ class testData{ if ($this->iTestingId && $_SESSION['current']->hasAppVersionModifyPermission($oVersion)) { $oObject = new objectManager('testData'); + if($oApp->canEdit()) + $shChangeParentLink = 'Move'."\n"; + else + $shChangeParentLink = ''; + $oTableRow->AddTextCell(''. 'Edit   '."\n". - 'Move'."\n". + $shChangeParentLink. 'Delete'."\n"); }