Updates to German lang, changed date format
* Update README.md * Update README.md * Update lang.de.php Changed "Error" to "Fehler" * Update readme.md - Added the German Readme URL * Update README.md * Update lang.de.php - Changed the "takealook" Thanks to @Bluscream * Update adminlist.php Change the Date Format from xx-xx-xxxx to xx.xx.xxxx * Update bans.php Changed the Dateformat from xx-xx-xxxx to xx.xx.xxxx * Update bans.php Changed the Dateformat from xx-xx-xxxx to xx.xx.xxxx * Update README.md
This commit is contained in:
4
bans.php
4
bans.php
@ -7,7 +7,7 @@ require_once __DIR__ . "/include/cacheutils.class.php";
|
||||
$cacheutils = new CacheUtils('banlist');
|
||||
|
||||
if($cacheutils->isExpired()) {
|
||||
$cacheutils->setValue([getBanlist(), date('d-m-Y H:i:s')], 300);
|
||||
$cacheutils->setValue([getBanlist(), date('d.m.Y H:i:s')], 300);
|
||||
}
|
||||
|
||||
$banlist = $cacheutils->getValue();
|
||||
@ -87,7 +87,7 @@ function getBanlist() {
|
||||
if ($duration == 0)
|
||||
$expires = translate($lang["banlist"]["table"]["permaban"]);
|
||||
else
|
||||
$expires = date('d-m-Y H:i:s', $expiresepoch);
|
||||
$expires = date('d.m.Y H:i:s', $expiresepoch);
|
||||
|
||||
$output .= "<tr><td>$user</td><td>$reason</td><td>$invokername</td><td data-order=\"$createdepoch\">$created</td><td data-order=\"$expiresepoch\">$expires</td></tr>";
|
||||
}
|
||||
|
Reference in New Issue
Block a user