Index: bug_report_advanced_page.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/bug_report_advanced_page.php,v retrieving revision 1.36 diff -r1.36 bug_report_advanced_page.php 200a201,206 > $t_show_version = ( ON == config_get( 'show_product_version' ) ) > || ( ( AUTO == config_get( 'show_product_version' ) ) > && ( count( version_get_all_rows( $t_project_id ) ) > 0 ) ); > if ( $t_show_version ) { > ?> 212c218,220 < --- > } > ?> Index: bug_report_page.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/bug_report_page.php,v retrieving revision 1.38 diff -r1.38 bug_report_page.php 134c134,139 < --- > $t_show_version = ( ON == config_get( 'show_product_version' ) ) > || ( ( AUTO == config_get( 'show_product_version' ) ) > && ( count( version_get_all_rows( $t_project_id ) ) > 0 ) ); > if ( $t_show_version ) { > ?> 145a151,153 > } > ?> Index: bug_update_advanced_page.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/bug_update_advanced_page.php,v retrieving revision 1.69 diff -r1.69 bug_update_advanced_page.php 284a285 > 286c287,294 < --- > $t_show_version = ( ON == config_get( 'show_product_version' ) ) > || ( ( AUTO == config_get( 'show_product_version' ) ) > && ( count( version_get_all_rows( $t_bug->project_id ) ) > 0 ) ); > if ( $t_show_version ) { > echo lang_get( 'fixed_in_version' ); > } > ?> 288a297,299 > if ( $t_show_version ) { > ?> 291a303,305 > } > ?> 294c308 < --- > 296c310,316 < --- > if ( $t_show_version ) { > echo lang_get( 'product_version' ); > }else{ > echo lang_get( 'build' ); > } > ?> 298a319,321 > if ( $t_show_version ) { > ?> 301a325,332 > }else{ > ?> > > } > ?> > 305a337,339 > if ( $t_show_version ) { > ?> 320a355,357 > } > ?> Index: bug_update_page.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/bug_update_page.php,v retrieving revision 1.70 diff -r1.70 bug_update_page.php 239c239,244 < --- > $t_show_version = ( ON == config_get( 'show_product_version' ) ) > || ( ( AUTO == config_get( 'show_product_version' ) ) > && ( count( version_get_all_rows( $t_project_id ) ) > 0 ) ); > if ( $t_show_version ) { > ?> 250a256,258 > } > ?> Index: bug_view_advanced_page.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/bug_view_advanced_page.php,v retrieving revision 1.54 diff -r1.54 bug_view_advanced_page.php 282c282 < --- > 284c284,291 < --- > $t_show_version = ( ON == config_get( 'show_product_version' ) ) > || ( ( AUTO == config_get( 'show_product_version' ) ) > && ( count( version_get_all_rows( $t_bug->project_id ) ) > 0 ) ); > if ( $t_show_version ) { > echo lang_get( 'fixed_in_version' ); > } > ?> 287c294,298 < fixed_in_version ?> --- > if ( $t_show_version ) { > echo $t_bug->fixed_in_version; > } > ?> 290c301 < --- > 292c303,309 < --- > if ( $t_show_version ) { > echo lang_get( 'product_version' ); > }else{ > echo lang_get( 'product_build' ); > } > ?> 295c312,318 < version ?> --- > if ( $t_show_version ) { > echo $t_bug->version; > }else{ > echo $t_bug->build; > } > ?> 300c323,325 < --- > if( $t_show_version ) { > ?> 315c340,342 < --- > } > ?> Index: config_defaults_inc.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/config_defaults_inc.php,v retrieving revision 1.173 diff -r1.173 config_defaults_inc.php 343a344,349 > # --- show product versions in create, view and update screens > # ON forces display even if none are defined > # OFF suppresses display > # AUTO suppresses the display if there are no versions defined for the project > $g_show_product_version = AUTO; > Index: core/constant_inc.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core/constant_inc.php,v retrieving revision 1.18 diff -r1.18 constant_inc.php 18a19 > define( 'AUTO', 3 );