first commit

This commit is contained in:
2025-08-02 16:30:27 +02:00
commit 23646bfcee
14851 changed files with 1750626 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
<?php
/**
* Smarty plugin.
*/
/**
* Smarty {get_statuses} plugin.
*
* Type: function<br>
* Name: url<br>
* Purpose: get statuses
*
* @param array $params parameters
* @param Smarty_Internal_Template $smarty
*
* @return string
*/
function smarty_function_get_statuses($params, &$smarty)
{
$statuses = getStatuses($params['name']);
if (!empty($params['assign'])) {
$smarty->assign($params['assign'], $statuses);
} else {
return $statuses;
}
}