Version Description
- Fix for installation glitch.
Download this release
Release Info
Developer | danieliser |
Plugin | Easy Modal |
Version | 1.0.1 |
Comparing to | |
See all releases |
Code changes from version 1.0.0 to 1.0.1
- css/easy-modal-admin.css +10 -10
- easy-modal.php +1 -1
- includes/easy-modal.class.php +2 -1
- js/easy-modal.js +0 -7
- readme.txt +6 -3
- themes/default/styles.css +1 -2
css/easy-modal-admin.css
CHANGED
@@ -2,13 +2,13 @@
|
|
2 |
* Easy Modal
|
3 |
* http://wizardinternetsolutions.com/project/easy-modal/
|
4 |
*/
|
5 |
-
.
|
6 |
-
.
|
7 |
-
.
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
.
|
12 |
-
|
13 |
-
|
14 |
-
|
2 |
* Easy Modal
|
3 |
* http://wizardinternetsolutions.com/project/easy-modal/
|
4 |
*/
|
5 |
+
.full{width:100%;}
|
6 |
+
.half{width:49%;float:left;}
|
7 |
+
.half.last{float:right;}
|
8 |
+
span.description{font-weight:normal;margin-top:2px;display:block;}
|
9 |
+
input[type=radio]{margin:0 5px;}
|
10 |
+
input[type=radio]+h5{margin-right: 15px;}
|
11 |
+
.submit{border:none; padding:0;margin:5px 0;display:block;clear:both;overflow:auto;}
|
12 |
+
input[type=submit]{float:right;}
|
13 |
+
h5{display:inline-block;margin:0;}
|
14 |
+
h4{margin:10px 0 5px;}
|
easy-modal.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Easy Modal
|
|
4 |
Plugin URI: http://wizardinternetsolutions.com/plugins/easy-modal/
|
5 |
Description: Easy Modal allows you to easily add just about any shortcodes or other content into a modal window. This includes forms such as CF7.
|
6 |
Author: Wizard Internet Solutions
|
7 |
-
Version: 1.0.
|
8 |
Author URI: http://wizardinternetsolutions.com
|
9 |
*/
|
10 |
$pluginDIR = PLUGINDIR.'/'. dirname( plugin_basename(__FILE__));
|
4 |
Plugin URI: http://wizardinternetsolutions.com/plugins/easy-modal/
|
5 |
Description: Easy Modal allows you to easily add just about any shortcodes or other content into a modal window. This includes forms such as CF7.
|
6 |
Author: Wizard Internet Solutions
|
7 |
+
Version: 1.0.1
|
8 |
Author URI: http://wizardinternetsolutions.com
|
9 |
*/
|
10 |
$pluginDIR = PLUGINDIR.'/'. dirname( plugin_basename(__FILE__));
|
includes/easy-modal.class.php
CHANGED
@@ -83,6 +83,7 @@ class easy_modal {
|
|
83 |
}
|
84 |
|
85 |
function resetAdminOptions($modalId) {
|
|
|
86 |
update_option($this->adminOptionsName, serialize(array('1')));
|
87 |
update_option($this->adminOptionsName.'_'.$modalId, serialize($this->defaultAdminOptions()));
|
88 |
}
|
@@ -92,9 +93,9 @@ class easy_modal {
|
|
92 |
// Erase Settings For versions older than 0.9.0.4
|
93 |
if(!get_option('eM_version')) $overwrite = true;
|
94 |
if(version_compare(get_option('eM_version'),$cur_ver, '<')) $overwrite = true;
|
|
|
95 |
if($overwrite == true) $this->resetAdminOptions();
|
96 |
update_option('eM_version', $cur_ver);
|
97 |
-
$this->getAdminOptions($cur_ver);
|
98 |
}
|
99 |
//Prints out the admin page
|
100 |
function display_emodal_option($modalId, $new = true){
|
83 |
}
|
84 |
|
85 |
function resetAdminOptions($modalId) {
|
86 |
+
|
87 |
update_option($this->adminOptionsName, serialize(array('1')));
|
88 |
update_option($this->adminOptionsName.'_'.$modalId, serialize($this->defaultAdminOptions()));
|
89 |
}
|
93 |
// Erase Settings For versions older than 0.9.0.4
|
94 |
if(!get_option('eM_version')) $overwrite = true;
|
95 |
if(version_compare(get_option('eM_version'),$cur_ver, '<')) $overwrite = true;
|
96 |
+
if($cur_ver == '1.0.1' || $cur_ver == '1.0.0') $overwrite = true;
|
97 |
if($overwrite == true) $this->resetAdminOptions();
|
98 |
update_option('eM_version', $cur_ver);
|
|
|
99 |
}
|
100 |
//Prints out the admin page
|
101 |
function display_emodal_option($modalId, $new = true){
|
js/easy-modal.js
CHANGED
@@ -79,13 +79,6 @@ return'"'+string+'"';};var _escapeable=/["\\\x00-\x1f\x7f-\x9f]/g;var _meta={'\b
|
|
79 |
centerModal(true);
|
80 |
}, 100)
|
81 |
});
|
82 |
-
$(window).scroll(function(){
|
83 |
-
clearTimeout(resizeTimer);
|
84 |
-
resizeTimer = setTimeout(function(){
|
85 |
-
centerModal(true);
|
86 |
-
}, 100)
|
87 |
-
});
|
88 |
-
|
89 |
$(this).fadeIn();
|
90 |
centerModal();
|
91 |
|
79 |
centerModal(true);
|
80 |
}, 100)
|
81 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
$(this).fadeIn();
|
83 |
centerModal();
|
84 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: modal, contact form 7, ajax
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 3.2.1
|
7 |
-
Stable tag: 1.0.
|
8 |
|
9 |
This plugin allows you to easily add a Modal window with just about any content including Contact Form 7 using ajax submission.
|
10 |
|
@@ -14,13 +14,13 @@ This plugin allows you to easily add unlimited Modal windows with just about any
|
|
14 |
|
15 |
Basic theme for Contact Form 7 default form.
|
16 |
|
17 |
-
For
|
18 |
|
19 |
[youtube http://www.youtube.com/watch?v=w9Us4ttVuZU]
|
20 |
|
21 |
If you like the plugin please rate it.
|
22 |
|
23 |
-
[Easy Modal Page](http://wizardinternetsolutions.com/plugins/easy-modal/ "Easy Modal Page - Info,
|
24 |
|
25 |
[Wizard Internet Solutions](http://wizardinternetsolutions.com/ "Website Design & Development") - Developers Site
|
26 |
|
@@ -64,6 +64,9 @@ We have only included some basic styling for the modal at this point. You can ad
|
|
64 |
|
65 |
== Changelog ==
|
66 |
|
|
|
|
|
|
|
67 |
= 1.0.0 =
|
68 |
* Release v1.0.0 Is a was rebuilt from the ground up. Features Include:
|
69 |
* Unlimited Modals
|
4 |
Tags: modal, contact form 7, ajax
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 3.2.1
|
7 |
+
Stable tag: 1.0.1
|
8 |
|
9 |
This plugin allows you to easily add a Modal window with just about any content including Contact Form 7 using ajax submission.
|
10 |
|
14 |
|
15 |
Basic theme for Contact Form 7 default form.
|
16 |
|
17 |
+
For feature requests please visit our Easy Modal page at the link below
|
18 |
|
19 |
[youtube http://www.youtube.com/watch?v=w9Us4ttVuZU]
|
20 |
|
21 |
If you like the plugin please rate it.
|
22 |
|
23 |
+
[Easy Modal Page](http://wizardinternetsolutions.com/plugins/easy-modal/ "Easy Modal Page - Info, Demo and Discussion") - Info, Demo and Feature Discussion
|
24 |
|
25 |
[Wizard Internet Solutions](http://wizardinternetsolutions.com/ "Website Design & Development") - Developers Site
|
26 |
|
64 |
|
65 |
== Changelog ==
|
66 |
|
67 |
+
= 1.0.1 =
|
68 |
+
* Fix for installation glitch.
|
69 |
+
|
70 |
= 1.0.0 =
|
71 |
* Release v1.0.0 Is a was rebuilt from the ground up. Features Include:
|
72 |
* Unlimited Modals
|
themes/default/styles.css
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Default Theme
|
6 |
*/
|
7 |
#eModal-Overlay {
|
8 |
-
position:
|
9 |
top:0;
|
10 |
left:0;
|
11 |
height:100%;
|
@@ -39,7 +39,6 @@
|
|
39 |
text-align:center;
|
40 |
text-decoration:none;
|
41 |
font-size:20px;
|
42 |
-
z-index:1002;
|
43 |
}
|
44 |
#eModal-Container .eModal-title{color:#fff;font-size:20px;line-height:20px;margin:0;padding:5px 0 3px 10px;text-align:left;}
|
45 |
#eModal-Container p{margin:0;}
|
5 |
* Default Theme
|
6 |
*/
|
7 |
#eModal-Overlay {
|
8 |
+
position:absolute;
|
9 |
top:0;
|
10 |
left:0;
|
11 |
height:100%;
|
39 |
text-align:center;
|
40 |
text-decoration:none;
|
41 |
font-size:20px;
|
|
|
42 |
}
|
43 |
#eModal-Container .eModal-title{color:#fff;font-size:20px;line-height:20px;margin:0;padding:5px 0 3px 10px;text-align:left;}
|
44 |
#eModal-Container p{margin:0;}
|