Skip to content

Commit

Permalink
Fix: #0006833: Incorrect handling of some UTF-8 strings
Browse files Browse the repository at this point in the history
  • Loading branch information
mantis committed Apr 14, 2009
1 parent c7569b1 commit 3fd3eb8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion adm_permissions_report.php
Expand Up @@ -39,7 +39,7 @@ function get_section_begin_apr( $p_section_name ) {
$t_access_levels = MantisEnum::getValues( config_get( 'access_levels_enum_string' ) );

$t_output = '<table class="width100">';
$t_output .= '<tr><td class="form-title" colspan="' . ( count( $t_access_levels ) + 1 ) . '">' . strtoupper( $p_section_name ) . '</td></tr>' . "\n";
$t_output .= '<tr><td class="form-title-caps" colspan="' . ( count( $t_access_levels ) + 1 ) . '">' . $p_section_name . '</td></tr>' . "\n";
$t_output .= '<tr><td class="form-title" width="40%">' . lang_get( 'perm_rpt_capability' ) . '</td>';

foreach( $t_access_levels as $t_access_level ) {
Expand Down
1 change: 1 addition & 0 deletions css/default.css
Expand Up @@ -58,6 +58,7 @@ td.overdue { background-color: #ff0000; color: #000000; font-weight: bold; }
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.form-title-caps { background-color: #ffffff; color: #000000; font-weight: bold; text-align: left; text-transform: uppercase; }
td.nopad { padding: 0px; }
td.small-caption { font-size: 8pt; }
td.print { font-size: 8pt; text-align: left; padding: 2px; }
Expand Down
2 changes: 1 addition & 1 deletion lang/strings_english.txt
Expand Up @@ -1449,7 +1449,7 @@ $s_see_email_addresses_of_other_users = 'See e-mail addresses of other users';
$s_send_reminders = 'Send reminders';
$s_add_profiles = 'Add profiles';
$s_notify_of_new_user_created = 'Notify of new user created';
$s_email_notification = 'E-MAIL NOTIFICATION';
$s_email_notification = 'E-mail notification';
$s_status_changed_to = 'Status changes to';
$s_email_on_deleted = 'E-mail on Deleted';
$s_email_on_sponsorship_changed = 'E-mail on Sponsorship changed';
Expand Down
2 changes: 1 addition & 1 deletion manage_config_email_page.php
Expand Up @@ -141,7 +141,7 @@ function get_section_begin_for_email( $p_section_name ) {
global $t_project;
$t_access_levels = MantisEnum::getValues( config_get( 'access_levels_enum_string' ) );
echo '<table class="width100">';
echo '<tr><td class="form-title" colspan="' . ( count( $t_access_levels ) + 7 ) . '">' . $p_section_name . '</td></tr>' . "\n";
echo '<tr><td class="form-title-caps" colspan="' . ( count( $t_access_levels ) + 7 ) . '">' . $p_section_name . '</td></tr>' . "\n";
echo '<tr><td class="form-title" width="30%" rowspan="2">' . lang_get( 'message' ) . '</td>';
echo'<td class="form-title" style="text-align:center" rowspan="2">&nbsp;' . lang_get( 'issue_reporter' ) . '&nbsp;</td>';
echo '<td class="form-title" style="text-align:center" rowspan="2">&nbsp;' . lang_get( 'issue_handler' ) . '&nbsp;</td>';
Expand Down
2 changes: 1 addition & 1 deletion manage_config_workflow_page.php
Expand Up @@ -160,7 +160,7 @@ function show_flag( $p_from_status_id, $p_to_status_id ) {
function section_begin( $p_section_name ) {
$t_enum_statuses = MantisEnum::getValues( config_get( 'status_enum_string' ) );
echo '<table class="width100">';
echo '<tr><td class="form-title" colspan="' . ( count( $t_enum_statuses ) + 2 ) . '">'
echo '<tr><td class="form-title-caps" colspan="' . ( count( $t_enum_statuses ) + 2 ) . '">'
. $p_section_name . '</td></tr>' . "\n";
echo '<tr><td class="form-title" width="30%" rowspan="2">' . lang_get( 'current_status' ) . '</td>';
echo '<td class="form-title" style="text-align:center" colspan="' . ( count( $t_enum_statuses ) + 1 ) . '">'
Expand Down

0 comments on commit 3fd3eb8

Please sign in to comment.