Example #1
0
<!-- Due date -->
<?php 
if ($t_can_update_due_date) {
    $t_date_to_display = '';
    if (!date_is_null($t_bug->due_date)) {
        $t_date_to_display = date(config_get('calendar_date_format'), $t_bug->due_date);
    }
    ?>
<tr <?php 
    echo helper_alternate_class();
    ?>
>
	<th class="category">
		<?php 
    print_documentation_link('due_date');
    ?>
	</th>
	<td>
		<?php 
    echo "<input " . helper_get_tab_index() . " type=\"text\" id=\"due_date\" name=\"due_date\" class=\"datetime\" size=\"20\" maxlength=\"10\" value=\"" . $t_date_to_display . "\" />";
    ?>
	</td>
</tr>
<?php 
}
?>

<!-- Custom Fields -->
<?php 
/** @todo thraxisp - I undid part of the change for #5068 for #5527
 type="checkbox" id="copy_attachments_from_parent" name="copy_attachments_from_parent" <?php 
    check_checked($f_copy_attachments_from_parent);
    ?>
 /> <?php 
    echo lang_get('copy_attachments_from_parent');
    ?>
</label>
		</td>
	</tr>
<?php 
}
?>
	<tr>
		<th class="category">
			<?php 
print_documentation_link('report_stay');
?>
		</th>
		<td>
			<label><input <?php 
echo helper_get_tab_index();
?>
 type="checkbox" id="report_stay" name="report_stay" <?php 
check_checked($f_report_stay);
?>
 /> <?php 
echo lang_get('check_report_more_bugs');
?>
</label>
		</td>
	</tr>
Example #3
0
				<span class="label-style"></span>
			</div>

			<div class="field-container">
				<label><span><?php echo lang_get( 'copy_from_parent' ) ?></span></label>
				<span class="input">
					<label><input <?php echo helper_get_tab_index() ?> type="checkbox" id="copy_notes_from_parent" name="copy_notes_from_parent" <?php check_checked( $f_copy_notes_from_parent ) ?> /> <?php echo lang_get( 'copy_notes_from_parent' ) ?></label>
					<label><input <?php echo helper_get_tab_index() ?> type="checkbox" id="copy_attachments_from_parent" name="copy_attachments_from_parent" <?php check_checked( $f_copy_attachments_from_parent ) ?> /> <?php echo lang_get( 'copy_attachments_from_parent' ) ?></label>
				</span>
				<span class="label-style"></span>
			</div>
<?php
	}
?>
			<div class="field-container">
				<label><span><?php print_documentation_link( 'report_stay' ) ?></span></label>
				<span class="input">
					<label><input <?php echo helper_get_tab_index() ?> type="checkbox" id="report_stay" name="report_stay" <?php check_checked( $f_report_stay ) ?> /> <?php echo lang_get( 'check_report_more_bugs' ) ?></label>
				</span>
				<span class="label-style"></span>
			</div>

			<span class="submit-button">
				<input <?php echo helper_get_tab_index() ?> type="submit" class="button" value="<?php echo lang_get( 'submit_report_button' ) ?>" />
			</span>
		</fieldset>
	</form>
</div>
<?php
html_page_bottom();