| 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/concours/plugins/system/djc2yootheme/modules/builder-djcatalog2-source/elements/select/element.json
return [
'name' => 'djc2filters-select',
'title' => 'Select input',
'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)
],
'placeholder' => [
'props' => [
'content' => 'DJ-Catalog2 Filters category select'
]
],
'fields' => [
'show_label' => [
'label' => 'Show label',
'description' => 'Show or hide field label',
'text' => 'Show label',
'type' => 'checkbox'
],
'required' => [
'label' => 'Required',
'text' => 'Required',
'type' => 'checkbox'
],
'label' => [
'label' => 'Label',
'description' => 'Enter field label',
'attrs' => [
'placeholder' => 'Label'
],
'enable' => 'show_label'
],
'field' => [
'label' => 'Mapped field',
'type' => 'DJC2ExtraFields',
'field' => 'select'
],
'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' => 'Preferences',
'type' => 'group',
'divider' => true,
'fields' => ['submit']
]]
],[
'title' => 'Advanced',
'fields' => ['access','attributes','css','id','name','class']
]]
]
]
];