2 # MantisBT - A PHP based bugtracking system
4 # MantisBT is free software: you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation, either version 2 of the License, or
7 # (at your option) any later version.
9 # MantisBT is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with MantisBT. If not, see <http://www.gnu.org/licenses/>.
18 * This page allows the user to set the fields of the bugs he wants to print
19 * Update is POSTed to acount_prefs_update.php
20 * Reset is POSTed to acount_prefs_reset.php
23 * @copyright Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
24 * @copyright Copyright (C) 2002 - 2011 MantisBT Team - mantisbt-dev@lists.sourceforge.net
25 * @link http://www.mantisbt.org
28 * @uses authentication_api.php
35 require_once( 'core.php' );
36 require_api( 'authentication_api.php' );
37 require_api( 'html_api.php' );
39 define( 'PRINT_ALL_BUG_OPTIONS_INC_ALLOW', true );
40 include( dirname( __FILE__
) . DIRECTORY_SEPARATOR
. 'print_all_bug_options_inc.php' );
42 auth_ensure_user_authenticated();
45 edit_printing_prefs();