From 00c1436ef1d6e17e3b42cf975cc327e86e414947 Mon Sep 17 00:00:00 2001 From: filip Date: Tue, 23 Aug 2016 21:38:04 +0200 Subject: tab to space code style fixes --- langs/report_tx_git.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'langs/report_tx_git.php') 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[] = "" . implode("", $row) . "" . PHP_EOL; // add header row - if ($first_row_pass) { - $table_rows[] = "" . PHP_EOL; - $table_rows[] = "" . PHP_EOL; - $first_row_pass = FALSE; - } + if ($first_row_pass) { + $table_rows[] = "" . PHP_EOL; + $table_rows[] = "" . PHP_EOL; + $first_row_pass = FALSE; + } } $row = array(); -- cgit v1.2.1