mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-05 12:24:20 +00:00
continue translating
This commit is contained in:
@@ -98,6 +98,7 @@ class Generator {
|
||||
}
|
||||
|
||||
public function procMtime($time, $pref = 3) {
|
||||
global $lang;
|
||||
/*
|
||||
$timezone = 7;
|
||||
switch($timezone) {
|
||||
@@ -111,9 +112,9 @@ public function procMtime($time, $pref = 3) {
|
||||
|
||||
$today = date('d',time())-1;
|
||||
if (date('Ymd',time()) == date('Ymd',$time)) {
|
||||
$day = "today";
|
||||
$day = $lang['upgrade'][11]; //today
|
||||
}elseif($today == date('d',$time)){
|
||||
$day = "yesterday";
|
||||
$day = $lang['upgrade'][12]; //yesterday
|
||||
}
|
||||
else {
|
||||
switch($pref) {
|
||||
|
||||
Reference in New Issue
Block a user