mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 19:04:27 +02:00
plugins: math fix array item indents for readability
This commit is contained in:
@@ -25,35 +25,35 @@ function smarty_function_math($params, $template)
|
|||||||
{
|
{
|
||||||
static $_allowed_funcs =
|
static $_allowed_funcs =
|
||||||
array(
|
array(
|
||||||
'int' => true,
|
'int' => true,
|
||||||
'abs' => true,
|
'abs' => true,
|
||||||
'ceil' => true,
|
'ceil' => true,
|
||||||
'acos' => true,
|
'acos' => true,
|
||||||
'acosh' => true,
|
'acosh' => true,
|
||||||
'cos' => true,
|
'cos' => true,
|
||||||
'cosh' => true,
|
'cosh' => true,
|
||||||
'deg2rad' => true,
|
'deg2rad' => true,
|
||||||
'rad2deg' => true,
|
'rad2deg' => true,
|
||||||
'exp' => true,
|
'exp' => true,
|
||||||
'floor' => true,
|
'floor' => true,
|
||||||
'log' => true,
|
'log' => true,
|
||||||
'log10' => true,
|
'log10' => true,
|
||||||
'max' => true,
|
'max' => true,
|
||||||
'min' => true,
|
'min' => true,
|
||||||
'pi' => true,
|
'pi' => true,
|
||||||
'pow' => true,
|
'pow' => true,
|
||||||
'rand' => true,
|
'rand' => true,
|
||||||
'round' => true,
|
'round' => true,
|
||||||
'asin' => true,
|
'asin' => true,
|
||||||
'asinh' => true,
|
'asinh' => true,
|
||||||
'sin' => true,
|
'sin' => true,
|
||||||
'sinh' => true,
|
'sinh' => true,
|
||||||
'sqrt' => true,
|
'sqrt' => true,
|
||||||
'srand' => true,
|
'srand' => true,
|
||||||
'atan' => true,
|
'atan' => true,
|
||||||
'atanh' => true,
|
'atanh' => true,
|
||||||
'tan' => true,
|
'tan' => true,
|
||||||
'tanh' => true
|
'tanh' => true
|
||||||
);
|
);
|
||||||
|
|
||||||
// be sure equation parameter is present
|
// be sure equation parameter is present
|
||||||
|
Reference in New Issue
Block a user