Move hidden fields used by application and version class into their OutputEditor() member functions. Fix broken old style calls to application and version update() functions that were passing parameters in. Fix broken application::CheckOutputEditorInput()

This commit is contained in:
Chris Morgan
2005-10-16 04:24:37 +00:00
committed by WineHQ
parent 93ab2587ef
commit 657167e8a5
7 changed files with 85 additions and 55 deletions

View File

@@ -144,7 +144,8 @@ if (isset($_REQUEST['apptype']))
$oApp->OutputEditor($_REQUEST['appVendorName']);
}
$oVersion->OutputEditor(false); /* don't let the user change the parent application */
$oVersion->OutputEditor(false, false); /* don't let the user change the parent application,
don't display the rating and distribution dropdowns */
echo '<input type="hidden" name="apptype" value="'.$_REQUEST['apptype'].'">',"\n";