Page 1 of 1

Remove "Report Stay"

Posted: 22 Oct 2018, 10:10
by nttuan
Hi everyone,

Could you please show me how to remove "Report stay" filed in Mantis when we create a new issue?

Re: Remove "Report Stay"

Posted: 24 Oct 2018, 07:48
by atrol
You can remove the following lines from file bug_report_page for this.
But keep in mind, that you will have to make similar changes whenever you upgrade Mantis to a newer version.

Code: Select all

	<tr>
		<th class="category">
			<?php print_documentation_link( 'report_stay' ) ?>
		</th>
		<td>
			<label>
				<input <?php echo helper_get_tab_index() ?> type="checkbox" class="ace" id="report_stay" name="report_stay" <?php check_checked( $f_report_stay ) ?> />
				<span class="lbl padding-6"><?php echo lang_get( 'check_report_more_bugs' ) ?></span>
			</label>
		</td>
	</tr>