mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-02-26 00:18:43 +08:00
24 lines
481 B
PHP
24 lines
481 B
PHP
<?php
|
|
|
|
/**
|
|
* PHP Mikrotik Billing (https://github.com/hotspotbilling/phpnuxbill/)
|
|
**/
|
|
|
|
class Lang
|
|
{
|
|
public static function T($var)
|
|
{
|
|
return Lang($var);
|
|
}
|
|
|
|
public static function htmlspecialchars($var)
|
|
{
|
|
return htmlspecialchars($var);
|
|
}
|
|
|
|
public static function moneyFormat($var)
|
|
{
|
|
global $config;
|
|
return $config['currency_code'] . ' ' .number_format($var, 0, $config['dec_point'], $config['thousands_sep']);
|
|
}
|
|
}
|