芝麻web文件管理V1.00
编辑当前文件:/home/projzpbv/www/wp-content/plugins/mailpoet/lib/Form/Templates/Templates/Template1Widget.php
getAssetUrl('widget.png'); } public function getBody(): array { return [ [ 'type' => 'image', 'id' => 'image', 'params' => [ 'class_name' => '', 'align' => 'center', 'url' => $this->getAssetUrl('Oval@3x-2-1024x570.png'), 'alt' => '', 'title' => '', 'caption' => '', 'link_destination' => 'none', 'link' => '', 'href' => '', 'link_class' => '', 'rel' => '', 'link_target' => '', 'id' => '', 'size_slug' => 'large', 'width' => '', 'height' => '', ], ], [ 'type' => 'heading', 'id' => 'heading', 'params' => [ 'content' => '
' . _x('Don’t miss these tips!', 'Text in a web form.', 'mailpoet') . '
', 'level' => '1', 'align' => 'center', 'font_size' => '25', 'text_color' => '#313131', 'line_height' => '1.2', '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' => '1', 'background_color' => '#eeeeee', 'font_color' => '#abb8c3', 'border_size' => '0', 'border_radius' => '8', 'border_color' => '#313131', ], ], [ 'type' => 'submit', 'params' => [ 'label' => _x('JOIN THE CLUB', 'Form label', 'mailpoet'), 'class_name' => '', ], 'id' => 'submit', 'name' => 'Submit', 'styles' => [ 'full_width' => '1', 'bold' => '1', 'background_color' => '#000000', 'font_size' => '15', 'font_color' => '#ffd456', 'border_size' => '0', 'border_radius' => '8', 'padding' => '16', 'font_family' => 'Montserrat', ], ], [ 'type' => 'paragraph', 'id' => 'paragraph', 'params' => [ 'content' => '
' . $this->replacePrivacyLinkTags(_x('We don’t spam! Read our [link]privacy policy[/link] for more info.', 'Text in a web form.', 'mailpoet'), "#") . '
', 'drop_cap' => '0', 'align' => 'center', 'font_size' => '13', 'text_color' => '', 'background_color' => '', 'class_name' => '', ], ], ]; } public function getSettings(): array { return [ 'on_success' => 'message', 'success_message' => '', 'segments' => [], 'segments_selected_by' => 'admin', 'alignment' => 'left', 'fontColor' => '#313131', 'form_placement' => [ 'popup' => ['enabled' => ''], 'below_posts' => ['enabled' => ''], 'fixed_bar' => ['enabled' => ''], 'slide_in' => ['enabled' => ''], 'others' => [ 'styles' => [ 'width' => [ 'unit' => 'percent', 'value' => '100', ], ], ], ], 'border_radius' => '20', 'border_size' => '10', 'form_padding' => '10', 'input_padding' => '16', 'background_image_display' => 'scale', 'fontSize' => '15', 'font_family' => 'Montserrat', 'success_validation_color' => '#00d084', 'error_validation_color' => '#cf2e2e', 'backgroundColor' => '#ffffff', 'background_image_url' => '', 'close_button' => 'classic', 'border_color' => '#f7f7f7', ]; } public function getStyles(): string { return <<
span { width: 5px; height: 5px; background-color: #5b5b5b; } EOL; } }