| 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/vsebid/vsebid.com/new/plugins/system/djclassifiedsyt/modules/form/config/builder.json
return [
'fieldname_js' => [
'type' => 'classifieds-form-tags'
],
'fieldname_tags' => 'Use the <a id="classifieds-form-show-control-names" href="#">form fields</a> names as placeholders, those will be replaced by the submited data during the action execution. E.g. <code>{comment}</code>.',
'control_target' => [
'label' => 'Target',
'description' => 'Select the data type you want the field to display.',
'type' => 'select',
'options' => [
'Category' => 'cats',
'Region' => 'regs',
'Type' => 'type_id'
],
'source' => true
],
'control_icon' => [
'label' => 'Icon',
'description' => 'Pick an optional icon.',
'type' => 'icon',
'source' => true
],
'control_name' => [
'label' => 'Name',
'description' => 'A control name to identify this field submission.',
'type' => 'text',
'source' => true
],
'control_id' => [
'label' => 'ID',
'description' => 'An optional field ID.',
'source' => true
],
'control_label' => [
'label' => 'Label',
'description' => 'An optional label to be associated with the field.',
'source' => true
],
'control_error_message' => [
'label' => 'Error Message',
'description' => 'Override the default error message. Use <code>{fieldlabel}</code> as placeholder for the field label.',
'source' => true
],
'control_value' => [
'label' => 'Value',
'description' => 'A predefined inputed value.',
'source' => true
],
'control_required' => [
'text' => 'Set as required',
'type' => 'checkbox',
'source' => true
],
'control_readonly' => [
'text' => 'Set as read only',
'type' => 'checkbox',
'source' => true
],
'control_autofocus' => [
'text' => 'Autofocus on page load',
'type' => 'checkbox',
'enable' => '!control_readonly',
'source' => true
],
'control_placeholder' => [
'label' => 'Placeholder',
'description' => 'Set the text to be shown as the input placeholder.',
'source' => true
],
'control_size' => [
'label' => 'Size',
'description' => 'The field text size.',
'type' => 'select',
'options' => [
'Default' => '',
'Large' => 'large',
'Small' => 'small'
],
'source' => true
],
'control_width' => [
'label' => 'Width',
'description' => 'The field width size.',
'type' => 'select',
'options' => [
'Default' => '',
'Large' => 'large',
'Medium' => 'medium',
'Small' => 'small',
'XSmall' => 'xsmall'
],
'source' => true
],
'control_multiple' => [
'label' => 'Multiple',
'text' => 'Allow multiple options to be selected from the list',
'type' => 'checkbox',
'source' => true
],
'control_icon_align' => [
'label' => 'Icon Position',
'description' => 'Choose the icon position',
'type' => 'select',
'options' => [
'Left' => 'left',
'Right' => 'right'
],
'source' => true
],
'control_min' => [
'label' => 'Min',
'description' => 'Value can\'t be less than min.',
'attrs' => [
'type' => 'number'
],
'source' => true
],
'control_max' => [
'label' => 'Max',
'description' => 'Value can\'t be more than max.',
'attrs' => [
'type' => 'number'
],
'source' => true
],
'control_minlength' => [
'label' => 'Min Length',
'description' => 'Value can\'t have less characters than mininum.',
'type' => 'number',
'attrs' => [
'min' => 0
],
'source' => true
],
'control_maxlength' => [
'label' => 'Max Length',
'description' => 'Value can\'t have more characters than maximum.',
'type' => 'number',
'attrs' => [
'min' => 1
],
'source' => true
],
'control_pattern' => [
'label' => 'Pattern',
'description' => 'A regular expression the inputed value must match in order to be valid.',
'source' => true
],
'control_step' => [
'label' => 'Step',
'description' => 'The value will be a multiple of step.',
'type' => 'number',
'source' => true
],
'source' => [
'type' => 'fields',
'fields' => [
'_source' => [
'label' => 'Dynamic Content',
'description' => 'Select a content source to make its fields available for mapping. Choose between sources of the current page or query a custom source.',
'type' => 'ClassifiedsSourceSelect'
],
'_sourceArgs' => [
'type' => 'source-query-args'
],
'_sourceField' => [
'label' => 'Multiple Items Source',
'type' => 'source-field-select',
'description' => 'By default, fields of related sources with single items are available for mapping. Select a related source which has multiple items to map its fields.',
'show' => 'this.Source.getSourceFieldOptions(this.node)'
],
'_sourceFieldArgs' => [
'type' => 'source-field-args'
],
'_sourceFieldDirectives' => [
'type' => 'source-field-directives'
],
'_sourceCondition' => [
'type' => 'fields',
'fields' => [
'_sourceConditionProp' => [
'label' => 'Dynamic Condition',
'prop' => '_condition',
'type' => 'source-prop-select',
'description' => 'Set a condition to display the element or its item depending on the content of a field.'
],
'_sourceConditionArgs' => [
'type' => 'source-prop-filters',
'prop' => '_condition',
'fields' => [
'_grid' => [
'type' => 'grid',
'width' => '1-2',
'fields' => [
'condition' => [
'label' => 'Condition',
'type' => 'select',
'default' => '!!',
'options' => [
'Is empty' => '!',
'Is not empty' => '!!',
'Is equal to' => '=',
'Is not equal to' => '!=',
'Contains' => '~=',
'Does not contain' => '!~=',
'Less than' => '<',
'Greater than' => '>',
'Starts with' => '^=',
'Does not start with' => '!^=',
'Ends with' => '$=',
'Does not end with' => '!$='
]
],
'condition_value' => [
'label' => 'Value',
'enable' => '$match(condition, \'=|<|>\')'
]
]
]
]
]
],
'show' => 'this.Source.getSourceField(this.node)'
]
]
]
];