Use input field instead of textarea for additional criteria

This commit is contained in:
Marc Delisle
2010-04-10 09:41:40 -04:00
parent 3c475d8599
commit a63410cfbf

View File

@@ -384,7 +384,7 @@ for ($y = 0; $y <= $row; $y++) {
$or = 'Or' . $w . '[' . $z . ']'; $or = 'Or' . $w . '[' . $z . ']';
?> ?>
<td align="center"> <td align="center">
<textarea cols="20" rows="2" style="width: <?php echo $realwidth; ?>" name="<?php echo $or; ?>" dir="<?php echo $text_dir; ?>"></textarea> <input type="text" name="Or<?php echo $or; ?>" class="textfield" style="width: <?php echo $realwidth; ?>" size="20" />
</td> </td>
<?php <?php
$z++; $z++;
@@ -397,7 +397,7 @@ for ($y = 0; $y <= $row; $y++) {
$or = 'Or' . $w . '[' . $z . ']'; $or = 'Or' . $w . '[' . $z . ']';
?> ?>
<td align="center"> <td align="center">
<textarea cols="20" rows="2" style="width: <?php echo $realwidth; ?>" name="<?php echo $or; ?>" dir="<?php echo $text_dir; ?>"></textarea> <input type="text" name="Or<?php echo $or; ?>" class="textfield" style="width: <?php echo $realwidth; ?>" size="20" />
</td> </td>
<?php <?php
$z++; $z++;
@@ -464,7 +464,7 @@ for ($y = 0; $y <= $row; $y++) {
$or = 'Or' . $w . '[' . $z . ']'; $or = 'Or' . $w . '[' . $z . ']';
?> ?>
<td align="center"> <td align="center">
<textarea cols="20" rows="2" style="width: <?php echo $realwidth; ?>" name="<?php echo $or; ?>" dir="<?php echo $text_dir; ?>"></textarea> <input type="text" name="Or<?php echo $or; ?>" class="textfield" style="width: <?php echo $realwidth; ?>" size="20" />
</td> </td>
<?php <?php
$z++; $z++;
@@ -485,7 +485,7 @@ for ($y = 0; $y <= $row; $y++) {
} }
?> ?>
<td align="center"> <td align="center">
<textarea cols="20" rows="2" style="width: <?php echo $realwidth; ?>" name="Or<?php echo $w . '[' . $z . ']'; ?>" dir="<?php echo $text_dir; ?>"><?php echo htmlspecialchars($stripped_or); ?></textarea> <input type="text" name="Or<?php echo $w . '[' . $z . ']'; ?>" value="<?php echo htmlspecialchars($stripped_or); ?>" class="textfield" style="width: <?php echo $realwidth; ?>" size="20" />
</td> </td>
<?php <?php
if (!empty(${$or}) && isset(${$or}[$x])) { if (!empty(${$or}) && isset(${$or}[$x])) {