mirror of
https://bitbucket.org/bellord13/kit.git
synced 2026-11-13 19:06:11 +03:00
fix
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
<?php
|
||||
use Bx\Kit\Lib\Type\Str as StrAlias;
|
||||
use Wt\Core\Templater\Tools as TemplaterTools;
|
||||
|
||||
$root = '';
|
||||
if(strlen($arParams['ROOT'])) {
|
||||
$root = StrAlias::safeHtmlAttr($arParams['ROOT']) . ':';
|
||||
$root = TemplaterTools::safeHtmlAttr($arParams['ROOT']) . ':';
|
||||
}
|
||||
|
||||
|
||||
?><meta property="<?=$root?><?= StrAlias::safeHtmlAttr($arParams['PROPERTY']?:$arParams['NAME'])?>" content="<?= StrAlias::safeHtmlAttr($arParams['CONTENT']?:$arParams['VALUE'])?>">
|
||||
?><meta property="<?=$root?><?=TemplaterTools::safeHtmlAttr($arParams['PROPERTY']?:$arParams['NAME'])?>" content="<?= TemplaterTools::safeHtmlAttr($arParams['CONTENT']?:$arParams['VALUE'])?>">
|
||||
|
||||
Reference in New Issue
Block a user