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:
Alexander Nicolaysen Sørnes
2006-12-02 05:10:11 +00:00
committed by WineHQ
parent 83e83e504f
commit 72a8cd48c1
5 changed files with 14 additions and 14 deletions

View File

@@ -67,7 +67,7 @@ if ($aClean['sSub'])
echo '<br />',"\n";
/* 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 '<select name="iItemsPerPage">';
@@ -76,9 +76,9 @@ if ($aClean['sSub'])
foreach($ItemsPerPageArray as $i => $value)
{
if($ItemsPerPageArray[$i] == $ItemsPerPage)
echo '<option value='.$ItemsPerPageArray[$i].' SELECTED>'.$ItemsPerPageArray[$i],"\n";
echo '<option value="'.$ItemsPerPageArray[$i].'" selected="selected">'.$ItemsPerPageArray[$i],"\n";
else
echo '<option value='.$ItemsPerPageArray[$i].'>'.$ItemsPerPageArray[$i],"\n";
echo '<option value="'.$ItemsPerPageArray[$i].'">'.$ItemsPerPageArray[$i],"\n";
}
echo '</select>',"\n";