Version Description
- Improved CSS edition area
Download this release
Release Info
Developer | codepeople |
Plugin | Contact Form Email |
Version | 1.2.62 |
Comparing to | |
See all releases |
Code changes from version 1.2.61 to 1.2.62
- README.txt +5 -2
- cp-admin-int-report.inc.php +1 -1
- cp_admin_int_edition.inc.php +112 -0
- form-to-email.php +1 -1
README.txt
CHANGED
@@ -454,6 +454,9 @@ When you click a field already added into the contact form builder area, you can
|
|
454 |
|
455 |
== Changelog ==
|
456 |
|
|
|
|
|
|
|
457 |
= 1.2.61 =
|
458 |
* Interface and stats section improvements
|
459 |
|
@@ -944,5 +947,5 @@ When you click a field already added into the contact form builder area, you can
|
|
944 |
|
945 |
== Upgrade Notice ==
|
946 |
|
947 |
-
= 1.2.
|
948 |
-
*
|
454 |
|
455 |
== Changelog ==
|
456 |
|
457 |
+
= 1.2.62 =
|
458 |
+
* Improved CSS edition area
|
459 |
+
|
460 |
= 1.2.61 =
|
461 |
* Interface and stats section improvements
|
462 |
|
947 |
|
948 |
== Upgrade Notice ==
|
949 |
|
950 |
+
= 1.2.62 =
|
951 |
+
* Improved CSS edition area
|
cp-admin-int-report.inc.php
CHANGED
@@ -91,7 +91,7 @@ else
|
|
91 |
|
92 |
?>
|
93 |
|
94 |
-
<h1><?php echo $this->plugin_name; ?> Stats - <?php echo $this->get_option("form_name"); ?></h1>
|
95 |
|
96 |
|
97 |
|
91 |
|
92 |
?>
|
93 |
|
94 |
+
<h1><?php echo $this->plugin_name; ?> Stats - <?php echo $this->get_option("form_name",""); ?></h1>
|
95 |
|
96 |
|
97 |
|
cp_admin_int_edition.inc.php
CHANGED
@@ -20,6 +20,59 @@ else if ($_GET["item"] == 'css')
|
|
20 |
$saved_contents = base64_decode(get_option($cpid.'_CSS', ''));
|
21 |
|
22 |
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
<div class="wrap">
|
24 |
<h1>Customization / Edit Page</h1>
|
25 |
|
@@ -49,6 +102,65 @@ else if ($_GET["item"] == 'css')
|
|
49 |
|
50 |
|
51 |
</form>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
</div>
|
53 |
|
54 |
|
20 |
$saved_contents = base64_decode(get_option($cpid.'_CSS', ''));
|
21 |
|
22 |
?>
|
23 |
+
<script>
|
24 |
+
// Move to an external file
|
25 |
+
jQuery(function(){
|
26 |
+
var $ = jQuery;
|
27 |
+
<?php
|
28 |
+
if(function_exists('wp_enqueue_code_editor'))
|
29 |
+
{
|
30 |
+
$settings_js = wp_enqueue_code_editor(array('type' => 'application/javascript'));
|
31 |
+
$settings_css = wp_enqueue_code_editor(array('type' => 'text/css'));
|
32 |
+
|
33 |
+
// Bail if user disabled CodeMirror.
|
34 |
+
if(!(false === $settings_js && false === $settings_css))
|
35 |
+
{
|
36 |
+
if ($_GET["item"] == 'js')
|
37 |
+
print sprintf('{wp.codeEditor.initialize( "editionarea", %s );}',wp_json_encode( $settings_js ));
|
38 |
+
else
|
39 |
+
print sprintf('{wp.codeEditor.initialize( "editionarea", %s );}',wp_json_encode( $settings_css ));
|
40 |
+
}
|
41 |
+
}
|
42 |
+
|
43 |
+
?>
|
44 |
+
});
|
45 |
+
</script>
|
46 |
+
<style>
|
47 |
+
.ahb-tab{display:none;}
|
48 |
+
.ahb-tab label{font-weight:600;}
|
49 |
+
.tab-active{display:block;}
|
50 |
+
.ahb-code-editor-container{border:1px solid #DDDDDD;margin-bottom:20px;}
|
51 |
+
|
52 |
+
.ahb-csssample { margin-top: 15px; margin-left:20px; margin-right:20px;}
|
53 |
+
.ahb-csssampleheader {
|
54 |
+
font-weight: bold;
|
55 |
+
background: #dddddd;
|
56 |
+
padding:10px 20px;-webkit-box-shadow: 0px 2px 2px 0px rgba(100, 100, 100, 0.1);-moz-box-shadow: 0px 2px 2px 0px rgba(100, 100, 100, 0.1);box-shadow: 0px 2px 2px 0px rgba(100, 100, 100, 0.1);
|
57 |
+
text-align:left;
|
58 |
+
}
|
59 |
+
.ahb-csssamplecode { background: #f4f4f4;
|
60 |
+
border: 1px solid #ddd;
|
61 |
+
border-left: 3px solid #f36d33;
|
62 |
+
color: #666;
|
63 |
+
page-break-inside: avoid;
|
64 |
+
font-family: monospace;
|
65 |
+
font-size: 15px;
|
66 |
+
line-height: 1.6;
|
67 |
+
margin-bottom: 1.6em;
|
68 |
+
max-width: 100%;
|
69 |
+
overflow: auto;
|
70 |
+
padding: 1em 1.5em;
|
71 |
+
display: block;
|
72 |
+
word-wrap: break-word;
|
73 |
+
text-align:left;
|
74 |
+
}
|
75 |
+
</style>
|
76 |
<div class="wrap">
|
77 |
<h1>Customization / Edit Page</h1>
|
78 |
|
102 |
|
103 |
|
104 |
</form>
|
105 |
+
|
106 |
+
<?php if ($_GET["item"] == 'css') { ?>
|
107 |
+
<hr />
|
108 |
+
|
109 |
+
<div class="ahb-statssection-container" style="background:#f6f6f6;">
|
110 |
+
<div class="ahb-statssection-header" style="background:white;
|
111 |
+
padding:10px 20px;-webkit-box-shadow: 0px 2px 2px 0px rgba(100, 100, 100, 0.1);-moz-box-shadow: 0px 2px 2px 0px rgba(100, 100, 100, 0.1);box-shadow: 0px 2px 2px 0px rgba(100, 100, 100, 0.1);">
|
112 |
+
<h3>Sample Styles:</h3>
|
113 |
+
</div>
|
114 |
+
<div class="ahb-statssection">
|
115 |
+
|
116 |
+
<div class="ahb-csssample">
|
117 |
+
<div class="ahb-csssampleheader">
|
118 |
+
Make the send button in a hover format:
|
119 |
+
</div>
|
120 |
+
<div class="ahb-csssamplecode">
|
121 |
+
.pbSubmit:hover {
|
122 |
+
background-color: #4CAF50;
|
123 |
+
color: white;
|
124 |
+
}
|
125 |
+
</div>
|
126 |
+
</div>
|
127 |
+
|
128 |
+
<div class="ahb-csssample">
|
129 |
+
<div class="ahb-csssampleheader">
|
130 |
+
Change the color of all form field labels:
|
131 |
+
</div>
|
132 |
+
<div class="ahb-csssamplecode">
|
133 |
+
#fbuilder, #fbuilder label, #fbuilder span { color: #00f; }
|
134 |
+
</div>
|
135 |
+
</div>
|
136 |
+
|
137 |
+
<div class="ahb-csssample">
|
138 |
+
<div class="ahb-csssampleheader">
|
139 |
+
Change color of fonts into all fields:
|
140 |
+
</div>
|
141 |
+
<div class="ahb-csssamplecode">
|
142 |
+
#fbuilder input[type=text],
|
143 |
+
#fbuilder textarea,
|
144 |
+
#fbuilder select {
|
145 |
+
color: #00f;
|
146 |
+
}
|
147 |
+
</div>
|
148 |
+
</div>
|
149 |
+
|
150 |
+
<div class="ahb-csssample">
|
151 |
+
<div class="ahb-csssampleheader">
|
152 |
+
Other styles:
|
153 |
+
</div>
|
154 |
+
<div class="ahb-csssamplecode">
|
155 |
+
For other styles check the design section in the FAQ: <a href="https://form2email.dwbooster.com/faq?page=faq#design">https://form2email.dwbooster.com/faq?page=faq#design</a>
|
156 |
+
</div>
|
157 |
+
</div>
|
158 |
+
|
159 |
+
</div>
|
160 |
+
</div>
|
161 |
+
|
162 |
+
<?php } ?>
|
163 |
+
|
164 |
</div>
|
165 |
|
166 |
|
form-to-email.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Contact Form Email
|
4 |
Plugin URI: https://form2email.dwbooster.com/download
|
5 |
Description: Contact form that sends the data to email and also to a database list and CSV file.
|
6 |
-
Version: 1.2.
|
7 |
Author: CodePeople
|
8 |
Author URI: https://form2email.dwbooster.com
|
9 |
Text Domain: contact-form-to-email
|
3 |
Plugin Name: Contact Form Email
|
4 |
Plugin URI: https://form2email.dwbooster.com/download
|
5 |
Description: Contact form that sends the data to email and also to a database list and CSV file.
|
6 |
+
Version: 1.2.62
|
7 |
Author: CodePeople
|
8 |
Author URI: https://form2email.dwbooster.com
|
9 |
Text Domain: contact-form-to-email
|