Add some missing quotes to input tags, to prevent the variables from being
assigned garbage values. Also conform the affected tags to newer HTML standards.
This commit is contained in:
committed by
WineHQ
parent
83e83e504f
commit
72a8cd48c1
@@ -67,7 +67,7 @@ if ($aClean['sSub'])
|
|||||||
echo '<br />',"\n";
|
echo '<br />',"\n";
|
||||||
|
|
||||||
/* display the option to choose how many comments per-page to display */
|
/* display the option to choose how many comments per-page to display */
|
||||||
echo '<input type=hidden name=iPage value='.$currentPage.'>';
|
echo '<input type="hidden" name="iPage" value="'.$currentPage.'" />';
|
||||||
|
|
||||||
echo '<b>Number of Bug Links per page: </b>';
|
echo '<b>Number of Bug Links per page: </b>';
|
||||||
echo '<select name="iItemsPerPage">';
|
echo '<select name="iItemsPerPage">';
|
||||||
@@ -76,9 +76,9 @@ if ($aClean['sSub'])
|
|||||||
foreach($ItemsPerPageArray as $i => $value)
|
foreach($ItemsPerPageArray as $i => $value)
|
||||||
{
|
{
|
||||||
if($ItemsPerPageArray[$i] == $ItemsPerPage)
|
if($ItemsPerPageArray[$i] == $ItemsPerPage)
|
||||||
echo '<option value='.$ItemsPerPageArray[$i].' SELECTED>'.$ItemsPerPageArray[$i],"\n";
|
echo '<option value="'.$ItemsPerPageArray[$i].'" selected="selected">'.$ItemsPerPageArray[$i],"\n";
|
||||||
else
|
else
|
||||||
echo '<option value='.$ItemsPerPageArray[$i].'>'.$ItemsPerPageArray[$i],"\n";
|
echo '<option value="'.$ItemsPerPageArray[$i].'">'.$ItemsPerPageArray[$i],"\n";
|
||||||
}
|
}
|
||||||
echo '</select>',"\n";
|
echo '</select>',"\n";
|
||||||
|
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ else
|
|||||||
|
|
||||||
// url edit form
|
// url edit form
|
||||||
echo '<form enctype="multipart/form-data" action="editAppFamily.php" method="post">',"\n";
|
echo '<form enctype="multipart/form-data" action="editAppFamily.php" method="post">',"\n";
|
||||||
echo '<input type=hidden name="iAppId" value='.$oApp->iAppId.'>';
|
echo '<input type="hidden" name="iAppId" value="'.$oApp->iAppId.'" />';
|
||||||
echo html_frame_start("Edit URL","90%","",0);
|
echo html_frame_start("Edit URL","90%","",0);
|
||||||
echo '<table border=0 cellpadding=6 cellspacing=0 width="100%">',"\n";
|
echo '<table border=0 cellpadding=6 cellspacing=0 width="100%">',"\n";
|
||||||
|
|
||||||
@@ -77,7 +77,7 @@ else
|
|||||||
echo '<tr><td class=color3><input type="checkbox" name="'.$temp0.'"></td>',"\n";
|
echo '<tr><td class=color3><input type="checkbox" name="'.$temp0.'"></td>',"\n";
|
||||||
echo '<td class=color3><input size=45% type="text" name="'.$temp1.'" value ="'.stripslashes($oRow->description).'"</td>',"\n";
|
echo '<td class=color3><input size=45% type="text" name="'.$temp1.'" value ="'.stripslashes($oRow->description).'"</td>',"\n";
|
||||||
echo '<td class=color3><input size=45% type="text" name="'.$temp2.'" value="'.$oRow->url.'"></td></tr>',"\n";
|
echo '<td class=color3><input size=45% type="text" name="'.$temp2.'" value="'.$oRow->url.'"></td></tr>',"\n";
|
||||||
echo '<input type=hidden name="'.$temp3.'" value='.$oRow->id.'>';
|
echo '<input type="hidden" name="'.$temp3.'" value="'.$oRow->id.'" />';
|
||||||
echo '<input type=hidden name="'.$temp4.'" value="'.stripslashes($oRow->description).'">';
|
echo '<input type=hidden name="'.$temp4.'" value="'.stripslashes($oRow->description).'">';
|
||||||
echo '<input type=hidden name="'.$temp5.'" value="'.$oRow->url.'">',"\n";
|
echo '<input type=hidden name="'.$temp5.'" value="'.$oRow->url.'">',"\n";
|
||||||
$i++;
|
$i++;
|
||||||
|
|||||||
@@ -47,8 +47,8 @@ if(!empty($aClean['sSubmit']))
|
|||||||
|
|
||||||
// url edit form
|
// url edit form
|
||||||
echo '<form enctype="multipart/form-data" action="editAppVersion.php" method="post">',"\n";
|
echo '<form enctype="multipart/form-data" action="editAppVersion.php" method="post">',"\n";
|
||||||
echo '<input type=hidden name="iAppId" value='.$oVersion->iAppId.'>';
|
echo '<input type="hidden" name="iAppId" value="'.$oVersion->iAppId.'" />';
|
||||||
echo '<input type=hidden name="iVersionId" value='.$oVersion->iVersionId.'>';
|
echo '<input type="hidden" name="iVersionId" value="'.$oVersion->iVersionId.'" />';
|
||||||
echo html_frame_start("Edit URL","90%","",0);
|
echo html_frame_start("Edit URL","90%","",0);
|
||||||
echo '<table border=0 cellpadding=6 cellspacing=0 width="100%">',"\n";
|
echo '<table border=0 cellpadding=6 cellspacing=0 width="100%">',"\n";
|
||||||
|
|
||||||
@@ -96,8 +96,8 @@ if(!empty($aClean['sSubmit']))
|
|||||||
{
|
{
|
||||||
// move version form
|
// move version form
|
||||||
echo '<form enctype="multipart/form-data" action="moveAppVersion.php" method="post">',"\n";
|
echo '<form enctype="multipart/form-data" action="moveAppVersion.php" method="post">',"\n";
|
||||||
echo '<input type=hidden name="iAppId" value='.$oVersion->iAppId.'>';
|
echo '<input type="hidden" name="iAppId" value="'.$oVersion->iAppId.'" />';
|
||||||
echo '<input type=hidden name="iVersionId" value='.$oVersion->iVersionId.'>';
|
echo '<input type="hidden" name="iVersionId" value="'.$oVersion->iVersionId.'" />';
|
||||||
echo html_frame_start("Move version to another application","90%","",0);
|
echo html_frame_start("Move version to another application","90%","",0);
|
||||||
echo '<center><input type="submit" name="sView" value="Move this version"></center>',"\n";
|
echo '<center><input type="submit" name="sView" value="Move this version"></center>',"\n";
|
||||||
echo html_frame_end();
|
echo html_frame_end();
|
||||||
|
|||||||
@@ -39,8 +39,8 @@ if(!empty($aClean['sAction']))
|
|||||||
|
|
||||||
echo "<form method=post action='moveAppVersion.php'>\n";
|
echo "<form method=post action='moveAppVersion.php'>\n";
|
||||||
echo html_frame_start("Move ".$oApp->sName." ".$oVersion->sName, "90%","",0);
|
echo html_frame_start("Move ".$oApp->sName." ".$oVersion->sName, "90%","",0);
|
||||||
echo '<input type="hidden" name="iAppId" value='.$oVersion->iAppId.' />';
|
echo '<input type="hidden" name="iAppId" value="'.$oVersion->iAppId.'" />';
|
||||||
echo '<input type="hidden" name="iVersionId" value='.$oVersion->iVersionId.' />';
|
echo '<input type="hidden" name="iVersionId" value="'.$oVersion->iVersionId.'" />';
|
||||||
|
|
||||||
|
|
||||||
/* build a table of applications and their versions */
|
/* build a table of applications and their versions */
|
||||||
|
|||||||
@@ -234,9 +234,9 @@ class Note {
|
|||||||
echo html_frame_start("Edit Application Note {$aClean['noteId']}", "90%","",0);
|
echo html_frame_start("Edit Application Note {$aClean['noteId']}", "90%","",0);
|
||||||
echo html_table_begin("width='100%' border=0 align=left cellpadding=6 cellspacing=0 class='box-body'");
|
echo html_table_begin("width='100%' border=0 align=left cellpadding=6 cellspacing=0 class='box-body'");
|
||||||
|
|
||||||
echo '<input type="hidden" name="iNoteId" value='.$this->iNoteId.'>';
|
echo '<input type="hidden" name="iNoteId" value="'.$this->iNoteId.'" />';
|
||||||
echo '<input type="hidden" name="iAppId" value='.$this->iAppId.'>';
|
echo '<input type="hidden" name="iAppId" value="'.$this->iAppId.'" />';
|
||||||
echo '<input type="hidden" name="iVersionId" value='.$this->iVersionId.'>';
|
echo '<input type="hidden" name="iVersionId" value="'.$this->iVersionId.'" />';
|
||||||
|
|
||||||
echo '<tr><td class=color1>Title</td>'."\n";
|
echo '<tr><td class=color1>Title</td>'."\n";
|
||||||
echo ' <td class=color0><input size=80% type="text" name="sNoteTitle" type="text" value="'.$this->sTitle.'"></td></tr>',"\n";
|
echo ' <td class=color0><input size=80% type="text" name="sNoteTitle" type="text" value="'.$this->sTitle.'"></td></tr>',"\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user