Updates to 03-2025
This commit is contained in:
parent
881fc84207
commit
4eb83def39
142 changed files with 21396 additions and 11243 deletions
|
|
@ -34,6 +34,13 @@ class Util
|
|||
}
|
||||
return 'd.m.Y - H:i';
|
||||
}
|
||||
public static function _format_text($text, $opt = 'html'){
|
||||
|
||||
if($opt === 'html'){
|
||||
return html_entity_decode(nl2br($text));
|
||||
}
|
||||
return $text;
|
||||
}
|
||||
|
||||
public static function _format_date($date, $to = 'date'){
|
||||
if($to === 'datetime'){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue