45 $assets = explode(
',', $params[
'assets']);
47 if (isset($params[
'filters'])) {
48 $filters = $params[
'filters'];
53 $output = strtolower($params[
'output']);
55 $debug = isset($params[
'debug'])? (boolean)$params[
'debug'] :
false;
57 $xoops->assets()->setDebug($debug);
60 $url =
$xoops->assets()->getUrlToAssets($output, $assets, $filters);
62 if (isset($params[
'asset_url'])) {
63 $asset_url = $params[
'asset_url'];
65 $asset_url =
'asset_url';
68 $template->assign($asset_url,
$url);
smarty_block_assets($params, $content, $template, &$repeat)