Fix naming of OutputEditor() to be outputEditor()

This commit is contained in:
Alexander Nicolaysen Sørnes
2007-01-17 03:18:49 +00:00
committed by WineHQ
parent 17de2854e0
commit 917851fceb
18 changed files with 37 additions and 44 deletions

View File

@@ -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";

View File

@@ -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";

View File

@@ -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";

View File

@@ -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";

View File

@@ -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">&nbsp',"\n";

View File

@@ -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"))

View File

@@ -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" >&nbsp',"\n";

View File

@@ -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" >&nbsp',"\n";

View File

@@ -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";

View File

@@ -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'];

View File

@@ -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'];

View File

@@ -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))

View File

@@ -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);

View File

@@ -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'];

View File

@@ -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'];

View File

@@ -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";

View File

@@ -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);

View File

@@ -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>';