1<?php 2# MantisBT - A PHP based bugtracking system 3 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. 8# 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. 13# 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/>. 16 17/** 18 * This page allows a user to manage the column api data stored in their profile. 19 * 20 * Users are presented with a list of available columns (fields). They mean then choose which types 21 * of field to include on the following types of pages: 22 * i) "View Issues Columns" - These are the fields displayed when viewing the list of bugs 23 * ii) "Print Issues Columns" - These are the fields that are included when printing out bug 24 * details. 25 * iii) "Export Issues Columns" - These are the list of fields included when exporting an issue from 26 * the bug tracker. 27 * Note: These are now shared between different types of exports - for example, the core MantisBT 28 * distribution can export to Excel and Word Documents. 29 * 30 * The settings defined here can be allocated to the current project, or All Projects. In addition, 31 * it is possible to copy the column configuration between different projects. 32 * 33 * @package MantisBT 34 * @copyright Copyright 2000 - 2002 Kenzaburo Ito - kenito@300baud.org 35 * @copyright Copyright 2002 MantisBT Team - mantisbt-dev@lists.sourceforge.net 36 * @link http://www.mantisbt.org 37 * 38 * @uses core.php 39 * @uses current_user_api.php 40 * @uses html_api.php 41 * @uses lang_api.php 42 */ 43 44require_once( 'core.php' ); 45require_api( 'current_user_api.php' ); 46require_api( 'html_api.php' ); 47require_api( 'lang_api.php' ); 48 49layout_page_header( lang_get( 'manage_columns_config' ) ); 50 51layout_page_begin(); 52 53current_user_ensure_unprotected(); 54 55# Define constant that will be checked by the include page. 56define( 'ACCOUNT_COLUMNS', true ); 57 58define( 'MANAGE_COLUMNS_INC_ALLOW', true ); 59include ( dirname( __FILE__ ) . '/manage_columns_inc.php' ); 60 61layout_page_end(); 62