diff options
Diffstat (limited to 'includes/system/history.inc')
-rw-r--r-- | includes/system/history.inc | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/includes/system/history.inc b/includes/system/history.inc index 281e62d..bf1d016 100644 --- a/includes/system/history.inc +++ b/includes/system/history.inc @@ -16,35 +16,6 @@ }); function frenchIfRequired($original) { - global $lang; - - if ($lang["_french"]) { - if ($original === "Today") return "Aujourd'hui"; - if ($original === "Yesterday") return "Hier"; - - $original = str_replace("Jan", "janv.", $original); - $original = str_replace("Feb", "fév.", $original); - $original = str_replace("Mar", "mars", $original); - $original = str_replace("Apr", "avr.", $original); - $original = str_replace("May", "mai", $original); - $original = str_replace("Jun", "juin", $original); - $original = str_replace("Jul", "juil.", $original); - $original = str_replace("Aug", "août", $original); - $original = str_replace("Sep", "sept.", $original); - $original = str_replace("Oct", "oct.", $original); - $original = str_replace("Nov", "nov.", $original); - $original = str_replace("Dec", "déc.", $original); - - $original = str_replace("Mon", "Lun.", $original); - $original = str_replace("Tue", "Mar.", $original); - $original = str_replace("Wed", "Mer.", $original); - $original = str_replace("Thu", "Jeu.", $original); - $original = str_replace("Fri", "Ven.", $original); - $original = str_replace("Sat", "Sam.", $original); - $original = str_replace("Sun", "Dim.", $original); - - } - return $original; } @@ -132,7 +103,7 @@ <?= isNotToday($switch["timestamp"], $day[1]) ? "00:00" : date('H:i', $switch["timestamp"]) ?> </span> <span class="fronter-profile" style="vertical-align: middle;"> - <a class="member-link" href="/<?= $member["name"] ?>"> + <a class="member-link" href="/<?= $member["name"] === "unknown" ? ($systemID === "gdapd" ? "unknown-rd" : ($systemID === "ynmuc" ? "unknown-cb" : $app["other"]["unknown"])) : $member["name"] ?>"> <img src="<?= getAsset($systemID, $member["id"], "heads") ?>" style="width:24px;"> <?= $member["display_name"] ?? $member["name"] ?> </a> <?php if (count($switch["members"]) > 1): ?> |