diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/core/html_api.php b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/core/html_api.php new file mode 100644 index 0000000..41d07b0 --- /dev/null +++ b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/core/html_api.php @@ -0,0 +1,1232 @@ +. + + # -------------------------------------------------------- + # $Id: html_api.php,v 1.218.2.4 2007-10-28 15:39:31 nuclear_eclipse Exp $ + # -------------------------------------------------------- + + ########################################################################### + # HTML API + # + # These functions control the display of each page + # + # This is the call order of these functions, should you need to figure out + # which to modify or which to leave out. + # + # html_page_top1 + # html_begin + # html_head_begin + # html_css + # html_content_type + # html_rss_link + # (html_meta_redirect) + # html_title + # html_page_top2 + # html_page_top2a + # html_head_end + # html_body_begin + # html_header + # html_top_banner + # html_login_info + # (print_project_menu_bar) + # print_menu + # + # ...Page content here... + # + # html_page_bottom1 + # (print_menu) + # html_page_bottom1a + # html_bottom_banner + # html_footer + # html_body_end + # html_end + # + ########################################################################### + + $t_core_dir = dirname( __FILE__ ).DIRECTORY_SEPARATOR; + + require_once( $t_core_dir . 'current_user_api.php' ); + require_once( $t_core_dir . 'string_api.php' ); + require_once( $t_core_dir . 'bug_api.php' ); + require_once( $t_core_dir . 'project_api.php' ); + require_once( $t_core_dir . 'helper_api.php' ); + require_once( $t_core_dir . 'authentication_api.php' ); + require_once( $t_core_dir . 'user_api.php' ); + require_once( $t_core_dir . 'rss_api.php' ); + require_once( $t_core_dir . 'wiki_api.php' ); + + $g_rss_feed_url = null; + + # flag for error handler to skip header menus + $g_error_send_page_header = true; + + # Projax library disabled by default. It will be enabled if projax_api.php + # is included. But it must be included after html_api.php + $g_enable_projax = false; + + # -------------------- + # Sets the url for the rss link associated with the current page. + # null: means no feed (default). + function html_set_rss_link( $p_rss_feed_url ) + { + if ( OFF != config_get( 'rss_enabled' ) ) { + global $g_rss_feed_url; + $g_rss_feed_url = $p_rss_feed_url; + } + } + + # -------------------- + # Prints the link that allows auto-detection of the associated feed. + function html_rss_link() + { + global $g_rss_feed_url; + + if ( $g_rss_feed_url !== null ) { + echo ""; + } + } + + # -------------------- + # Print the part of the page that comes before meta redirect tags should + # be inserted + function html_page_top1( $p_page_title = null ) { + html_begin(); + html_head_begin(); + html_css(); + html_content_type(); + include( config_get( 'meta_include_file' ) ); + html_rss_link(); + echo ''; + html_title( $p_page_title ); + html_head_javascript(); + } + + # -------------------- + # Print the part of the page that comes after meta tags, but before the + # actual page content + function html_page_top2() { + html_page_top2a(); + + if ( !db_is_connected() ) { + return; + } + + if ( auth_is_user_authenticated() ) { + html_login_info(); + + if( ON == config_get( 'show_project_menu_bar' ) ) { + print_project_menu_bar(); + PRINT '
'; + } + } + print_menu(); + } + + # -------------------- + # Print the part of the page that comes after meta tags and before the + # actual page content, but without login info or menus. This is used + # directly during the login process and other times when the user may + # not be authenticated + function html_page_top2a() { + global $g_error_send_page_header; + + html_head_end(); + html_body_begin(); + $g_error_send_page_header = false; + html_header(); + html_top_banner(); + } + + # -------------------- + # Print the part of the page that comes below the page content + # $p_file should always be the __FILE__ variable. This is passed to show source + function html_page_bottom1( $p_file = null ) { + if ( !db_is_connected() ) { + return; + } + + if ( config_get( 'show_footer_menu' ) ) { + PRINT '
'; + print_menu(); + } + + html_page_bottom1a( $p_file ); + } + + # -------------------- + # Print the part of the page that comes below the page content but leave off + # the menu. This is used during the login process and other times when the + # user may not be authenticated. + function html_page_bottom1a( $p_file = null ) { + if ( null === $p_file ) { + $p_file = basename( $_SERVER['PHP_SELF'] ); + } + + html_bottom_banner(); + html_footer( $p_file ); + html_body_end(); + html_end(); + } + + # -------------------- + # (1) Print the document type and the opening tag + function html_begin() { + # @@@ NOTE make this a configurable global. + #echo '', "\n"; + #echo '', "\n"; + + echo '', "\n"; + echo '', "\n"; + } + + # -------------------- + # (2) Begin the section + function html_head_begin() { + echo '', "\n"; + } + + # -------------------- + # (3) Print the content-type + function html_content_type() { + echo "\t", '', "\n"; + } + + # -------------------- + # (4) Print the window title + function html_title( $p_page_title = null ) { + $t_title = config_get( 'window_title' ); + echo "\t", ''; + if ( 0 == strlen( $p_page_title ) ) { + echo string_display( $t_title ); + } else { + if ( 0 == strlen( $t_title ) ) { + echo $p_page_title; + } else { + echo $p_page_title . ' - ' . string_display( $t_title ); + } + } + echo '', "\n"; + } + + # -------------------- + # (5) Print the link to include the css file + function html_css() { + $t_css_url = config_get( 'css_include_file' ); + echo "\t", '', "\n"; + + # fix for NS 4.x css + echo "\t", '', "\n"; + } + + # -------------------- + # (6) Print an HTML meta tag to redirect to another page + # This function is optional and may be called by pages that need a redirect. + # $p_time is the number of seconds to wait before redirecting. + # If we have handled any errors on this page and the 'stop_on_errors' config + # option is turned on, return false and don't redirect. + function html_meta_redirect( $p_url, $p_time = null, $p_sanitize = false ) { + if ( ON == config_get( 'stop_on_errors' ) && error_handled() ) { + return false; + } + + if ( null === $p_time ) { + $p_time = current_user_get_pref( 'redirect_delay' ); + } + + if ( $p_sanitize ) { + $t_url = string_sanitize_url( $p_url ); + } else { + $t_url = $p_url; + } + + echo "\t\n"; + + return true; + } + + # --------------------- + # (6a) Javascript... + function html_head_javascript() { + if ( ON == config_get( 'use_javascript' ) ) { + echo "\t" . '' . "\n"; + echo "\t" . '' . "\n"; + + global $g_enable_projax; + + if ( $g_enable_projax ) { + echo ''; + echo ''; + } + } + } + + # -------------------- + # (7) End the section + function html_head_end() { + echo '', "\n"; + } + + # -------------------- + # (8) Begin the section + function html_body_begin() { + echo '', "\n"; + } + + # -------------------- + # (9) Print the title displayed at the top of the page + function html_header() { + $t_title = config_get( 'page_title' ); + echo '
', string_display( $t_title ), '
', "\n"; + } + + # -------------------- + # (10) Print a user-defined banner at the top of the page if there is one. + function html_top_banner() { + $t_page = config_get( 'top_include_page' ); + + if ( !is_blank( $t_page ) && file_exists( $t_page ) && !is_dir( $t_page ) ) { + include( $t_page ); + } else { + if ( is_page_name( 'login_page' ) ) { + $t_align = 'center'; + } else { + $t_align = 'left'; + } + + echo '
'; + echo 'Mantis Bugtracker'; + echo '
'; + } + } + + # -------------------- + # (11) Print the user's account information + # Also print the select box where users can switch projects + function html_login_info() { + $t_username = current_user_get_field( 'username' ); + $t_access_level = get_enum_element( 'access_levels', current_user_get_access_level() ); + $t_now = date( config_get( 'complete_date_format' ) ); + $t_realname = current_user_get_field( 'realname' ); + + PRINT ''; + PRINT ''; + PRINT ''; + PRINT ''; + PRINT ''; + PRINT ''; + PRINT '
'; + } + + # -------------------- + # (12) Print a user-defined banner at the bottom of the page if there is one. + function html_bottom_banner() { + $t_page = config_get( 'bottom_include_page' ); + + if ( !is_blank( $t_page ) && file_exists( $t_page ) && !is_dir( $t_page ) ) { + include( $t_page ); + } + } + + # -------------------- + # (13) Print the page footer information + function html_footer( $p_file ) { + global $g_timer, $g_queries_array, $g_request_time; + + # If a user is logged in, update their last visit time. + # We do this at the end of the page so that: + # 1) we can display the user's last visit time on a page before updating it + # 2) we don't invalidate the user cache immediately after fetching it + # 3) don't do this on the password verification or update page, as it causes the + # verification comparison to fail + if ( auth_is_user_authenticated() && !( is_page_name( 'verify.php' ) || is_page_name( 'account_update.php' ) ) ) { + $t_user_id = auth_get_current_user_id(); + user_update_last_visit( $t_user_id ); + } + + echo "\t", '
', "\n"; + echo "\t", '
', "\n"; + + echo '
'; + if ( ON == config_get( 'show_version' ) ) { + echo "\t", 'Mantis ', MANTIS_VERSION, '', + '[^]', "\n"; + } + echo "\t", '
Copyright © 2000 - 2009 Mantis Group
', "\n"; + + # only display webmaster email is current user is not the anonymous user + if ( ! is_page_name( 'login_page.php' ) && !current_user_is_anonymous() ) { + echo "\t", '
', config_get( 'webmaster_email' ), '
', "\n"; + } + + # print timings + if ( ON == config_get( 'show_timer' ) ) { + $g_timer->print_times(); + } + + # print db queries that were run + if ( helper_show_queries() ) { + $t_count = count( $g_queries_array ); + echo "\t", $t_count, ' total queries executed.
', "\n"; + $t_unique_queries = 0; + $t_shown_queries = array(); + for ( $i = 0; $i < $t_count; $i++ ) { + if ( ! in_array( $g_queries_array[$i][0], $t_shown_queries ) ) { + $t_unique_queries++; + $g_queries_array[$i][3] = false; + array_push( $t_shown_queries, $g_queries_array[$i][0] ); + } else { + $g_queries_array[$i][3] = true; + } + } + echo "\t", $t_unique_queries . ' unique queries executed.
', "\n"; + if ( ON == config_get( 'show_queries_list' ) ) { + echo "\t", '', "\n"; + $t_total = 0; + for ( $i = 0; $i < $t_count; $i++ ) { + $t_time = $g_queries_array[$i][1]; + $t_caller = $g_queries_array[$i][2]; + $t_total += $t_time; + $t_style_tag = ''; + if ( true == $g_queries_array[$i][3] ) { + $t_style_tag = ' style="color: red;"'; + } + echo "\t", '', ($i+1), ''; + echo '', $t_time , ''; + echo '', $t_caller, '
', string_html_specialchars($g_queries_array[$i][0]), '
', "\n"; + } + + # @@@ Note sure if we should localize them given that they are debug info. Will add if requested by users. + echo "\t", '', "\n"; + echo "\t", '', "\n"; + echo "\t", '
', $t_total, 'SQL Queries Total Time
', round( microtime_float() - $g_request_time, 4 ), 'Page Request Total Time
', "\n"; + } + } + + echo '
'; + echo 'Powered by Mantis Bugtracker'; + echo '
'; + } + + # -------------------- + # (14) End the section + function html_body_end() { + echo '', "\n"; + } + + # -------------------- + # (15) Print the closing tag + function html_end() { + echo '', "\n"; + } + + + ########################################################################### + # HTML Menu API + ########################################################################### + + function prepare_custom_menu_options( $p_config ) { + $t_custom_menu_options = config_get( $p_config ); + $t_options = array(); + + foreach( $t_custom_menu_options as $t_custom_option ) { + $t_access_level = $t_custom_option[1]; + if ( access_has_project_level( $t_access_level ) ) { + $t_caption = lang_get_defaulted( $t_custom_option[0] ); + $t_link = $t_custom_option[2]; + $t_options[] = "$t_caption"; + } + } + + return $t_options; + } + + # -------------------- + # Print the main menu + function print_menu() { + if ( auth_is_user_authenticated() ) { + $t_protected = current_user_get_field( 'protected' ); + $t_current_project = helper_get_current_project(); + + PRINT ''; + PRINT ''; + PRINT ''; + PRINT ''; + PRINT ''; + PRINT '
'; + } + } + + # -------------------- + # Print the menu bar with a list of projects to which the user has access + function print_project_menu_bar() { + $t_project_ids = current_user_get_accessible_projects(); + + PRINT ''; + PRINT ''; + PRINT ''; + PRINT ''; + PRINT '
'; + } + + # -------------------- + # Print the menu bar with a list of projects to which the user has access + function print_subproject_menu_bar( $p_project_id, $p_parents = '' ) { + $t_subprojects = current_user_get_accessible_subprojects( $p_project_id ); + $t_char = ':'; + foreach ( $t_subprojects as $t_subproject ) { + PRINT "$t_char " . string_display( project_get_field( $t_subproject, 'name' ) ) . ''; + print_subproject_menu_bar( $t_subproject, $p_parents . $t_subproject . ';' ); + $t_char = ','; + } + } + + # -------------------- + # Print the menu for the graph summary section + function print_menu_graph() { + if ( config_get( 'use_jpgraph' ) ) { + $t_icon_path = config_get( 'icon_path' ); + + PRINT '
'; + PRINT '' . lang_get( 'synthesis_link' ) . ' | '; + PRINT '' . lang_get( 'status_link' ) . ' | '; + PRINT '' . lang_get( 'priority_link' ) . ' | '; + PRINT '' . lang_get( 'severity_link' ) . ' | '; + PRINT '' . lang_get( 'category_link' ) . ' | '; + PRINT '' . lang_get( 'resolution_link' ) . ''; + } + } + + # -------------------- + # Print the menu for the manage section + # $p_page specifies the current page name so it's link can be disabled + function print_manage_menu( $p_page = '' ) { + $t_manage_user_page = 'manage_user_page.php'; + $t_manage_project_menu_page = 'manage_proj_page.php'; + $t_manage_custom_field_page = 'manage_custom_field_page.php'; + $t_manage_config_page = 'adm_config_report.php'; + $t_manage_prof_menu_page = 'manage_prof_menu_page.php'; + # $t_documentation_page = 'documentation_page.php'; + + switch ( $p_page ) { + case $t_manage_user_page: + $t_manage_user_page = ''; + break; + case $t_manage_project_menu_page: + $t_manage_project_menu_page = ''; + break; + case $t_manage_custom_field_page: + $t_manage_custom_field_page = ''; + break; + case $t_manage_config_page: + $t_manage_config_page = ''; + break; + case $t_manage_prof_menu_page: + $t_manage_prof_menu_page = ''; + break; +# case $t_documentation_page: +# $t_documentation_page = ''; +# break; + } + + PRINT '
'; + if ( access_has_global_level( config_get( 'manage_user_threshold' ) ) ) { + print_bracket_link( $t_manage_user_page, lang_get( 'manage_users_link' ) ); + } + if ( access_has_project_level( config_get( 'manage_project_threshold' ) ) ) { + print_bracket_link( $t_manage_project_menu_page, lang_get( 'manage_projects_link' ) ); + } + if ( access_has_global_level( config_get( 'manage_custom_fields_threshold' ) ) ) { + print_bracket_link( $t_manage_custom_field_page, lang_get( 'manage_custom_field_link' ) ); + } + if ( access_has_global_level( config_get( 'manage_global_profile_threshold' ) ) ) { + print_bracket_link( $t_manage_prof_menu_page, lang_get( 'manage_global_profiles_link' ) ); + } + if ( access_has_project_level( config_get( 'view_configuration_threshold' ) ) ) { + print_bracket_link( $t_manage_config_page, lang_get( 'manage_config_link' ) ); + } + # print_bracket_link( $t_documentation_page, lang_get( 'documentation_link' ) ); + PRINT '
'; + } + + # -------------------- + # Print the menu for the manage configuration section + # $p_page specifies the current page name so it's link can be disabled + function print_manage_config_menu( $p_page = '' ) { + $t_configuration_report = 'adm_config_report.php'; + $t_permissions_summary_report = 'adm_permissions_report.php'; + $t_manage_work_threshold = 'manage_config_work_threshold_page.php'; + $t_manage_email = 'manage_config_email_page.php'; + $t_manage_workflow = 'manage_config_workflow_page.php'; + + switch ( $p_page ) { + case $t_configuration_report: + $t_configuration_report = ''; + break; + case $t_permissions_summary_report: + $t_permissions_summary_report = ''; + break; + case $t_manage_work_threshold: + $t_manage_work_threshold = ''; + break; + case $t_manage_email: + $t_manage_email = ''; + break; + case $t_manage_workflow: + $t_manage_workflow = ''; + break; + } + + PRINT '
'; + if ( access_has_project_level( config_get( 'view_configuration_threshold' ) ) ) { + print_bracket_link( $t_configuration_report, lang_get_defaulted( 'configuration_report' ) ); + print_bracket_link( $t_permissions_summary_report, lang_get( 'permissions_summary_report' ) ); + print_bracket_link( $t_manage_work_threshold, lang_get( 'manage_threshold_config' ) ); + print_bracket_link( $t_manage_workflow, lang_get( 'manage_workflow_config' ) ); + print_bracket_link( $t_manage_email, lang_get( 'manage_email_config' ) ); + } + PRINT '
'; + } + + # -------------------- + # Print the menu for the account section + # $p_page specifies the current page name so it's link can be disabled + function print_account_menu( $p_page='' ) { + $t_account_page = 'account_page.php'; + $t_account_prefs_page = 'account_prefs_page.php'; + $t_account_profile_menu_page = 'account_prof_menu_page.php'; + $t_account_sponsor_page = 'account_sponsor_page.php'; + + switch ( $p_page ) { + case $t_account_page : $t_account_page = ''; break; + case $t_account_prefs_page : $t_account_prefs_page = ''; break; + case $t_account_profile_menu_page : $t_account_profile_menu_page = ''; break; + case $t_account_sponsor_page : $t_account_sponsor_page = ''; break; + } + + print_bracket_link( $t_account_page, lang_get( 'account_link' ) ); + print_bracket_link( $t_account_prefs_page, lang_get( 'change_preferences_link' ) ); + if ( access_has_project_level( config_get( 'add_profile_threshold' ) ) ) { + print_bracket_link( $t_account_profile_menu_page, lang_get( 'manage_profiles_link' ) ); + } + if ( ( config_get( 'enable_sponsorship' ) == ON ) && + ( access_has_project_level( config_get( 'view_sponsorship_total_threshold' ) ) ) && + !current_user_is_anonymous() ) { + print_bracket_link( $t_account_sponsor_page, lang_get( 'my_sponsorship' ) ); + } + } + + # -------------------- + # Print the menu for the docs section + # $p_page specifies the current page name so it's link can be disabled + function print_doc_menu( $p_page='' ) { + $t_documentation_html = config_get( 'manual_url' ); + $t_proj_doc_page = 'proj_doc_page.php'; + $t_proj_doc_add_page = 'proj_doc_add_page.php'; + + switch ( $p_page ) { + case $t_documentation_html : $t_documentation_html = ''; break; + case $t_proj_doc_page : $t_proj_doc_page = ''; break; + case $t_proj_doc_add_page : $t_proj_doc_add_page = ''; break; + } + + print_bracket_link( $t_documentation_html, lang_get( 'user_documentation' ) ); + print_bracket_link( $t_proj_doc_page, lang_get( 'project_documentation' ) ); + if ( file_allow_project_upload() ) { + print_bracket_link( $t_proj_doc_add_page, lang_get( 'add_file' ) ); + } + } + + # -------------------- + # Print the menu for the summary section + # $p_page specifies the current page name so it's link can be disabled + function print_summary_menu( $p_page='' ) { + PRINT '
'; + print_bracket_link( 'print_all_bug_page.php', lang_get( 'print_all_bug_page_link' ) ); + + if ( config_get( 'use_jpgraph' ) != 0 ) { + $t_summary_page = 'summary_page.php'; + $t_summary_jpgraph_page = 'summary_jpgraph_page.php'; + + switch ( $p_page ) { + case $t_summary_page : $t_summary_page = ''; break; + case $t_summary_jpgraph_page: $t_summary_jpgraph_page = ''; break; + } + + print_bracket_link( $t_summary_page, lang_get( 'summary_link' ) ); + print_bracket_link( $t_summary_jpgraph_page, lang_get( 'summary_jpgraph_link' ) ); + } + PRINT '
'; + } + + + #========================= + # Candidates for moving to print_api + #========================= + + # -------------------- + # Print the color legend for the status colors + function html_status_legend() { + PRINT '
'; + PRINT ''; + PRINT ''; + + $t_arr = explode_enum_string( config_get( 'status_enum_string' ) ); + $enum_count = count( $t_arr ); + $width = (int)(100 / $enum_count); + for ( $i=0; $i < $enum_count; $i++) { + $t_s = explode_enum_arr( $t_arr[$i] ); + $t_val = get_enum_element( 'status', $t_s[0] ); + $t_color = get_status_color( $t_s[0] ); + + PRINT ""; + } + + PRINT ''; + PRINT '
$t_val
'; + if ( ON == config_get( 'status_percentage_legend' ) ) { + html_status_percentage_legend(); + } + } + + # -------------------- + # Print the legend for the status percentage + function html_status_percentage_legend() { + + $t_mantis_bug_table = config_get( 'mantis_bug_table' ); + $t_project_id = helper_get_current_project(); + $t_user_id = auth_get_current_user_id(); + + #checking if it's a per project statistic or all projects + $t_specific_where = helper_project_specific_where( $t_project_id, $t_user_id ); + + $query = "SELECT status, COUNT(*) AS number + FROM $t_mantis_bug_table + WHERE $t_specific_where + GROUP BY status"; + $result = db_query( $query ); + + $t_bug_count = 0; + $t_status_count_array = array(); + + while ( $row = db_fetch_array( $result ) ) { + + $t_status_count_array[ $row['status'] ] = $row['number']; + $t_bug_count += $row['number']; + } + + $t_arr = explode_enum_string( config_get( 'status_enum_string' ) ); + $enum_count = count( $t_arr ); + + if ( $t_bug_count > 0 ) { + echo '
'; + echo ''; + echo ''; + echo ''; + echo ''; + echo ''; + + for ( $i=0; $i < $enum_count; $i++) { + $t_s = explode_enum_arr( $t_arr[$i] ); + $t_color = get_status_color( $t_s[0] ); + $t_status = $t_s[0]; + + if ( !isset( $t_status_count_array[ $t_status ] ) ) { + $t_status_count_array[ $t_status ] = 0; + } + + $width = round( ( $t_status_count_array[ $t_status ] / $t_bug_count ) * 100 ); + + if ($width > 0) { + echo ""; + } + } + + echo ''; + echo '
'.lang_get( 'issue_status_percentage' ).'
$width%
'; + } + } + + # -------------------- + # Print an html button inside a form + function html_button ( $p_action, $p_button_text, $p_fields = null, $p_method = 'post' ) { + $p_action = urlencode( $p_action ); + $p_button_text = string_attribute( $p_button_text ); + if ( null === $p_fields ) { + $p_fields = array(); + } + + if ( strtolower( $p_method ) == 'get' ) { + $t_method = 'get'; + } else { + $t_method = 'post'; + } + + PRINT "
\n"; + + foreach ( $p_fields as $key => $val ) { + $key = string_attribute( $key ); + $val = string_attribute( $val ); + + PRINT " \n"; + } + + PRINT " \n"; + PRINT "
\n"; + } + + # -------------------- + # Print a button to update the given bug + function html_button_bug_update( $p_bug_id ) { + if ( access_has_bug_level( config_get( 'update_bug_threshold' ), $p_bug_id ) ) { + html_button( string_get_bug_update_page(), + lang_get( 'update_bug_button' ), + array( 'bug_id' => $p_bug_id ) ); + } + } + + # -------------------- + # Print Change Status to: button + # This code is similar to print_status_option_list except + # there is no masking, except for the current state + function html_button_bug_change_status( $p_bug_id ) { + $t_bug_project_id = bug_get_field( $p_bug_id, 'project_id' ); + $t_bug_current_state = bug_get_field( $p_bug_id, 'status' ); + $t_current_access = access_get_project_level( $t_bug_project_id ); + + $t_enum_list = get_status_option_list( $t_current_access, $t_bug_current_state, false, + ( bug_get_field( $p_bug_id, 'reporter_id' ) == auth_get_current_user_id() && ( ON == config_get( 'allow_reporter_close' ) ) ) ); + + if ( count( $t_enum_list ) > 0 ) { + # resort the list into ascending order after noting the key from the first element (the default) + $t_default_arr = each( $t_enum_list ); + $t_default = $t_default_arr['key']; + ksort( $t_enum_list ); + reset( $t_enum_list ); + + echo "
"; + + $t_button_text = lang_get( 'bug_status_to_button' ); + echo ""; + + echo " '; + + $t_bug_id = string_attribute( $p_bug_id ); + echo "\n"; + + echo "
\n"; + } + } + + # -------------------- + # Print Assign To: combo box of possible handlers + function html_button_bug_assign_to( $p_bug_id ) { + # make sure status is allowed of assign would cause auto-set-status + $t_status = bug_get_field( $p_bug_id, 'status' ); # workflow implementation + + if ( ON == config_get( 'auto_set_status_to_assigned' ) && + !bug_check_workflow( $t_status, config_get( 'bug_assigned_status' ) ) ) { # workflow + return; + } + + # make sure current user has access to modify bugs. + if ( !access_has_bug_level( config_get( 'update_bug_assign_threshold', config_get( 'update_bug_threshold' ) ), $p_bug_id ) ) { + return; + } + + $t_reporter_id = bug_get_field( $p_bug_id, 'reporter_id' ); + $t_handler_id = bug_get_field( $p_bug_id, 'handler_id' ); + $t_current_user_id = auth_get_current_user_id(); + $t_new_status = ( ON == config_get( 'auto_set_status_to_assigned' ) ) ? config_get( 'bug_assigned_status' ) : $t_status; + + $t_options = array(); + $t_default_assign_to = null; + + if ( ( $t_handler_id != $t_current_user_id ) && + ( access_has_bug_level( config_get( 'handle_bug_threshold' ), $p_bug_id, $t_current_user_id ) ) ) { + $t_options[] = array( $t_current_user_id, '[' . lang_get( 'myself' ) . ']' ); + $t_default_assign_to = $t_current_user_id; + } + + if ( ( $t_handler_id != $t_reporter_id ) && user_exists( $t_reporter_id ) && + ( access_has_bug_level( config_get( 'handle_bug_threshold' ), $p_bug_id, $t_reporter_id ) ) ) { + $t_options[] = array( $t_reporter_id, '[' . lang_get( 'reporter' ) . ']' ); + + if ( $t_default_assign_to === null ) { + $t_default_assign_to = $t_reporter_id; + } + } + + PRINT "
"; + + $t_button_text = lang_get( 'bug_assign_to_button' ); + PRINT ""; + + PRINT " "; + + $t_bug_id = string_attribute( $p_bug_id ); + PRINT "\n"; + + PRINT "
\n"; + } + + # -------------------- + # Print a button to move the given bug to a different project + function html_button_bug_move( $p_bug_id ) { + $t_status = bug_get_field( $p_bug_id, 'status' ); + + if ( access_has_bug_level( config_get( 'move_bug_threshold' ), $p_bug_id ) ) { + html_button( 'bug_actiongroup_page.php', + lang_get( 'move_bug_button' ), + array( 'bug_arr[]' => $p_bug_id, 'action' => 'MOVE' ) ); + } + } + + # -------------------- + # Print a button to move the given bug to a different project + function html_button_bug_create_child( $p_bug_id ) { + if ( ON == config_get( 'enable_relationship' ) ) { + if ( access_has_bug_level( config_get( 'update_bug_threshold' ), $p_bug_id ) ) { + html_button( string_get_bug_report_url(), + lang_get( 'create_child_bug_button' ), + array( 'm_id' => $p_bug_id ) ); + } + } + } + + # -------------------- + # Print a button to reopen the given bug + function html_button_bug_reopen( $p_bug_id ) { + $t_status = bug_get_field( $p_bug_id, 'status' ); + $t_reopen_status = config_get( 'bug_reopen_status' ); + $t_project = bug_get_field( $p_bug_id, 'project_id' ); + + if ( access_has_bug_level( config_get( 'reopen_bug_threshold' ), $p_bug_id ) || + ( ( bug_get_field( $p_bug_id, 'reporter_id' ) == auth_get_current_user_id() ) && + ( ON == config_get( 'allow_reporter_reopen' ) ) + ) + ) { + html_button( 'bug_change_status_page.php', + lang_get( 'reopen_bug_button' ), + array( 'bug_id' => $p_bug_id , + 'new_status' => $t_reopen_status, + 'reopen_flag' => ON ) ); + } + } + + # -------------------- + # Print a button to monitor the given bug + function html_button_bug_monitor( $p_bug_id ) { + if ( access_has_bug_level( config_get( 'monitor_bug_threshold' ), $p_bug_id ) ) { + html_button( 'bug_monitor.php', + lang_get( 'monitor_bug_button' ), + array( 'bug_id' => $p_bug_id, 'action' => 'add' ) ); + } + } + + # -------------------- + # Print a button to unmonitor the given bug + # no reason to ever disallow someone from unmonitoring a bug + function html_button_bug_unmonitor( $p_bug_id ) { + html_button( 'bug_monitor.php', + lang_get( 'unmonitor_bug_button' ), + array( 'bug_id' => $p_bug_id, 'action' => 'delete' ) ); + } + + # -------------------- + # Print a button to delete the given bug + function html_button_bug_delete( $p_bug_id ) { + if ( access_has_bug_level( config_get( 'delete_bug_threshold' ), $p_bug_id ) ) { + html_button( 'bug_actiongroup_page.php', + lang_get( 'delete_bug_button' ), + array( 'bug_arr[]' => $p_bug_id, 'action' => 'DELETE' ) ); + } + } + + # -------------------- + # Print a button to create a wiki page + function html_button_wiki( $p_bug_id ) { + if ( ON == config_get( 'wiki_enable' ) ) { + if ( access_has_bug_level( config_get( 'update_bug_threshold' ), $p_bug_id ) ) { + html_button( 'wiki.php', + lang_get_defaulted( 'Wiki' ), + array( 'id' => $p_bug_id, 'type' => 'issue' ), + 'get' ); + } + } + } + + # -------------------- + # Print all buttons for view bug pages + function html_buttons_view_bug_page( $p_bug_id ) { + $t_resolved = config_get( 'bug_resolved_status_threshold' ); + $t_status = bug_get_field( $p_bug_id, 'status' ); + $t_readonly = bug_is_readonly( $p_bug_id ); + + PRINT ''; + if ( !$t_readonly ) { + # UPDATE button + echo ''; + + # ASSIGN button + echo ''; + + # Change State button + echo ''; + } + + # MONITOR/UNMONITOR button + echo ''; + + if ( !$t_readonly ) { + # CREATE CHILD button + echo ''; + } + + if ( $t_resolved <= $t_status ) { # resolved is not the same as readonly + PRINT ''; + } + + if ( !$t_readonly ) { + # MOVE button + echo ''; + + # DELETE button + echo ''; + } + + helper_call_custom_function( 'print_bug_view_page_custom_buttons', array( $p_bug_id ) ); + + echo '
'; + html_button_bug_update( $p_bug_id ); + echo ''; + html_button_bug_assign_to( $p_bug_id ); + echo ''; + html_button_bug_change_status( $p_bug_id ); + echo ''; + if ( !current_user_is_anonymous() ) { + if ( user_is_monitoring_bug( auth_get_current_user_id(), $p_bug_id ) ) { + html_button_bug_unmonitor( $p_bug_id ); + } else { + html_button_bug_monitor( $p_bug_id ); + } + } + echo ''; + html_button_bug_create_child( $p_bug_id ); + echo ''; + # REOPEN button + html_button_bug_reopen( $p_bug_id ); + PRINT ''; + html_button_bug_move( $p_bug_id ); + echo ''; + html_button_bug_delete( $p_bug_id ); + echo '
'; + } + +?> diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/css/default.css b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/css/default.css new file mode 100644 index 0000000..3cf870c --- /dev/null +++ b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/css/default.css @@ -0,0 +1,155 @@ +body { + background-color: #ffffff; + color: #000000; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 10pt; + margin: 6px 4px; +} + +p { font-family: Verdana, Arial, Helvetica, sans-serif; } + +address { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt } + +a {} +a:active {} +a:link {} +a:visited {} +a.subtle { color: blue; text-decoration: none; } + +form { display: inline; } + +input {} +input.button {} +input.button-small { font-size: 8pt; } + +textarea {} +select {} + +span { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; } +span.print { font-size: 8pt; } +span.required { font-size: 8pt; color: #bb0000; } +span.small { font-size: 8pt; font-weight: normal; } +span.pagetitle { font-size: 12pt; font-weight: bold; text-align: center } +span.bracket-link { white-space: nowrap; } + +table { } +table.hide { width: 100%; border: solid 0px #ffffff; } +table.width100 { width: 100%; border: solid 1px #000000; } +table.width75 { width: 75%; border: solid 1px #000000; } +table.width60 { width: 60%; border: solid 1px #000000; } +table.width50 { width: 50%; border: solid 1px #000000; } + +td { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt; padding: 4px; text-align: left; } +td.center { text-align: center; } +td.left { text-align: left; } +td.right { text-align: right; } +td.category { background-color: #c8c8e8; color: #000000; font-weight: bold; vertical-align : top; } + +td.col-1 { background-color: #d8d8d8; color: #000000; } +td.col-2 { background-color: #e8e8e8; color: #000000; } +td.form-title { background-color: #ffffff; color: #000000; font-weight: bold; text-align: left; } +td.nopad { padding: 0px; } +td.small-caption { font-size: 8pt; } +td.print { font-size: 8pt; text-align: left; padding: 2px; } +td.print-category { font-size: 8pt; color: #000000; font-weight: bold; text-align: right; padding: 2px; } +td.print-bottom { border-bottom: 1px solid #000000; } +td.print-spacer { background-color: #ffffff; color: #000000; font-size: 1pt; line-height: 0.1; padding: 0px;} + +tr {} +tr.spacer { background-color: #ffffff; color: #000000; height: 5px; } +tr.row-1 { background-color: #d8d8d8; color: #000000; } +tr.row-2 { background-color: #e8e8e8; color: #000000; } +tr.row-category { background-color: #c8c8e8; color: #000000; font-weight: bold;} +tr.row-category td { text-align:center; } +tr.row-category2 { background-color: #c8c8e8; color: #000000; } +tr.row-category-history { background-color: #c8c8e8; color: #000000; font-weight: bold;} +tr.row-category-history td { text-align: left; } +tr.vcenter { vertical-align: middle; } +tr.print { vertical-align: top; } +tr.print-category { color: #000000; font-weight: bold; } + +#buglist tr { text-align: center; } + +tr.bugnote { vertical-align: top; } +td.bugnote-public { background-color: #c8c8e8; color: #000000; font-weight: bold; width: 25%; line-height: 1.4; } +td.bugnote-private { background-color: #e8e8e8; color: #000000; font-weight: bold; width: 25%; line-height: 1.4; } +td.bugnote-note-public { background-color: #e8e8e8; color: #000000; width: 75%; } +td.bugnote-note-private { background-color: #e8e8e8; color: #000000; width: 75%; } + +td.login-info-left { width: 33%; padding: 0px; text-align: left; } +td.login-info-middle { width: 33%; padding: 0px; text-align: center; } +td.login-info-right { width: 33%; padding: 0px; text-align: right; white-space: nowrap; } + +td.menu +{ + background-color: #e8e8e8; + color: #000000; + text-align: center; + width: 100%; + padding: 5px; +} + +td.menu a +{ + white-space: nowrap; +} + +td.news-heading-public { background-color: #c8c8e8; color: #000000; text-align: left; border-bottom: 1px solid #000000; } +td.news-heading-private { background-color: #d8d8d8; color: #000000; text-align: left; border-bottom: 1px solid #000000; } +td.news-body { background-color: #ffffff; color: #000000; padding: 16px; } + +img {} +img.icon { width: 11px; height: 11px; } +img.delete-icon { position: relative; top: 5px; border: 0; } + +div { padding: 3px; } +div.menu { background-color: #e8e8e8; color: #000000; text-align: center; width: 100%; padding: 1px; } + +div.border-center { background-color: #ffffff; border: solid 1px #000000; text-align: center; width: 50%; position: relative; margin-right: auto; margin-left: auto; } + +div.quick-summary-left { width: 49%; padding: 2px; text-align: left; float: left; } +div.quick-summary-right { width: 49%; padding: 2px; text-align: right; float: right;} + +.center { text-align: center; } +.left { text-align: left; } +.right { text-align: right; } +.small { font-size: 8pt; } +.small-normal { font-size: 8pt; font-weight: normal; } +.small-subprojects { font-size: 8pt; width: 200px; } +.bold { font-weight: bold; } +.bold-small { font-weight: bold; font-size: 8pt; } +.italic { font-style: italic; } +.italic-small { font-style: italic; font-size: 8pt; } +.underline { text-decoration: underline; } +.underline-small { text-decoration: underline; font-size: 8pt; } +.strike { text-decoration: line-through; } +.strike-small { text-decoration: line-through; font-size: 8pt; } + +.nowrap +{ + white-space: nowrap; +} + +.positive +{ + color: green; +} + +.negative +{ + color: red; +} + +.issue-status +{ + border-bottom: 1px dotted black; +} + +.avatar +{ + float: right; + border: 0; +} + +.progress400 { position: relative; width: 400px; border: 1px solid #d7d7d7; margin-top: 1em; margin-bottom: 1em; padding: 1px; } +.progress400 .bar { display: block; position: relative; background: #6bba70; text-align: center; font-weight: normal; color: #333; height: 2em; line-height: 2em; } diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/attachment.png b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/attachment.png new file mode 100644 index 0000000..479d84e Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/attachment.png differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/blank.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/blank.gif new file mode 100644 index 0000000..6e6f0e0 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/blank.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/calendar-img.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/calendar-img.gif new file mode 100644 index 0000000..cd2c4a5 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/calendar-img.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/delete.png b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/delete.png new file mode 100644 index 0000000..6fc4d3b Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/delete.png differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/dollars.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/dollars.gif new file mode 100644 index 0000000..ab3f7fc Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/dollars.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/down.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/down.gif new file mode 100644 index 0000000..7910f97 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/down.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/favicon.ico b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/favicon.ico new file mode 100644 index 0000000..5f60dec Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/favicon.ico differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/chm.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/chm.gif new file mode 100644 index 0000000..ec25d45 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/chm.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/cpp.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/cpp.gif new file mode 100644 index 0000000..fcfc6ad Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/cpp.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/css.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/css.gif new file mode 100644 index 0000000..0eea9aa Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/css.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/csv.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/csv.gif new file mode 100644 index 0000000..b40efa7 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/csv.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/doc.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/doc.gif new file mode 100644 index 0000000..9e3ed95 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/doc.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/eml.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/eml.gif new file mode 100644 index 0000000..0598ab0 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/eml.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/generic.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/generic.gif new file mode 100644 index 0000000..f8da6ff Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/generic.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/gif.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/gif.gif new file mode 100644 index 0000000..b4c5a1f Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/gif.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/html.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/html.gif new file mode 100644 index 0000000..8ee9c3b Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/html.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/jpg.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/jpg.gif new file mode 100644 index 0000000..a64e456 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/jpg.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/mhtml.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/mhtml.gif new file mode 100644 index 0000000..4af1ebd Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/mhtml.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/mid.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/mid.gif new file mode 100644 index 0000000..c062321 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/mid.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/mov.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/mov.gif new file mode 100644 index 0000000..dd2782d Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/mov.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/one.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/one.gif new file mode 100644 index 0000000..c23b867 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/one.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/pcx.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/pcx.gif new file mode 100644 index 0000000..06bf44c Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/pcx.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/pdf.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/pdf.gif new file mode 100644 index 0000000..dc2ff76 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/pdf.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/png.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/png.gif new file mode 100644 index 0000000..46cfa3e Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/png.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/pot.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/pot.gif new file mode 100644 index 0000000..6f4b96c Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/pot.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/pps.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/pps.gif new file mode 100644 index 0000000..b49d698 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/pps.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/ppt.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/ppt.gif new file mode 100644 index 0000000..e751511 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/ppt.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/pub.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/pub.gif new file mode 100644 index 0000000..f3fa93b Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/pub.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/reg.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/reg.gif new file mode 100644 index 0000000..d7528bf Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/reg.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/text.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/text.gif new file mode 100644 index 0000000..66ceefb Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/text.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/unknown.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/unknown.gif new file mode 100644 index 0000000..7bf0bbc Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/unknown.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/vsd.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/vsd.gif new file mode 100644 index 0000000..95bffbb Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/vsd.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/vsl.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/vsl.gif new file mode 100644 index 0000000..374fd28 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/vsl.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/vst.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/vst.gif new file mode 100644 index 0000000..b65d511 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/vst.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/wav.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/wav.gif new file mode 100644 index 0000000..447a53b Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/wav.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/wbk.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/wbk.gif new file mode 100644 index 0000000..55efa5e Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/wbk.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/wri.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/wri.gif new file mode 100644 index 0000000..b9e3485 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/wri.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/xls.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/xls.gif new file mode 100644 index 0000000..0ae297a Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/xls.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/xlt.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/xlt.gif new file mode 100644 index 0000000..1730cb5 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/xlt.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/xml.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/xml.gif new file mode 100644 index 0000000..fe76dc2 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/xml.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/zip.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/zip.gif new file mode 100644 index 0000000..b024d91 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/fileicons/zip.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/ie.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/ie.gif new file mode 100644 index 0000000..c21085e Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/ie.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/mantis_logo.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/mantis_logo.gif new file mode 100644 index 0000000..d57f16f Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/mantis_logo.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/mantis_logo_button.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/mantis_logo_button.gif new file mode 100644 index 0000000..1bde1b4 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/mantis_logo_button.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/mantis_space.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/mantis_space.gif new file mode 100644 index 0000000..1d11fa9 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/mantis_space.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/minus.png b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/minus.png new file mode 100644 index 0000000..a129b98 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/minus.png differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/no_avatar.png b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/no_avatar.png new file mode 100644 index 0000000..74e8819 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/no_avatar.png differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/notice.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/notice.gif new file mode 100644 index 0000000..54f1b1a Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/notice.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/ok.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/ok.gif new file mode 100644 index 0000000..f7249b4 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/ok.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/plus.png b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/plus.png new file mode 100644 index 0000000..9ab0f05 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/plus.png differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/priority_1.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/priority_1.gif new file mode 100644 index 0000000..6d505a1 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/priority_1.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/priority_2.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/priority_2.gif new file mode 100644 index 0000000..5f7483c Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/priority_2.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/priority_3.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/priority_3.gif new file mode 100644 index 0000000..389be17 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/priority_3.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/priority_low_1.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/priority_low_1.gif new file mode 100644 index 0000000..8c17097 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/priority_low_1.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/priority_low_2.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/priority_low_2.gif new file mode 100644 index 0000000..4a573f6 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/priority_low_2.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/priority_low_3.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/priority_low_3.gif new file mode 100644 index 0000000..c0e28f2 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/priority_low_3.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/protected.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/protected.gif new file mode 100644 index 0000000..f189849 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/protected.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/rel_dependant.png b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/rel_dependant.png new file mode 100644 index 0000000..faffd67 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/rel_dependant.png differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/rel_duplicate.png b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/rel_duplicate.png new file mode 100644 index 0000000..fbd0d31 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/rel_duplicate.png differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/rel_related.png b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/rel_related.png new file mode 100644 index 0000000..aed3cbb Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/rel_related.png differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/rss.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/rss.gif new file mode 100644 index 0000000..8c79ab2 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/rss.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/synthese.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/synthese.gif new file mode 100644 index 0000000..24e67e5 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/synthese.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/synthgraph.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/synthgraph.gif new file mode 100644 index 0000000..0c5d2a6 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/synthgraph.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/unread.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/unread.gif new file mode 100644 index 0000000..127b8b4 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/unread.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/up.gif b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/up.gif new file mode 100644 index 0000000..9806bac Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/up.gif differ diff --git a/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/update.png b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/update.png new file mode 100644 index 0000000..05711a0 Binary files /dev/null and b/Identity/Webenv/Themes/Default/Mantis/1.1.8-5.el5/images/update.png differ