Skip to content

Commit

Permalink
Fix Double-line frame around tables in manage pages
Browse files Browse the repository at this point in the history
Fixes #16470
  • Loading branch information
dregad committed Oct 12, 2013
1 parent c68570d commit 2a18bc0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion adm_permissions_report.php
Expand Up @@ -54,7 +54,7 @@ function get_section_begin_apr( $p_section_name ) {
$t_access_levels = MantisEnum::getValues( config_get( 'access_levels_enum_string' ) );

$t_output = '<div class="table-container">';
$t_output .= '<table class="width100">';
$t_output .= '<table>';
$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">' . lang_get( 'perm_rpt_capability' ) . '</td>';

Expand Down
2 changes: 1 addition & 1 deletion manage_config_work_threshold_page.php
Expand Up @@ -78,7 +78,7 @@ function get_section_begin_mcwt( $p_section_name ) {
global $t_access_levels;

echo '<div class="form-container">'. "\n";
echo '<table class="width100">';
echo '<table>';
echo '<tr><td class="form-title" colspan="' . ( count( $t_access_levels ) + 2 ) . '">' . $p_section_name . '</td></tr>' . "\n";
echo '<tr><td class="form-title" width="40%" rowspan="2">' . lang_get( 'perm_rpt_capability' ) . '</td>';
echo '<td class="form-title" style="text-align:center" width="40%" colspan="' . count( $t_access_levels ) . '">' . lang_get( 'access_levels' ) . '</td>';
Expand Down
6 changes: 3 additions & 3 deletions manage_config_workflow_page.php
Expand Up @@ -137,7 +137,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 '<div class="form-container">'. "\n";
echo "\t" . '<table class="width100">'. "\n";
echo "\t<table>\n";
echo "\t\t" . '<tr>' . "\n\t\t\t" . '<td class="form-title-caps" colspan="' . ( count( $t_enum_statuses ) + 2 ) . '">'
. $p_section_name . '</td>' . "\n\t\t" . '</tr>' . "\n";
echo "\t\t" . '<tr>' . "\n\t\t\t" . '<td class="form-title width30" rowspan="2">' . lang_get( 'current_status' ) . '</td>'. "\n";
Expand Down Expand Up @@ -187,7 +187,7 @@ function section_end() {

function threshold_begin( $p_section_name ) {
echo '<div class="form-container">';
echo '<table class="width100">';
echo '<table>';
echo "\t" . '<tr><td class="form-title" colspan="3">' . $p_section_name . '</td></tr>' . "\n";
echo "\t" . '<tr><td class="form-title width30">' . lang_get( 'threshold' ) . '</td>' . "\n";
echo "\t\t" . '<td class="form-title" >' . lang_get( 'status_level' ) . '</td>' . "\n";
Expand Down Expand Up @@ -231,7 +231,7 @@ function threshold_end() {

function access_begin( $p_section_name ) {
echo '<div class="form-container">';
echo '<table class="width100">';
echo '<table>';
echo "\t\t" . '<tr><td class="form-title" colspan="2">' . $p_section_name . '</td></tr>' . "\n";
echo "\t\t" . '<tr><td class="form-title" colspan="2">' . lang_get( 'access_change' ) . '</td></tr>' . "\n";
}
Expand Down

0 comments on commit 2a18bc0

Please sign in to comment.