mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-04 10:15:03 +02:00
Fix edit customer plan
This commit is contained in:
parent
b9ff4399a4
commit
29ad9dec73
8 changed files with 77 additions and 67 deletions
|
@ -127,11 +127,19 @@ class Lang
|
|||
if(time()>strtotime($datetime)){
|
||||
$when = Lang::T('ago');
|
||||
}else{
|
||||
$when = Lang::T('later');
|
||||
$when = '';
|
||||
}
|
||||
if (!$full)
|
||||
$string = array_slice($string, 0, 1);
|
||||
return $string ? implode(', ', $string) .' '. $when : Lang::T('just now');
|
||||
if($string){
|
||||
if(empty($when)){
|
||||
return '<b>'. implode(', ', $string) .'</b>';
|
||||
}else{
|
||||
return implode(', ', $string) .' '. $when;
|
||||
}
|
||||
}else{
|
||||
return Lang::T('just now');
|
||||
}
|
||||
}
|
||||
|
||||
public static function nl2br($text)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue