Download all files FTP

This commit is contained in:
2026-04-13 15:50:16 +02:00
parent d8382136b2
commit cb5b386424
6906 changed files with 1956223 additions and 40713 deletions

View File

@@ -0,0 +1,43 @@
<?php
/**
* This is an example module with only the basic
* setup necessary to get it working.
*
* @class DrawAttentionModule
*/
class DrawAttentionModule extends FLBuilderModule {
public function __construct()
{
parent::__construct(array(
'name' => __('Draw Attention', 'fl-builder'),
'description' => __('Show a Draw Attention image', 'fl-builder'),
'category' => __('Advanced Modules', 'fl-builder'),
'dir' => FL_MODULE_DA_DIR . 'da/',
'url' => FL_MODULE_DA_URL . 'da/',
));
}
}
/**
* Register the module and its form settings.
*/
FLBuilder::register_module('DrawAttentionModule', array(
'general' => array( // Tab
'title' => __('General', 'fl-builder'), // Tab title
'sections' => array( // Tab Sections
'general' => array( // Section
'title' => __('Section Title', 'fl-builder'), // Section Title
'fields' => array( // Section Fields
'da_img' => array(
'type' => 'select-img',
'label' => __('Draw Attention Image', 'fl-builder'),
'help' => 'Select a Draw Attention image to be displayed',
'default' => '',
),
)
)
)
)
));

View File

@@ -0,0 +1,3 @@
<div class="fl-draw-attention">
<?php echo do_shortcode( '[drawattention ID=' . $settings->da_img . ']' ); ?>
</div>