Use html_tr() function in distribution::outputEditor()
This commit is contained in:
committed by
WineHQ
parent
b584fe1df7
commit
efae38f6bf
@@ -346,19 +346,27 @@ class distribution {
|
|||||||
echo "<table width='100%' border=0 cellpadding=2 cellspacing=0>\n";
|
echo "<table width='100%' border=0 cellpadding=2 cellspacing=0>\n";
|
||||||
|
|
||||||
// Name
|
// Name
|
||||||
echo '<tr valign=top><td class="color1" width="20%"><b>Distribution Name</b></td>',"\n";
|
echo html_tr(array(
|
||||||
echo '<td class="color0"><input type=text name="sDistribution" value="'.$this->sName.'" size="50"></td></tr>',"\n";
|
array("<b>Distribution Name</b>", 'class="color1"'),
|
||||||
// Url
|
array('<input type=text name="sDistribution" value="'.$this->sName.
|
||||||
echo '<tr valign=top><td class="color1"><b>Distribution Url</b></td>',"\n";
|
'" size="50" />', 'class="color0"')
|
||||||
echo '<td class="color0"><input type=text name="sUrl" value="'.$this->sUrl.'" size="50"></td></tr>',"\n";
|
));
|
||||||
|
|
||||||
|
// URL
|
||||||
|
echo html_tr(array(
|
||||||
|
array("<b>Distribution URL</b>", 'class="color1"'),
|
||||||
|
array('<input type=text name="sUrl" value="'.$this->sUrl.
|
||||||
|
'" size="50" />', 'class="color0"')
|
||||||
|
));
|
||||||
|
|
||||||
|
|
||||||
|
echo "</table>\n";
|
||||||
|
|
||||||
if($this->iDistributionId)
|
if($this->iDistributionId)
|
||||||
{
|
{
|
||||||
echo '<input type="hidden" name="iDistributionId" '.
|
echo '<input type="hidden" name="iDistributionId" '.
|
||||||
'value="'.$this->iDistributionId.'">',"\n";
|
'value="'.$this->iDistributionId.'">',"\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "</table>\n";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* retrieves values from $_REQUEST that were output by outputEditor() */
|
/* retrieves values from $_REQUEST that were output by outputEditor() */
|
||||||
|
|||||||
Reference in New Issue
Block a user