1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-05-17 16:28:19 +03:00
ifhub.club/application/config/jevix.php

70 lines
2.2 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(
[
'iframe',
[
'width' => '#int',
'height' => '#int',
'src' => [
'#domain' => [
'vk.com',
'youtube.com',
'rutube.ru',
'vimeo.com',
'video.yandex.ru',
'b.gamejolt.net',
'philome.la',
'oreolek.ru',
'instead-hub.github.io',
]
],
'msallowfullscreen' => ['true', 'false'],
'mozallowfullscreen' => ['true', 'false'],
'allowtransparency' => ['true', 'false'],
'allowfullscreen' => ['true', 'false'],
'webkitallowfullscreen' => ['true', 'false']
]
],
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'))
),
),
'cfgSetTagCallbackFull' => array(
array(
'ls',
array('_this_', 'Tools_CallbackParserTagLs'),
),
array(
'gallery',
array('_this_', 'Media_CallbackParserTagGallery'),
),
)
),
);