| 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/templates/yootheme/packages/builder/elements/html/element.json
return [
'@import' => $filter->apply('path', './element.php', $file),
'name' => 'html',
'title' => 'Html',
'icon' => $filter->apply('url', 'images/icon.svg', $file),
'group' => 'basic',
'iconSmall' => $filter->apply('url', 'images/iconSmall.svg', $file),
'element' => true,
'width' => 500,
'placeholder' => [
'props' => [
'content' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.'
]
],
'templates' => [
'render' => $filter->apply('path', './templates/template.php', $file),
'content' => $filter->apply('path', './templates/content.php', $file)
],
'fields' => [
'content' => [
'label' => 'Content',
'type' => 'editor',
'editor' => 'code',
'mode' => 'text/html',
'source' => true
],
'name' => $config->get('builder.name'),
'source' => $config->get('builder.source'),
'id' => $config->get('builder.id'),
'status' => $config->get('builder.status'),
'class' => $config->get('builder.cls'),
'attributes' => $config->get('builder.attrs'),
'css' => [
'type' => 'editor',
'label' => 'CSS',
'description' => 'Enter your own custom CSS. The following selectors will be prefixed automatically for this element: <code>.el-element</code>',
'editor' => 'code',
'mode' => 'css',
'attrs' => [
'debounce' => 500,
'hints' => ['.el-element']
]
],
'transform' => $config->get('builder.transform')
],
'fieldset' => [
'default' => [
'type' => 'tabs',
'fields' => [[
'title' => 'Content',
'fields' => ['content']
], $config->get('builder.advanced')]
]
]
];