Example #1
0
        }
    }
    echo $preview;
    ?>
	<table>

<?php 
    if ($edit == 1 && $show_bug_info) {
        /* Developer Edit Form */
        ?>
		<tr>
			<th class="details"><label for="in" accesskey="c">Qui<span class="accesskey">c</span>k Fix:</label></th>
			<td colspan="3">
				<select name="in[resolve]" id="in">
					<?php 
        show_reason_types(isset($_POST['in']) && isset($_POST['in']['resolve']) ? $_POST['in']['resolve'] : -1, 1);
        ?>
				</select>

<?php 
        if (isset($_POST['in']) && !empty($_POST['in']['resolve'])) {
            ?>
				<input type="hidden" name="trytoforce" value="1">
<?php 
        }
        ?>

				<small>(<a href="quick-fix-desc.php">description</a>)</small>
			</td>
		</tr>
<?php 
Example #2
0
			<label for="save">Remember:</label><input style="vertical-align:middle;" type="checkbox" id="save" name="save" <?php 
        echo !empty($_POST['save']) ? 'checked="checked"' : '';
        ?>
>
		</div>
	</div>
<?php 
    }
    ?>
	<table>
		<tr>
			<th><a href="quick-fix-desc.php">Reason:</a></th>
			<td colspan="5">
				<select name="r">
					<?php 
    echo show_reason_types($reason);
    ?>
				</select>
			</td>
		</tr>
		<tr>
			<th>Note:</th>
			<td colspan="5"><textarea cols="80" rows="8" name="ncomment" wrap="physical"><?php 
    echo htmlspecialchars($ncomment);
    ?>
</textarea></td>
		</tr> 
	</table>
	<input type="submit" value="Resolve">
</form>
<?php