Fix testData::create() permissions. Separate the cases where a user has edit rights from

when he has the right to unqueue items
This commit is contained in:
Alexander Nicolaysen Sørnes
2007-04-19 23:45:15 +00:00
committed by WineHQ
parent 2a58cf59af
commit c43563eca6
8 changed files with 201 additions and 30 deletions

View File

@@ -697,7 +697,9 @@ class Application {
}
if($_SESSION['current']->isLoggedIn())
{
echo '<form method="post" name="sMessage" action="appsubmit.php?iAppId='.$this->iAppId.'&amp;sAppType=version&amp;sub=view">';
echo '<form method="post" name="sMessage" action="'.
'objectManager.php?sClass=version_queue&iAppId='.$this->iAppId
.'&sTitle=Submit+New+Version&sAction=add">';
echo '<input type=submit value="Submit new version" class="button">';
echo '</form>';
}