service()->assets()->setPlugins([ 'kit:config', 'kit:flex-kit', 'kit:core', 'kit:bsCore', 'kit:collapse', 'kit:site', 'kit:toolkit', 'kit:theme', ])->render(); } /** * @global CMain $APPLICATION */ $APPLICATION->ShowHead(); //$templatePath = app()->service()->templater()->getComponent('kit')->getTemplatePath(); $templatePath = app()->service()->templater()->getPath() . '/kit/templates'; $templateSvgPath = $templatePath . '/svg'; function scanTemplates($path, $basePath, $recursive = false){ $tree = glob($path . '/*.php'); ?>
' . app()->service()->templater()->get('kit:card/block', [ 'name' => $templateName, 'picture' => '
'.app()->service()->templater()->get('kit:'.$templateName).'
', 'header' => filesize($t), ]) . '
'; } ?>