diff options
author | RaindropsSys <contact@minteck.org> | 2023-03-21 16:21:21 +0100 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-03-21 16:21:21 +0100 |
commit | 475c5731bf3362b6ac8d2dc5d5b43e4b4a6117bd (patch) | |
tree | 2cff46debf9c1e13892e7babff9deb6874ecb4b2 /includes/system/history.inc | |
parent | 7ccc2de87f9e25c715dc09b9aba4eb5c66f80424 (diff) | |
download | pluralconnect-475c5731bf3362b6ac8d2dc5d5b43e4b4a6117bd.tar.gz pluralconnect-475c5731bf3362b6ac8d2dc5d5b43e4b4a6117bd.tar.bz2 pluralconnect-475c5731bf3362b6ac8d2dc5d5b43e4b4a6117bd.zip |
Updated 26 files and added 1074 files (automated)
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): ?> |