From: Gianluca S. <gi...@us...> - 2007-07-03 10:38:30
|
Update of /cvsroot/mantisbt/mantisbt/core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10539 Modified Files: relationship_api.php Log Message: Use string_no_break() instead of harcoded <nobr> tag Index: relationship_api.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core/relationship_api.php,v retrieving revision 1.39 retrieving revision 1.40 diff -u -d -r1.39 -r1.40 --- relationship_api.php 23 Jun 2007 04:25:43 -0000 1.39 +++ relationship_api.php 3 Jul 2007 10:38:17 -0000 1.40 @@ -540,7 +540,7 @@ $t_status = string_attribute( get_enum_element( 'status', $t_bug->status ) ); $t_resolution = string_attribute( get_enum_element( 'resolution', $t_bug->resolution ) ); - $t_relationship_info_html = $t_td . '<nobr>' . $t_relationship_descr . '</nobr> </td>'; + $t_relationship_info_html = $t_td . string_no_break( $t_relationship_descr ) . ' </td>'; if ( $p_html_preview == false ) { $t_relationship_info_html .= '<td><a href="' . string_get_bug_view_url( $t_related_bug_id ) . '">' . bug_format_id( $t_related_bug_id ) . '</a></td>'; $t_relationship_info_html .= '<td><a title="' . $t_resolution . '"><u>' . $t_status . '</u> </a></td>'; @@ -556,7 +556,7 @@ # get the handler name of the related bug $t_relationship_info_html .= $t_td; if ( $t_bug->handler_id > 0 ) { - $t_relationship_info_html .= '<nobr>' . prepare_user_name( $t_bug->handler_id ) . '</nobr>'; + $t_relationship_info_html .= string_no_break( prepare_user_name( $t_bug->handler_id ) ); } $t_relationship_info_html .= ' </td>'; |