aboutsummaryrefslogtreecommitdiffstats
path: root/langs/report_tx_git.php
diff options
context:
space:
mode:
Diffstat (limited to 'langs/report_tx_git.php')
-rw-r--r--langs/report_tx_git.php18
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('&nbsp;'), $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();