Index: config_defaults_inc.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/config_defaults_inc.php,v
retrieving revision 1.130
diff -r1.130 config_defaults_inc.php
1007a1008,1013
> 
> 	#########
> 	# CVS Integration
> 	#########
> 	$g_cvs_integration = 'ON';
> 	$g_cvs_url = 'http://localhost/cgi-bin/cvsweb.cgi/';
Index: core/constant_inc.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/core/constant_inc.php,v
retrieving revision 1.7
diff -r1.7 constant_inc.php
135a136
> 	define( 'CVS_CHECKIN',					15 );
Index: core/history_api.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/core/history_api.php,v
retrieving revision 1.16
diff -r1.16 history_api.php
234a235,237
> 				case CVS_CHECKIN:
> 					$t_note = lang_get( 'cvs_checkin' );
> 					break;
249,252c252,253
< 			if ( NORMAL_TYPE != $v_type ) {
< 				$history[$i]['note'] = $t_note;
< 				$history[$i]['change'] = '';
< 			} else {   # output normal changes
---
> 			switch( $v_type ) {
> 			case NORMAL_TYPE:   # output normal changes
255c256,283
< 			} # end if DEFAULT
---
> 				break;
> 			case CVS_CHECKIN:
> 				$history[$i]['note'] = $t_note;
> 				if (config_get('cvs_integration') == 'ON') {
> 					# This works with cvsweb only
> 					$history[$i]['change'] = 
> 						'<a href="'
> 						. config_get('cvs_url')
> 						. $v_old_value
> 						. '/?rev='
> 						. $v_new_value
> 						.  '&content-type=text/x-cvsweb-markup'
> 						. '">'
> 						. $v_old_value . ' '
> 						. $v_new_value
> 						. '</a>';
> 				} else {
>                                         $history[$i]['change'] =
>                                                 $v_old_value . ' '
>                                                 . $v_new_value;
> 				}
> 				break;
> 			default:
> 				$history[$i]['note'] = $t_note;
> 				$history[$i]['change'] = '';
> 				break;
> 			
> 			}
Index: lang/strings_english.txt
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/lang/strings_english.txt,v
retrieving revision 1.144
diff -r1.144 strings_english.txt
32a33,34
> $s_cvs_checkin = 'CVS Checkin';
> 
Index: lang/strings_spanish.txt
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/lang/strings_spanish.txt,v
retrieving revision 1.56
diff -r1.56 strings_spanish.txt
32a33
> $s_cvs_checkin = 'CVS Checkin';
865c866
< ?>
\ No newline at end of file
---
> ?>
