Version Description
- Added Security Measures in Settings Forms
Download this release
Release Info
Developer | a.ankit |
Plugin | Easy Coming Soon |
Version | 1.8.2 |
Comparing to | |
See all releases |
Code changes from version 1.8.1 to 1.8.2
coming-soon-plugin.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name:Easy Coming Soon
|
4 |
Description: Easy coming Soon plugin allows you to quickly create a launch / under construction page for your website. Collect E-mails and connect with users on Social Networks.
|
5 |
-
Version: 1.8.
|
6 |
Author:Ankit Agarwal, Priyanshu Mittal
|
7 |
Author URI: http://webriti.com
|
8 |
Plugin URI: http://webriti.com/easy-coming-soon-pro-detail-page/
|
2 |
/*
|
3 |
Plugin Name:Easy Coming Soon
|
4 |
Description: Easy coming Soon plugin allows you to quickly create a launch / under construction page for your website. Collect E-mails and connect with users on Social Networks.
|
5 |
+
Version: 1.8.2
|
6 |
Author:Ankit Agarwal, Priyanshu Mittal
|
7 |
Author URI: http://webriti.com
|
8 |
Plugin URI: http://webriti.com/easy-coming-soon-pro-detail-page/
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Easy Coming Soon ===
|
2 |
Contributors: a.ankit, deepeshpaliwal,priyanshu.mittal
|
3 |
Donate link: http://www.webriti.com/
|
4 |
-
Tags: coming soon, coming soon page, construction, landing page, launch, launch page, maintenance, maintenance mode, under construction, admin, newsletter, offline, site offline, wordpress coming soon, wordpress under construction, wordpress maintenance mode,email,gmail,subscriber,notify,message,user,preview,
|
5 |
Requires at least: 3.3+
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 1.8.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -110,6 +110,11 @@ In case you face any problem, contact us via the [Forums](http://wordpress.org/s
|
|
110 |
|
111 |
== Changelog ==
|
112 |
|
|
|
|
|
|
|
|
|
|
|
113 |
= 1.8.1 =
|
114 |
1. Minor Changes in Option Panel
|
115 |
|
1 |
=== Easy Coming Soon ===
|
2 |
Contributors: a.ankit, deepeshpaliwal,priyanshu.mittal
|
3 |
Donate link: http://www.webriti.com/
|
4 |
+
Tags: coming soon wordpress plugin,coming soon, coming soon page, construction, landing page, launch, launch page, maintenance, maintenance mode, under construction, admin, newsletter, offline, site offline, wordpress coming soon, wordpress under construction, wordpress maintenance mode,email,gmail,subscriber,notify,message,user,preview,wordpress under construction page,wordpress landing page, ultimate coming soon page, ultimate landing page, wordpress maintenance mode plugin
|
5 |
Requires at least: 3.3+
|
6 |
+
Tested up to: 4.3
|
7 |
+
Stable tag: 1.8.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
110 |
|
111 |
== Changelog ==
|
112 |
|
113 |
+
|
114 |
+
= 1.8.2 =
|
115 |
+
1. Added Security Measures in Settings Forms
|
116 |
+
|
117 |
+
|
118 |
= 1.8.1 =
|
119 |
1. Minor Changes in Option Panel
|
120 |
|
theme_options/pages/design_page_settings.php
CHANGED
@@ -13,6 +13,8 @@ $design_page_setting = array(
|
|
13 |
'background_effect'=>'0'
|
14 |
|
15 |
);
|
|
|
|
|
16 |
|
17 |
?>
|
18 |
<div class="block ui-tabs-panel " id="option-ui-id-2" >
|
@@ -22,6 +24,13 @@ $design_page_setting = array(
|
|
22 |
if(isset($_POST['commingsoon_lite_settings_save_2']))
|
23 |
{
|
24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
$current_options['background_color']=$_POST['background_color'];
|
26 |
$current_options['title_color']=$_POST['title_color'];
|
27 |
$current_options['title_font_size']=$_POST['title_font_size'];
|
@@ -36,6 +45,12 @@ $design_page_setting = array(
|
|
36 |
|
37 |
|
38 |
if(isset($_POST['commingsoon_lite_settings_reset_2']))
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
{
|
40 |
$current_options['background_color']='#21759B';
|
41 |
$current_options['title_color']='#ffffff';
|
@@ -173,6 +188,12 @@ $design_page_setting = array(
|
|
173 |
<div id="button_section">
|
174 |
<input class="button button-primary button-large" type="submit" name="commingsoon_lite_settings_save_2" value="Save Options">
|
175 |
<input class="button" type="submit" name="commingsoon_lite_settings_reset_2" value="Restore Defaults">
|
|
|
|
|
|
|
|
|
|
|
|
|
176 |
</div>
|
177 |
</form>
|
178 |
</div>
|
13 |
'background_effect'=>'0'
|
14 |
|
15 |
);
|
16 |
+
|
17 |
+
|
18 |
|
19 |
?>
|
20 |
<div class="block ui-tabs-panel " id="option-ui-id-2" >
|
24 |
if(isset($_POST['commingsoon_lite_settings_save_2']))
|
25 |
{
|
26 |
|
27 |
+
if ( !wp_verify_nonce($_POST['design_settings_page_save_nonce_field'],'design_settings_page_save_nonce_action' ) )
|
28 |
+
{
|
29 |
+
print __('Sorry, your nonce did not verify.','commingsoon'); exit;
|
30 |
+
}
|
31 |
+
|
32 |
+
|
33 |
+
|
34 |
$current_options['background_color']=$_POST['background_color'];
|
35 |
$current_options['title_color']=$_POST['title_color'];
|
36 |
$current_options['title_font_size']=$_POST['title_font_size'];
|
45 |
|
46 |
|
47 |
if(isset($_POST['commingsoon_lite_settings_reset_2']))
|
48 |
+
|
49 |
+
if ( !wp_verify_nonce($_POST['design_settings_page_save_nonce_field'],'design_settings_page_save_nonce_action' ) )
|
50 |
+
{
|
51 |
+
print __('Sorry, your nonce did not verify.','commingsoon'); exit;
|
52 |
+
}
|
53 |
+
|
54 |
{
|
55 |
$current_options['background_color']='#21759B';
|
56 |
$current_options['title_color']='#ffffff';
|
188 |
<div id="button_section">
|
189 |
<input class="button button-primary button-large" type="submit" name="commingsoon_lite_settings_save_2" value="Save Options">
|
190 |
<input class="button" type="submit" name="commingsoon_lite_settings_reset_2" value="Restore Defaults">
|
191 |
+
|
192 |
+
<!-- adding Nonce - 27 th August -->
|
193 |
+
<?php wp_nonce_field('design_settings_page_save_nonce_action','design_settings_page_save_nonce_field'); ?>
|
194 |
+
|
195 |
+
|
196 |
+
|
197 |
</div>
|
198 |
</form>
|
199 |
</div>
|
theme_options/pages/header_page_settings.php
CHANGED
@@ -14,12 +14,18 @@ $general_default_settings = array(
|
|
14 |
'gp'=>''
|
15 |
|
16 |
);
|
|
|
17 |
?>
|
18 |
<div class="block ui-tabs-panel active" id="option-ui-id-1" >
|
19 |
<?php $current_options = wp_parse_args( get_option( 'soon_page_settings', array() ), $general_default_settings );
|
20 |
|
21 |
if(isset($_POST['commingsoon_lite_settings_save_1']))
|
22 |
{
|
|
|
|
|
|
|
|
|
|
|
23 |
|
24 |
$current_options['status']=$_POST['status'];
|
25 |
$current_options['background']=$_POST['background'];
|
@@ -64,7 +70,7 @@ $general_default_settings = array(
|
|
64 |
</tr>
|
65 |
</table>
|
66 |
</div>
|
67 |
-
|
68 |
|
69 |
<div class="section">
|
70 |
<div class="element">
|
@@ -132,5 +138,9 @@ $general_default_settings = array(
|
|
132 |
<input class="button button-primary" type="submit" name="commingsoon_lite_settings_save_1"value="Save Options">
|
133 |
<input class="button" type="submit" name="commingsoon_lite_settings_reset_1" value="Restore Defaults">
|
134 |
</div>
|
|
|
|
|
|
|
|
|
135 |
</form>
|
136 |
</div>
|
14 |
'gp'=>''
|
15 |
|
16 |
);
|
17 |
+
|
18 |
?>
|
19 |
<div class="block ui-tabs-panel active" id="option-ui-id-1" >
|
20 |
<?php $current_options = wp_parse_args( get_option( 'soon_page_settings', array() ), $general_default_settings );
|
21 |
|
22 |
if(isset($_POST['commingsoon_lite_settings_save_1']))
|
23 |
{
|
24 |
+
|
25 |
+
if ( empty($_POST) || !wp_verify_nonce($_POST['general_settings_page_save_nonce_field'],'general_settings_page_save_nonce_action' ) )
|
26 |
+
{
|
27 |
+
print __('Sorry, your nonce did not verify.','commingsoon'); exit;
|
28 |
+
}
|
29 |
|
30 |
$current_options['status']=$_POST['status'];
|
31 |
$current_options['background']=$_POST['background'];
|
70 |
</tr>
|
71 |
</table>
|
72 |
</div>
|
73 |
+
|
74 |
|
75 |
<div class="section">
|
76 |
<div class="element">
|
138 |
<input class="button button-primary" type="submit" name="commingsoon_lite_settings_save_1"value="Save Options">
|
139 |
<input class="button" type="submit" name="commingsoon_lite_settings_reset_1" value="Restore Defaults">
|
140 |
</div>
|
141 |
+
|
142 |
+
<!-- Nonce Add - 27 August -->
|
143 |
+
|
144 |
+
<?php wp_nonce_field('general_settings_page_save_nonce_action','general_settings_page_save_nonce_field'); ?>
|
145 |
</form>
|
146 |
</div>
|
theme_options/pages/template_page_settings.php
CHANGED
@@ -1,257 +1,276 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
$general_default_settings = array(
|
4 |
-
|
5 |
-
// general page settings
|
6 |
-
|
7 |
-
'status'=>'1',
|
8 |
-
'background'=>'',
|
9 |
-
'title'=>'',
|
10 |
-
'descrip'=>'',
|
11 |
-
'google_code'=>'',
|
12 |
-
'fb'=>'',
|
13 |
-
'twit'=>'',
|
14 |
-
'gp'=>''
|
15 |
-
|
16 |
-
);
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
</
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
</
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
</
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
</
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
-webkit-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
overflow: hidden;
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
}
|
241 |
-
.template-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
257 |
</style>
|
1 |
+
<?php
|
2 |
+
|
3 |
+
$general_default_settings = array(
|
4 |
+
|
5 |
+
// general page settings
|
6 |
+
|
7 |
+
'status'=>'1',
|
8 |
+
'background'=>'',
|
9 |
+
'title'=>'',
|
10 |
+
'descrip'=>'',
|
11 |
+
'google_code'=>'',
|
12 |
+
'fb'=>'',
|
13 |
+
'twit'=>'',
|
14 |
+
'gp'=>''
|
15 |
+
|
16 |
+
);
|
17 |
+
|
18 |
+
|
19 |
+
?>
|
20 |
+
<div class="block ui-tabs-panel active" id="option-ui-id-4" >
|
21 |
+
<?php $current_options = wp_parse_args( get_option( 'soon_page_settings', array() ), $general_default_settings );
|
22 |
+
if(isset($_POST['commingsoon_lite_settings_save_4']))
|
23 |
+
{
|
24 |
+
if($_POST['commingsoon_lite_settings_save_4'] == 1)
|
25 |
+
{
|
26 |
+
if ( !wp_verify_nonce($_POST['template_settings_page_save_nonce_field'],'template_settings_page_save_nonce_action' ) )
|
27 |
+
{
|
28 |
+
print __('Sorry, your nonce did not verify.','commingsoon'); exit;
|
29 |
+
}
|
30 |
+
else
|
31 |
+
{
|
32 |
+
|
33 |
+
$current_options['status']=$_POST['status'];
|
34 |
+
|
35 |
+
update_option('soon_page_settings',$current_options);
|
36 |
+
}
|
37 |
+
}
|
38 |
+
if($_POST['commingsoon_lite_settings_save_4'] == 2)
|
39 |
+
{
|
40 |
+
|
41 |
+
if ( !wp_verify_nonce($_POST['template_settings_page_save_nonce_field'],'template_settings_page_save_nonce_action' ) )
|
42 |
+
{
|
43 |
+
print __('Sorry, your nonce did not verify.','commingsoon'); exit;
|
44 |
+
}
|
45 |
+
$current_options['status']='1';
|
46 |
+
|
47 |
+
update_option('soon_page_settings',$current_options);
|
48 |
+
}
|
49 |
+
} ?>
|
50 |
+
<form method="post" id="commingsoon_lite_theme_options_4">
|
51 |
+
<div id="heading">
|
52 |
+
<table style="width:100%;"><tr>
|
53 |
+
<td><h2><?php _e('Templates Settings','commingsoon');?></h2></td>
|
54 |
+
<td style="width:30%;">
|
55 |
+
<div class="commingsoon_lite_settings_loding" id="commingsoon_loding_4_image"></div>
|
56 |
+
<div class="commingsoon_lite_settings_massage" id="commingsoon_lite_settings_save_4_success" ><?php _e('Options data successfully Saved','commingsoon');?></div>
|
57 |
+
<div class="commingsoon_lite_settings_massage" id="commingsoon_lite_settings_save_4_reset" ><?php _e('Options data successfully reset','commingsoon');?></div>
|
58 |
+
</td>
|
59 |
+
<td style="text-align:right;">
|
60 |
+
<!--<input class="reset-button btn" type="button" name="reset" value="Restore Defaults" onclick="commingsoon_option_data_reset('1');">
|
61 |
+
<input class="button button-primary button-large" type="button" value="Save Options" onclick="commingsoon_option_data_save('1')" >-->
|
62 |
+
</td>
|
63 |
+
</tr>
|
64 |
+
</table>
|
65 |
+
</div>
|
66 |
+
|
67 |
+
|
68 |
+
<table class="form-table">
|
69 |
+
<tr>
|
70 |
+
<th scope="row" class="page-title"><?php _e('Templates','webriti_soon_pro')?></th>
|
71 |
+
<td></td>
|
72 |
+
</tr>
|
73 |
+
</table><br>
|
74 |
+
<table class="form-table">
|
75 |
+
<tr>
|
76 |
+
|
77 |
+
<td>
|
78 |
+
|
79 |
+
<div class="template">
|
80 |
+
|
81 |
+
<div class="template-screenshot">
|
82 |
+
<img src="<?php echo plugin_dir_url(__FILE__)."images/screenshot-4.png";?>" alt="">
|
83 |
+
</div>
|
84 |
+
|
85 |
+
<h3 class="template-name">Default</h3>
|
86 |
+
|
87 |
+
|
88 |
+
<div class="template-actions">
|
89 |
+
|
90 |
+
|
91 |
+
|
92 |
+
<button class="btn btn-danger" disabled="disabled" id="template1_active" style="vertical-align:middle;">Activated</button>
|
93 |
+
|
94 |
+
|
95 |
+
</div>
|
96 |
+
|
97 |
+
|
98 |
+
</div>
|
99 |
+
<div class="template">
|
100 |
+
|
101 |
+
<div class="template-screenshot">
|
102 |
+
<a href="http://webriti.com/easy-coming-soon-pro-detail-page/" target= "_new"><img src="<?php echo plugins_url('/images/screenshot-28.png',__FILE__);?>" alt=""></a>
|
103 |
+
</div>
|
104 |
+
|
105 |
+
<h3 class="template-name">Template1</h3>
|
106 |
+
|
107 |
+
|
108 |
+
<div class="template-actions">
|
109 |
+
|
110 |
+
|
111 |
+
|
112 |
+
<a class="btn btn-danger" href="http://webriti.com/easy-coming-soon-pro-detail-page/" target= "_new" style="vertical-align:middle;">Available In Pro</a>
|
113 |
+
|
114 |
+
|
115 |
+
</div>
|
116 |
+
|
117 |
+
|
118 |
+
</div>
|
119 |
+
|
120 |
+
|
121 |
+
<div class="template">
|
122 |
+
|
123 |
+
<div class="template-screenshot">
|
124 |
+
<a href="http://webriti.com/easy-coming-soon-pro-detail-page/" target= "_new"> <img src="<?php echo plugins_url('/images/screenshot-31.png',__FILE__);?>" alt=""></a>
|
125 |
+
</div>
|
126 |
+
|
127 |
+
<h3 class="template-name">Template2</h3>
|
128 |
+
|
129 |
+
|
130 |
+
<div class="template-actions">
|
131 |
+
|
132 |
+
|
133 |
+
|
134 |
+
<a class="btn btn-danger" href="http://webriti.com/easy-coming-soon-pro-detail-page/" target= "_new" style="vertical-align:middle;">Available In Pro</a>
|
135 |
+
|
136 |
+
|
137 |
+
|
138 |
+
</div>
|
139 |
+
|
140 |
+
|
141 |
+
</div>
|
142 |
+
|
143 |
+
<div class="template">
|
144 |
+
|
145 |
+
<div class="template-screenshot">
|
146 |
+
<a href="http://webriti.com/easy-coming-soon-pro-detail-page/" target= "_new"> <img src="<?php echo plugins_url('/images/template3-new.png',__FILE__);?>" alt=""></a>
|
147 |
+
</div>
|
148 |
+
|
149 |
+
<h3 class="template-name">Template3</h3>
|
150 |
+
|
151 |
+
|
152 |
+
<div class="template-actions">
|
153 |
+
|
154 |
+
|
155 |
+
|
156 |
+
<a class="btn btn-danger" href="http://webriti.com/easy-coming-soon-pro-detail-page/" target= "_new" style="vertical-align:middle;">Available In Pro</a>
|
157 |
+
|
158 |
+
|
159 |
+
|
160 |
+
</div>
|
161 |
+
|
162 |
+
|
163 |
+
</div>
|
164 |
+
|
165 |
+
<div class="template">
|
166 |
+
|
167 |
+
<div class="template-screenshot">
|
168 |
+
<a href="http://webriti.com/easy-coming-soon-pro-detail-page/" target= "_new"> <img src="<?php echo plugins_url('/images/template4.png',__FILE__);?>" alt=""></a>
|
169 |
+
</div>
|
170 |
+
|
171 |
+
<h3 class="template-name">Template4</h3>
|
172 |
+
|
173 |
+
|
174 |
+
<div class="template-actions">
|
175 |
+
|
176 |
+
|
177 |
+
|
178 |
+
<a class="btn btn-danger" href="http://webriti.com/easy-coming-soon-pro-detail-page/" target= "_new" style="vertical-align:middle;">Available In Pro</a>
|
179 |
+
|
180 |
+
|
181 |
+
|
182 |
+
</div>
|
183 |
+
|
184 |
+
|
185 |
+
</div>
|
186 |
+
|
187 |
+
</td>
|
188 |
+
</tr>
|
189 |
+
|
190 |
+
</table>
|
191 |
+
|
192 |
+
<!--<div id="button_section">
|
193 |
+
<input type="hidden" value="1" id="commingsoon_lite_settings_save_4" name="commingsoon_lite_settings_save_4" />
|
194 |
+
<input class="reset-button btn" type="button" name="reset" value="Restore Defaults" onclick="commingsoon_option_data_reset('4');">
|
195 |
+
<input class="button button-primary" type="button" value="Save Options" onclick="commingsoon_option_data_save('4')" >
|
196 |
+
</div>-->
|
197 |
+
|
198 |
+
|
199 |
+
|
200 |
+
|
201 |
+
<!-- added nonce August 27 -->
|
202 |
+
|
203 |
+
|
204 |
+
<?php wp_nonce_field('template_settings_page_save_nonce_action','template_settings_page_save_nonce_field'); ?>
|
205 |
+
|
206 |
+
|
207 |
+
|
208 |
+
|
209 |
+
</form>
|
210 |
+
</div>
|
211 |
+
<style>
|
212 |
+
.template{
|
213 |
+
cursor: pointer;
|
214 |
+
float: left;
|
215 |
+
margin: 0 4% 4% 0;
|
216 |
+
position: relative;
|
217 |
+
width: 300px;
|
218 |
+
border: 1px solid #dedede;
|
219 |
+
-webkit-box-shadow: 0 1px 1px -1px rgba(0,0,0,.1);
|
220 |
+
box-shadow: 0 1px 1px -1px rgba(0,0,0,.1);
|
221 |
+
-webkit-box-sizing: border-box;
|
222 |
+
-moz-box-sizing: border-box;
|
223 |
+
box-sizing: border-box;
|
224 |
+
}
|
225 |
+
|
226 |
+
.template-screenshot{
|
227 |
+
display: block;
|
228 |
+
overflow: hidden;
|
229 |
+
position: relative;
|
230 |
+
-webkit-transition: opacity .2s ease-in-out;
|
231 |
+
transition: opacity .2s ease-in-out;
|
232 |
+
}
|
233 |
+
.template-screenshot:hover{
|
234 |
+
display: block;
|
235 |
+
overflow: hidden;
|
236 |
+
position: relative;
|
237 |
+
opacity:0.8;
|
238 |
+
-webkit-transition: opacity .2s ease-in-out;
|
239 |
+
transition: opacity .2s ease-in-out;
|
240 |
+
}
|
241 |
+
.template-screenshot img {
|
242 |
+
|
243 |
+
|
244 |
+
width: 100%;
|
245 |
+
|
246 |
+
}
|
247 |
+
.template-name{
|
248 |
+
font-size: 15px;
|
249 |
+
font-weight: 600;
|
250 |
+
margin: 0;
|
251 |
+
padding: 15px;
|
252 |
+
-webkit-box-shadow: inset 0 1px 0 rgba(0,0,0,.1);
|
253 |
+
box-shadow: inset 0 1px 0 rgba(0,0,0,.1);
|
254 |
+
overflow: hidden;
|
255 |
+
white-space: nowrap;
|
256 |
+
text-overflow: ellipsis;
|
257 |
+
background: #fff;
|
258 |
+
background: rgba(255,255,255,.65);
|
259 |
+
}
|
260 |
+
.template-actions{
|
261 |
+
opacity: 1;
|
262 |
+
-webkit-transition: opacity .1s ease-in-out;
|
263 |
+
transition: opacity .1s ease-in-out;
|
264 |
+
position: absolute;
|
265 |
+
bottom: 0;
|
266 |
+
right: 0;
|
267 |
+
height: 38px;
|
268 |
+
padding: 9px 10px 0;
|
269 |
+
background: rgba(244,244,244,.7);
|
270 |
+
border-left: 1px solid rgba(0,0,0,.05);
|
271 |
+
}
|
272 |
+
#option-tree-settings-api #poststuff .template h3 {
|
273 |
+
padding: 9px 15px !important;
|
274 |
+
line-height: 35px;
|
275 |
+
}
|
276 |
</style>
|
theme_options/webriti_option_pannel.php
CHANGED
@@ -252,7 +252,7 @@
|
|
252 |
<div class="webriti-submenu" style="height:35px;">
|
253 |
<div class="webriti-submenu-links" style="margin-top:5px;">
|
254 |
<form method="POST">
|
255 |
-
<input type="submit" onclick="return confirm( 'Click OK to reset
|
256 |
<form>
|
257 |
</div><!-- webriti-submenu-links -->
|
258 |
</div>
|
252 |
<div class="webriti-submenu" style="height:35px;">
|
253 |
<div class="webriti-submenu-links" style="margin-top:5px;">
|
254 |
<form method="POST">
|
255 |
+
<input type="submit" onclick="return confirm( 'Click OK to reset Plugin data. Theme settings will be lost!' );" value="Restore All Defaults" name="restore_all_defaults" id="restore_all_defaults" class="reset-button btn">
|
256 |
<form>
|
257 |
</div><!-- webriti-submenu-links -->
|
258 |
</div>
|