Fix naming of OutputEditor() to be outputEditor()
This commit is contained in:
committed by
WineHQ
parent
17de2854e0
commit
917851fceb
@@ -373,14 +373,11 @@ if ($aClean['sSub'])
|
||||
/* output the appropriate editors depending on whether we are processing an application */
|
||||
/* and a version or just a version */
|
||||
if($oApp)
|
||||
{
|
||||
$oApp->OutputEditor($sVendor);
|
||||
$oVersion->OutputEditor(false, false);
|
||||
} else
|
||||
{
|
||||
$oVersion->OutputEditor(false, false);
|
||||
}
|
||||
$oTest->OutputEditor($aClean['sDistribution']);
|
||||
$oApp->outputEditor($sVendor);
|
||||
|
||||
$oVersion->outputEditor(false, false);
|
||||
|
||||
$oTest->outputEditor($aClean['sDistribution']);
|
||||
|
||||
echo html_frame_start("Reply text", "90%", "", 0);
|
||||
echo "<table width='100%' border=0 cellpadding=2 cellspacing=0>\n";
|
||||
|
||||
@@ -53,7 +53,7 @@ if ($aClean['sSub'])
|
||||
Maintainer::ObjectDisplayQueueProcessingHelp();
|
||||
|
||||
$oMaintainer = new maintainer($aClean['iMaintainerId']);
|
||||
$oMaintainer->OutputEditor();
|
||||
$oMaintainer->outputEditor();
|
||||
|
||||
echo "<table border=1 cellpadding=2 cellspacing=0 style='margin-left:auto; margin-right:auto'>\n";
|
||||
|
||||
|
||||
@@ -98,7 +98,7 @@ if ($aClean['sSub'])
|
||||
|
||||
echo html_back_link(1, $_SERVER['PHP_SELF']);
|
||||
|
||||
$oTest->OutputEditor();
|
||||
$oTest->outputEditor();
|
||||
echo html_frame_start("Reply text", "90%", "", 0);
|
||||
echo "<table width='100%' border=0 cellpadding=2 cellspacing=0>\n";
|
||||
echo '<tr valign=top><td class="color0"><b>email Text</b></td>',"\n";
|
||||
|
||||
@@ -39,7 +39,7 @@ else
|
||||
|
||||
echo "<form method=\"post\" action=\"editAppFamily.php\">\n";
|
||||
|
||||
$oApp->OutputEditor("");
|
||||
$oApp->outputEditor("");
|
||||
|
||||
echo '<table border=0 cellpadding=6 cellspacing=0 width="100%">', "\n";
|
||||
echo '<tr><td colspan=2 align=center><input type="submit" name=sSubmit value="Update Database"></td></tr>',"\n";
|
||||
|
||||
@@ -45,7 +45,7 @@ if(!empty($aClean['sSub']))
|
||||
echo "<form method=post action='editAppNote.php'>\n";
|
||||
|
||||
/* display the editor for this note */
|
||||
$oNote->OutputEditor();
|
||||
$oNote->outputEditor();
|
||||
|
||||
echo '<center>';
|
||||
echo '<input type="submit" name=sPreview value="Preview"> ',"\n";
|
||||
|
||||
@@ -28,9 +28,9 @@ if(!empty($aClean['sSubmit']))
|
||||
echo "<form method=post action='editAppVersion.php'>\n";
|
||||
|
||||
if($_SESSION['current']->hasPriv("admin"))
|
||||
$oVersion->OutputEditor(true, true); /* false = not allowing the user to modify the parent application */
|
||||
$oVersion->outputEditor(true, true); /* false = not allowing the user to modify the parent application */
|
||||
else
|
||||
$oVersion->OutputEditor(false, true); /* false = not allowing the user to modify the parent application */
|
||||
$oVersion->outputEditor(false, true); /* false = not allowing the user to modify the parent application */
|
||||
|
||||
echo '<table border=0 cellpadding=2 cellspacing=0 width="100%">',"\n";
|
||||
echo '<tr><td colspan=2 align=center class=color2><input type="submit" name="sSubmit" value="Update Database" /></td></tr>',"\n";
|
||||
@@ -87,7 +87,7 @@ if(!empty($aClean['sSubmit']))
|
||||
echo "</form>";
|
||||
|
||||
/* Download URL editor */
|
||||
echo downloadurl::OutputEditor($oVersion, "editAppVersion.php");
|
||||
echo downloadurl::outputEditor($oVersion, "editAppVersion.php");
|
||||
|
||||
/* only admins can move versions */
|
||||
if($_SESSION['current']->hasPriv("admin"))
|
||||
|
||||
@@ -29,7 +29,7 @@ else
|
||||
|
||||
echo '<form name="sQform" action="'.$_SERVER['PHP_SELF'].'" method="post" enctype="multipart/form-data">',"\n";
|
||||
|
||||
$oDistribution->OutputEditor();
|
||||
$oDistribution->outputEditor();
|
||||
|
||||
echo '<tr valign=top><td class=color3 align=center colspan=2>',"\n";
|
||||
echo '<input name="sSubmit" type="submit" value="Submit" class="button" > ',"\n";
|
||||
|
||||
@@ -22,7 +22,7 @@ else
|
||||
// Show the form
|
||||
echo '<form name="sQform" action="'.$_SERVER['PHP_SELF'].'" method="post" enctype="multipart/form-data">',"\n";
|
||||
|
||||
$oVendor->OutputEditor();
|
||||
$oVendor->outputEditor();
|
||||
|
||||
echo '<tr valign=top><td class=color3 align=center colspan=2>',"\n";
|
||||
echo '<input name="sSubmit" type="submit" value="Submit" class="button" > ',"\n";
|
||||
|
||||
@@ -347,15 +347,11 @@ if ($aClean['sSub'])
|
||||
$oTest->sTestedDate = date('Y-m-d H:i:s');
|
||||
|
||||
if($aClean['sAppType'] == 'application')
|
||||
{
|
||||
$oApp->OutputEditor($aClean['sAppVendorName']);
|
||||
$oVersion->OutputEditor(false, false);
|
||||
} else
|
||||
{
|
||||
$oVersion->OutputEditor(false, false);
|
||||
}
|
||||
$oApp->outputEditor($aClean['sAppVendorName']);
|
||||
|
||||
$oTest->OutputEditor($aClean['sDistribution'],true);
|
||||
$oVersion->outputEditor(false, false);
|
||||
|
||||
$oTest->outputEditor($aClean['sDistribution'],true);
|
||||
|
||||
echo "<table width='100%' border=0 cellpadding=2 cellspacing=2>\n";
|
||||
|
||||
|
||||
@@ -499,7 +499,7 @@ class Application {
|
||||
|
||||
|
||||
/* output a html table and this applications values to the fields for editing */
|
||||
function OutputEditor($sVendorName)
|
||||
function outputEditor($sVendorName)
|
||||
{
|
||||
HtmlAreaLoaderScript(array("app_editor"));
|
||||
|
||||
@@ -575,8 +575,8 @@ class Application {
|
||||
return $errors;
|
||||
}
|
||||
|
||||
/* retrieves values from $aValues that were output by OutputEditor() */
|
||||
/* $aValues can be $_REQUEST or any array with the values from OutputEditor() */
|
||||
/* retrieves values from $aValues that were output by outputEditor() */
|
||||
/* $aValues can be $_REQUEST or any array with the values from outputEditor() */
|
||||
function GetOutputEditorValues($aValues)
|
||||
{
|
||||
$this->iAppId = $aValues['iAppId'];
|
||||
|
||||
@@ -360,7 +360,7 @@ class distribution{
|
||||
mail_appdb($sEmail, $sSubject ,$sMsg);
|
||||
}
|
||||
|
||||
function OutputEditor()
|
||||
function outputEditor()
|
||||
{
|
||||
echo html_frame_start("Distribution Form", "90%", "", 0);
|
||||
echo "<table width='100%' border=0 cellpadding=2 cellspacing=0>\n";
|
||||
@@ -378,8 +378,8 @@ class distribution{
|
||||
echo html_frame_end();
|
||||
}
|
||||
|
||||
/* retrieves values from $_REQUEST that were output by OutputEditor() */
|
||||
/* $aValues can be $_REQUEST or any array with the values from OutputEditor() */
|
||||
/* retrieves values from $_REQUEST that were output by outputEditor() */
|
||||
/* $aValues can be $_REQUEST or any array with the values from outputEditor() */
|
||||
function GetOutputEditorValues($aValues)
|
||||
{
|
||||
$this->iDistributionId = $aValues['iDistributionId'];
|
||||
|
||||
@@ -57,7 +57,7 @@ class downloadurl
|
||||
}
|
||||
|
||||
/* Output an editor for Download URL fields */
|
||||
function OutputEditor($oVersion, $sFormAction)
|
||||
function outputEditor($oVersion, $sFormAction)
|
||||
{
|
||||
/* Check for correct permissions */
|
||||
if(!downloadurl::canEdit($oVersion->iVersionId))
|
||||
|
||||
@@ -401,7 +401,7 @@ class maintainer
|
||||
echo "</td></tr></table></div>\n\n";
|
||||
}
|
||||
|
||||
function OutputEditor()
|
||||
function outputEditor()
|
||||
{
|
||||
//view application details
|
||||
echo html_frame_start("New Maintainer Form",600,"",0);
|
||||
|
||||
@@ -227,7 +227,7 @@ class Note {
|
||||
}
|
||||
|
||||
|
||||
function OutputEditor()
|
||||
function outputEditor()
|
||||
{
|
||||
HtmlAreaLoaderScript(array("editor"));
|
||||
|
||||
@@ -251,8 +251,8 @@ class Note {
|
||||
echo html_frame_end();
|
||||
}
|
||||
|
||||
/* retrieves values from $aValue that were output by OutputEditor() */
|
||||
/* $aValues can be $_REQUEST or any array with the values from OutputEditor() */
|
||||
/* retrieves values from $aValue that were output by outputEditor() */
|
||||
/* $aValues can be $_REQUEST or any array with the values from outputEditor() */
|
||||
function GetOutputEditorValues($aValues)
|
||||
{
|
||||
$this->iVersionId = $aValues['iVersionId'];
|
||||
|
||||
@@ -491,7 +491,7 @@ class testData{
|
||||
}
|
||||
|
||||
// show the fields for editing
|
||||
function OutputEditor($sDistribution="", $bNewDist=false)
|
||||
function outputEditor($sDistribution="", $bNewDist=false)
|
||||
{
|
||||
HtmlAreaLoaderScript(array("Test1", "Test2", "Test3"));
|
||||
|
||||
@@ -553,7 +553,7 @@ class testData{
|
||||
echo html_frame_end();
|
||||
}
|
||||
|
||||
/* $aValues can be $aValues or any array with the values from OutputEditor() */
|
||||
/* $aValues can be $aValues or any array with the values from outputEditor() */
|
||||
function CheckOutputEditorInput($aValues, $sDistribution="")
|
||||
{
|
||||
$errors = "";
|
||||
@@ -602,8 +602,8 @@ class testData{
|
||||
|
||||
}
|
||||
|
||||
/* retrieves values from $aValues that were output by OutputEditor() */
|
||||
/* $aValues can be $_REQUEST or any array with the values from OutputEditor() */
|
||||
/* retrieves values from $aValues that were output by outputEditor() */
|
||||
/* $aValues can be $_REQUEST or any array with the values from outputEditor() */
|
||||
function GetOutputEditorValues($aValues)
|
||||
{
|
||||
$this->iTestingId = $aValues['iTestingId'];
|
||||
|
||||
@@ -118,7 +118,7 @@ class Vendor {
|
||||
}
|
||||
}
|
||||
|
||||
function OutputEditor()
|
||||
function outputEditor()
|
||||
{
|
||||
echo html_frame_start("Vendor Form", "90%", "", 0);
|
||||
echo "<table width='100%' border=0 cellpadding=2 cellspacing=0>\n";
|
||||
|
||||
@@ -531,7 +531,7 @@ class Version {
|
||||
/* if $editParentApplication is true that means we need to display fields */
|
||||
/* to let the user change the parent application of this version */
|
||||
/* otherwise, if $editParentAppliation is false, we leave them out */
|
||||
function OutputEditor($editParentApplication, $editRatingAndRelease)
|
||||
function outputEditor($editParentApplication, $editRatingAndRelease)
|
||||
{
|
||||
HtmlAreaLoaderScript(array("version_editor"));
|
||||
echo html_frame_start("Version Form", "90%", "", 0);
|
||||
|
||||
@@ -129,7 +129,7 @@ if ($aClean['sSub'])
|
||||
}
|
||||
|
||||
// View Test Details
|
||||
$oTest->OutputEditor($aClean['sDistribution'],true);
|
||||
$oTest->outputEditor($aClean['sDistribution'],true);
|
||||
|
||||
echo '<a href="'.BASE."appview.php?iVersionId=".$oTest->iVersionId.'">Back to Version</a>';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user