| Server IP : 54.36.91.62 / Your IP : 216.73.217.111 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/annonces/templates/yootheme/cache/ |
Upload File : |
<?php // $file = /home/coopiak/amisdesseniors-fr/catalog/plugins/system/djclassifiedsyt/modules/builder-joomla-source/elements/classifieds-sort/element.json
return [
'@import' => $filter->apply('path', './element.php', $file),
'name' => 'classifieds-sort',
'title' => 'Sort Select',
'group' => 'DJ-Classifieds',
'icon' => $filter->apply('url', 'images/icon.svg', $file),
'iconSmall' => $filter->apply('url', 'images/iconSmall.svg', $file),
'element' => true,
'submittable' => true,
'width' => 500,
'defaults' => [
'margin' => 'default'
],
'templates' => [
'render' => $filter->apply('path', './templates/template.php', $file),
'content' => $filter->apply('path', './templates/content.php', $file)
],
'fields' => [
'control_height' => [
'label' => 'Height',
'description' => 'The height represented as the number of rows in the list that should be visible at one time.',
'type' => 'number',
'attrs' => [
'min' => 2
],
'enable' => 'control_multiple'
],
'control_autofocus' => $config->get('classifieds.form.fields.control_autofocus'),
'control_target' => $config->get('classifieds.form.fields.control_target'),
'control_options' => $config->get('classifieds.form.fields.control_options'),
'control_multiple' => $config->get('classifieds.form.fields.control_multiple'),
'control_required' => $config->get('classifieds.form.fields.control_required'),
'control_value' => $config->get('classifieds.form.fields.control_value'),
'control_label' => $config->get('classifieds.form.fields.control_label'),
'control_placeholder' => $config->get('classifieds.form.fields.control_placeholder'),
'control_size' => $config->get('classifieds.form.fields.control_size'),
'control_width' => $config->get('classifieds.form.fields.control_width'),
'control_error_message' => $config->get('classifieds.form.fields.control_error_message'),
'position' => $config->get('builder.position'),
'position_left' => $config->get('builder.position_left'),
'position_right' => $config->get('builder.position_right'),
'position_top' => $config->get('builder.position_top'),
'position_bottom' => $config->get('builder.position_bottom'),
'position_z_index' => $config->get('builder.position_z_index'),
'margin' => $config->get('builder.margin'),
'margin_remove_top' => $config->get('builder.margin_remove_top'),
'margin_remove_bottom' => $config->get('builder.margin_remove_bottom'),
'maxwidth' => $config->get('builder.maxwidth'),
'maxwidth_breakpoint' => $config->get('builder.maxwidth_breakpoint'),
'block_align' => $config->get('builder.block_align'),
'block_align_breakpoint' => $config->get('builder.block_align_breakpoint'),
'block_align_fallback' => $config->get('builder.block_align_fallback'),
'text_align' => $config->get('builder.text_align'),
'text_align_breakpoint' => $config->get('builder.text_align_breakpoint'),
'text_align_fallback' => $config->get('builder.text_align_fallback'),
'animation' => $config->get('builder.animation'),
'_parallax_button' => $config->get('builder._parallax_button'),
'visibility' => $config->get('builder.visibility'),
'name' => $config->get('builder.name'),
'status' => $config->get('builder.status'),
'id' => $config->get('builder.id'),
'class' => $config->get('builder.cls'),
'attributes' => $config->get('builder.attrs'),
'source' => $config->get('builder.source'),
'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-item</code>, <code>.el-title</code>, <code>.el-meta</code>, <code>.el-content</code>, <code>.el-image</code>, <code>.el-link</code>',
'type' => 'editor',
'editor' => 'code',
'mode' => 'css',
'attrs' => [
'debounce' => 500
]
],
'sort_opts' => [
'label' => 'Sort Options',
'type' => 'select',
'options' => [
'Name' => 'title',
'Add date' => 'date_a',
'Expiration date' => 'date_e',
'Category' => 'cat',
'Region' => 'loc',
'Price' => 'price',
'Hits' => 'display',
'Distance' => 'distance'
],
'attrs' => [
'multiple' => true
],
'default' => ['date_a', 'price'],
'show' => '!profile_sort'
],
'sort_opts_profile' => [
'label' => 'Sort Options',
'type' => 'select',
'options' => [
'Name' => 'name',
'Username' => 'username',
'Last visit date' => 'lastvisitDate',
'Region' => 'loc'
],
'attrs' => [
'multiple' => true
],
'default' => ['name', 'lastvisitDate'],
'show' => 'profile_sort'
],
'profile_sort' => [
'description' => '',
'type' => 'checkbox',
'text' => 'Profiles Sort'
]
],
'fieldset' => [
'default' => [
'type' => 'tabs',
'fields' => [[
'title' => 'Content',
'fields' => ['control_label', 'control_placeholder', 'sort_opts', 'sort_opts_profile', 'profile_sort']
], [
'title' => 'Settings',
'fields' => [[
'label' => 'General',
'type' => 'group',
'fields' => ['position', 'position_left', 'position_right', 'position_top', 'position_bottom', 'position_z_index', 'margin', 'margin_remove_top', 'margin_remove_bottom', 'maxwidth', 'maxwidth_breakpoint', 'block_align', 'block_align_breakpoint', 'block_align_fallback', 'text_align', 'text_align_breakpoint', 'text_align_fallback', 'animation', '_parallax_button', 'visibility']
]]
], $config->get('builder.advanced')]
]
]
];