PluginProbe
GetResponse Forms by Optin Cat / 1.8.0
GetResponse Forms by Optin Cat v1.8.0
1.3.4 1.3.5 1.3.6 1.3.8 1.3.9 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 1.5.2 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.6.1 1.6.2 1.6.3 1.7.0 1.7.1 1.7.2 1.8.0 1.8.1 2.0.0 All 36 releases
getresponse / layouts / common / layout_2 / layout.php

layout.php in GetResponse Forms by Optin Cat 1.8.0, at layouts/common/layout_2/layout.php

101 lines 3.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 function fca_eoi_layout_descriptor_2( $name, $layout_id, $texts ) {
4 require_once FCA_EOI_PLUGIN_DIR . 'includes/eoi-layout.php';
5 $layout = new EasyOptInsLayout( $layout_id );
6 $class = $layout->layout_class;
7
8 return array(
9
10 'name' => __( $name ),
11
12 'editables' => array(
13
14 // Added to the fieldset "Form Background"
15 'form' => array(
16 '.fca_eoi_layout_2.' . $class => array(
17 'background-color' => array( __( 'Form Background Color' ), '#eeeeee' ),
18 'width' => array( __( 'Width' ), '100%' ),
19 'text-align' => array( __( 'Alignment' ), 'center' ),
20 ),
21 ),
22
23 // Added to the fieldset "Headline"
24 'headline' => array(
25 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_headline_copy_wrapper' => array(
26 'color' => array( __( 'Font Color' ), '#FFF' ),
27 'font-size' => array( __( 'Font Size' ), '20px' ),
28 'background-color' => array( __( 'Background Color' ), '#3197e1' ),
29 )
30 ),
31
32 // Added to the fieldset "Description"
33 'description' => array(
34 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_description_copy_wrapper p, ' .
35 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_description_copy_wrapper div' => array(
36 'font-size' => array( __( 'Font Size' ), '14px' ),
37 'color' => array( __('Font Color') , '#000' ),
38 ),
39 ),
40
41 // Added to the fieldset "Name"
42 'name_field' => array(
43 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_name_field_wrapper' => array(
44 'background-color' => array( __('Background Color') , '#FFF' ),
45 'border-color' => array( __('Border Color') , '#FFF' ),
46 'font-size' => array( __( 'Font Size' ), '14px'),
47 'width' => array( __( 'Width' ), '100%'),
48 ),
49 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_name_field_wrapper input, ' .
50 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_name_field_wrapper i.fa' => array(
51 'color' => array( __('Font Color') , '#000' ),
52 ),
53 ),
54
55 // Added to the fieldset "Email"
56 'email_field' => array(
57 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_email_field_wrapper' => array(
58 'background-color' => array( __('Background Color') , '#FFF' ),
59 'border-color' => array( __('Border Color') , '#FFF' ),
60 'font-size' => array( __( 'Font Size' ), '14px'),
61 'width' => array( __( 'Width' ), '100%'),
62 ),
63 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_email_field_wrapper input, ' .
64 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_email_field_wrapper i.fa' => array(
65 'color' => array( __('Font Color') , '#000' ),
66 ),
67 ),
68
69 // Added to the fieldset "Button"
70 'button' => array(
71 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_submit_button_wrapper input' => array(
72 'font-size' => array( __( 'Font Size' ), '16px' ),
73 'color' => array( __('Font Color') , '#FFF' ),
74 'background-color' => array( __('Background Color') , '#e84e34' ),
75 'border-bottom-color' => array( __( 'Border Color' ), '#A83926' ),
76 'hover-color' => array( __( 'Hover Color' ), '#A83926' ),
77
78 ),
79 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_submit_button_wrapper' => array(
80 'width' => array( __( 'Width' ), '100%'),
81 ),
82 ),
83
84 // Added to the fieldset "Privacy Policy"
85 'privacy' => array(
86 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_privacy_copy_wrapper div' => array(
87 'font-size' => array( __( 'Font Size' ), '12px' ),
88 'color' => array( __('Font Color') , '#a1a1a1' ),
89 ),
90 ),
91
92 // Added to the fieldset "Branding"
93 'fatcatapps' => array(
94 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_fatcatapps_link_wrapper a, ' .
95 '.fca_eoi_layout_2.' . $class . ' div.fca_eoi_layout_fatcatapps_link_wrapper a:hover' => array(
96 'color' => array( __( 'Font Color' ), '#3197e1'),
97 ),
98 ),
99 )
100 );
101 }