芝麻web文件管理V1.00
编辑当前文件:/home/projzpbv/www/wp-content/plugins/mailpoet/lib/Form/Templates/Templates/Template6SlideIn.php
getAssetUrl('slidein.png'); } public function getBody(): array { return [ [ 'type' => 'heading', 'id' => 'heading', 'params' => [ 'content' => '
' . _x('Dive in!', 'Text in a web form.', 'mailpoet') . '
', 'level' => '2', 'align' => 'center', 'font_size' => '72', 'text_color' => '#38527a', 'line_height' => '1', 'background_color' => '', 'anchor' => '', 'class_name' => '', ], ], [ 'type' => 'heading', 'id' => 'heading', 'params' => [ 'content' => '
' . _x('Join [mailpoet_subscribers_count] others, and start your fitness journey with us today.', 'Text in a web form.', 'mailpoet') . '
', 'level' => '2', 'align' => 'center', 'font_size' => '20', 'text_color' => '#38527a', 'line_height' => '1.5', 'background_color' => '', 'anchor' => '', 'class_name' => '', ], ], [ 'type' => 'text', 'params' => [ 'label' => _x('Email Address', 'Form label', 'mailpoet'), 'class_name' => '', 'required' => '1', 'label_within' => '1', ], 'id' => 'email', 'name' => 'Email', 'styles' => [ 'full_width' => '1', 'bold' => '0', 'background_color' => '#f8fbff', 'font_color' => '#38527a', 'border_size' => '0', 'border_radius' => '10', ], ], [ 'type' => 'submit', 'params' => [ 'label' => _x('Get Started!', 'Form label', 'mailpoet'), 'class_name' => '', ], 'id' => 'submit', 'name' => 'Submit', 'styles' => [ 'full_width' => '1', 'bold' => '1', 'gradient' => 'linear-gradient(0deg,rgb(56,82,122) 0%,rgb(81,128,199) 100%)', 'font_size' => '19', 'font_color' => '#ffffff', 'border_size' => '0', 'border_radius' => '10', 'padding' => '16', 'font_family' => 'Montserrat', ], ], [ 'type' => 'paragraph', 'id' => 'paragraph', 'params' => [ 'content' => '
' . $this->replacePrivacyLinkTags(_x('We promise we’ll never spam! Take a look at our [link]Privacy Policy[/link] for more info.', 'Text in a web form.', 'mailpoet'), '#') . '
', 'drop_cap' => '0', 'align' => 'center', 'font_size' => '14', 'line_height' => '1.5', 'text_color' => '#38527a', 'background_color' => '', 'class_name' => '', ], ], ]; } public function getSettings(): array { return [ 'success_message' => '', 'segments' => [], 'alignment' => 'left', 'fontSize' => '16', 'form_placement' => [ 'popup' => ['enabled' => ''], 'below_posts' => ['enabled' => ''], 'fixed_bar' => ['enabled' => ''], 'slide_in' => [ 'enabled' => '1', 'form_position' => 'right', 'styles' => [ 'width' => [ 'unit' => 'pixel', 'value' => '400', ], ], ], 'others' => [], ], 'border_radius' => '10', 'border_size' => '0', 'form_padding' => '35', 'input_padding' => '16', 'font_family' => 'Montserrat', 'background_image_url' => $this->getAssetUrl('form-bg.jpg'), 'background_image_display' => 'scale', 'close_button' => 'classic', 'segments_selected_by' => 'admin', 'success_validation_color' => '#00d084', 'error_validation_color' => '#cf2e2e', ]; } public function getStyles(): string { return <<
span { width: 5px; height: 5px; background-color: #5b5b5b; } EOL; } }