diff options
author | filip <filip.komar@gmail.com> | 2016-08-23 21:38:04 +0200 |
---|---|---|
committer | filip <filip.komar@gmail.com> | 2016-08-23 21:38:04 +0200 |
commit | 00c1436ef1d6e17e3b42cf975cc327e86e414947 (patch) | |
tree | ab2a2ec0a91da6724b760c320351809834a27e53 | |
parent | 606094d5f99b8d65d3450fd843529e162ed24a5a (diff) | |
download | www-00c1436ef1d6e17e3b42cf975cc327e86e414947.tar www-00c1436ef1d6e17e3b42cf975cc327e86e414947.tar.gz www-00c1436ef1d6e17e3b42cf975cc327e86e414947.tar.bz2 www-00c1436ef1d6e17e3b42cf975cc327e86e414947.tar.xz www-00c1436ef1d6e17e3b42cf975cc327e86e414947.zip |
tab to space code style fixes
-rw-r--r-- | langs/report_tx_git.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/langs/report_tx_git.php b/langs/report_tx_git.php index 5d0490bcb..0e6749ed9 100644 --- a/langs/report_tx_git.php +++ b/langs/report_tx_git.php @@ -285,15 +285,15 @@ function resource_name_conversion($resource_name, $category = '', $tx_to_git_nam $tx_names = array('/', 'mageia-welcome', 'identity-catdap'); $git_names = array('-', 'Mageia%20Welcome', 'Identity%20(CatDap)'); if ($tx_to_git_name_conversion) { - $resource_name = str_replace($tx_names, $git_names, $resource_name); + $resource_name = str_replace($tx_names, $git_names, $resource_name); } else { - $resource_name = str_replace($git_names, $tx_names, $resource_name); + $resource_name = str_replace($git_names, $tx_names, $resource_name); } if ('Webpages' == $category) { if ($tx_to_git_name_conversion) { - $resource_name = str_replace('page-', '', $resource_name); + $resource_name = str_replace('page-', '', $resource_name); } else { - $resource_name = 'page-' . $resource_name; + $resource_name = 'page-' . $resource_name; } } @@ -758,11 +758,11 @@ if (0 < $num_of_resources_w_difference && $num_for_switch_table_to_list > $num_o $row = array_merge($row, array(' '), $array_chunk); } $table_rows[] = "<tr class=\"add\"><th>" . implode("</th><th>", $row) . "</th></tr>" . PHP_EOL; // add header row - if ($first_row_pass) { - $table_rows[] = "</thead>" . PHP_EOL; - $table_rows[] = "<tbody>" . PHP_EOL; - $first_row_pass = FALSE; - } + if ($first_row_pass) { + $table_rows[] = "</thead>" . PHP_EOL; + $table_rows[] = "<tbody>" . PHP_EOL; + $first_row_pass = FALSE; + } } $row = array(); |