| Server IP : 54.36.91.62 / Your IP : 216.73.217.117 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/amisdesseniors-fr/voscatalogues/templates/yootheme/cache/ |
Upload File : |
<?php // $file = /home/coopiak/amisdesseniors-fr/voscatalogues/plugins/system/djc2yootheme/modules/builder-djcatalog2-source/elements/colors_filter/element.json
return [
'name' => 'djc2filters-colors',
'title' => 'Colors',
'group' => 'DJ-Catalog2 Filters',
'icon' => $filter->apply('url', 'images/icon.svg', $file),
'iconSmall' => $filter->apply('url', 'images/iconSmall.svg', $file),
'element' => true,
'width' => 500,
'templates' => [
'render' => $filter->apply('path', './templates/template.php', $file),
'content' => $filter->apply('path', './templates/content.php', $file)
],
'defaults' => [
'border_color' => '#e6e6e6',
'border_style' => 'solid',
'border_size' => '1',
'border_radius' => '50',
'showName' => true,
'width' => '32',
'height' => '32',
'option_align' => '',
'option_margin' => 'remove',
'option_margin_remove_top' => false,
'option_margin_remove_bottom' => false
],
'placeholder' => [
'props' => [
'content' => 'DJ-ContentFilters category select'
]
],
'fields' => [
'showName' => [
'label' => 'Show Field Names',
'type' => 'checkbox'
],
'height' => [
'label' => 'Height',
'type' => 'number'
],
'width' => [
'label' => 'Width',
'type' => 'number'
],
'border_radius' => [
'label' => 'Border Radius',
'type' => 'number'
],
'border_size' => [
'label' => 'Border Size',
'type' => 'number'
],
'border_color' => [
'label' => 'Border Color',
'type' => 'color'
],
'border_style' => [
'label' => 'Border Style',
'type' => 'select',
'options' => [
'solid' => 'solid',
'dashed' => 'dashed',
'dotted' => 'dotted',
'double' => 'double',
'groove' => 'groove',
'hidden' => 'hidden',
'inherit' => 'inherit',
'initial' => 'initial',
'inset' => 'inset',
'none' => 'none',
'outset' => 'outset',
'revert' => 'revert',
'ridge' => 'ridge',
'unset' => 'unset'
]
],
'show_label' => [
'label' => 'Show label',
'description' => 'Show or hide field label',
'text' => 'Show label',
'type' => 'checkbox'
],
'label' => [
'label' => 'Label',
'description' => 'Enter field label',
'attrs' => [
'placeholder' => 'Label'
],
'enable' => 'show_label'
],
'field' => [
'label' => 'Mapped field',
'type' => 'DJC2ExtraFields',
'field' => 'color'
],
'class' => $config->get('builder.cls'),
'attributes' => $config->get('builder.attrs'),
'name' => $config->get('builder.name'),
'id' => $config->get('builder.id'),
'status' => $config->get('builder.status'),
'css' => [
'label' => 'CSS',
'description' => 'Enter your own custom CSS. The following selectors will be prefixed automatically for this element: <code>.el-element</code>, <code>.el-content</code>',
'type' => 'editor',
'editor' => 'code',
'mode' => 'css',
'attrs' => [
'debounce' => 500
]
],
'submit' => [
'label' => 'Submit',
'type' => 'checkbox',
'text' => 'Send form automatically'
]
],
'fieldset' => [
'default' => [
'type' => 'tabs',
'fields' => [[
'title' => 'Content',
'fields' => ['show_label','label','field']
],[
'title' => 'Settings',
'fields' => [[
'label' => 'Options',
'type' => 'group',
'divider' => true,
'fields' => ['showName','border_color','border_style','border_size','border_radius','width','height']
],[
'label' => 'Preferences',
'type' => 'group',
'divider' => true,
'fields' => ['submit']
]]
],[
'title' => 'Advanced',
'fields' => ['access','attributes','css','id','name','class']
]]
]
]
];