1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-04-29 15:39:24 +03:00
ifhub.club/application/config/jevix.php
2017-05-01 15:17:27 +07:00

59 lines
1.6 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
return array(
'default' => array(
// Разрешённые теги
'cfgAllowTags' => array(
// вызов метода с параметрами
array(
array('ls', 'gallery'),
),
),
// Коротие теги типа
'cfgSetTagShort' => array(
array(
array('ls', 'gallery')
),
),
// Разрешённые параметры тегов
'cfgAllowTagParams' => array(
array(
'ls',
array('user' => '#text')
),
array(
'gallery',
array('items' => '#text', 'nav' => array('thumbs'), 'caption' => array('0', '1'))
),
array(
'a',
array('data-rel' => '#text', 'class' => array('js-lbx'))
),
),
// Теги с обязательными параметрами
'cfgSetTagParamDefault' => array(
array(
'a',
'target',
'_blank',
true
),
array(
'a',
'rel',
'noreferrer noopener',
true
),
),
'cfgSetTagCallbackFull' => array(
array(
'ls',
array('_this_', 'Tools_CallbackParserTagLs'),
),
array(
'gallery',
array('_this_', 'Media_CallbackParserTagGallery'),
),
)
),
);