Version Description
- Fixed Issue #129: Spacing field giving an undefined.
- Fixed Issue #131: Google Fonts stylesheet appending to body and also to the top of the header. Now properly placed both at the end of the head tag as to overload any theme stylesheets.
- Fixed issue #132 (See #134, thanks @andreilupu): Could not have multiple Wordpress Editors (wp_editor) as the same ID was shared. Also fixed various styles to match Wordpress for this field.
- Fixed Issue #133: Issue when custom admin stylesheet was used, a JS error resulted.
Download this release
Release Info
Developer | dovyp |
Plugin | Redux Framework |
Version | 3.0.3 |
Comparing to | |
See all releases |
Code changes from version 3.0.1 to 3.0.3
- README.txt +23 -7
- ReduxCore/assets/css/style.css +2 -0
- ReduxCore/assets/css/style.less +5 -1
- ReduxCore/assets/js/admin.js +17 -16
- ReduxCore/assets/js/admin.min.js +1 -1
- ReduxCore/extensions/customizer/extension_customizer.php +2 -2
- ReduxCore/framework.php +6 -6
- ReduxCore/inc/fields/color/field_color.min.js +1 -1
- ReduxCore/inc/fields/date/field_date.js +3 -1
- ReduxCore/inc/fields/date/field_date.min.js +1 -1
- ReduxCore/inc/fields/dimensions/field_dimensions.js +5 -2
- ReduxCore/inc/fields/dimensions/field_dimensions.min.js +1 -1
- ReduxCore/inc/fields/dimensions/field_dimensions.php +3 -3
- ReduxCore/inc/fields/editor/field_editor.css +5 -1
- ReduxCore/inc/fields/editor/field_editor.js +0 -52
- ReduxCore/inc/fields/editor/field_editor.less +45 -2
- ReduxCore/inc/fields/editor/field_editor.min.js +0 -1
- ReduxCore/inc/fields/editor/field_editor.php +4 -2
- ReduxCore/inc/fields/gallery/field_gallery.js +1 -1
- ReduxCore/inc/fields/gallery/field_gallery.min.js +1 -1
- ReduxCore/inc/fields/image_select/field_image_select.css +1 -1
- ReduxCore/inc/fields/image_select/field_image_select.js +1 -1
- ReduxCore/inc/fields/image_select/field_image_select.less +1 -1
- ReduxCore/inc/fields/image_select/field_image_select.min.js +1 -1
- ReduxCore/inc/fields/media/field_media.js +4 -4
- ReduxCore/inc/fields/media/field_media.min.js +1 -1
- ReduxCore/inc/fields/slides/field_slides.css +5 -5
- ReduxCore/inc/fields/slides/field_slides.js +8 -2
- ReduxCore/inc/fields/slides/field_slides.less +10 -6
- ReduxCore/inc/fields/slides/field_slides.min.js +1 -1
- ReduxCore/inc/fields/slides/field_slides.php +13 -13
- ReduxCore/inc/fields/spacing/field_spacing.js +7 -3
- ReduxCore/inc/fields/spacing/field_spacing.min.js +1 -1
- ReduxCore/inc/fields/spacing/field_spacing.php +36 -8
- ReduxCore/inc/fields/typography/field_typography.php +3 -2
- ReduxCore/languages/README.txt +9 -1
- ReduxCore/languages/redux-framework-de_DE.mo +0 -0
- ReduxCore/languages/redux-framework-de_DE.po +508 -0
- ReduxCore/languages/redux-framework-id_ID.mo +0 -0
- ReduxCore/languages/redux-framework-id_ID.po +395 -0
- ReduxCore/languages/{redux.mo → redux-framework.mo} +0 -0
- ReduxCore/languages/{redux.pot → redux-framework.pot} +0 -0
- redux-framework.php +1 -1
README.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: admin, admin interface, options, theme options, plugin options, options framework, settings
|
5 |
Requires at least: 3.5.1
|
6 |
Tested up to: 3.7
|
7 |
-
Stable tag: 3.0.
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -28,7 +28,7 @@ Don't take our word for it, check out our online demo and try Redux without inst
|
|
28 |
|
29 |
|
30 |
= Docs & Support =
|
31 |
-
You can find [docs](http://reduxframework.com/docs/), [FAQs](http://reduxframework.com/docs/) and more detailed information about ReduxFramework on [reduxframework.com](http://reduxframework.com). If you were unable to find the answer to your question on the [FAQs](http://reduxframework.com/docs/) or in any of the [documentation](http://reduxframework.com/docs/), you should search [the issue tracker on Github](https://github.com/ReduxFramework/ReduxFramework/issues). If you can't locate any topics that pertain to your particular issue, [post a new issue](https://github.com/ReduxFramework/ReduxFramework/issues/new) for it.
|
32 |
|
33 |
|
34 |
= Redux Framework Needs Your Support =
|
@@ -80,7 +80,14 @@ At least we think so, we hope you feel the same.
|
|
80 |
|
81 |
|
82 |
= Translators & Non-English Speakers =
|
83 |
-
We need your help to translate Redux into your language. If you have created your own language pack, or have an update of an existing one, you can post [gettext PO and MO files](http://codex.wordpress.org/Translating_WordPress) to the [Github Repo](https://github.com/ReduxFramework/ReduxFramework) via a pull request or you can post an issue with the attached files. You can download the latest [POT file](http://plugins.svn.wordpress.org/redux-framework/trunk/ReduxCore/languages/redux.pot), and see the latest [PO files in each language](http://plugins.svn.wordpress.org/redux-framework/trunk/ReduxCore/languages/).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
|
85 |
= Get Involved =
|
86 |
Redux is an ever-changing, living system. Want to stay up to date or
|
@@ -90,7 +97,6 @@ NOTE: Redux is not intended to be used on its own. It requires a config file
|
|
90 |
provided by a third-party theme or plugin developer to actual do anything
|
91 |
cool!
|
92 |
|
93 |
-
|
94 |
== Installation ==
|
95 |
|
96 |
= Install the Plugin =
|
@@ -123,15 +129,25 @@ Redux is an options framework... in other words, it's not designed to do anythin
|
|
123 |
Visit our website at [http://reduxframework.com/](http://reduxframework.com/)
|
124 |
|
125 |
= You don't have much content in this FAQ section =
|
126 |
-
That's because the real FAQ section is
|
127 |
|
128 |
== Screenshots ==
|
129 |
|
130 |
-
1. This is the demo mode of Redux Framework. Activate it and you will find a fully-
|
131 |
|
132 |
== Changelog ==
|
133 |
|
134 |
-
= 3.0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
* Backing out a bit of submitted code that caused the input field to not properly break.
|
136 |
|
137 |
= 3.0.0 =
|
4 |
Tags: admin, admin interface, options, theme options, plugin options, options framework, settings
|
5 |
Requires at least: 3.5.1
|
6 |
Tested up to: 3.7
|
7 |
+
Stable tag: 3.0.3
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
28 |
|
29 |
|
30 |
= Docs & Support =
|
31 |
+
You can find [docs](http://reduxframework.com/docs/), [FAQs](http://reduxframework.com/docs/) and more detailed information about ReduxFramework on [reduxframework.com](http://reduxframework.com). If you were unable to find the answer to your question on the [FAQs](http://reduxframework.com/docs/), or in any of the [documentation](http://reduxframework.com/docs/), you should search [the issue tracker on Github](https://github.com/ReduxFramework/ReduxFramework/issues). If you can't locate any topics that pertain to your particular issue, [post a new issue](https://github.com/ReduxFramework/ReduxFramework/issues/new) for it.
|
32 |
|
33 |
|
34 |
= Redux Framework Needs Your Support =
|
80 |
|
81 |
|
82 |
= Translators & Non-English Speakers =
|
83 |
+
We need your help to translate Redux into your language. If you have created your own language pack, or have an update of an existing one, you can post [gettext PO and MO files](http://codex.wordpress.org/Translating_WordPress) to the [Github Repo](https://github.com/ReduxFramework/ReduxFramework) via a pull request or you can post an issue with the attached files. You can download the latest [POT file](http://plugins.svn.wordpress.org/redux-framework/trunk/ReduxCore/languages/redux-framework.pot), and see the latest [PO files in each language](http://plugins.svn.wordpress.org/redux-framework/trunk/ReduxCore/languages/).
|
84 |
+
|
85 |
+
= Current Translations =
|
86 |
+
|
87 |
+
Special thanks to the following people for language translations:
|
88 |
+
|
89 |
+
* German [de_DE] @Abu-Taymiyyah
|
90 |
+
* Bahasa Indonesia [id_ID] @riesurya
|
91 |
|
92 |
= Get Involved =
|
93 |
Redux is an ever-changing, living system. Want to stay up to date or
|
97 |
provided by a third-party theme or plugin developer to actual do anything
|
98 |
cool!
|
99 |
|
|
|
100 |
== Installation ==
|
101 |
|
102 |
= Install the Plugin =
|
129 |
Visit our website at [http://reduxframework.com/](http://reduxframework.com/)
|
130 |
|
131 |
= You don't have much content in this FAQ section =
|
132 |
+
That's because the real FAQ section is on our site! Please visit [http://reduxframework.com/docs/faqs/](http://reduxframework.com/docs/faqs/
|
133 |
|
134 |
== Screenshots ==
|
135 |
|
136 |
+
1. This is the demo mode of Redux Framework. Activate it and you will find a fully-functional admin panel that you can play with. On the Plugins page, beneath the description and an activated Redux Framework, you will find a Demo Mode link. Click that link to activate or deactivate the sample-config file Redux ships with. Don't take our word for it, check out our online demo and try Redux without installing a thing! [**http://demo.reduxframework.com/wp-admin/**](http://demo.reduxframework.com/wp-admin/)
|
137 |
|
138 |
== Changelog ==
|
139 |
|
140 |
+
= 3.0.3 =
|
141 |
+
* Fixed Issue #129: Spacing field giving an undefined.
|
142 |
+
* Fixed Issue #131: Google Fonts stylesheet appending to body and also to the top of the header. Now properly placed both at the end of the head tag as to overload any theme stylesheets.
|
143 |
+
* Fixed issue #132 (See #134, thanks @andreilupu): Could not have multiple Wordpress Editors (wp_editor) as the same ID was shared. Also fixed various styles to match Wordpress for this field.
|
144 |
+
* Fixed Issue #133: Issue when custom admin stylesheet was used, a JS error resulted.
|
145 |
+
|
146 |
+
|
147 |
+
= 3.0.2 =
|
148 |
+
* Improvements to slides, various field fixes and improvements. Also fixed a few user submitted issues.
|
149 |
+
|
150 |
+
= 3.0.1 =
|
151 |
* Backing out a bit of submitted code that caused the input field to not properly break.
|
152 |
|
153 |
= 3.0.0 =
|
ReduxCore/assets/css/style.css
CHANGED
@@ -2,6 +2,7 @@
|
|
2 |
#redux-main .description{margin-top:7px}
|
3 |
a{outline:0 !important}
|
4 |
.ui-datepicker table{background:#fff}
|
|
|
5 |
#redux-container{font-family:"Lucida Grande",Sans-serif;background-color:#eee;background-repeat:repeat-x;background-image:-moz-linear-gradient(top, #f5f5f5 0, #eee 100%);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0, #f5f5f5), color-stop(100%, #eee));background-image:-webkit-linear-gradient(top, #f5f5f5 0, #eee 100%);background-image:-ms-linear-gradient(top, #f5f5f5 0, #eee 100%);background-image:-o-linear-gradient(top, #f5f5f5 0, #eee 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#eeeeee', GradientType=0);background-image:linear-gradient(top, #f5f5f5 0, #eee 100%);border:1px solid #e5e5e5;-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;-moz-box-shadow:0 1px 0 #fff inset,0 1px 5px rgba(0,0,0,0.1);-webkit-box-shadow:0 1px 0 #fff inset,0 1px 5px rgba(0,0,0,0.1);box-shadow:0 1px 0 #fff inset,0 1px 5px rgba(0,0,0,0.1);margin-top:20px;overflow:hidden}
|
6 |
#redux-container .hr{height:20px;line-height:20px;float:none;border-color:#e7e7e7;display:block;width:100%;height:35px !important;line-height:35px !important;position:relative;margin:15px 0 10px 0;float:left}
|
7 |
#redux-container .inner{width:42% !important;left:40% !important;margin-left:-6%;background-color:#fcfcfc;border-color:#e7e7e7;position:absolute;height:1px;top:50%;width:100%;margin-top:-1px;border-top-width:1px;border-top-style:solid}
|
@@ -97,6 +98,7 @@ a{outline:0 !important}
|
|
97 |
#redux-main select,#redux-main .select_wrapper{width:340px}
|
98 |
#redux-main textarea{width:100%}
|
99 |
#redux-main input[type=text]{width:340px}
|
|
|
100 |
#redux-main input.checkbox,#redux-main input.radio{margin-right:10px}
|
101 |
label.radio,label.multicheck{position:relative}
|
102 |
#redux-main .input-text-small{width:60px;margin-right:10px}
|
2 |
#redux-main .description{margin-top:7px}
|
3 |
a{outline:0 !important}
|
4 |
.ui-datepicker table{background:#fff}
|
5 |
+
.ui-state-highlight{height:2.5em;line-height:2.2em}
|
6 |
#redux-container{font-family:"Lucida Grande",Sans-serif;background-color:#eee;background-repeat:repeat-x;background-image:-moz-linear-gradient(top, #f5f5f5 0, #eee 100%);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0, #f5f5f5), color-stop(100%, #eee));background-image:-webkit-linear-gradient(top, #f5f5f5 0, #eee 100%);background-image:-ms-linear-gradient(top, #f5f5f5 0, #eee 100%);background-image:-o-linear-gradient(top, #f5f5f5 0, #eee 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5f5f5', endColorstr='#eeeeee', GradientType=0);background-image:linear-gradient(top, #f5f5f5 0, #eee 100%);border:1px solid #e5e5e5;-moz-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;-moz-box-shadow:0 1px 0 #fff inset,0 1px 5px rgba(0,0,0,0.1);-webkit-box-shadow:0 1px 0 #fff inset,0 1px 5px rgba(0,0,0,0.1);box-shadow:0 1px 0 #fff inset,0 1px 5px rgba(0,0,0,0.1);margin-top:20px;overflow:hidden}
|
7 |
#redux-container .hr{height:20px;line-height:20px;float:none;border-color:#e7e7e7;display:block;width:100%;height:35px !important;line-height:35px !important;position:relative;margin:15px 0 10px 0;float:left}
|
8 |
#redux-container .inner{width:42% !important;left:40% !important;margin-left:-6%;background-color:#fcfcfc;border-color:#e7e7e7;position:absolute;height:1px;top:50%;width:100%;margin-top:-1px;border-top-width:1px;border-top-style:solid}
|
98 |
#redux-main select,#redux-main .select_wrapper{width:340px}
|
99 |
#redux-main textarea{width:100%}
|
100 |
#redux-main input[type=text]{width:340px}
|
101 |
+
#redux-main input.full-text{width:100%}
|
102 |
#redux-main input.checkbox,#redux-main input.radio{margin-right:10px}
|
103 |
label.radio,label.multicheck{position:relative}
|
104 |
#redux-main .input-text-small{width:60px;margin-right:10px}
|
ReduxCore/assets/css/style.less
CHANGED
@@ -13,6 +13,8 @@ a {
|
|
13 |
|
14 |
.ui-datepicker table { background: #fff; }
|
15 |
|
|
|
|
|
16 |
#redux-container{
|
17 |
font-family: "Lucida Grande", Sans-serif;
|
18 |
background-color: #eeeeee; /* Old browsers */
|
@@ -661,9 +663,11 @@ border: 1px solid #e5e5e5;
|
|
661 |
#redux-main input[type=text] {
|
662 |
width: 340px;
|
663 |
}
|
|
|
|
|
|
|
664 |
#redux-main input.checkbox, #redux-main input.radio {
|
665 |
margin-right: 10px;
|
666 |
-
|
667 |
}
|
668 |
label.radio, label.multicheck {
|
669 |
position: relative;
|
13 |
|
14 |
.ui-datepicker table { background: #fff; }
|
15 |
|
16 |
+
.ui-state-highlight { height: 2.5em; line-height: 2.2em; }
|
17 |
+
|
18 |
#redux-container{
|
19 |
font-family: "Lucida Grande", Sans-serif;
|
20 |
background-color: #eeeeee; /* Old browsers */
|
663 |
#redux-main input[type=text] {
|
664 |
width: 340px;
|
665 |
}
|
666 |
+
#redux-main input.full-text {
|
667 |
+
width: 100%;
|
668 |
+
}
|
669 |
#redux-main input.checkbox, #redux-main input.radio {
|
670 |
margin-right: 10px;
|
|
|
671 |
}
|
672 |
label.radio, label.multicheck {
|
673 |
position: relative;
|
ReduxCore/assets/js/admin.js
CHANGED
@@ -8,6 +8,23 @@
|
|
8 |
|
9 |
$(document).ready(function(){
|
10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
$.redux.required();
|
12 |
|
13 |
the_body.on('check_dependencies', function(event,variable){
|
@@ -494,23 +511,7 @@ jQuery(document).ready(function($) {
|
|
494 |
}
|
495 |
jQuery('#redux-export-link-value').toggle('fade');
|
496 |
});
|
497 |
-
jQuery.fn.isOnScreen = function() {
|
498 |
-
if (!window) {
|
499 |
-
return;
|
500 |
-
}
|
501 |
|
502 |
-
var win = jQuery(window);
|
503 |
-
var viewport = {
|
504 |
-
top: win.scrollTop(),
|
505 |
-
left: win.scrollLeft()
|
506 |
-
};
|
507 |
-
viewport.right = viewport.left + win.width();
|
508 |
-
viewport.bottom = viewport.top + win.height();
|
509 |
-
var bounds = this.offset();
|
510 |
-
bounds.right = bounds.left + this.outerWidth();
|
511 |
-
bounds.bottom = bounds.top + this.outerHeight();
|
512 |
-
return (!(viewport.right < bounds.left || viewport.left > bounds.right || viewport.bottom < bounds.top || viewport.top > bounds.bottom));
|
513 |
-
};
|
514 |
/**
|
515 |
Show the sticky header bar and notes!
|
516 |
**/
|
8 |
|
9 |
$(document).ready(function(){
|
10 |
|
11 |
+
jQuery.fn.isOnScreen = function() {
|
12 |
+
if (!window) {
|
13 |
+
return;
|
14 |
+
}
|
15 |
+
var win = jQuery(window);
|
16 |
+
var viewport = {
|
17 |
+
top: win.scrollTop(),
|
18 |
+
left: win.scrollLeft()
|
19 |
+
};
|
20 |
+
viewport.right = viewport.left + win.width();
|
21 |
+
viewport.bottom = viewport.top + win.height();
|
22 |
+
var bounds = this.offset();
|
23 |
+
bounds.right = bounds.left + this.outerWidth();
|
24 |
+
bounds.bottom = bounds.top + this.outerHeight();
|
25 |
+
return (!(viewport.right < bounds.left || viewport.left > bounds.right || viewport.bottom < bounds.top || viewport.top > bounds.bottom));
|
26 |
+
};
|
27 |
+
|
28 |
$.redux.required();
|
29 |
|
30 |
the_body.on('check_dependencies', function(event,variable){
|
511 |
}
|
512 |
jQuery('#redux-export-link-value').toggle('fade');
|
513 |
});
|
|
|
|
|
|
|
|
|
514 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
515 |
/**
|
516 |
Show the sticky header bar and notes!
|
517 |
**/
|
ReduxCore/assets/js/admin.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
function verify_fold(e){jQuery(document).ready(function(r){if(!e.hasClass("redux-info")&&!e.hasClass("redux-typography")){var d=e.parents(".redux-field:first").data("id"),t=e.val();if(redux_opts.folds[d]&&redux_opts.folds[d].children){var i={};r.each(redux_opts.folds[d].children,function(e,o){r.each(o,function(r,o){i[o]||(i[o]={show:!1,hidden:!1}),(e==t||i[o]===!0)&&(i[o].show=!0),i[o].show===!0&&jQuery("#"+d).parents("tr:first").hasClass("hiddenFold")&&(i[o].show=!1),i[o].show===!0&&jQuery("#"+redux_opts.folds[d].parent).hasClass("hiddenFold")&&(i[o].show=!1),i[o].hidden=jQuery("#"+o).parents("tr:first").hasClass("hiddenFold")})}),r.each(i,function(e){var r=jQuery("#"+e).parents("tr:first");i[e].show===!0?r.fadeIn("medium",function(){r.removeClass("hiddenFold"),redux_opts.folds[e]&&redux_opts.folds[e].children}):i[e].hidden===!1&&r.fadeOut("medium",function(){r.addClass("hiddenFold"),redux_opts.folds[e].children})})}}})}function redux_change(e){if((e.is("input[type=hidden]")||jQuery(e).parents("fieldset:eq(0)").is(".redux-container-image_select"))&&jQuery("body").trigger("check_dependencies",e),e.hasClass("compiler")&&jQuery("#redux-compiler-hook").val(1),e.hasClass("foldParent"),window.onbeforeunload=confirmOnPageExit,jQuery(e).hasClass("redux-field-error")){jQuery(e).removeClass("redux-field-error"),jQuery(e).parent().find(".redux-th-error").slideUp();var r=jQuery(e).closest(".redux-group-tab").attr("id"),d=!0;jQuery("#"+r+" .redux-field-error").each(function(){d=!1}),d&&(jQuery("#"+r+"_li .redux-menu-error").hide(),jQuery("#"+r+"_li .redux-group-tab-link-a").removeClass("hasError"))}jQuery("#redux-save-warn").slideDown()}!function(e){"use strict";e.redux=e.redux||{};var r=e("body");e(document).ready(function(){e.redux.required(),r.on("check_dependencies",function(r,d){e.redux.check_dependencies(r,d)})}),e.redux.required=function(){e(".hiddenFold , .showFold").each(function(){var r=e(this),d=r.parents("tr:eq(0)"),t=r.data();r.hasClass("hiddenFold")?(d.addClass("hiddenFold").attr("data-check-field",t.checkField).attr("data-check-comparison",t.checkComparison).attr("data-check-value",t.checkValue).attr("data-check-id",t.id).hide(),r.removeClass("hiddenFold").removeAttr("data-check-field").removeAttr("data-check-comparison").removeAttr("data-check-value")):(d.attr("data-check-field",t.checkField).attr("data-check-comparison",t.checkComparison).attr("data-check-value",t.checkValue).attr("data-check-id",t.id),r.removeClass("showFold").removeAttr("data-check-field").removeAttr("data-check-comparison").removeAttr("data-check-value"))}),e(".fold").promise().done(function(){e(".foldParent").each(function(){var r=e(this).parents(".redux-field:first").data("id");redux_opts.folds[r]&&(redux_opts.folds[r].parent||e.redux.verify_fold(e(this)))})}),r.on("change","#redux-main select, #redux-main radio, #redux-main input[type=checkbox], #redux-main input[type=hidden]",function(r){e.redux.check_dependencies(r,this)})},e.redux.check_dependencies=function(d,t){var i=e(t),o=i.parents(".redux-group-tab:eq(0)");o.length||(o=r);var a=i.parents(".redux-field:first").data("id"),n=o.find('tr[data-check-field="'+a+'"]'),u=t.value,s=i.parents("tr:eq(0)").is(".hiddenFold");n.length&&n.each(function(){var r=e(this),d=r.data(),i=d.checkValue,o=!1;if(!s)switch(d.checkComparison){case"=":case"equals":if(-1!==i.toString().indexOf("|")){var a=i.split("|");-1!=e.inArray(u,a)&&(o=!0)}else u==i&&(o=!0);break;case"!=":case"not":if(-1!==i.indexOf("|")){var a=i.split("|");-1==e.inArray(u,a)&&(o=!0)}else u!=i&&(o=!0);break;case">":case"greater":case"is_larger":u>i&&(o=!0);break;case"<":case"less":case"is_smaller":i>u&&(o=!0);break;case"contains":-1!=u.indexOf(i)&&(o=!0);break;case"doesnt_contain":-1==u.indexOf(i)&&(o=!0);break;case"is_empty_or":(""==u||u==i)&&(o=!0);break;case"not_empty_and":""!=u&&u!=i&&(o=!0)}e.redux.verify_fold(e(t))})},e.redux.verify_fold=function(r){var d=r.parents(".redux-field:first").data("id"),t=r.val(),i=r.parents(".redux-groups-accordion-group:first").length>0?r.parents(".redux-groups-accordion-group:first"):r.parents(".redux-group-tab:eq(0)");if(redux_opts.folds[d]&&redux_opts.folds[d].children){var o={};e.each(redux_opts.folds[d].children,function(r,a){e.each(a,function(e,a){o[a]||(o[a]={show:!1,hidden:!1}),(r==t||o[a]===!0)&&(o[a].show=!0),o[a].show===!0&&i.find('tr[data-check-id="'+d+'"]').hasClass("hiddenFold")&&(o[a].show=!1),o[a].show===!0&&i.find('tr[data-check-id="'+redux_opts.folds[d].parent+'"]').hasClass("hiddenFold")&&(o[a].show=!1),o[a].hidden=i.find('tr[data-check-id="'+a+'"]').hasClass("hiddenFold")})}),e.each(o,function(r){var d=i.find('tr[data-check-id="'+r+'"]');o[r].show===!0?d.fadeIn("medium",function(){d.removeClass("hiddenFold"),redux_opts.folds[r]&&redux_opts.folds[r].children&&e.redux.verify_fold(d.find("select, radio, input[type=checkbox], input[type=hidden]"))}):o[r].hidden===!1&&d.fadeOut("medium",function(){d.addClass("hiddenFold"),redux_opts.folds[r].children&&e.redux.verify_fold(d.find("select, radio, input[type=checkbox], input[type=hidden]"))})})}}}(jQuery),jQuery.noConflict();var confirmOnPageExit=function(e){e=e||window.event;var r=redux_opts.save_pending;return e&&(e.returnValue=r),window.onbeforeunload=null,r};jQuery(document).ready(function(e){function r(e){return decodeURI((new RegExp(e+"="+"(.+?)(&|$)").exec(location.search)||[,""])[1])}function d(){var e=jQuery("#info_bar").width()-2;jQuery("#info_bar").isOnScreen()||jQuery("#redux-footer-sticky").isOnScreen()?(jQuery("#redux-footer").css({background:"#eee",position:"inherit",bottom:"inherit",width:"inherit"}),jQuery("#redux-sticky-padder").hide(),jQuery("#redux-footer").removeClass("sticky-footer-fixed")):(jQuery("#redux-footer").css({position:"fixed",bottom:"0",width:e}),jQuery("#redux-footer").addClass("sticky-footer-fixed"),jQuery("#redux-sticky-padder").show())}jQuery(".redux-action_bar, .redux-presets-bar").on("click",function(){window.onbeforeunload=null}),jQuery().tipsy&&e(".tips").tipsy({fade:!0,gravity:"s",opacity:.7}),jQuery(".redux-group-tab-link-a").click(function(){relid=jQuery(this).data("rel"),e.cookie("redux_current_tab",relid,{expires:7,path:"/"});var r=jQuery(".redux-group-tab-link-li.active .redux-group-tab-link-a").data("rel");jQuery("#"+r+"_section_group_li").removeClass("active"),jQuery("#"+r+"_section_group").hide(),jQuery("#"+relid+"_section_group").fadeIn(300,function(){d()}),jQuery("#"+relid+"_section_group_li").addClass("active")});var t=r("tab");""!==t?e.cookie("redux_current_tab_get")!==t&&(e.cookie("redux_current_tab",t,{expires:7,path:"/"}),e.cookie("redux_current_tab_get",t,{expires:7,path:"/"}),jQuery("#"+t+"_section_group_li").click()):""!==e.cookie("redux_current_tab_get")&&e.removeCookie("redux_current_tab_get");var i=jQuery("#"+e.cookie("redux_current_tab")+"_section_group_li_a");null===e.cookie("redux_current_tab")||"undefined"==typeof e.cookie("redux_current_tab")||0===i.length?jQuery(".redux-group-tab-link-a:first").click():i.click(),jQuery('input[name="'+redux_opts.opt_name+'[defaults]"]').click(function(){return confirm(redux_opts.reset_confirm)?(window.onbeforeunload=null,void 0):!1}),jQuery("#expand_options").click(function(e){e.preventDefault();var r=jQuery("#expand_options"),d=jQuery("#redux-sidebar").width(),t=jQuery("#redux-group-menu .active a").data("rel")+"_section_group";return r.hasClass("expanded")?(r.removeClass("expanded"),jQuery("#redux-main").removeClass("expand"),jQuery("#redux-sidebar").stop().animate({"margin-left":"0px"},500),jQuery("#redux-main").stop().animate({"margin-left":d},500),jQuery(".redux-group-tab").each(function(){jQuery(this).attr("id")!==t&&jQuery(this).fadeOut("fast")})):(r.addClass("expanded"),jQuery("#redux-main").addClass("expand"),jQuery("#redux-sidebar").stop().animate({"margin-left":-d-2},500),jQuery("#redux-main").stop().animate({"margin-left":"0px"},500),jQuery(".redux-group-tab").fadeIn()),!1}),jQuery("#redux-import").click(function(e){return""===jQuery("#import-code-value").val()&&""===jQuery("#import-link-value").val()?(e.preventDefault(),!1):void 0}),jQuery("#redux-save").is(":visible")&&jQuery("#redux-save").slideDown(),jQuery("#redux-imported").is(":visible")&&jQuery("#redux-imported").slideDown(),jQuery("input, textarea, select").on("change",function(){jQuery(this).hasClass("noUpdate")||redux_change(jQuery(this))}),jQuery("#redux-import-code-button").click(function(){jQuery("#redux-import-link-wrapper").is(":visible")&&(jQuery("#redux-import-link-wrapper").fadeOut("fast"),jQuery("#import-link-value").val("")),jQuery("#redux-import-code-wrapper").fadeIn("slow")}),jQuery("#redux-import-link-button").click(function(){jQuery("#redux-import-code-wrapper").is(":visible")&&(jQuery("#redux-import-code-wrapper").fadeOut("fast"),jQuery("#import-code-value").val("")),jQuery("#redux-import-link-wrapper").fadeIn("slow")}),jQuery("#redux-export-code-copy").click(function(){jQuery("#redux-export-link-value").is(":visible")&&jQuery("#redux-export-link-value").fadeOut("slow"),jQuery("#redux-export-code").toggle("fade")}),jQuery("#redux-export-link").click(function(){jQuery("#redux-export-code").is(":visible")&&jQuery("#redux-export-code").fadeOut("slow"),jQuery("#redux-export-link-value").toggle("fade")}),jQuery.fn.isOnScreen=function(){if(window){var e=jQuery(window),r={top:e.scrollTop(),left:e.scrollLeft()};r.right=r.left+e.width(),r.bottom=r.top+e.height();var d=this.offset();return d.right=d.left+this.outerWidth(),d.bottom=d.top+this.outerHeight(),!(r.right<d.left||r.left>d.right||r.bottom<d.top||r.top>d.bottom)}};var o=jQuery("#redux-footer").height();jQuery("#redux-sticky-padder").css({height:o}),jQuery(window).scroll(function(){d()}),jQuery(window).resize(function(){d()}),jQuery("#redux-save, #redux-imported").delay(4e3).slideUp(),jQuery("#redux-field-errors").delay(8e3).slideUp(),jQuery(".redux-save").click(function(){window.onbeforeunload=null}),e("#consolePrintObject").on("click",function(){console.log(jQuery.parseJSON(jQuery("#redux-object-json").html()))}),"function"==typeof jsonView&&jsonView("#redux-object-json","#redux-object-browser"),void 0!==redux_opts.errors&&(jQuery("#redux-field-errors span").html(redux_opts.errors.total),jQuery("#redux-field-errors").show(),jQuery.each(redux_opts.errors.errors,function(e,r){jQuery("#"+e+"_section_group_li_a").prepend('<span class="redux-menu-error">'+r.total+"</span>"),jQuery("#"+e+"_section_group_li_a").addClass("hasError"),jQuery.each(r.errors,function(e,r){jQuery("#"+r.id).addClass("redux-field-error"),jQuery("#"+r.id).parents("td:first").append('<span class="redux-th-error">'+r.msg+"</span>")})})),void 0!==redux_opts.warnings&&(jQuery("#redux-field-warnings span").html(redux_opts.warnings.total),jQuery("#redux-field-warnings").show(),jQuery.each(redux_opts.warnings.warnings,function(e,r){jQuery("#"+e+"_section_group_li_a").prepend('<span class="redux-menu-warning">'+r.total+"</span>"),jQuery("#"+e+"_section_group_li_a").addClass("hasWarning"),jQuery.each(r.warnings,function(e,r){jQuery("#"+r.id).addClass("redux-field-warning"),jQuery("#"+r.id).parents("td:first").append('<span class="redux-th-warning">'+r.msg+"</span>")})})),jQuery(".redux-section-tabs div").hide(),jQuery(".redux-section-tabs div:first").show(),jQuery(".redux-section-tabs ul li:first").addClass("active"),jQuery(".redux-section-tabs ul li a").click(function(){jQuery(".redux-section-tabs ul li").removeClass("active"),jQuery(this).parent().addClass("active");var r=e(this).attr("href");return jQuery(".redux-section-tabs div").hide(),jQuery(r).fadeIn(),!1})});
|
1 |
+
/*global jQuery, document, redux_opts, confirm, relid:true, console, jsonView */function verify_fold(e){jQuery(document).ready(function(t){if(e.hasClass("redux-info")||e.hasClass("redux-typography"))return;var n=e.parents(".redux-field:first").data("id"),r=e.val();if(redux_opts.folds[n]&&redux_opts.folds[n].children){var i={};t.each(redux_opts.folds[n].children,function(e,s){t.each(s,function(t,s){i[s]||(i[s]={show:!1,hidden:!1});if(e==r||i[s]===!0)i[s].show=!0;i[s].show===!0&&jQuery("#"+n).parents("tr:first").hasClass("hiddenFold")&&(i[s].show=!1);i[s].show===!0&&jQuery("#"+redux_opts.folds[n].parent).hasClass("hiddenFold")&&(i[s].show=!1);i[s].hidden=jQuery("#"+s).parents("tr:first").hasClass("hiddenFold")})});t.each(i,function(e){var t=jQuery("#"+e).parents("tr:first");i[e].show===!0?t.fadeIn("medium",function(){t.removeClass("hiddenFold");redux_opts.folds[e]&&redux_opts.folds[e].children}):i[e].hidden===!1&&t.fadeOut("medium",function(){t.addClass("hiddenFold");redux_opts.folds[e].children})})}})}function redux_change(e){(e.is("input[type=hidden]")||jQuery(e).parents("fieldset:eq(0)").is(".redux-container-image_select"))&&jQuery("body").trigger("check_dependencies",e);e.hasClass("compiler")&&jQuery("#redux-compiler-hook").val(1);e.hasClass("foldParent");window.onbeforeunload=confirmOnPageExit;if(jQuery(e).hasClass("redux-field-error")){jQuery(e).removeClass("redux-field-error");jQuery(e).parent().find(".redux-th-error").slideUp();var t=jQuery(e).closest(".redux-group-tab").attr("id"),n=!0;jQuery("#"+t+" .redux-field-error").each(function(){n=!1});if(n){jQuery("#"+t+"_li .redux-menu-error").hide();jQuery("#"+t+"_li .redux-group-tab-link-a").removeClass("hasError")}}jQuery("#redux-save-warn").slideDown()}(function(e){"use strict";e.redux=e.redux||{};var t=e("body");e(document).ready(function(){jQuery.fn.isOnScreen=function(){if(!window)return;var e=jQuery(window),t={top:e.scrollTop(),left:e.scrollLeft()};t.right=t.left+e.width();t.bottom=t.top+e.height();var n=this.offset();n.right=n.left+this.outerWidth();n.bottom=n.top+this.outerHeight();return!(t.right<n.left||t.left>n.right||t.bottom<n.top||t.top>n.bottom)};e.redux.required();t.on("check_dependencies",function(t,n){e.redux.check_dependencies(t,n)})});e.redux.required=function(){e(".hiddenFold , .showFold").each(function(){var t=e(this),n=t.parents("tr:eq(0)"),r=t.data();if(t.hasClass("hiddenFold")){n.addClass("hiddenFold").attr("data-check-field",r.checkField).attr("data-check-comparison",r.checkComparison).attr("data-check-value",r.checkValue).attr("data-check-id",r.id).hide();t.removeClass("hiddenFold").removeAttr("data-check-field").removeAttr("data-check-comparison").removeAttr("data-check-value")}else{n.attr("data-check-field",r.checkField).attr("data-check-comparison",r.checkComparison).attr("data-check-value",r.checkValue).attr("data-check-id",r.id);t.removeClass("showFold").removeAttr("data-check-field").removeAttr("data-check-comparison").removeAttr("data-check-value")}});e(".fold").promise().done(function(){e(".foldParent").each(function(){var t=e(this).parents(".redux-field:first").data("id");redux_opts.folds[t]&&(redux_opts.folds[t].parent||e.redux.verify_fold(e(this)))})});t.on("change","#redux-main select, #redux-main radio, #redux-main input[type=checkbox], #redux-main input[type=hidden]",function(t){e.redux.check_dependencies(t,this)})};e.redux.check_dependencies=function(n,r){var i=e(r),s=i.parents(".redux-group-tab:eq(0)");s.length||(s=t);var o=i.parents(".redux-field:first").data("id"),u=s.find('tr[data-check-field="'+o+'"]'),a=r.value,f=i.parents("tr:eq(0)").is(".hiddenFold");if(!u.length)return;u.each(function(){var t=e(this),n=t.data(),i=n.checkValue,s=!1;if(!f)switch(n.checkComparison){case"=":case"equals":if(i.toString().indexOf("|")!==-1){var o=i.split("|");e.inArray(a,o)!=-1&&(s=!0)}else a==i&&(s=!0);break;case"!=":case"not":if(i.indexOf("|")!==-1){var o=i.split("|");e.inArray(a,o)==-1&&(s=!0)}else a!=i&&(s=!0);break;case">":case"greater":case"is_larger":a>i&&(s=!0);break;case"<":case"less":case"is_smaller":a<i&&(s=!0);break;case"contains":a.indexOf(i)!=-1&&(s=!0);break;case"doesnt_contain":a.indexOf(i)==-1&&(s=!0);break;case"is_empty_or":if(a==""||a==i)s=!0;break;case"not_empty_and":a!=""&&a!=i&&(s=!0)}e.redux.verify_fold(e(r))})};e.redux.verify_fold=function(t){var n=t.parents(".redux-field:first").data("id"),r=t.val(),i=t.parents(".redux-groups-accordion-group:first").length>0?t.parents(".redux-groups-accordion-group:first"):t.parents(".redux-group-tab:eq(0)");if(redux_opts.folds[n]&&redux_opts.folds[n].children){var s={};e.each(redux_opts.folds[n].children,function(t,o){e.each(o,function(e,o){s[o]||(s[o]={show:!1,hidden:!1});if(t==r||s[o]===!0)s[o].show=!0;s[o].show===!0&&i.find('tr[data-check-id="'+n+'"]').hasClass("hiddenFold")&&(s[o].show=!1);s[o].show===!0&&i.find('tr[data-check-id="'+redux_opts.folds[n].parent+'"]').hasClass("hiddenFold")&&(s[o].show=!1);s[o].hidden=i.find('tr[data-check-id="'+o+'"]').hasClass("hiddenFold")})});e.each(s,function(t){var n=i.find('tr[data-check-id="'+t+'"]');s[t].show===!0?n.fadeIn("medium",function(){n.removeClass("hiddenFold");redux_opts.folds[t]&&redux_opts.folds[t].children&&e.redux.verify_fold(n.find("select, radio, input[type=checkbox], input[type=hidden]"))}):s[t].hidden===!1&&n.fadeOut("medium",function(){n.addClass("hiddenFold");redux_opts.folds[t].children&&e.redux.verify_fold(n.find("select, radio, input[type=checkbox], input[type=hidden]"))})})}}})(jQuery);jQuery.noConflict();var confirmOnPageExit=function(e){e=e||window.event;var t=redux_opts.save_pending;e&&(e.returnValue=t);window.onbeforeunload=null;return t};jQuery(document).ready(function(e){function t(e){return decodeURI(((new RegExp(e+"="+"(.+?)(&|$)")).exec(location.search)||[,""])[1])}function s(){var e=jQuery("#info_bar").width()-2;if(!jQuery("#info_bar").isOnScreen()&&!jQuery("#redux-footer-sticky").isOnScreen()){jQuery("#redux-footer").css({position:"fixed",bottom:"0",width:e});jQuery("#redux-footer").addClass("sticky-footer-fixed");jQuery("#redux-sticky-padder").show()}else{jQuery("#redux-footer").css({background:"#eee",position:"inherit",bottom:"inherit",width:"inherit"});jQuery("#redux-sticky-padder").hide();jQuery("#redux-footer").removeClass("sticky-footer-fixed")}}jQuery(".redux-action_bar, .redux-presets-bar").on("click",function(){window.onbeforeunload=null});jQuery().tipsy&&e(".tips").tipsy({fade:!0,gravity:"s",opacity:.7});jQuery(".redux-group-tab-link-a").click(function(){relid=jQuery(this).data("rel");e.cookie("redux_current_tab",relid,{expires:7,path:"/"});var t=jQuery(".redux-group-tab-link-li.active .redux-group-tab-link-a").data("rel");jQuery("#"+t+"_section_group_li").removeClass("active");jQuery("#"+t+"_section_group").hide();jQuery("#"+relid+"_section_group").fadeIn(300,function(){s()});jQuery("#"+relid+"_section_group_li").addClass("active")});var n=t("tab");if(n!==""){if(e.cookie("redux_current_tab_get")!==n){e.cookie("redux_current_tab",n,{expires:7,path:"/"});e.cookie("redux_current_tab_get",n,{expires:7,path:"/"});jQuery("#"+n+"_section_group_li").click()}}else e.cookie("redux_current_tab_get")!==""&&e.removeCookie("redux_current_tab_get");var r=jQuery("#"+e.cookie("redux_current_tab")+"_section_group_li_a");e.cookie("redux_current_tab")===null||typeof e.cookie("redux_current_tab")=="undefined"||r.length===0?jQuery(".redux-group-tab-link-a:first").click():r.click();jQuery('input[name="'+redux_opts.opt_name+'[defaults]"]').click(function(){if(!confirm(redux_opts.reset_confirm))return!1;window.onbeforeunload=null});jQuery("#expand_options").click(function(e){e.preventDefault();var t=jQuery("#expand_options"),n=jQuery("#redux-sidebar").width(),r=jQuery("#redux-group-menu .active a").data("rel")+"_section_group";if(t.hasClass("expanded")){t.removeClass("expanded");jQuery("#redux-main").removeClass("expand");jQuery("#redux-sidebar").stop().animate({"margin-left":"0px"},500);jQuery("#redux-main").stop().animate({"margin-left":n},500);jQuery(".redux-group-tab").each(function(){jQuery(this).attr("id")!==r&&jQuery(this).fadeOut("fast")})}else{t.addClass("expanded");jQuery("#redux-main").addClass("expand");jQuery("#redux-sidebar").stop().animate({"margin-left":-n-2},500);jQuery("#redux-main").stop().animate({"margin-left":"0px"},500);jQuery(".redux-group-tab").fadeIn()}return!1});jQuery("#redux-import").click(function(e){if(jQuery("#import-code-value").val()===""&&jQuery("#import-link-value").val()===""){e.preventDefault();return!1}});jQuery("#redux-save").is(":visible")&&jQuery("#redux-save").slideDown();jQuery("#redux-imported").is(":visible")&&jQuery("#redux-imported").slideDown();jQuery("input, textarea, select").on("change",function(){jQuery(this).hasClass("noUpdate")||redux_change(jQuery(this))});jQuery("#redux-import-code-button").click(function(){if(jQuery("#redux-import-link-wrapper").is(":visible")){jQuery("#redux-import-link-wrapper").fadeOut("fast");jQuery("#import-link-value").val("")}jQuery("#redux-import-code-wrapper").fadeIn("slow")});jQuery("#redux-import-link-button").click(function(){if(jQuery("#redux-import-code-wrapper").is(":visible")){jQuery("#redux-import-code-wrapper").fadeOut("fast");jQuery("#import-code-value").val("")}jQuery("#redux-import-link-wrapper").fadeIn("slow")});jQuery("#redux-export-code-copy").click(function(){jQuery("#redux-export-link-value").is(":visible")&&jQuery("#redux-export-link-value").fadeOut("slow");jQuery("#redux-export-code").toggle("fade")});jQuery("#redux-export-link").click(function(){jQuery("#redux-export-code").is(":visible")&&jQuery("#redux-export-code").fadeOut("slow");jQuery("#redux-export-link-value").toggle("fade")});var i=jQuery("#redux-footer").height();jQuery("#redux-sticky-padder").css({height:i});jQuery(window).scroll(function(){s()});jQuery(window).resize(function(){s()});jQuery("#redux-save, #redux-imported").delay(4e3).slideUp();jQuery("#redux-field-errors").delay(8e3).slideUp();jQuery(".redux-save").click(function(){window.onbeforeunload=null});e("#consolePrintObject").on("click",function(){console.log(jQuery.parseJSON(jQuery("#redux-object-json").html()))});typeof jsonView=="function"&&jsonView("#redux-object-json","#redux-object-browser");if(redux_opts.errors!==undefined){jQuery("#redux-field-errors span").html(redux_opts.errors.total);jQuery("#redux-field-errors").show();jQuery.each(redux_opts.errors.errors,function(e,t){jQuery("#"+e+"_section_group_li_a").prepend('<span class="redux-menu-error">'+t.total+"</span>");jQuery("#"+e+"_section_group_li_a").addClass("hasError");jQuery.each(t.errors,function(e,t){jQuery("#"+t.id).addClass("redux-field-error");jQuery("#"+t.id).parents("td:first").append('<span class="redux-th-error">'+t.msg+"</span>")})})}if(redux_opts.warnings!==undefined){jQuery("#redux-field-warnings span").html(redux_opts.warnings.total);jQuery("#redux-field-warnings").show();jQuery.each(redux_opts.warnings.warnings,function(e,t){jQuery("#"+e+"_section_group_li_a").prepend('<span class="redux-menu-warning">'+t.total+"</span>");jQuery("#"+e+"_section_group_li_a").addClass("hasWarning");jQuery.each(t.warnings,function(e,t){jQuery("#"+t.id).addClass("redux-field-warning");jQuery("#"+t.id).parents("td:first").append('<span class="redux-th-warning">'+t.msg+"</span>")})})}jQuery(".redux-section-tabs div").hide();jQuery(".redux-section-tabs div:first").show();jQuery(".redux-section-tabs ul li:first").addClass("active");jQuery(".redux-section-tabs ul li a").click(function(){jQuery(".redux-section-tabs ul li").removeClass("active");jQuery(this).parent().addClass("active");var t=e(this).attr("href");jQuery(".redux-section-tabs div").hide();jQuery(t).fadeIn();return!1})});
|
ReduxCore/extensions/customizer/extension_customizer.php
CHANGED
@@ -50,7 +50,7 @@ if( !class_exists( 'ReduxFramework_extension_customizer' ) ) {
|
|
50 |
*/
|
51 |
public function __construct( $parent ) {
|
52 |
global $pagenow;
|
53 |
-
if ($pagenow !== "customize.php") {
|
54 |
return;
|
55 |
}
|
56 |
|
@@ -68,7 +68,7 @@ if( !class_exists( 'ReduxFramework_extension_customizer' ) ) {
|
|
68 |
|
69 |
*/
|
70 |
|
71 |
-
add_action( 'admin_init', array( &$this, '_enqueue' ), 30 );
|
72 |
|
73 |
add_action( 'customize_register', array( &$this, '_register_customizer_controls' ) ); // Create controls
|
74 |
|
50 |
*/
|
51 |
public function __construct( $parent ) {
|
52 |
global $pagenow;
|
53 |
+
if ($pagenow !== "customize.php" && $pagenow !== "admin-ajax.php") {
|
54 |
return;
|
55 |
}
|
56 |
|
68 |
|
69 |
*/
|
70 |
|
71 |
+
add_action( 'admin_init', array( &$this, '_enqueue' ), 30 ); // Customizer control scripts
|
72 |
|
73 |
add_action( 'customize_register', array( &$this, '_register_customizer_controls' ) ); // Create controls
|
74 |
|
ReduxCore/framework.php
CHANGED
@@ -17,7 +17,7 @@
|
|
17 |
* @package ReduxFramework
|
18 |
* @author Daniel J Griffiths (Ghost1227)
|
19 |
* @author Dovy Paukstys (dovy)
|
20 |
-
* @version 3.0.
|
21 |
*/
|
22 |
|
23 |
// Exit if accessed directly
|
@@ -26,7 +26,7 @@ if( !defined( 'ABSPATH' ) ) exit;
|
|
26 |
// Don't duplicate me!
|
27 |
if( !class_exists( 'ReduxFramework' ) ) {
|
28 |
|
29 |
-
define('REDUX_VERSION', '3.0.
|
30 |
|
31 |
// Windows-proof constants: replace backward by forward slashes
|
32 |
// Thanks to: https://github.com/peterbouwmeester
|
@@ -166,7 +166,7 @@ if( !class_exists( 'ReduxFramework' ) ) {
|
|
166 |
add_action( 'init', array( &$this, '_register_extensions' ), 2 );
|
167 |
|
168 |
// Any dynamic CSS output, let's run
|
169 |
-
add_action( '
|
170 |
|
171 |
// Hook into the WP feeds for downloading exported settings
|
172 |
add_action( 'do_feed_reduxopts-' . $this->args['opt_name'], array( &$this, '_download_options' ), 1, 1 );
|
@@ -1055,7 +1055,7 @@ if( !class_exists( 'ReduxFramework' ) ) {
|
|
1055 |
foreach( $section['fields'] as $fieldk => $field ) {
|
1056 |
|
1057 |
$th = "";
|
1058 |
-
if( isset( $field['title'] ) && isset( $field['type'] ) && $field['type'] !== "info" ) {
|
1059 |
$default_mark = ( !empty($field['default']) && isset($this->options[$field['id']]) && $this->options[$field['id']] == $field['default'] && !empty( $this->args['default_mark'] ) && isset( $field['default'] ) ) ? $this->args['default_mark'] : '';
|
1060 |
if (!empty($field['title'])) {
|
1061 |
$th = $field['title'] . $default_mark;
|
@@ -1078,7 +1078,7 @@ if( !class_exists( 'ReduxFramework' ) ) {
|
|
1078 |
$runUpdate = true;
|
1079 |
}
|
1080 |
|
1081 |
-
if ( $this->args['default_show'] === true && isset( $field['default'] ) && isset($this->options[$field['id']]) && $this->options[$field['id']] != $field['default'] && $field['type'] !== "info" ) {
|
1082 |
$default_output = "";
|
1083 |
if (!is_array($field['default'])) {
|
1084 |
if ( !empty( $field['options'][$field['default']] ) ) {
|
@@ -1792,7 +1792,7 @@ if( !class_exists( 'ReduxFramework' ) ) {
|
|
1792 |
$field['description'] = $field['desc'];
|
1793 |
}
|
1794 |
|
1795 |
-
echo ( isset( $field['description'] ) && $field['type'] != "info" && !empty( $field['description'] ) ) ? '<div class="description field-desc">' . $field['description'] . '</div>' : '';
|
1796 |
|
1797 |
echo '</fieldset>';
|
1798 |
|
17 |
* @package ReduxFramework
|
18 |
* @author Daniel J Griffiths (Ghost1227)
|
19 |
* @author Dovy Paukstys (dovy)
|
20 |
+
* @version 3.0.3
|
21 |
*/
|
22 |
|
23 |
// Exit if accessed directly
|
26 |
// Don't duplicate me!
|
27 |
if( !class_exists( 'ReduxFramework' ) ) {
|
28 |
|
29 |
+
define('REDUX_VERSION', '3.0.3');
|
30 |
|
31 |
// Windows-proof constants: replace backward by forward slashes
|
32 |
// Thanks to: https://github.com/peterbouwmeester
|
166 |
add_action( 'init', array( &$this, '_register_extensions' ), 2 );
|
167 |
|
168 |
// Any dynamic CSS output, let's run
|
169 |
+
add_action( 'wp_head', array( &$this, '_enqueue_output' ), 100 );
|
170 |
|
171 |
// Hook into the WP feeds for downloading exported settings
|
172 |
add_action( 'do_feed_reduxopts-' . $this->args['opt_name'], array( &$this, '_download_options' ), 1, 1 );
|
1055 |
foreach( $section['fields'] as $fieldk => $field ) {
|
1056 |
|
1057 |
$th = "";
|
1058 |
+
if( isset( $field['title'] ) && isset( $field['type'] ) && $field['type'] !== "info" && $field['type'] !== "group" ) {
|
1059 |
$default_mark = ( !empty($field['default']) && isset($this->options[$field['id']]) && $this->options[$field['id']] == $field['default'] && !empty( $this->args['default_mark'] ) && isset( $field['default'] ) ) ? $this->args['default_mark'] : '';
|
1060 |
if (!empty($field['title'])) {
|
1061 |
$th = $field['title'] . $default_mark;
|
1078 |
$runUpdate = true;
|
1079 |
}
|
1080 |
|
1081 |
+
if ( $this->args['default_show'] === true && isset( $field['default'] ) && isset($this->options[$field['id']]) && $this->options[$field['id']] != $field['default'] && $field['type'] !== "info" && $field['type'] !== "group" ) {
|
1082 |
$default_output = "";
|
1083 |
if (!is_array($field['default'])) {
|
1084 |
if ( !empty( $field['options'][$field['default']] ) ) {
|
1792 |
$field['description'] = $field['desc'];
|
1793 |
}
|
1794 |
|
1795 |
+
echo ( isset( $field['description'] ) && $field['type'] != "info" && $field['type'] != "group" && !empty( $field['description'] ) ) ? '<div class="description field-desc">' . $field['description'] . '</div>' : '';
|
1796 |
|
1797 |
echo '</fieldset>';
|
1798 |
|
ReduxCore/inc/fields/color/field_color.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
function colourNameToHex(e){tcolour=e.replace(/^\s\s*/,"").replace(/\s\s*$/,"").replace("#","");var
|
1 |
+
/*global jQuery, document, redux_change */function colourNameToHex(e){tcolour=e.replace(/^\s\s*/,"").replace(/\s\s*$/,"").replace("#","");var t={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c","indigo ":"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",redux:"#01a3e3",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};return t[tcolour.toLowerCase()]!=="undefined"?t[tcolour.toLowerCase()]:e}function redux_color_validate(e){var t=jQuery(e).val();return colourNameToHex(t)!==t.replace("#","")?colourNameToHex(t):t}(function(e){"use strict";e.redux=e.redux||{};var t;e(document).ready(function(){e.redux.color()});e.redux.color=function(){e(".redux-color-init").wpColorPicker({change:function(t){redux_change(e(this));e("#"+t.target.id+"-transparency").removeAttr("checked")}});e(".redux-color").on("focus",function(){e(this).data("oldcolor",e(this).val())});e(".redux-color").on("keyup",function(){var t=e(this).val(),n=redux_color_validate(this),r="#"+e(this).attr("id");if(t==="transparent"){e(this).parent().parent().find(".wp-color-result").css("background-color","transparent");e(r+"-transparency").attr("checked","checked")}else{e(r+"-transparency").removeAttr("checked");n&&n!==e(this).val()&&e(this).val(n)}});e(".redux-color").on("blur",function(){var t=e(this).val(),n="#"+e(this).attr("id");if(t==="transparent"){e(this).parent().parent().find(".wp-color-result").css("background-color","transparent");e(n+"-transparency").attr("checked","checked")}else{redux_color_validate(this)===t&&t.indexOf("#")!==0&&e(this).val(e(this).data("oldcolor"));e(n+"-transparency").removeAttr("checked")}});e(".redux-color").on("keydown",function(){e(this).data("oldkeypress",e(this).val())});e(".color-transparency").on("click",function(){if(e(this).is(":checked")){e("#"+e(this).data("id")).val("transparent");e("#"+e(this).data("id")).parent().parent().find(".wp-color-result").css("background-color","transparent")}else e("#"+e(this).data("id")).val()==="transparent"&&e("#"+e(this).data("id")).val("")})}})(jQuery);
|
ReduxCore/inc/fields/date/field_date.js
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
/*global jQuery*/
|
2 |
|
3 |
jQuery(document).ready(function () {
|
4 |
-
|
|
|
|
|
5 |
});
|
1 |
/*global jQuery*/
|
2 |
|
3 |
jQuery(document).ready(function () {
|
4 |
+
jQuery('.redux-datepicker').each(function(){
|
5 |
+
jQuery(this).datepicker();
|
6 |
+
});
|
7 |
});
|
ReduxCore/inc/fields/date/field_date.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
/*global jQuery*/jQuery(document).ready(function(){jQuery(".redux-datepicker").datepicker()});
|
1 |
+
/*global jQuery*/jQuery(document).ready(function(){jQuery(".redux-datepicker").each(function(){jQuery(this).datepicker()})});
|
ReduxCore/inc/fields/dimensions/field_dimensions.js
CHANGED
@@ -10,8 +10,11 @@ jQuery(document).ready(function() {
|
|
10 |
|
11 |
jQuery('.redux-dimensions-input').on('change', function() {
|
12 |
var units = jQuery(this).parents('.redux-field:first').find('.redux-dimensions-units option:selected').val();
|
13 |
-
|
14 |
-
|
|
|
|
|
|
|
15 |
});
|
16 |
|
17 |
jQuery('.redux-dimensions-units').on('change', function() {
|
10 |
|
11 |
jQuery('.redux-dimensions-input').on('change', function() {
|
12 |
var units = jQuery(this).parents('.redux-field:first').find('.redux-dimensions-units option:selected').val();
|
13 |
+
if(typeof units !== 'undefined') {
|
14 |
+
jQuery('#'+jQuery(this).attr('rel')).val(jQuery(this).val()+units);
|
15 |
+
} else {
|
16 |
+
jQuery('#'+jQuery(this).attr('rel')).val(jQuery(this).val());
|
17 |
+
}
|
18 |
});
|
19 |
|
20 |
jQuery('.redux-dimensions-units').on('change', function() {
|
ReduxCore/inc/fields/dimensions/field_dimensions.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery(document).ready(function(){jQuery(".redux-dimensions-height, .redux-dimensions-width").numeric();jQuery(".redux-dimensions-units").select2({width:"resolve",triggerChange:!0,allowClear:!0});jQuery(".redux-dimensions-input").on("change",function(){var e=jQuery(this).parents(".redux-field:first").find(".redux-dimensions-units option:selected").val()
|
1 |
+
jQuery(document).ready(function(){jQuery(".redux-dimensions-height, .redux-dimensions-width").numeric();jQuery(".redux-dimensions-units").select2({width:"resolve",triggerChange:!0,allowClear:!0});jQuery(".redux-dimensions-input").on("change",function(){var e=jQuery(this).parents(".redux-field:first").find(".redux-dimensions-units option:selected").val();typeof e!="undefined"?jQuery("#"+jQuery(this).attr("rel")).val(jQuery(this).val()+e):jQuery("#"+jQuery(this).attr("rel")).val(jQuery(this).val())});jQuery(".redux-dimensions-units").on("change",function(){jQuery(this).parents(".redux-field:first").find(".redux-dimensions-input").change()})});
|
ReduxCore/inc/fields/dimensions/field_dimensions.php
CHANGED
@@ -41,7 +41,7 @@ class ReduxFramework_dimensions extends ReduxFramework{
|
|
41 |
$this->value['units'] = $this->field['units'];
|
42 |
}
|
43 |
|
44 |
-
if (
|
45 |
if ( !empty( $this->field['units'] ) && in_array($this->value['units'], array( '%', 'in', 'cm', 'mm', 'em', 'ex', 'pt', 'pc', 'px' ) ) ) {
|
46 |
$this->value['units'] = $this->field['units'];
|
47 |
}
|
@@ -89,7 +89,7 @@ class ReduxFramework_dimensions extends ReduxFramework{
|
|
89 |
Units
|
90 |
**/
|
91 |
|
92 |
-
|
93 |
|
94 |
echo '<div class="select_wrapper dimensions-units" original-title="'.__('Units','redux-framework').'">';
|
95 |
echo '<select data-id="'.$this->field['id'].'" data-placeholder="'.__('Units','redux-framework').'" class="redux-dimensions redux-dimensions-units select'.$this->field['class'].'" original-title="'.__('Units','redux-framework').'" name="'.$this->args['opt_name'].'['.$this->field['id'].'][units]" id="'. $this->field['id'].'_units">';
|
@@ -111,7 +111,7 @@ class ReduxFramework_dimensions extends ReduxFramework{
|
|
111 |
|
112 |
echo '</select></div>';
|
113 |
|
114 |
-
|
115 |
|
116 |
echo "</fieldset>";
|
117 |
|
41 |
$this->value['units'] = $this->field['units'];
|
42 |
}
|
43 |
|
44 |
+
if ( isset( $this->value['units'] ) && !in_array($this->value['units'], array( '%', 'in', 'cm', 'mm', 'em', 'ex', 'pt', 'pc', 'px' ) ) ) {
|
45 |
if ( !empty( $this->field['units'] ) && in_array($this->value['units'], array( '%', 'in', 'cm', 'mm', 'em', 'ex', 'pt', 'pc', 'px' ) ) ) {
|
46 |
$this->value['units'] = $this->field['units'];
|
47 |
}
|
89 |
Units
|
90 |
**/
|
91 |
|
92 |
+
if ( $this->field['units'] !== false && $this->field['units'] !== "" ):
|
93 |
|
94 |
echo '<div class="select_wrapper dimensions-units" original-title="'.__('Units','redux-framework').'">';
|
95 |
echo '<select data-id="'.$this->field['id'].'" data-placeholder="'.__('Units','redux-framework').'" class="redux-dimensions redux-dimensions-units select'.$this->field['class'].'" original-title="'.__('Units','redux-framework').'" name="'.$this->args['opt_name'].'['.$this->field['id'].'][units]" id="'. $this->field['id'].'_units">';
|
111 |
|
112 |
echo '</select></div>';
|
113 |
|
114 |
+
endif;
|
115 |
|
116 |
echo "</fieldset>";
|
117 |
|
ReduxCore/inc/fields/editor/field_editor.css
CHANGED
@@ -1 +1,5 @@
|
|
1 |
-
#redux-main .mceLayout td{padding:
|
|
|
|
|
|
|
|
1 |
+
#redux-main .redux-container-editor .mceLayout td{border-width:1px;margin:0;padding:1px}
|
2 |
+
#redux-main .redux-container-editor input,#redux-main .redux-container-editor textarea{margin:inherit}
|
3 |
+
#redux-main .redux-container-editor textarea{border-style:none;border:0;border-width:0}
|
4 |
+
#redux-main .redux-container-editor .wp-editor-container{-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}#redux-main .redux-container-editor .wp-editor-container textarea{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0;border-style:inherit}
|
5 |
+
#redux-main .redux-container-editor .quicktags-toolbar input{margin:2px 1px 4px;line-height:18px;display:inline-block;min-width:26px;padding:2px 4px;font:12px/18px Arial,Helvetica,sans-serif normal;color:#464646;border:1px solid #c3c3c3;-webkit-border-radius:3px;border-radius:3px;background:#eee;background-image:-webkit-gradient(linear, left bottom, left top, from(#e3e3e3), to(#fff));background-image:-webkit-linear-gradient(bottom, #e3e3e3, #fff);background-image:-moz-linear-gradient(bottom, #e3e3e3, #fff);background-image:-o-linear-gradient(bottom, #e3e3e3, #fff);background-image:linear-gradient(to top, #e3e3e3, #fff)}
|
ReduxCore/inc/fields/editor/field_editor.js
DELETED
@@ -1,52 +0,0 @@
|
|
1 |
-
(function($){
|
2 |
-
"use strict";
|
3 |
-
|
4 |
-
$.redux = $.redux || {};
|
5 |
-
|
6 |
-
$(document).ready(function () {
|
7 |
-
$.redux.editor();
|
8 |
-
});
|
9 |
-
|
10 |
-
$.redux.editor = function(){
|
11 |
-
jQuery("textarea#redux-editor").each(function(){
|
12 |
-
|
13 |
-
var el_id = this.id,
|
14 |
-
current = jQuery(this),
|
15 |
-
parent = current.parents('.wp-editor-wrap:eq(0)'),
|
16 |
-
textarea = parent.find('textarea#redux-editor'),
|
17 |
-
switch_btn = parent.find('.wp-switch-editor').removeAttr("onclick"),
|
18 |
-
settings = {
|
19 |
-
id: this.id ,
|
20 |
-
buttons: "strong,em,link,block,del,ins,img,ul,ol,li,code,spell,close"
|
21 |
-
};
|
22 |
-
|
23 |
-
// add quicktags for text editor
|
24 |
-
quicktags(settings);
|
25 |
-
QTags._buttonsInit(); //workaround since dom ready was triggered already and there would be no initialization
|
26 |
-
|
27 |
-
// modify behavior for html editor
|
28 |
-
switch_btn.bind('click', function(){
|
29 |
-
var button = jQuery(this);
|
30 |
-
|
31 |
-
if(button.is('.switch-tmce')){
|
32 |
-
parent.removeClass('html-active').addClass('tmce-active');
|
33 |
-
window.tinyMCE.execCommand("mceAddControl", true, el_id);
|
34 |
-
window.tinyMCE.get(el_id).setContent(window.switchEditors.wpautop(textarea.val()), {
|
35 |
-
format:'raw'
|
36 |
-
});
|
37 |
-
}
|
38 |
-
else
|
39 |
-
{
|
40 |
-
parent.removeClass('tmce-active').addClass('html-active');
|
41 |
-
window.tinyMCE.execCommand("mceRemoveControl", true, el_id);
|
42 |
-
}
|
43 |
-
}).trigger('click');
|
44 |
-
|
45 |
-
//make sure that when the save button is pressed the textarea gets updated and sent to the editor
|
46 |
-
$("#dialog").find('.ui-button').bind('click', function(){
|
47 |
-
switch_btn.filter('.switch-html').trigger('click');
|
48 |
-
});
|
49 |
-
|
50 |
-
});
|
51 |
-
}
|
52 |
-
})(jQuery);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ReduxCore/inc/fields/editor/field_editor.less
CHANGED
@@ -1,3 +1,46 @@
|
|
1 |
-
#redux-main
|
2 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
}
|
1 |
+
#redux-main {
|
2 |
+
.redux-container-editor {
|
3 |
+
.mceLayout td {
|
4 |
+
border-width: 1px;
|
5 |
+
margin: 0;
|
6 |
+
padding: 1px;
|
7 |
+
}
|
8 |
+
input, textarea {
|
9 |
+
margin: inherit;
|
10 |
+
}
|
11 |
+
textarea {
|
12 |
+
border-style: none;
|
13 |
+
border: 0;
|
14 |
+
border-width: 0;
|
15 |
+
}
|
16 |
+
.wp-editor-container {
|
17 |
+
-webkit-border-radius: 3px;
|
18 |
+
-moz-border-radius: 3px;
|
19 |
+
border-radius: 3px;
|
20 |
+
textarea {
|
21 |
+
-webkit-border-radius: 0;
|
22 |
+
-moz-border-radius: 0;
|
23 |
+
border-radius: 0;
|
24 |
+
border-style: inherit;
|
25 |
+
}
|
26 |
+
}
|
27 |
+
.quicktags-toolbar input {
|
28 |
+
margin: 2px 1px 4px;
|
29 |
+
line-height: 18px;
|
30 |
+
display: inline-block;
|
31 |
+
min-width: 26px;
|
32 |
+
padding: 2px 4px;
|
33 |
+
font: 12px/18px Arial,Helvetica,sans-serif normal;
|
34 |
+
color: #464646;
|
35 |
+
border: 1px solid #c3c3c3;
|
36 |
+
-webkit-border-radius: 3px;
|
37 |
+
border-radius: 3px;
|
38 |
+
background: #eee;
|
39 |
+
background-image: -webkit-gradient(linear,left bottom,left top,from(#e3e3e3),to(#fff));
|
40 |
+
background-image: -webkit-linear-gradient(bottom,#e3e3e3,#fff);
|
41 |
+
background-image: -moz-linear-gradient(bottom,#e3e3e3,#fff);
|
42 |
+
background-image: -o-linear-gradient(bottom,#e3e3e3,#fff);
|
43 |
+
background-image: linear-gradient(to top,#e3e3e3,#fff);
|
44 |
+
}
|
45 |
+
}
|
46 |
}
|
ReduxCore/inc/fields/editor/field_editor.min.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
!function(t){"use strict";t.redux=t.redux||{},t(document).ready(function(){t.redux.editor()}),t.redux.editor=function(){jQuery("textarea#redux-editor").each(function(){var e=this.id,i=jQuery(this),o=i.parents(".wp-editor-wrap:eq(0)"),n=o.find("textarea#redux-editor"),r=o.find(".wp-switch-editor").removeAttr("onclick"),c={id:this.id,buttons:"strong,em,link,block,del,ins,img,ul,ol,li,code,spell,close"};quicktags(c),QTags._buttonsInit(),r.bind("click",function(){var t=jQuery(this);t.is(".switch-tmce")?(o.removeClass("html-active").addClass("tmce-active"),window.tinyMCE.execCommand("mceAddControl",!0,e),window.tinyMCE.get(e).setContent(window.switchEditors.wpautop(n.val()),{format:"raw"})):(o.removeClass("tmce-active").addClass("html-active"),window.tinyMCE.execCommand("mceRemoveControl",!0,e))}).trigger("click"),t("#dialog").find(".ui-button").bind("click",function(){r.filter(".switch-html").trigger("click")})})}}(jQuery);
|
|
ReduxCore/inc/fields/editor/field_editor.php
CHANGED
@@ -64,10 +64,12 @@ if( !class_exists( 'ReduxFramework_editor' ) ) {
|
|
64 |
|
65 |
$settings = array(
|
66 |
'textarea_name' => $this->args['opt_name'] . '[' . $this->field['id'] . ']',
|
67 |
-
'editor_class' => $this->field['class']
|
|
|
|
|
68 |
);
|
69 |
|
70 |
-
wp_editor( $this->value, '
|
71 |
|
72 |
}
|
73 |
|
64 |
|
65 |
$settings = array(
|
66 |
'textarea_name' => $this->args['opt_name'] . '[' . $this->field['id'] . ']',
|
67 |
+
'editor_class' => $this->field['class'],
|
68 |
+
'textarea_rows' => 8,
|
69 |
+
'teeny' => true,
|
70 |
);
|
71 |
|
72 |
+
wp_editor( $this->value, $this->field['id'], $settings );
|
73 |
|
74 |
}
|
75 |
|
ReduxCore/inc/fields/gallery/field_gallery.js
CHANGED
@@ -13,7 +13,7 @@
|
|
13 |
// When the user clicks on the Add/Edit gallery button, we need to display the gallery editing
|
14 |
$('body').on({
|
15 |
click: function(event){
|
16 |
-
var current_gallery = $(this).closest('
|
17 |
|
18 |
if (event.currentTarget.id === 'clear-gallery') {
|
19 |
//remove value from input
|
13 |
// When the user clicks on the Add/Edit gallery button, we need to display the gallery editing
|
14 |
$('body').on({
|
15 |
click: function(event){
|
16 |
+
var current_gallery = $(this).closest('fieldset');
|
17 |
|
18 |
if (event.currentTarget.id === 'clear-gallery') {
|
19 |
//remove value from input
|
ReduxCore/inc/fields/gallery/field_gallery.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
/* global redux_change, wp */(function(e){"use strict";e.gallery=e.gallery||{};e(document).ready(function(){e.gallery()});e.gallery=function(){e("body").on({click:function(t){var n=e(this).closest("
|
1 |
+
/* global redux_change, wp */(function(e){"use strict";e.gallery=e.gallery||{};e(document).ready(function(){e.gallery()});e.gallery=function(){e("body").on({click:function(t){var n=e(this).closest("fieldset");if(t.currentTarget.id==="clear-gallery"){var r=n.find(".gallery_values").val("");n.find(".screenshot").html("");return}if(typeof wp=="undefined"||!wp.media||!wp.media.gallery)return;t.preventDefault();var i=e(this),s=n.find(".gallery_values").val(),o;s?o='[gallery ids="'+s+'"]':o='[gallery ids="0"]';var u=wp.media.gallery.edit(o);u.state("gallery-edit").on("update",function(e){n.find(".screenshot").html("");var t,r="",i,s=e.models.map(function(e){t=e.toJSON();i=typeof t.sizes.thumbnail!="undefined"?t.sizes.thumbnail.url:t.url;r="<a class='of-uploaded-image' href='"+i+"'><img class='redux-option-image' src='"+i+"' alt='' /></a>";n.find(".screenshot").append(r);return e.id});n.find(".gallery_values").val(s.join(","))});return!1}},".gallery-attachments")}})(jQuery);
|
ReduxCore/inc/fields/image_select/field_image_select.css
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
.redux-image-select-selected{background-color:#f9f9f9}
|
4 |
.redux-image-select img,.redux-image-select-selected img,.redux-image-select .tiles,.redux-image-select-selected .tiles{border-width:4px;border-style:solid}
|
5 |
.redux-image-select img,.redux-image-select .tiles{border-color:#d9d9d9}
|
6 |
-
.redux-image-select-selected img,.redux-image-select-selected .tiles{border-color:#
|
7 |
.redux-image-select{margin:0 !important}
|
8 |
.redux-image-select .tiles{display:block;background-color:#fff;background-repeat:repeat;width:40px;height:40px}
|
9 |
#tilesFullView{font-size:0;line-height:0;position:absolute;border:1px solid #222;background:#444;padding:5px;margin:0;display:none;color:#fff}#tilesFullView img{margin:0;padding:0}
|
3 |
.redux-image-select-selected{background-color:#f9f9f9}
|
4 |
.redux-image-select img,.redux-image-select-selected img,.redux-image-select .tiles,.redux-image-select-selected .tiles{border-width:4px;border-style:solid}
|
5 |
.redux-image-select img,.redux-image-select .tiles{border-color:#d9d9d9}
|
6 |
+
.redux-image-select-selected img,.redux-image-select-selected .tiles{border-color:#7a7a7a}
|
7 |
.redux-image-select{margin:0 !important}
|
8 |
.redux-image-select .tiles{display:block;background-color:#fff;background-repeat:repeat;width:40px;height:40px}
|
9 |
#tilesFullView{font-size:0;line-height:0;position:absolute;border:1px solid #222;background:#444;padding:5px;margin:0;display:none;color:#fff}#tilesFullView img{margin:0;padding:0}
|
ReduxCore/inc/fields/image_select/field_image_select.js
CHANGED
@@ -5,7 +5,7 @@ jQuery(document).ready(function() {
|
|
5 |
// On label click, change the input and class
|
6 |
jQuery('.redux-image-select label img, .redux-image-select label .tiles').click(function(e) {
|
7 |
var id = jQuery(this).closest('label').attr('for');
|
8 |
-
jQuery(this).parents("
|
9 |
jQuery(this).closest('label').find('input[type="radio"]').prop('checked');
|
10 |
if (jQuery(this).closest('label').hasClass('redux-image-select-presets')) { // If they clicked on a preset, import!
|
11 |
e.preventDefault();
|
5 |
// On label click, change the input and class
|
6 |
jQuery('.redux-image-select label img, .redux-image-select label .tiles').click(function(e) {
|
7 |
var id = jQuery(this).closest('label').attr('for');
|
8 |
+
jQuery(this).parents("fieldset:first").find('.redux-image-select-selected').removeClass('redux-image-select-selected');
|
9 |
jQuery(this).closest('label').find('input[type="radio"]').prop('checked');
|
10 |
if (jQuery(this).closest('label').hasClass('redux-image-select-presets')) { // If they clicked on a preset, import!
|
11 |
e.preventDefault();
|
ReduxCore/inc/fields/image_select/field_image_select.less
CHANGED
@@ -22,7 +22,7 @@
|
|
22 |
border-color:#d9d9d9;
|
23 |
}
|
24 |
.redux-image-select-selected img, .redux-image-select-selected .tiles {
|
25 |
-
border-color:#
|
26 |
}
|
27 |
|
28 |
.redux-image-select {
|
22 |
border-color:#d9d9d9;
|
23 |
}
|
24 |
.redux-image-select-selected img, .redux-image-select-selected .tiles {
|
25 |
+
border-color:#7a7a7a;
|
26 |
}
|
27 |
|
28 |
.redux-image-select {
|
ReduxCore/inc/fields/image_select/field_image_select.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
/* global confirm, redux_opts */jQuery(document).ready(function(){jQuery(".redux-image-select label img, .redux-image-select label .tiles").click(function(e){var t=jQuery(this).closest("label").attr("for");jQuery(this).parents("
|
1 |
+
/* global confirm, redux_opts */jQuery(document).ready(function(){jQuery(".redux-image-select label img, .redux-image-select label .tiles").click(function(e){var t=jQuery(this).closest("label").attr("for");jQuery(this).parents("fieldset:first").find(".redux-image-select-selected").removeClass("redux-image-select-selected");jQuery(this).closest("label").find('input[type="radio"]').prop("checked");if(jQuery(this).closest("label").hasClass("redux-image-select-presets")){e.preventDefault();var n=jQuery(this).closest("label").find("input"),r=n.data("presets");if(n!==undefined&&n!==null){var i=confirm(redux_opts.preset_confirm);if(i){jQuery('label[for="'+t+'"]').addClass("redux-image-select-selected");window.onbeforeunload=null;jQuery("#import-code-value").val(JSON.stringify(r));jQuery("#redux-import").click()}}return!1}redux_change(jQuery(this).closest("label").find('input[type="radio"]'));jQuery('label[for="'+t+'"]').addClass("redux-image-select-selected")});jQuery(".tiles").tipsy({gravity:jQuery.fn.tipsy.autoWE,fade:!0,html:!0,title:function(){return"<img src='"+jQuery(this).attr("rel")+"' style='max-width:150px;' alt='' />"},opacity:1})});
|
ReduxCore/inc/fields/media/field_media.js
CHANGED
@@ -17,14 +17,14 @@
|
|
17 |
$.redux.media = function(){
|
18 |
// Remove the image button
|
19 |
$('.remove-image, .remove-file').unbind('click').on('click', function() {
|
20 |
-
redux_remove_file( $(this).closest('
|
21 |
-
redux_change($(this).closest('
|
22 |
});
|
23 |
|
24 |
// Upload media button
|
25 |
$('.media_upload_button').unbind().on('click', function( event ) {
|
26 |
-
redux_add_file(event, $(this).closest('
|
27 |
-
redux_change($(this).closest('
|
28 |
});
|
29 |
}
|
30 |
|
17 |
$.redux.media = function(){
|
18 |
// Remove the image button
|
19 |
$('.remove-image, .remove-file').unbind('click').on('click', function() {
|
20 |
+
redux_remove_file( $(this).closest('fieldset') );
|
21 |
+
redux_change($(this).closest('fieldset:first').find('.upload'));
|
22 |
});
|
23 |
|
24 |
// Upload media button
|
25 |
$('.media_upload_button').unbind().on('click', function( event ) {
|
26 |
+
redux_add_file(event, $(this).closest('fieldset'));
|
27 |
+
redux_change($(this).closest('fieldset:first').find('.upload'));
|
28 |
});
|
29 |
}
|
30 |
|
ReduxCore/inc/fields/media/field_media.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
function redux_add_file(e,
|
1 |
+
/* global redux_change, wp */function redux_add_file(e,t){e.preventDefault();var n,r=jQuery(this);if(n){n.open();return}n=wp.media({multiple:!1,library:{type:"image"},title:r.data("choose"),button:{text:r.data("update")}});n.on("select",function(){var e=n.state().get("selection").first();n.close();if(e.attributes.type!=="image")return;t.find(".upload").val(e.attributes.url).trigger("check_dependencies",t.find(".upload"));t.find(".upload-id").val(e.attributes.id);t.find(".upload-height").val(e.attributes.height);t.find(".upload-width").val(e.attributes.width);e.attributes.type==="image"&&!t.find(".upload").hasClass("noPreview")&&t.find(".screenshot").empty().hide().append('<img class="redux-option-image" src="'+e.attributes.url+'">').slideDown("fast");t.find(".remove-image").removeClass("hide");t.find(".redux-background-properties").slideDown()});n.open()}function redux_remove_file(e){if(!e.find(".remove-image").addClass("hide"))return;redux_change(jQuery("#"+e.attr("rel")));e.find(".remove-image").addClass("hide");e.find(".upload").val("").trigger("check_dependencies",e.find(".upload"));e.find(".upload-id").val("");e.find(".upload-height").val("");e.find(".upload-width").val("");e.find(".redux-background-properties").hide();var t=e.find(".screenshot");t.slideUp();e.find(".remove-file").unbind();jQuery(".section-upload .upload-notice").length>0&&jQuery(".media_upload_button").remove()}(function(e){"use strict";e.redux=e.redux||{};e(document).ready(function(){e.redux.media()});e.redux.media=function(){e(".remove-image, .remove-file").unbind("click").on("click",function(){redux_remove_file(e(this).closest("fieldset"));redux_change(e(this).closest("fieldset:first").find(".upload"))});e(".media_upload_button").unbind().on("click",function(t){redux_add_file(t,e(this).closest("fieldset"));redux_change(e(this).closest("fieldset:first").find(".upload"))})}})(jQuery);
|
ReduxCore/inc/fields/slides/field_slides.css
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
-
|
2 |
.redux-slides-accordion-group{margin-bottom:10px}
|
3 |
-
.redux-slides-accordion-group
|
4 |
.redux-slides-accordion-group h3{border:1px solid #dfdfdf;cursor:move;font-weight:bold;padding:0 10px;margin-bottom:10px;height:40px;line-height:40px;background-color:#f1f1f1;background-image:-ms-linear-gradient(top, #f9f9f9, #ececec);background-image:-moz-linear-gradient(top, #f9f9f9, #ececec);background-image:-o-linear-gradient(top, #f9f9f9, #ececec);background-image:-webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#ececec));background-image:-webkit-linear-gradient(top, #f9f9f9, #ececec);background-image:linear-gradient(top, #f9f9f9, #ececec);overflow:hidden;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-moz-box-shadow:inset 0 1px 0 #fff;-webkit-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff;text-align:center}
|
5 |
-
#redux-slides-accordion .redux-slides-image{height:250px;
|
6 |
-
.redux-slides-add{margin-
|
7 |
-
.redux-slides-remove{color:#ef521d !important;
|
8 |
.redux-slides-header{font-weight:bold}
|
9 |
.redux_slides_add_remove{margin-bottom:10px}
|
1 |
+
|
2 |
.redux-slides-accordion-group{margin-bottom:10px}
|
3 |
+
.redux-slides-accordion-group{border:1px solid #dfdfdf !important;border-radius:3px !important;margin-top:0 !important;background:#f9f9f9;padding:5px}
|
4 |
.redux-slides-accordion-group h3{border:1px solid #dfdfdf;cursor:move;font-weight:bold;padding:0 10px;margin-bottom:10px;height:40px;line-height:40px;background-color:#f1f1f1;background-image:-ms-linear-gradient(top, #f9f9f9, #ececec);background-image:-moz-linear-gradient(top, #f9f9f9, #ececec);background-image:-o-linear-gradient(top, #f9f9f9, #ececec);background-image:-webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#ececec));background-image:-webkit-linear-gradient(top, #f9f9f9, #ececec);background-image:linear-gradient(top, #f9f9f9, #ececec);overflow:hidden;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-moz-box-shadow:inset 0 1px 0 #fff;-webkit-box-shadow:inset 0 1px 0 #fff;box-shadow:inset 0 1px 0 #fff;text-align:center}
|
5 |
+
#redux-slides-accordion .redux-slides-image{height:250px;padding:5px;margin-top:10px;margin-bottom:10px;border:1px solid #e3e3e3;background:#f7f7f7;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}
|
6 |
+
.redux-slides-add{float:right;margin-right:10%;display:block}
|
7 |
+
.redux-slides-remove{color:#ef521d !important;float:right}
|
8 |
.redux-slides-header{font-weight:bold}
|
9 |
.redux_slides_add_remove{margin-bottom:10px}
|
ReduxCore/inc/fields/slides/field_slides.js
CHANGED
@@ -41,9 +41,9 @@ jQuery(document).ready(function () {
|
|
41 |
});
|
42 |
|
43 |
jQuery(function () {
|
44 |
-
jQuery("
|
45 |
.accordion({
|
46 |
-
header: "> div > h3",
|
47 |
collapsible: true,
|
48 |
active: false,
|
49 |
heightStyle: "content",
|
@@ -52,6 +52,12 @@ jQuery(document).ready(function () {
|
|
52 |
.sortable({
|
53 |
axis: "y",
|
54 |
handle: "h3",
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
stop: function (event, ui) {
|
56 |
// IE doesn't register the blur when sorting
|
57 |
// so trigger focusout handlers to remove .ui-state-focus
|
41 |
});
|
42 |
|
43 |
jQuery(function () {
|
44 |
+
jQuery(".redux-slides-accordion")
|
45 |
.accordion({
|
46 |
+
header: "> div > fieldset > h3",
|
47 |
collapsible: true,
|
48 |
active: false,
|
49 |
heightStyle: "content",
|
52 |
.sortable({
|
53 |
axis: "y",
|
54 |
handle: "h3",
|
55 |
+
connectWith: ".redux-slides-accordion",
|
56 |
+
start: function(e, ui) {
|
57 |
+
ui.placeholder.height(ui.item.height());
|
58 |
+
ui.placeholder.width(ui.item.width());
|
59 |
+
},
|
60 |
+
placeholder: "ui-state-highlight",
|
61 |
stop: function (event, ui) {
|
62 |
// IE doesn't register the blur when sorting
|
63 |
// so trigger focusout handlers to remove .ui-state-focus
|
ReduxCore/inc/fields/slides/field_slides.less
CHANGED
@@ -1,13 +1,16 @@
|
|
1 |
-
#redux-slides-accordion{
|
2 |
-
|
3 |
}
|
4 |
.redux-slides-accordion-group{
|
5 |
margin-bottom: 10px;
|
|
|
6 |
}
|
7 |
-
.redux-slides-accordion-group
|
8 |
border: 1px solid #dfdfdf !important;
|
9 |
border-radius: 3px !important;
|
10 |
margin-top:0px !important;
|
|
|
|
|
11 |
}
|
12 |
.redux-slides-accordion-group h3{
|
13 |
border: 1px solid #dfdfdf;
|
@@ -35,7 +38,6 @@
|
|
35 |
}
|
36 |
#redux-slides-accordion .redux-slides-image{
|
37 |
height: 250px;
|
38 |
-
width: 330px;
|
39 |
padding: 5px;
|
40 |
margin-top: 10px;
|
41 |
margin-bottom: 10px;
|
@@ -47,11 +49,13 @@
|
|
47 |
border-radius: 3px;
|
48 |
}
|
49 |
.redux-slides-add{
|
50 |
-
|
|
|
|
|
51 |
}
|
52 |
.redux-slides-remove{
|
53 |
color: #ef521d !important;
|
54 |
-
|
55 |
}
|
56 |
.redux-slides-header{
|
57 |
font-weight: bold;
|
1 |
+
#redux-slides-accordion, #redux-slides-accordion li{
|
2 |
+
|
3 |
}
|
4 |
.redux-slides-accordion-group{
|
5 |
margin-bottom: 10px;
|
6 |
+
|
7 |
}
|
8 |
+
.redux-slides-accordion-group {
|
9 |
border: 1px solid #dfdfdf !important;
|
10 |
border-radius: 3px !important;
|
11 |
margin-top:0px !important;
|
12 |
+
background: #f9f9f9;
|
13 |
+
padding: 5px;
|
14 |
}
|
15 |
.redux-slides-accordion-group h3{
|
16 |
border: 1px solid #dfdfdf;
|
38 |
}
|
39 |
#redux-slides-accordion .redux-slides-image{
|
40 |
height: 250px;
|
|
|
41 |
padding: 5px;
|
42 |
margin-top: 10px;
|
43 |
margin-bottom: 10px;
|
49 |
border-radius: 3px;
|
50 |
}
|
51 |
.redux-slides-add{
|
52 |
+
float: right;
|
53 |
+
margin-right: 10%;
|
54 |
+
display: block;
|
55 |
}
|
56 |
.redux-slides-remove{
|
57 |
color: #ef521d !important;
|
58 |
+
float: right;
|
59 |
}
|
60 |
.redux-slides-header{
|
61 |
font-weight: bold;
|
ReduxCore/inc/fields/slides/field_slides.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
/* global redux_change, wp */jQuery(document).ready(function(){jQuery(".redux-slides-remove").live("click",function(){redux_change(jQuery(this));jQuery(this).parent().siblings().find('input[type="text"]').val("");jQuery(this).parent().siblings().find('input[type="hidden"]').val("");jQuery(this).parents().eq(3).slideUp("medium",function(){jQuery(this).remove()})});jQuery(".redux-slides-add").click(function(){var e=jQuery(this).prev().find(".redux-slides-accordion-group:last").clone(!0),t=jQuery(e).find('input[type="text"]').attr("name").match(/\d+/),n=t*1+1;jQuery(e).find('input[type="text"], input[type="hidden"], textarea').each(function(){jQuery(this).attr("name",jQuery(this).attr("name").replace(/\d+/,n)).attr("id",jQuery(this).attr("id").replace(/\d+/,n));jQuery(this).val("");jQuery(this).hasClass("slide-sort")&&jQuery(this).val(n)});jQuery(e).find(".screenshot").removeAttr("style");jQuery(e).find(".screenshot").addClass("hide");jQuery(e).find(".screenshot a").attr("href","");jQuery(e).find(".remove-image").addClass("hide");jQuery(e).find(".redux-slides-image").attr("src","").removeAttr("id");jQuery(e).find("h3").text("").append('<span class="redux-slides-header">New slide</span><span class="ui-accordion-header-icon ui-icon ui-icon-plus"></span>');jQuery(this).prev().append(e)});jQuery(".slide-title").keyup(function(e){var t=e.target.value;jQuery(this).parents().eq(3).find(".redux-slides-header").text(t)});jQuery(function(){jQuery("
|
1 |
+
/* global redux_change, wp */jQuery(document).ready(function(){jQuery(".redux-slides-remove").live("click",function(){redux_change(jQuery(this));jQuery(this).parent().siblings().find('input[type="text"]').val("");jQuery(this).parent().siblings().find('input[type="hidden"]').val("");jQuery(this).parents().eq(3).slideUp("medium",function(){jQuery(this).remove()})});jQuery(".redux-slides-add").click(function(){var e=jQuery(this).prev().find(".redux-slides-accordion-group:last").clone(!0),t=jQuery(e).find('input[type="text"]').attr("name").match(/\d+/),n=t*1+1;jQuery(e).find('input[type="text"], input[type="hidden"], textarea').each(function(){jQuery(this).attr("name",jQuery(this).attr("name").replace(/\d+/,n)).attr("id",jQuery(this).attr("id").replace(/\d+/,n));jQuery(this).val("");jQuery(this).hasClass("slide-sort")&&jQuery(this).val(n)});jQuery(e).find(".screenshot").removeAttr("style");jQuery(e).find(".screenshot").addClass("hide");jQuery(e).find(".screenshot a").attr("href","");jQuery(e).find(".remove-image").addClass("hide");jQuery(e).find(".redux-slides-image").attr("src","").removeAttr("id");jQuery(e).find("h3").text("").append('<span class="redux-slides-header">New slide</span><span class="ui-accordion-header-icon ui-icon ui-icon-plus"></span>');jQuery(this).prev().append(e)});jQuery(".slide-title").keyup(function(e){var t=e.target.value;jQuery(this).parents().eq(3).find(".redux-slides-header").text(t)});jQuery(function(){jQuery(".redux-slides-accordion").accordion({header:"> div > fieldset > h3",collapsible:!0,active:!1,heightStyle:"content",icons:{header:"ui-icon-plus",activeHeader:"ui-icon-minus"}}).sortable({axis:"y",handle:"h3",connectWith:".redux-slides-accordion",start:function(e,t){t.placeholder.height(t.item.height());t.placeholder.width(t.item.width())},placeholder:"ui-state-highlight",stop:function(e,t){t.item.children("h3").triggerHandler("focusout");var n=jQuery("input.slide-sort");n.each(function(e){jQuery(this).val(e)})}})})});
|
ReduxCore/inc/fields/slides/field_slides.php
CHANGED
@@ -66,7 +66,7 @@ if (!class_exists('ReduxFramework_slides')) {
|
|
66 |
public function render()
|
67 |
{
|
68 |
|
69 |
-
echo '<div
|
70 |
|
71 |
$x = 0;
|
72 |
|
@@ -93,7 +93,7 @@ if (!class_exists('ReduxFramework_slides')) {
|
|
93 |
if (!isset($slide['slide_image_width'])) $slide['slide_image_width'] = '';
|
94 |
|
95 |
if ($slide['slide_title'] != '' && isset($slide['slide_title'])) {
|
96 |
-
echo '<div class="redux-slides-accordion-group"><h3><span class="redux-slides-header">' . $slide['slide_title'] . '</span></h3><div>';
|
97 |
|
98 |
$hide = '';
|
99 |
if (empty($slide['slide_image_url']))
|
@@ -107,7 +107,7 @@ if (!class_exists('ReduxFramework_slides')) {
|
|
107 |
|
108 |
echo '<div class="redux_slides_add_remove">';
|
109 |
|
110 |
-
echo '<span class="button
|
111 |
|
112 |
$hide = '';
|
113 |
if (empty($slide['slide_image_url']) || $slide['slide_image_url'] == '')
|
@@ -118,23 +118,23 @@ if (!class_exists('ReduxFramework_slides')) {
|
|
118 |
echo '</div>' . "\n";
|
119 |
|
120 |
echo '<ul id="' . $this->field['id'] . '-ul" class="redux-multi-text">';
|
121 |
-
echo '<li><input type="text" id="' . $this->field['id'] . '-slide_title_' . $x . '" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_title]" value="' . esc_attr($slide['slide_title']) . '" class="
|
122 |
echo '<li><textarea name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_description]" id="' . $this->field['id'] . '-slide_description_' . $x . '" placeholder="Description" class="large-text" rows="6">' . esc_attr($slide['slide_description']) . '</textarea></li>';
|
123 |
-
echo '<li><input type="text" id="' . $this->field['id'] . '-slide_url_' . $x . '" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_url]" value="' . esc_attr($slide['slide_url']) . '" class="
|
124 |
echo '<li><input type="hidden" class="slide-sort" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_sort]" id="' . $this->field['id'] . '-slide_sort_' . $x . '" value="' . $slide['slide_sort'] . '" />';
|
125 |
echo '<li><input type="hidden" class="upload-id" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_image_id]" id="' . $this->field['id'] . '-slide_image_id_' . $x . '" value="' . $slide['slide_image_id'] . '" />';
|
126 |
echo '<input type="hidden" class="upload" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_image_url]" id="' . $this->field['id'] . '-slide_image_url_' . $x . '" value="' . $slide['slide_image_url'] . '" readonly="readonly" />';
|
127 |
echo '<input type="hidden" class="upload-height" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_image_height]" id="' . $this->field['id'] . '-slide_image_height_' . $x . '" value="' . $slide['slide_image_height'] . '" />';
|
128 |
echo '<input type="hidden" class="upload-width" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_image_width]" id="' . $this->field['id'] . '-slide_image_width_' . $x . '" value="' . $slide['slide_image_width'] . '" /></li>';
|
129 |
echo '<li><a href="javascript:void(0);" class="button deletion redux-slides-remove">' . __('Delete Slide', 'redux-framework') . '</a></li>';
|
130 |
-
echo '</ul></div></div>';
|
131 |
$x++;
|
132 |
}
|
133 |
}
|
134 |
}
|
135 |
|
136 |
if ($x == 0) {
|
137 |
-
echo '<div class="redux-slides-accordion-group"><h3><span class="redux-slides-header">New Slide</span></h3><div>';
|
138 |
|
139 |
$hide = ' hide';
|
140 |
|
@@ -148,23 +148,23 @@ if (!class_exists('ReduxFramework_slides')) {
|
|
148 |
echo '<div class="upload_button_div">';
|
149 |
|
150 |
//If the user has WP3.5+ show upload/remove button
|
151 |
-
echo '<span class="button
|
152 |
|
153 |
echo '<span class="button remove-image' . $hide . '" id="reset_slide_' . $x . '" rel="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][slide_image_id]">' . __('Remove', 'redux-framework') . '</span>';
|
154 |
|
155 |
echo '</div>' . "\n";
|
156 |
|
157 |
echo '<ul id="' . $this->field['id'] . '-ul" class="redux-multi-text">';
|
158 |
-
echo '<li><input type="text" id="' . $this->field['id'] . '-slide_title_' . $x . '" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_title]" value="" class="
|
159 |
-
echo '<li><textarea name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_description]" id="' . $this->field['id'] . '-slide_description_' . $x . '" placeholder="Description" class="large-text" rows="6"></textarea></li>';
|
160 |
-
echo '<li><input type="text" id="' . $this->field['id'] . '-slide_url_' . $x . '" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_url]" value="" class="
|
161 |
echo '<li><input type="hidden" class="slide-sort" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_sort]" id="' . $this->field['id'] . '-slide_sort_' . $x . '" value="' . $x . '" />';
|
162 |
echo '<li><input type="hidden" class="upload-id" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_image_id]" id="' . $this->field['id'] . '-slide_image_id_' . $x . '" value="" />';
|
163 |
echo '<input type="hidden" class="upload" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_image_url]" id="' . $this->field['id'] . '-slide_image_url_' . $x . '" value="" readonly="readonly" />';
|
164 |
echo '<input type="hidden" class="upload-height" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_image_height]" id="' . $this->field['id'] . '-slide_image_height_' . $x . '" value="" />';
|
165 |
echo '<input type="hidden" class="upload-width" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_image_width]" id="' . $this->field['id'] . '-slide_image_width_' . $x . '" value="" /></li>';
|
166 |
echo '<li><a href="javascript:void(0);" class="button deletion redux-slides-remove">' . __('Delete Slide', 'redux-framework') . '</a></li>';
|
167 |
-
echo '</ul></div></div>';
|
168 |
}
|
169 |
echo '</div><a href="javascript:void(0);" class="button redux-slides-add button-primary" rel-id="' . $this->field['id'] . '-ul" rel-name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][slide_title][]">' . __('Add Slide', 'redux-framework') . '</a><br/>';
|
170 |
|
@@ -226,4 +226,4 @@ if (!class_exists('ReduxFramework_slides')) {
|
|
226 |
}
|
227 |
|
228 |
}
|
229 |
-
}
|
66 |
public function render()
|
67 |
{
|
68 |
|
69 |
+
echo '<div class="redux-slides-accordion">';
|
70 |
|
71 |
$x = 0;
|
72 |
|
93 |
if (!isset($slide['slide_image_width'])) $slide['slide_image_width'] = '';
|
94 |
|
95 |
if ($slide['slide_title'] != '' && isset($slide['slide_title'])) {
|
96 |
+
echo '<div class="redux-slides-accordion-group"><fieldset><h3><span class="redux-slides-header">' . $slide['slide_title'] . '</span></h3><div>';
|
97 |
|
98 |
$hide = '';
|
99 |
if (empty($slide['slide_image_url']))
|
107 |
|
108 |
echo '<div class="redux_slides_add_remove">';
|
109 |
|
110 |
+
echo '<span class="button media_upload_button" id="add_slide_' . $x . '">' . __('Upload', 'redux-framework') . '</span>';
|
111 |
|
112 |
$hide = '';
|
113 |
if (empty($slide['slide_image_url']) || $slide['slide_image_url'] == '')
|
118 |
echo '</div>' . "\n";
|
119 |
|
120 |
echo '<ul id="' . $this->field['id'] . '-ul" class="redux-multi-text">';
|
121 |
+
echo '<li><input type="text" id="' . $this->field['id'] . '-slide_title_' . $x . '" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_title]" value="' . esc_attr($slide['slide_title']) . '" class="full-text slide-title" /></li>';
|
122 |
echo '<li><textarea name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_description]" id="' . $this->field['id'] . '-slide_description_' . $x . '" placeholder="Description" class="large-text" rows="6">' . esc_attr($slide['slide_description']) . '</textarea></li>';
|
123 |
+
echo '<li><input type="text" id="' . $this->field['id'] . '-slide_url_' . $x . '" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_url]" value="' . esc_attr($slide['slide_url']) . '" class="full-text" /></li>';
|
124 |
echo '<li><input type="hidden" class="slide-sort" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_sort]" id="' . $this->field['id'] . '-slide_sort_' . $x . '" value="' . $slide['slide_sort'] . '" />';
|
125 |
echo '<li><input type="hidden" class="upload-id" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_image_id]" id="' . $this->field['id'] . '-slide_image_id_' . $x . '" value="' . $slide['slide_image_id'] . '" />';
|
126 |
echo '<input type="hidden" class="upload" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_image_url]" id="' . $this->field['id'] . '-slide_image_url_' . $x . '" value="' . $slide['slide_image_url'] . '" readonly="readonly" />';
|
127 |
echo '<input type="hidden" class="upload-height" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_image_height]" id="' . $this->field['id'] . '-slide_image_height_' . $x . '" value="' . $slide['slide_image_height'] . '" />';
|
128 |
echo '<input type="hidden" class="upload-width" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_image_width]" id="' . $this->field['id'] . '-slide_image_width_' . $x . '" value="' . $slide['slide_image_width'] . '" /></li>';
|
129 |
echo '<li><a href="javascript:void(0);" class="button deletion redux-slides-remove">' . __('Delete Slide', 'redux-framework') . '</a></li>';
|
130 |
+
echo '</ul></div></fieldset></div>';
|
131 |
$x++;
|
132 |
}
|
133 |
}
|
134 |
}
|
135 |
|
136 |
if ($x == 0) {
|
137 |
+
echo '<div class="redux-slides-accordion-group"><fieldset><h3><span class="redux-slides-header">New Slide</span></h3><div>';
|
138 |
|
139 |
$hide = ' hide';
|
140 |
|
148 |
echo '<div class="upload_button_div">';
|
149 |
|
150 |
//If the user has WP3.5+ show upload/remove button
|
151 |
+
echo '<span class="button media_upload_button" id="add_slide_' . $x . '">' . __('Upload', 'redux-framework') . '</span>';
|
152 |
|
153 |
echo '<span class="button remove-image' . $hide . '" id="reset_slide_' . $x . '" rel="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][slide_image_id]">' . __('Remove', 'redux-framework') . '</span>';
|
154 |
|
155 |
echo '</div>' . "\n";
|
156 |
|
157 |
echo '<ul id="' . $this->field['id'] . '-ul" class="redux-multi-text">';
|
158 |
+
echo '<li><input type="text" id="' . $this->field['id'] . '-slide_title_' . $x . '" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_title]" value="" placeholder="'.__('Title', 'redux-framework').'" class="full-text slide-title" /></li>';
|
159 |
+
echo '<li><textarea name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_description]" id="' . $this->field['id'] . '-slide_description_' . $x . '" placeholder="'.__('Description', 'redux-framework').'" class="large-text" rows="6"></textarea></li>';
|
160 |
+
echo '<li><input type="text" id="' . $this->field['id'] . '-slide_url_' . $x . '" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_url]" value="" class="full-text" placeholder="'.__('URL', 'redux-framework').'" /></li>';
|
161 |
echo '<li><input type="hidden" class="slide-sort" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_sort]" id="' . $this->field['id'] . '-slide_sort_' . $x . '" value="' . $x . '" />';
|
162 |
echo '<li><input type="hidden" class="upload-id" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_image_id]" id="' . $this->field['id'] . '-slide_image_id_' . $x . '" value="" />';
|
163 |
echo '<input type="hidden" class="upload" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_image_url]" id="' . $this->field['id'] . '-slide_image_url_' . $x . '" value="" readonly="readonly" />';
|
164 |
echo '<input type="hidden" class="upload-height" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_image_height]" id="' . $this->field['id'] . '-slide_image_height_' . $x . '" value="" />';
|
165 |
echo '<input type="hidden" class="upload-width" name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][' . $x . '][slide_image_width]" id="' . $this->field['id'] . '-slide_image_width_' . $x . '" value="" /></li>';
|
166 |
echo '<li><a href="javascript:void(0);" class="button deletion redux-slides-remove">' . __('Delete Slide', 'redux-framework') . '</a></li>';
|
167 |
+
echo '</ul></div></fieldset></div>';
|
168 |
}
|
169 |
echo '</div><a href="javascript:void(0);" class="button redux-slides-add button-primary" rel-id="' . $this->field['id'] . '-ul" rel-name="' . $this->args['opt_name'] . '[' . $this->field['id'] . '][slide_title][]">' . __('Add Slide', 'redux-framework') . '</a><br/>';
|
170 |
|
226 |
}
|
227 |
|
228 |
}
|
229 |
+
}
|
ReduxCore/inc/fields/spacing/field_spacing.js
CHANGED
@@ -17,9 +17,13 @@
|
|
17 |
});
|
18 |
|
19 |
$('.redux-spacing-input').on('change', function() {
|
20 |
-
var units =
|
21 |
-
|
22 |
-
|
|
|
|
|
|
|
|
|
23 |
});
|
24 |
|
25 |
$('.redux-spacing-units').on('change', function() {
|
17 |
});
|
18 |
|
19 |
$('.redux-spacing-input').on('change', function() {
|
20 |
+
var units = jQuery(this).parents('.redux-field:first').find('.redux-spacing-units option:selected').val();
|
21 |
+
if(typeof units !== 'undefined') {
|
22 |
+
console.log(units);
|
23 |
+
jQuery('#'+jQuery(this).attr('rel')).val(jQuery(this).val()+units);
|
24 |
+
} else {
|
25 |
+
jQuery('#'+jQuery(this).attr('rel')).val(jQuery(this).val());
|
26 |
+
}
|
27 |
});
|
28 |
|
29 |
$('.redux-spacing-units').on('change', function() {
|
ReduxCore/inc/fields/spacing/field_spacing.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
|
1 |
+
(function(e){"use strict";e.redux=e.redux||{};e(document).ready(function(){e.redux.spacing()});e.redux.spacing=function(){e(".redux-spacing-top, .redux-spacing-bottom, .redux-spacing-left, .redux-spacing-right").numeric();e(".redux-spacing-units").select2({width:"resolve",triggerChange:!0,allowClear:!0});e(".redux-spacing-input").on("change",function(){var e=jQuery(this).parents(".redux-field:first").find(".redux-spacing-units option:selected").val();if(typeof e!="undefined"){console.log(e);jQuery("#"+jQuery(this).attr("rel")).val(jQuery(this).val()+e)}else jQuery("#"+jQuery(this).attr("rel")).val(jQuery(this).val())});e(".redux-spacing-units").on("change",function(){e(this).parents(".redux-spacing-container:first").find(".redux-spacing-input").change()})}})(jQuery);
|
ReduxCore/inc/fields/spacing/field_spacing.php
CHANGED
@@ -27,6 +27,7 @@ class ReduxFramework_spacing extends ReduxFramework{
|
|
27 |
* @since ReduxFramework 1.0.0
|
28 |
*/
|
29 |
function render(){
|
|
|
30 |
|
31 |
// No errors please
|
32 |
$defaults = array(
|
@@ -44,7 +45,6 @@ class ReduxFramework_spacing extends ReduxFramework{
|
|
44 |
$defaults = array(
|
45 |
'top'=>'',
|
46 |
'right'=>'',
|
47 |
-
'mode' => '',
|
48 |
'bottom'=>'',
|
49 |
'left'=>'',
|
50 |
'mode'=>'padding',
|
@@ -70,13 +70,38 @@ class ReduxFramework_spacing extends ReduxFramework{
|
|
70 |
if ( !empty( $this->field['mode'] ) ) {
|
71 |
$this->field['mode'] = $this->field['mode']."-";
|
72 |
}
|
73 |
-
|
74 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
/**
|
76 |
Top
|
77 |
**/
|
78 |
if ($this->field['top'] === true):
|
79 |
-
if ( !empty(
|
80 |
$this->value['top'] = filter_var($this->value['top'], FILTER_SANITIZE_NUMBER_INT);
|
81 |
$this->value['top'] = $this->value['top'].$this->value['units'];
|
82 |
}
|
@@ -87,7 +112,7 @@ class ReduxFramework_spacing extends ReduxFramework{
|
|
87 |
Right
|
88 |
**/
|
89 |
if ($this->field['right'] === true):
|
90 |
-
if ( !empty(
|
91 |
$this->value['right'] = filter_var($this->value['right'], FILTER_SANITIZE_NUMBER_INT);
|
92 |
$this->value['right'] = $this->value['right'].$this->value['units'];
|
93 |
}
|
@@ -98,8 +123,11 @@ class ReduxFramework_spacing extends ReduxFramework{
|
|
98 |
Bottom
|
99 |
**/
|
100 |
if ($this->field['bottom'] === true):
|
101 |
-
if ( !empty(
|
102 |
$this->value['bottom'] = filter_var($this->value['bottom'], FILTER_SANITIZE_NUMBER_INT);
|
|
|
|
|
|
|
103 |
$this->value['bottom'] = $this->value['bottom'].$this->value['units'];
|
104 |
}
|
105 |
echo '<div class="field-spacing-input input-prepend"><span class="add-on"><i class="icon-arrow-down icon-large"></i></span><input type="text" class="redux-spacing-bottom redux-spacing-input mini'.$this->field['class'].'" placeholder="'.__('Bottom','redux-framework').'" rel="'.$this->field['id'].'-bottom" value="'.filter_var($this->value['bottom'], FILTER_SANITIZE_NUMBER_INT).'"><input type="hidden" class="redux-spacing-bottom mini'.$this->field['class'].'" placeholder="'.__('Bottom','redux-framework').'" id="'.$this->field['id'].'-bottom" name="'.$this->args['opt_name'].'['.$this->field['id'].']['.$this->field['mode'].'bottom]" value="'.$this->value['bottom'].'"></div>';
|
@@ -109,7 +137,7 @@ class ReduxFramework_spacing extends ReduxFramework{
|
|
109 |
Left
|
110 |
**/
|
111 |
if ($this->field['left'] === true):
|
112 |
-
if ( !empty(
|
113 |
$this->value['left'] = filter_var($this->value['left'], FILTER_SANITIZE_NUMBER_INT);
|
114 |
$this->value['left'] = $this->value['left'].$this->value['units'];
|
115 |
}
|
@@ -121,7 +149,7 @@ class ReduxFramework_spacing extends ReduxFramework{
|
|
121 |
Units
|
122 |
**/
|
123 |
|
124 |
-
|
125 |
|
126 |
echo '<div class="select_wrapper spacing-units" original-title="'.__('Units','redux-framework').'">';
|
127 |
echo '<select data-placeholder="'.__('Units','redux-framework').'" class="redux-spacing redux-spacing-units select'.$this->field['class'].'" original-title="'.__('Units','redux-framework').'" name="'.$this->args['opt_name'].'['.$this->field['id'].'][units]" id="'. $this->field['id'].'_units">';
|
@@ -142,7 +170,7 @@ class ReduxFramework_spacing extends ReduxFramework{
|
|
142 |
}
|
143 |
echo '</select></div>';
|
144 |
|
145 |
-
|
146 |
|
147 |
|
148 |
|
27 |
* @since ReduxFramework 1.0.0
|
28 |
*/
|
29 |
function render(){
|
30 |
+
print_r($this->value);
|
31 |
|
32 |
// No errors please
|
33 |
$defaults = array(
|
45 |
$defaults = array(
|
46 |
'top'=>'',
|
47 |
'right'=>'',
|
|
|
48 |
'bottom'=>'',
|
49 |
'left'=>'',
|
50 |
'mode'=>'padding',
|
70 |
if ( !empty( $this->field['mode'] ) ) {
|
71 |
$this->field['mode'] = $this->field['mode']."-";
|
72 |
}
|
|
|
73 |
|
74 |
+
$oldval = $this->value;
|
75 |
+
$this->value = array();
|
76 |
+
|
77 |
+
foreach ($oldval as $k=>$v) {
|
78 |
+
if ($k == "units") {
|
79 |
+
continue;
|
80 |
+
}
|
81 |
+
if (strpos($k, $this->field['mode']) === false) {
|
82 |
+
$this->value[$k] = str_replace($oldval['units'], "". $v);
|
83 |
+
} else {
|
84 |
+
$this->value[$str_replace($this->field['mode'].'-', "", $k)] = str_replace($oldval['units'], "". $v);
|
85 |
+
}
|
86 |
+
}
|
87 |
+
|
88 |
+
$defaults = array(
|
89 |
+
'top'=>'',
|
90 |
+
'right'=>'',
|
91 |
+
'bottom'=>'',
|
92 |
+
'left'=>'',
|
93 |
+
'units'=>'',
|
94 |
+
);
|
95 |
+
|
96 |
+
$this->value = wp_parse_args( $this->value, $defaults );
|
97 |
+
|
98 |
+
|
99 |
+
print_r($this->value);
|
100 |
/**
|
101 |
Top
|
102 |
**/
|
103 |
if ($this->field['top'] === true):
|
104 |
+
if ( !empty( $this->value['top'] ) ) {
|
105 |
$this->value['top'] = filter_var($this->value['top'], FILTER_SANITIZE_NUMBER_INT);
|
106 |
$this->value['top'] = $this->value['top'].$this->value['units'];
|
107 |
}
|
112 |
Right
|
113 |
**/
|
114 |
if ($this->field['right'] === true):
|
115 |
+
if ( !empty( $this->value['right'] ) ) {
|
116 |
$this->value['right'] = filter_var($this->value['right'], FILTER_SANITIZE_NUMBER_INT);
|
117 |
$this->value['right'] = $this->value['right'].$this->value['units'];
|
118 |
}
|
123 |
Bottom
|
124 |
**/
|
125 |
if ($this->field['bottom'] === true):
|
126 |
+
if ( !empty( $this->value['bottom'] ) ) {
|
127 |
$this->value['bottom'] = filter_var($this->value['bottom'], FILTER_SANITIZE_NUMBER_INT);
|
128 |
+
if ($this->field['units'] !== false ) {
|
129 |
+
$this->value['bottom'] .= $this->value['units'];
|
130 |
+
}
|
131 |
$this->value['bottom'] = $this->value['bottom'].$this->value['units'];
|
132 |
}
|
133 |
echo '<div class="field-spacing-input input-prepend"><span class="add-on"><i class="icon-arrow-down icon-large"></i></span><input type="text" class="redux-spacing-bottom redux-spacing-input mini'.$this->field['class'].'" placeholder="'.__('Bottom','redux-framework').'" rel="'.$this->field['id'].'-bottom" value="'.filter_var($this->value['bottom'], FILTER_SANITIZE_NUMBER_INT).'"><input type="hidden" class="redux-spacing-bottom mini'.$this->field['class'].'" placeholder="'.__('Bottom','redux-framework').'" id="'.$this->field['id'].'-bottom" name="'.$this->args['opt_name'].'['.$this->field['id'].']['.$this->field['mode'].'bottom]" value="'.$this->value['bottom'].'"></div>';
|
137 |
Left
|
138 |
**/
|
139 |
if ($this->field['left'] === true):
|
140 |
+
if ( !empty( $this->value['left'] ) ) {
|
141 |
$this->value['left'] = filter_var($this->value['left'], FILTER_SANITIZE_NUMBER_INT);
|
142 |
$this->value['left'] = $this->value['left'].$this->value['units'];
|
143 |
}
|
149 |
Units
|
150 |
**/
|
151 |
|
152 |
+
if ( $this->field['units'] !== false ):
|
153 |
|
154 |
echo '<div class="select_wrapper spacing-units" original-title="'.__('Units','redux-framework').'">';
|
155 |
echo '<select data-placeholder="'.__('Units','redux-framework').'" class="redux-spacing redux-spacing-units select'.$this->field['class'].'" original-title="'.__('Units','redux-framework').'" name="'.$this->args['opt_name'].'['.$this->field['id'].'][units]" id="'. $this->field['id'].'_units">';
|
170 |
}
|
171 |
echo '</select></div>';
|
172 |
|
173 |
+
endif;
|
174 |
|
175 |
|
176 |
|
ReduxCore/inc/fields/typography/field_typography.php
CHANGED
@@ -452,8 +452,9 @@ class ReduxFramework_typography extends ReduxFramework{
|
|
452 |
}
|
453 |
|
454 |
if ( !empty( $fonts ) && filter_var($this->parent->args['output'], FILTER_VALIDATE_BOOLEAN) ) {
|
455 |
-
|
456 |
-
|
|
|
457 |
}
|
458 |
if ( !empty( $outCSS ) ) {
|
459 |
echo '<style type="text/css" class="redux-'.$this->field['type'].'">'.$outCSS.'</style>';
|
452 |
}
|
453 |
|
454 |
if ( !empty( $fonts ) && filter_var($this->parent->args['output'], FILTER_VALIDATE_BOOLEAN) ) {
|
455 |
+
echo '<link rel="stylesheet" id="redux-google-fonts-css" href="'.$this->makeGoogleWebfontLink( $fonts ).'&v='.$version.'" type="text/css" media="all" />';
|
456 |
+
//wp_register_style( 'redux-google-fonts', $this->makeGoogleWebfontLink( $fonts ), '', $version );
|
457 |
+
//wp_enqueue_style( 'redux-google-fonts' );
|
458 |
}
|
459 |
if ( !empty( $outCSS ) ) {
|
460 |
echo '<style type="text/css" class="redux-'.$this->field['type'].'">'.$outCSS.'</style>';
|
ReduxCore/languages/README.txt
CHANGED
@@ -8,4 +8,12 @@ To add a translation, do a pull request from the repo: https://github.com/ReduxF
|
|
8 |
|
9 |
If you can't figure out a pull request, just post an issue with the file and we'll take care of it.
|
10 |
|
11 |
-
Thank you!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
|
9 |
If you can't figure out a pull request, just post an issue with the file and we'll take care of it.
|
10 |
|
11 |
+
Thank you!
|
12 |
+
|
13 |
+
|
14 |
+
——————————————————————————
|
15 |
+
|
16 |
+
Special thanks to the following people for language translations
|
17 |
+
|
18 |
+
German [de_DE] @Abu-Taymiyyah
|
19 |
+
Bahasa Indonesia [id_ID] @riesurya
|
ReduxCore/languages/redux-framework-de_DE.mo
ADDED
Binary file
|
ReduxCore/languages/redux-framework-de_DE.po
ADDED
@@ -0,0 +1,508 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Redux Framework v3.0.1\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: \n"
|
6 |
+
"PO-Revision-Date: 2013-10-26 07:41:33+0000\n"
|
7 |
+
"Last-Translator: J.Atmaca <jemil_atmaca_89@hotmail.de>\n"
|
8 |
+
"Language-Team: \n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
13 |
+
"X-Generator: CSL v1.x\n"
|
14 |
+
"X-Poedit-Language: German\n"
|
15 |
+
"X-Poedit-Country: GERMANY\n"
|
16 |
+
"X-Poedit-SourceCharset: utf-8\n"
|
17 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
|
18 |
+
"X-Poedit-Basepath: ../../\n"
|
19 |
+
"X-Poedit-Bookmarks: \n"
|
20 |
+
"X-Poedit-SearchPath-0: .\n"
|
21 |
+
"X-Textdomain-Support: yes"
|
22 |
+
|
23 |
+
#: ReduxCore/extensions/customizer/extension_customizer.php:309
|
24 |
+
#: ReduxCore/extensions/customizer/extension_customizer.php:340
|
25 |
+
#: ReduxCore/framework.php:848
|
26 |
+
#@ redux-framework
|
27 |
+
msgid "You have changes that are not saved. Would you like to save them now?"
|
28 |
+
msgstr "Änderungen wurden vorgenommen die nicht gespeichert sind. Willst du sie jetzt speichern?"
|
29 |
+
|
30 |
+
#: ReduxCore/extensions/customizer/extension_customizer.php:310
|
31 |
+
#: ReduxCore/extensions/customizer/extension_customizer.php:341
|
32 |
+
#: ReduxCore/framework.php:849
|
33 |
+
#@ redux-framework
|
34 |
+
msgid "Are you sure? Resetting will loose all custom values."
|
35 |
+
msgstr "Bist du dir sicher? Das Zurücksetzen wird alle selbsterstellten Werte zurücksetzen."
|
36 |
+
|
37 |
+
#: ReduxCore/extensions/customizer/extension_customizer.php:311
|
38 |
+
#: ReduxCore/extensions/customizer/extension_customizer.php:342
|
39 |
+
#: ReduxCore/framework.php:850
|
40 |
+
#@ redux-framework
|
41 |
+
msgid "Your current options will be replaced with the values of this preset. Would you like to proceed?"
|
42 |
+
msgstr "Deine derzeitigen Einstellungen werden durch die Werte dieser Voreinstellungen ersetzt. Willst du fortfahren?"
|
43 |
+
|
44 |
+
#: ReduxCore/framework.php:105
|
45 |
+
#: ReduxCore/framework.php:107
|
46 |
+
#@ redux-framework
|
47 |
+
msgid "Options"
|
48 |
+
msgstr "Optionen"
|
49 |
+
|
50 |
+
#: ReduxCore/framework.php:119
|
51 |
+
#@ redux-framework
|
52 |
+
msgid "Options panel created using"
|
53 |
+
msgstr "Das erstellte Optionen Panel verwendet"
|
54 |
+
|
55 |
+
#. translators: plugin header field 'Name'
|
56 |
+
#: ReduxCore/framework.php:119
|
57 |
+
#: redux-framework.php:0
|
58 |
+
#@ redux-framework
|
59 |
+
msgid "Redux Framework"
|
60 |
+
msgstr ""
|
61 |
+
|
62 |
+
#: ReduxCore/framework.php:641
|
63 |
+
#: ReduxCore/framework.php:642
|
64 |
+
#: ReduxCore/framework.php:1499
|
65 |
+
#@ redux-framework
|
66 |
+
msgid "Import / Export"
|
67 |
+
msgstr "Importieren/ Exportieren"
|
68 |
+
|
69 |
+
#: ReduxCore/framework.php:663
|
70 |
+
#: ReduxCore/framework.php:664
|
71 |
+
#: ReduxCore/framework.php:1529
|
72 |
+
#: ReduxCore/framework.php:1636
|
73 |
+
#@ redux-framework
|
74 |
+
msgid "Options Object"
|
75 |
+
msgstr "Optionen Objekte"
|
76 |
+
|
77 |
+
#: ReduxCore/framework.php:674
|
78 |
+
#: ReduxCore/framework.php:675
|
79 |
+
#: ReduxCore/framework.php:1543
|
80 |
+
#: ReduxCore/framework.php:1656
|
81 |
+
#@ redux-framework
|
82 |
+
msgid "System Info"
|
83 |
+
msgstr "System Info"
|
84 |
+
|
85 |
+
#: ReduxCore/framework.php:1110
|
86 |
+
#@ redux-framework
|
87 |
+
msgid "Default"
|
88 |
+
msgstr "Standardeinstellungen"
|
89 |
+
|
90 |
+
#: ReduxCore/framework.php:1373
|
91 |
+
#@ redux-framework
|
92 |
+
msgid "Warning- This options panel will not work properly without javascript!"
|
93 |
+
msgstr "Warnung- Dieses Optionen Panel wird ohne Javascript nicht einwandfrei funktionieren!"
|
94 |
+
|
95 |
+
#: ReduxCore/framework.php:1426
|
96 |
+
#@ redux-framework
|
97 |
+
msgid "Expand"
|
98 |
+
msgstr "Ausdehnen"
|
99 |
+
|
100 |
+
#: ReduxCore/framework.php:1430
|
101 |
+
#: ReduxCore/framework.php:1687
|
102 |
+
#@ redux-framework
|
103 |
+
msgid "Reset to Defaults"
|
104 |
+
msgstr "Zurücksetzen der Standards"
|
105 |
+
|
106 |
+
#: ReduxCore/framework.php:1433
|
107 |
+
#: ReduxCore/framework.php:1690
|
108 |
+
#@ redux-framework
|
109 |
+
msgid "Working..."
|
110 |
+
msgstr "Funktioniert..."
|
111 |
+
|
112 |
+
#: ReduxCore/framework.php:1440
|
113 |
+
#@ redux-framework
|
114 |
+
msgid "Settings Imported!"
|
115 |
+
msgstr "Einstellungen importiert!"
|
116 |
+
|
117 |
+
#: ReduxCore/framework.php:1442
|
118 |
+
#@ redux-framework
|
119 |
+
msgid "Settings Saved!"
|
120 |
+
msgstr "Einstellungen wurden gespeichert!"
|
121 |
+
|
122 |
+
#: ReduxCore/framework.php:1446
|
123 |
+
#@ redux-framework
|
124 |
+
msgid "Settings have changed, you should save them!"
|
125 |
+
msgstr "Einstellungen wurden geändert, du solltest sie abspeichern!"
|
126 |
+
|
127 |
+
#: ReduxCore/framework.php:1447
|
128 |
+
#@ redux-framework
|
129 |
+
msgid "error(s) were found!"
|
130 |
+
msgstr "ein/mehrere Fehler wurden gefunden!"
|
131 |
+
|
132 |
+
#: ReduxCore/framework.php:1448
|
133 |
+
#@ redux-framework
|
134 |
+
msgid "warning(s) were found!"
|
135 |
+
msgstr "warnung(en) wurde(n) gefunden!"
|
136 |
+
|
137 |
+
#: ReduxCore/framework.php:1580
|
138 |
+
#@ redux-framework
|
139 |
+
msgid "Import / Export Options"
|
140 |
+
msgstr "Import/ Export Einstellungen"
|
141 |
+
|
142 |
+
#: ReduxCore/framework.php:1581
|
143 |
+
#@ redux-framework
|
144 |
+
msgid "Import Options"
|
145 |
+
msgstr "Import Einstellungen"
|
146 |
+
|
147 |
+
#: ReduxCore/framework.php:1582
|
148 |
+
#@ redux-framework
|
149 |
+
msgid "Import from file"
|
150 |
+
msgstr "Importieren von Datei"
|
151 |
+
|
152 |
+
#: ReduxCore/framework.php:1582
|
153 |
+
#@ redux-framework
|
154 |
+
msgid "Import from URL"
|
155 |
+
msgstr "Importieren von URL"
|
156 |
+
|
157 |
+
#: ReduxCore/framework.php:1587
|
158 |
+
#@ redux-framework
|
159 |
+
msgid "Input your backup file below and hit Import to restore your sites options from a backup."
|
160 |
+
msgstr "Füge deine Backup/Sicherungsdatei Datei unten ein und drücke auf Exportieren damit die Einstellungen deiner Seite aus dem Backup/ der Sicherung wiederhergestellt werden."
|
161 |
+
|
162 |
+
#: ReduxCore/framework.php:1597
|
163 |
+
#@ redux-framework
|
164 |
+
msgid "Input the URL to another sites options set and hit Import to load the options from that site."
|
165 |
+
msgstr "Füge die URL von einer anderen Seiten Optionen hinzu und drücke Importieren um die Optionen von dieser Seite zu laden."
|
166 |
+
|
167 |
+
#: ReduxCore/framework.php:1604
|
168 |
+
#@ redux-framework
|
169 |
+
msgid "Import"
|
170 |
+
msgstr "Importieren"
|
171 |
+
|
172 |
+
#: ReduxCore/framework.php:1604
|
173 |
+
#@ redux-framework
|
174 |
+
msgid "WARNING! This will overwrite all existing option values, please proceed with caution!"
|
175 |
+
msgstr "Warnung! Dies überschreibt alle bestehenden Eingestellten Werte, bitte gehen sie damit Vorsichtig um!"
|
176 |
+
|
177 |
+
#: ReduxCore/framework.php:1607
|
178 |
+
#@ redux-framework
|
179 |
+
msgid "Export Options"
|
180 |
+
msgstr "Export Einstellungen"
|
181 |
+
|
182 |
+
#: ReduxCore/framework.php:1609
|
183 |
+
#@ redux-framework
|
184 |
+
msgid "Here you can copy/download your current option settings. Keep this safe as you can use it as a backup should anything go wrong, or you can use it to restore your settings on this site (or any other site)."
|
185 |
+
msgstr "Hier kannst du deine derzeitigen Eingestellten Optionen kopieren/herunterladen. Verwahre es sicher auf, da es zur Wiedehrerstellung verwendet werden kann falls etwas falsch abläuft, or du deine Einstellungen auf dieser oder irgendeiner anderen Seite wiederherstellen willst."
|
186 |
+
|
187 |
+
#: ReduxCore/framework.php:1613
|
188 |
+
#@ redux-framework
|
189 |
+
msgid "Copy"
|
190 |
+
msgstr "Kopieren"
|
191 |
+
|
192 |
+
#: ReduxCore/framework.php:1613
|
193 |
+
#@ redux-framework
|
194 |
+
msgid "Download"
|
195 |
+
msgstr "Herunterladen"
|
196 |
+
|
197 |
+
#: ReduxCore/framework.php:1613
|
198 |
+
#@ redux-framework
|
199 |
+
msgid "Copy Link"
|
200 |
+
msgstr "Kopiere Link"
|
201 |
+
|
202 |
+
#: ReduxCore/framework.php:1645
|
203 |
+
#@ redux-framework
|
204 |
+
msgid "Show Object in Javascript Console Object"
|
205 |
+
msgstr "Zeige Objekte in Javascript Konsole Objekt"
|
206 |
+
|
207 |
+
#: ReduxCore/inc/fields/border/field_border.php:102
|
208 |
+
#@ redux-framework
|
209 |
+
msgid "Border size"
|
210 |
+
msgstr "Rahmenbreite"
|
211 |
+
|
212 |
+
#: ReduxCore/inc/fields/border/field_border.php:110
|
213 |
+
#@ redux-framework
|
214 |
+
msgid "Border style"
|
215 |
+
msgstr "Rahmenart"
|
216 |
+
|
217 |
+
#: ReduxCore/inc/fields/color_gradient/field_color_gradient.php:73
|
218 |
+
#@ redux-framework
|
219 |
+
msgid "From "
|
220 |
+
msgstr "Von"
|
221 |
+
|
222 |
+
#: ReduxCore/inc/fields/color_gradient/field_color_gradient.php:84
|
223 |
+
#@ redux-framework
|
224 |
+
msgid "To "
|
225 |
+
msgstr "Zu"
|
226 |
+
|
227 |
+
#: ReduxCore/inc/fields/dimensions/field_dimensions.php:70
|
228 |
+
#@ redux-framework
|
229 |
+
msgid "Width"
|
230 |
+
msgstr "Breite"
|
231 |
+
|
232 |
+
#: ReduxCore/inc/fields/dimensions/field_dimensions.php:84
|
233 |
+
#@ redux-framework
|
234 |
+
msgid "height"
|
235 |
+
msgstr "Höhe"
|
236 |
+
|
237 |
+
#: ReduxCore/inc/fields/dimensions/field_dimensions.php:94
|
238 |
+
#: ReduxCore/inc/fields/dimensions/field_dimensions.php:95
|
239 |
+
#: ReduxCore/inc/fields/spacing/field_spacing.php:126
|
240 |
+
#: ReduxCore/inc/fields/spacing/field_spacing.php:127
|
241 |
+
#@ redux-framework
|
242 |
+
msgid "Units"
|
243 |
+
msgstr "Einheiten"
|
244 |
+
|
245 |
+
#: ReduxCore/inc/fields/gallery/field_gallery.php:76
|
246 |
+
#@ so-panels
|
247 |
+
msgid "Add/Edit Gallery"
|
248 |
+
msgstr "Hinzufügen/ Editieren Gallery"
|
249 |
+
|
250 |
+
#: ReduxCore/inc/fields/gallery/field_gallery.php:77
|
251 |
+
#@ so-panels
|
252 |
+
msgid "Clear Gallery"
|
253 |
+
msgstr "Leere die Gallery"
|
254 |
+
|
255 |
+
#: ReduxCore/inc/fields/group/field_group.php:71
|
256 |
+
#@ redux-framework
|
257 |
+
msgid "New"
|
258 |
+
msgstr "Neu"
|
259 |
+
|
260 |
+
#: ReduxCore/inc/fields/group/field_group.php:126
|
261 |
+
#@ redux-framework
|
262 |
+
msgid "Delete"
|
263 |
+
msgstr "Löschen"
|
264 |
+
|
265 |
+
#: ReduxCore/inc/fields/group/field_group.php:131
|
266 |
+
#@ redux-framework
|
267 |
+
msgid "Add"
|
268 |
+
msgstr "Hinzufügen"
|
269 |
+
|
270 |
+
#: ReduxCore/inc/fields/link_color/field_link_color.php:84
|
271 |
+
#@ redux-framework
|
272 |
+
msgid "Regular"
|
273 |
+
msgstr "Regulär"
|
274 |
+
|
275 |
+
#: ReduxCore/inc/fields/link_color/field_link_color.php:90
|
276 |
+
#@ redux-framework
|
277 |
+
msgid "Hover"
|
278 |
+
msgstr "Hover"
|
279 |
+
|
280 |
+
#: ReduxCore/inc/fields/link_color/field_link_color.php:96
|
281 |
+
#@ redux-framework
|
282 |
+
msgid "Active"
|
283 |
+
msgstr "Aktiv"
|
284 |
+
|
285 |
+
#: ReduxCore/inc/fields/media/field_media.php:133
|
286 |
+
#: ReduxCore/inc/fields/slides/field_slides.php:110
|
287 |
+
#: ReduxCore/inc/fields/slides/field_slides.php:151
|
288 |
+
#@ redux-framework
|
289 |
+
msgid "Upload"
|
290 |
+
msgstr "Hochladen"
|
291 |
+
|
292 |
+
#: ReduxCore/inc/fields/media/field_media.php:139
|
293 |
+
#: ReduxCore/inc/fields/multi_text/field_multi_text.php:70
|
294 |
+
#: ReduxCore/inc/fields/multi_text/field_multi_text.php:73
|
295 |
+
#: ReduxCore/inc/fields/multi_text/field_multi_text.php:76
|
296 |
+
#: ReduxCore/inc/fields/slides/field_slides.php:116
|
297 |
+
#: ReduxCore/inc/fields/slides/field_slides.php:153
|
298 |
+
#@ redux-framework
|
299 |
+
msgid "Remove"
|
300 |
+
msgstr "Entfernen"
|
301 |
+
|
302 |
+
#: ReduxCore/inc/fields/multi_text/field_multi_text.php:80
|
303 |
+
#@ redux-framework
|
304 |
+
msgid "Add More"
|
305 |
+
msgstr "Mehr Hinzufügen"
|
306 |
+
|
307 |
+
#: ReduxCore/inc/fields/password/field_password.php:29
|
308 |
+
#@ redux-framework
|
309 |
+
msgid "Password"
|
310 |
+
msgstr "Passwort"
|
311 |
+
|
312 |
+
#: ReduxCore/inc/fields/password/field_password.php:29
|
313 |
+
#@ redux-framework
|
314 |
+
msgid "Username"
|
315 |
+
msgstr "Benutzername"
|
316 |
+
|
317 |
+
#: ReduxCore/inc/fields/select/field_select.php:67
|
318 |
+
#@ redux-framework
|
319 |
+
msgid "Select an item"
|
320 |
+
msgstr "Wähle ein Element"
|
321 |
+
|
322 |
+
#: ReduxCore/inc/fields/select/field_select.php:81
|
323 |
+
#@ redux-framework
|
324 |
+
msgid "No items of this type were found."
|
325 |
+
msgstr "Keine Elemente von diesem Type wurden gefunden."
|
326 |
+
|
327 |
+
#: ReduxCore/inc/fields/slides/field_slides.php:129
|
328 |
+
#: ReduxCore/inc/fields/slides/field_slides.php:166
|
329 |
+
#@ redux-framework
|
330 |
+
msgid "Delete Slide"
|
331 |
+
msgstr "Lösche Slide"
|
332 |
+
|
333 |
+
#: ReduxCore/inc/fields/slides/field_slides.php:169
|
334 |
+
#@ redux-framework
|
335 |
+
msgid "Add Slide"
|
336 |
+
msgstr "Hinzufügen Slide"
|
337 |
+
|
338 |
+
#: ReduxCore/inc/fields/spacing/field_spacing.php:83
|
339 |
+
#@ redux-framework
|
340 |
+
msgid "Top"
|
341 |
+
msgstr "Oben"
|
342 |
+
|
343 |
+
#: ReduxCore/inc/fields/spacing/field_spacing.php:94
|
344 |
+
#@ redux-framework
|
345 |
+
msgid "Right"
|
346 |
+
msgstr "Rechts"
|
347 |
+
|
348 |
+
#: ReduxCore/inc/fields/spacing/field_spacing.php:105
|
349 |
+
#@ redux-framework
|
350 |
+
msgid "Bottom"
|
351 |
+
msgstr "Unten"
|
352 |
+
|
353 |
+
#: ReduxCore/inc/fields/spacing/field_spacing.php:116
|
354 |
+
#@ redux-framework
|
355 |
+
msgid "Left"
|
356 |
+
msgstr "Links"
|
357 |
+
|
358 |
+
#: ReduxCore/inc/fields/typography/field_typography.php:103
|
359 |
+
#@ redux-framework
|
360 |
+
msgid "Font family"
|
361 |
+
msgstr "Schriftarten"
|
362 |
+
|
363 |
+
#: ReduxCore/inc/fields/typography/field_typography.php:163
|
364 |
+
#: ReduxCore/inc/fields/typography/field_typography.php:167
|
365 |
+
#@ redux-framework
|
366 |
+
msgid "Font style"
|
367 |
+
msgstr "Schriftstil"
|
368 |
+
|
369 |
+
#: ReduxCore/inc/fields/typography/field_typography.php:167
|
370 |
+
#@ redux-framework
|
371 |
+
msgid "Style"
|
372 |
+
msgstr "Style/Stil"
|
373 |
+
|
374 |
+
#: ReduxCore/inc/fields/typography/field_typography.php:193
|
375 |
+
#@ redux-framework
|
376 |
+
msgid "Font subsets"
|
377 |
+
msgstr "Schrift untermenge"
|
378 |
+
|
379 |
+
#: ReduxCore/inc/fields/typography/field_typography.php:194
|
380 |
+
#@ redux-framework
|
381 |
+
msgid "Subsets"
|
382 |
+
msgstr "Untermengen"
|
383 |
+
|
384 |
+
#: ReduxCore/inc/fields/typography/field_typography.php:194
|
385 |
+
#@ redux-framework
|
386 |
+
msgid "Font script"
|
387 |
+
msgstr "Schriftscript"
|
388 |
+
|
389 |
+
#: ReduxCore/inc/fields/typography/field_typography.php:212
|
390 |
+
#@ redux-framework
|
391 |
+
msgid "Size"
|
392 |
+
msgstr "Größe"
|
393 |
+
|
394 |
+
#: ReduxCore/inc/fields/typography/field_typography.php:221
|
395 |
+
#@ redux-framework
|
396 |
+
msgid "Height"
|
397 |
+
msgstr "Höhe"
|
398 |
+
|
399 |
+
#: ReduxCore/inc/fields/typography/field_typography.php:229
|
400 |
+
#@ redux-framework
|
401 |
+
msgid "Word Spacing"
|
402 |
+
msgstr "Wortabstand"
|
403 |
+
|
404 |
+
#: ReduxCore/inc/fields/typography/field_typography.php:237
|
405 |
+
#@ redux-framework
|
406 |
+
msgid "Letter Spacing"
|
407 |
+
msgstr "Zeichenabstand"
|
408 |
+
|
409 |
+
#: ReduxCore/inc/fields/typography/field_typography.php:251
|
410 |
+
#@ redux-framework
|
411 |
+
msgid "Backup Font Family"
|
412 |
+
msgstr "Sichere Schriftarten"
|
413 |
+
|
414 |
+
#: ReduxCore/inc/fields/typography/field_typography.php:271
|
415 |
+
#@ redux-framework
|
416 |
+
msgid "Font color"
|
417 |
+
msgstr "Schriftfarbe"
|
418 |
+
|
419 |
+
#: ReduxCore/inc/validation/color/validation_color.php:15
|
420 |
+
#@ redux
|
421 |
+
msgid "This field must be a valid color value."
|
422 |
+
msgstr "Dieses Feld muss einen gültigen Farbwert haben."
|
423 |
+
|
424 |
+
#: ReduxCore/inc/validation/comma_numeric/validation_comma_numeric.php:15
|
425 |
+
#@ redux
|
426 |
+
msgid "You must provide a comma separated list of numerical values for this option."
|
427 |
+
msgstr "Du musst eine kommaseparierte list mit numerischen Werte für diese Option bereitstellen."
|
428 |
+
|
429 |
+
#: ReduxCore/inc/validation/date/validation_date.php:15
|
430 |
+
#@ redux
|
431 |
+
msgid "This field must be a valid date."
|
432 |
+
msgstr "Dieses Feld muss ein gültiges Datum sein."
|
433 |
+
|
434 |
+
#: ReduxCore/inc/validation/email/validation_email.php:15
|
435 |
+
#@ redux
|
436 |
+
msgid "You must provide a valid email for this option."
|
437 |
+
msgstr "Du musst eine gültige E-Mail für diese Option bereitstellen."
|
438 |
+
|
439 |
+
#: ReduxCore/inc/validation/no_html/validation_no_html.php:15
|
440 |
+
#@ redux
|
441 |
+
msgid "You must not enter any HTML in this field, all HTML tags have been removed."
|
442 |
+
msgstr "In diesen Feld kannst du kein HTML eingeben. Alle HTML Tags werden entfernt. "
|
443 |
+
|
444 |
+
#: ReduxCore/inc/validation/no_special_chars/validation_no_special_chars.php:15
|
445 |
+
#@ redux
|
446 |
+
msgid "You must not enter any special characters in this field, all special characters have been removed."
|
447 |
+
msgstr "In diesen Feld kannst du keine Sonderzeichen eingeben. Alle Sonderzeichen werden entfernt."
|
448 |
+
|
449 |
+
#: ReduxCore/inc/validation/numeric/validation_numeric.php:15
|
450 |
+
#@ redux
|
451 |
+
msgid "You must provide a numerical value for this option."
|
452 |
+
msgstr "Du must einen nummerischen Wert für diese Option bereitstellen."
|
453 |
+
|
454 |
+
#: ReduxCore/inc/validation/url/validation_url.php:15
|
455 |
+
#@ redux
|
456 |
+
msgid "You must provide a valid URL for this option."
|
457 |
+
msgstr "Du musst eine gültige URL für diese Option bereitstellen."
|
458 |
+
|
459 |
+
#: class-redux-plugin.php:246
|
460 |
+
#@ redux-framework
|
461 |
+
msgid "Redux Framework has an embedded demo."
|
462 |
+
msgstr "Das Redux Framework hat eine eingebettet Demo."
|
463 |
+
|
464 |
+
#: class-redux-plugin.php:246
|
465 |
+
#@ redux-framework
|
466 |
+
msgid "Click here to activate the sample config file."
|
467 |
+
msgstr "Klicke here um die beispiel config Datei zu aktivieren."
|
468 |
+
|
469 |
+
#: class-redux-plugin.php:339
|
470 |
+
#@ redux-framework
|
471 |
+
msgid "Deactivate Demo Mode"
|
472 |
+
msgstr "Deaktiviere den Demo Modus."
|
473 |
+
|
474 |
+
#: class-redux-plugin.php:341
|
475 |
+
#@ redux-framework
|
476 |
+
msgid "Activate Demo Mode"
|
477 |
+
msgstr "Aktiviere den Demo Modus"
|
478 |
+
|
479 |
+
#. translators: plugin header field 'PluginURI'
|
480 |
+
#: redux-framework.php:0
|
481 |
+
#@ redux-framework
|
482 |
+
msgid "http://wordpress.org/plugins/redux-framework/"
|
483 |
+
msgstr "http://wordpress.org/plugins/redux-framework/"
|
484 |
+
|
485 |
+
#. translators: plugin header field 'Description'
|
486 |
+
#: redux-framework.php:0
|
487 |
+
#@ redux-framework
|
488 |
+
msgid "Redux is a simple, truly extensible options framework for WordPress themes and plugins."
|
489 |
+
msgstr "Redux ist ein einfaches, wirklich erweiterbares Optionen Framework für Wordpress Themes und Plugins."
|
490 |
+
|
491 |
+
#. translators: plugin header field 'Author'
|
492 |
+
#: redux-framework.php:0
|
493 |
+
#@ redux-framework
|
494 |
+
msgid "ReduxFramework"
|
495 |
+
msgstr "ReduxFramework"
|
496 |
+
|
497 |
+
#. translators: plugin header field 'AuthorURI'
|
498 |
+
#: redux-framework.php:0
|
499 |
+
#@ redux-framework
|
500 |
+
msgid "http://reduxframework.com"
|
501 |
+
msgstr "http://reduxframework.com"
|
502 |
+
|
503 |
+
#. translators: plugin header field 'Version'
|
504 |
+
#: redux-framework.php:0
|
505 |
+
#@ redux-framework
|
506 |
+
msgid "3.0.1"
|
507 |
+
msgstr ""
|
508 |
+
|
ReduxCore/languages/redux-framework-id_ID.mo
ADDED
Binary file
|
ReduxCore/languages/redux-framework-id_ID.po
ADDED
@@ -0,0 +1,395 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
msgid ""
|
2 |
+
msgstr ""
|
3 |
+
"Project-Id-Version: Redux Framework\n"
|
4 |
+
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2013-10-26 13:42+0700\n"
|
6 |
+
"PO-Revision-Date: 2013-10-26 14:16+0700\n"
|
7 |
+
"Last-Translator: Anrie 'riesurya' Suryaningrat <riesurya@gmail.com>\n"
|
8 |
+
"Language-Team: ReduxFramework <language@reduxframework.com>\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"Language: en_US\n"
|
13 |
+
"X-Generator: Poedit 1.5.7\n"
|
14 |
+
"X-Poedit-KeywordsList: __;_e;__ngettext;_n;__ngettext_noop;_n_noop;_x;_nx;_nx_noop;_ex;esc_attr__;esc_attr_e;esc_attr_x;esc_html__;esc_html_e;esc_html_x;_c;_nc\n"
|
15 |
+
"X-Poedit-Basepath: ../../\n"
|
16 |
+
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
18 |
+
"X-Poedit-SearchPath-0: ReduxCore\n"
|
19 |
+
"X-Poedit-SearchPath-1: ReduxCore/languages\n"
|
20 |
+
"X-Poedit-SearchPath-2: .\n"
|
21 |
+
|
22 |
+
#: ReduxCore/framework.php:107
|
23 |
+
#: ReduxCore/framework.php:109
|
24 |
+
msgid "Options"
|
25 |
+
msgstr "Options"
|
26 |
+
|
27 |
+
#: ReduxCore/framework.php:121
|
28 |
+
msgid "Options panel created using"
|
29 |
+
msgstr "Panel Theme Options ini dibuat dengan"
|
30 |
+
|
31 |
+
#: ReduxCore/framework.php:121
|
32 |
+
msgid "Redux Framework"
|
33 |
+
msgstr "Redux Framework"
|
34 |
+
|
35 |
+
#: ReduxCore/framework.php:643
|
36 |
+
#: ReduxCore/framework.php:644
|
37 |
+
#: ReduxCore/framework.php:1501
|
38 |
+
msgid "Import / Export"
|
39 |
+
msgstr "Impor / Ekspor"
|
40 |
+
|
41 |
+
#: ReduxCore/framework.php:665
|
42 |
+
#: ReduxCore/framework.php:666
|
43 |
+
#: ReduxCore/framework.php:1531
|
44 |
+
#: ReduxCore/framework.php:1638
|
45 |
+
msgid "Options Object"
|
46 |
+
msgstr "Data Object Options"
|
47 |
+
|
48 |
+
#: ReduxCore/framework.php:676
|
49 |
+
#: ReduxCore/framework.php:677
|
50 |
+
#: ReduxCore/framework.php:1545
|
51 |
+
#: ReduxCore/framework.php:1658
|
52 |
+
msgid "System Info"
|
53 |
+
msgstr "Informasi System"
|
54 |
+
|
55 |
+
#: ReduxCore/framework.php:850
|
56 |
+
#: ReduxCore/extensions/customizer/extension_customizer.php:309
|
57 |
+
#: ReduxCore/extensions/customizer/extension_customizer.php:340
|
58 |
+
msgid "You have changes that are not saved. Would you like to save them now?"
|
59 |
+
msgstr "Perubahan yang dilakukan tidak disimpan. Mau disimpan sekarang?"
|
60 |
+
|
61 |
+
#: ReduxCore/framework.php:851
|
62 |
+
#: ReduxCore/extensions/customizer/extension_customizer.php:310
|
63 |
+
#: ReduxCore/extensions/customizer/extension_customizer.php:341
|
64 |
+
msgid "Are you sure? Resetting will loose all custom values."
|
65 |
+
msgstr "Yakin? Proses reset akan mengembalikan ke konsisi standar/awal"
|
66 |
+
|
67 |
+
#: ReduxCore/framework.php:852
|
68 |
+
#: ReduxCore/extensions/customizer/extension_customizer.php:311
|
69 |
+
#: ReduxCore/extensions/customizer/extension_customizer.php:342
|
70 |
+
msgid "Your current options will be replaced with the values of this preset. Would you like to proceed?"
|
71 |
+
msgstr "Semua settingan ini akan diubah dengan nilai yang ditetapkan dalam preset berikut. Lanjut?"
|
72 |
+
|
73 |
+
#: ReduxCore/framework.php:1112
|
74 |
+
msgid "Default"
|
75 |
+
msgstr "Standar"
|
76 |
+
|
77 |
+
#: ReduxCore/framework.php:1375
|
78 |
+
msgid "Warning- This options panel will not work properly without javascript!"
|
79 |
+
msgstr "Perhatian- Panel options ini tidak dapat bekerja baik tanpa javascript!"
|
80 |
+
|
81 |
+
#: ReduxCore/framework.php:1428
|
82 |
+
msgid "Expand"
|
83 |
+
msgstr "Kembangkan"
|
84 |
+
|
85 |
+
#: ReduxCore/framework.php:1432
|
86 |
+
#: ReduxCore/framework.php:1689
|
87 |
+
msgid "Reset to Defaults"
|
88 |
+
msgstr "Kembalikan ke kondisi awal"
|
89 |
+
|
90 |
+
#: ReduxCore/framework.php:1435
|
91 |
+
#: ReduxCore/framework.php:1692
|
92 |
+
msgid "Working..."
|
93 |
+
msgstr "Tunggu sebentar..."
|
94 |
+
|
95 |
+
#: ReduxCore/framework.php:1442
|
96 |
+
msgid "Settings Imported!"
|
97 |
+
msgstr "Settingan Berhasil Diimpor!"
|
98 |
+
|
99 |
+
#: ReduxCore/framework.php:1444
|
100 |
+
msgid "Settings Saved!"
|
101 |
+
msgstr "Setting Berhasil Disimpan!"
|
102 |
+
|
103 |
+
#: ReduxCore/framework.php:1448
|
104 |
+
msgid "Settings have changed, you should save them!"
|
105 |
+
msgstr "Settingan telah berubah, silakan disimpan ( klik tombol Simpan )"
|
106 |
+
|
107 |
+
#: ReduxCore/framework.php:1449
|
108 |
+
msgid "error(s) were found!"
|
109 |
+
msgstr "terdapat error"
|
110 |
+
|
111 |
+
#: ReduxCore/framework.php:1450
|
112 |
+
msgid "warning(s) were found!"
|
113 |
+
msgstr "ditemukan peringatan (warning)"
|
114 |
+
|
115 |
+
#: ReduxCore/framework.php:1582
|
116 |
+
msgid "Import / Export Options"
|
117 |
+
msgstr "Pilihan Impor/Ekspor"
|
118 |
+
|
119 |
+
#: ReduxCore/framework.php:1583
|
120 |
+
msgid "Import Options"
|
121 |
+
msgstr "Pilihan Impor"
|
122 |
+
|
123 |
+
#: ReduxCore/framework.php:1584
|
124 |
+
msgid "Import from file"
|
125 |
+
msgstr "Impor dari berkas"
|
126 |
+
|
127 |
+
#: ReduxCore/framework.php:1584
|
128 |
+
msgid "Import from URL"
|
129 |
+
msgstr "Impor dari URL"
|
130 |
+
|
131 |
+
#: ReduxCore/framework.php:1589
|
132 |
+
msgid "Input your backup file below and hit Import to restore your sites options from a backup."
|
133 |
+
msgstr "Masukkan berkas cadangan dibawah ini lalu klik tombol Impor untuk menggunakan settingan dari berkas cadangan."
|
134 |
+
|
135 |
+
#: ReduxCore/framework.php:1599
|
136 |
+
msgid "Input the URL to another sites options set and hit Import to load the options from that site."
|
137 |
+
msgstr "Masukkan URL berkas cadangan, dan klik tombol Impor."
|
138 |
+
|
139 |
+
#: ReduxCore/framework.php:1606
|
140 |
+
msgid "Import"
|
141 |
+
msgstr "Impor"
|
142 |
+
|
143 |
+
#: ReduxCore/framework.php:1606
|
144 |
+
msgid "WARNING! This will overwrite all existing option values, please proceed with caution!"
|
145 |
+
msgstr "PERHATIAN! Prosedur berikut akan melakukan penimpaan semua settingan yang ada, pastikan semua sesuai."
|
146 |
+
|
147 |
+
#: ReduxCore/framework.php:1609
|
148 |
+
msgid "Export Options"
|
149 |
+
msgstr "Pilihan Ekspor"
|
150 |
+
|
151 |
+
#: ReduxCore/framework.php:1611
|
152 |
+
msgid "Here you can copy/download your current option settings. Keep this safe as you can use it as a backup should anything go wrong, or you can use it to restore your settings on this site (or any other site)."
|
153 |
+
msgstr "Anda dapat menyalin/mendonwload settingan saat ini. Simpan baik-baik sebagai cadangan bila terjadi hal-hal yang tidak diinginkan, atau dapat digunakan untuk mengembalikan settingan pada situs ini ( atau situs mana saja dengan pilihan settingan yang sama )"
|
154 |
+
|
155 |
+
#: ReduxCore/framework.php:1615
|
156 |
+
msgid "Copy"
|
157 |
+
msgstr "Salin"
|
158 |
+
|
159 |
+
#: ReduxCore/framework.php:1615
|
160 |
+
msgid "Download"
|
161 |
+
msgstr "Download"
|
162 |
+
|
163 |
+
#: ReduxCore/framework.php:1615
|
164 |
+
msgid "Copy Link"
|
165 |
+
msgstr "Salin Link"
|
166 |
+
|
167 |
+
#: ReduxCore/framework.php:1647
|
168 |
+
msgid "Show Object in Javascript Console Object"
|
169 |
+
msgstr "Tampilkan Object pada Konsol Javascript"
|
170 |
+
|
171 |
+
#: ReduxCore/inc/fields/border/field_border.php:102
|
172 |
+
msgid "Border size"
|
173 |
+
msgstr "Tebal Border"
|
174 |
+
|
175 |
+
#: ReduxCore/inc/fields/border/field_border.php:110
|
176 |
+
msgid "Border style"
|
177 |
+
msgstr "Model Border"
|
178 |
+
|
179 |
+
#: ReduxCore/inc/fields/color_gradient/field_color_gradient.php:73
|
180 |
+
msgid "From "
|
181 |
+
msgstr "Dari"
|
182 |
+
|
183 |
+
#: ReduxCore/inc/fields/color_gradient/field_color_gradient.php:84
|
184 |
+
msgid "To "
|
185 |
+
msgstr "Hingga"
|
186 |
+
|
187 |
+
#: ReduxCore/inc/fields/dimensions/field_dimensions.php:70
|
188 |
+
msgid "Width"
|
189 |
+
msgstr "Lebar"
|
190 |
+
|
191 |
+
#: ReduxCore/inc/fields/dimensions/field_dimensions.php:84
|
192 |
+
msgid "height"
|
193 |
+
msgstr "tinggi"
|
194 |
+
|
195 |
+
#: ReduxCore/inc/fields/dimensions/field_dimensions.php:94
|
196 |
+
#: ReduxCore/inc/fields/dimensions/field_dimensions.php:95
|
197 |
+
msgid "Units"
|
198 |
+
msgstr "Satuan"
|
199 |
+
|
200 |
+
#: ReduxCore/inc/fields/gallery/field_gallery.php:76
|
201 |
+
msgid "Add/Edit Gallery"
|
202 |
+
msgstr "Tambah/Hapus Galeri"
|
203 |
+
|
204 |
+
#: ReduxCore/inc/fields/gallery/field_gallery.php:77
|
205 |
+
msgid "Clear Gallery"
|
206 |
+
msgstr "Bersihkan Galeri"
|
207 |
+
|
208 |
+
#: ReduxCore/inc/fields/group/field_group.php:71
|
209 |
+
msgid "New"
|
210 |
+
msgstr "Baru"
|
211 |
+
|
212 |
+
#: ReduxCore/inc/fields/group/field_group.php:127
|
213 |
+
msgid "Delete"
|
214 |
+
msgstr "Hapus"
|
215 |
+
|
216 |
+
#: ReduxCore/inc/fields/group/field_group.php:132
|
217 |
+
msgid "Add"
|
218 |
+
msgstr "Tambah"
|
219 |
+
|
220 |
+
#: ReduxCore/inc/fields/link_color/field_link_color.php:84
|
221 |
+
msgid "Regular"
|
222 |
+
msgstr "Reguler"
|
223 |
+
|
224 |
+
#: ReduxCore/inc/fields/link_color/field_link_color.php:90
|
225 |
+
msgid "Hover"
|
226 |
+
msgstr "Hover"
|
227 |
+
|
228 |
+
#: ReduxCore/inc/fields/link_color/field_link_color.php:96
|
229 |
+
msgid "Active"
|
230 |
+
msgstr "Active"
|
231 |
+
|
232 |
+
#: ReduxCore/inc/fields/media/field_media.php:133
|
233 |
+
#: ReduxCore/inc/fields/slides/field_slides - Copy.php:110
|
234 |
+
#: Copy.php:151
|
235 |
+
#: ReduxCore/inc/fields/slides/field_slides.php:112
|
236 |
+
#: ReduxCore/inc/fields/slides/field_slides.php:156
|
237 |
+
msgid "Upload"
|
238 |
+
msgstr "Unggah"
|
239 |
+
|
240 |
+
#: ReduxCore/inc/fields/media/field_media.php:139
|
241 |
+
#: ReduxCore/inc/fields/multi_text/field_multi_text.php:70
|
242 |
+
#: ReduxCore/inc/fields/multi_text/field_multi_text.php:73
|
243 |
+
#: ReduxCore/inc/fields/multi_text/field_multi_text.php:76
|
244 |
+
#: ReduxCore/inc/fields/slides/field_slides - Copy.php:116
|
245 |
+
#: Copy.php:153
|
246 |
+
#: ReduxCore/inc/fields/slides/field_slides.php:118
|
247 |
+
#: ReduxCore/inc/fields/slides/field_slides.php:158
|
248 |
+
msgid "Remove"
|
249 |
+
msgstr "Hapus"
|
250 |
+
|
251 |
+
#: ReduxCore/inc/fields/multi_text/field_multi_text.php:80
|
252 |
+
msgid "Add More"
|
253 |
+
msgstr "Tambah"
|
254 |
+
|
255 |
+
#: ReduxCore/inc/fields/password/field_password.php:29
|
256 |
+
msgid "Password"
|
257 |
+
msgstr "Kata Sandi"
|
258 |
+
|
259 |
+
#: ReduxCore/inc/fields/password/field_password.php:29
|
260 |
+
msgid "Username"
|
261 |
+
msgstr "Nama Pengguna"
|
262 |
+
|
263 |
+
#: ReduxCore/inc/fields/select/field_select.php:67
|
264 |
+
msgid "Select an item"
|
265 |
+
msgstr "Pilih"
|
266 |
+
|
267 |
+
#: ReduxCore/inc/fields/select/field_select.php:81
|
268 |
+
msgid "No items of this type were found."
|
269 |
+
msgstr "Tidak ada pilihan untuk field jenis berikut"
|
270 |
+
|
271 |
+
#: ReduxCore/inc/fields/slides/field_slides - Copy.php:129
|
272 |
+
#: Copy.php:166
|
273 |
+
#: ReduxCore/inc/fields/slides/field_slides.php:131
|
274 |
+
#: ReduxCore/inc/fields/slides/field_slides.php:171
|
275 |
+
msgid "Delete Slide"
|
276 |
+
msgstr "Hapus Slide"
|
277 |
+
|
278 |
+
#: ReduxCore/inc/fields/slides/field_slides - Copy.php:169
|
279 |
+
#: ReduxCore/inc/fields/slides/field_slides.php:175
|
280 |
+
msgid "Add Slide"
|
281 |
+
msgstr "Tambah Slide"
|
282 |
+
|
283 |
+
#: ReduxCore/inc/fields/spacing/field_spacing.php:83
|
284 |
+
msgid "Top"
|
285 |
+
msgstr "Top"
|
286 |
+
|
287 |
+
#: ReduxCore/inc/fields/spacing/field_spacing.php:94
|
288 |
+
msgid "Right"
|
289 |
+
msgstr "Right"
|
290 |
+
|
291 |
+
#: ReduxCore/inc/fields/spacing/field_spacing.php:105
|
292 |
+
msgid "Bottom"
|
293 |
+
msgstr "Bottom"
|
294 |
+
|
295 |
+
#: ReduxCore/inc/fields/spacing/field_spacing.php:116
|
296 |
+
msgid "Left"
|
297 |
+
msgstr "Left"
|
298 |
+
|
299 |
+
#: ReduxCore/inc/fields/typography/field_typography.php:103
|
300 |
+
msgid "Font family"
|
301 |
+
msgstr "Jenis Huruf"
|
302 |
+
|
303 |
+
#: ReduxCore/inc/fields/typography/field_typography.php:163
|
304 |
+
#: ReduxCore/inc/fields/typography/field_typography.php:167
|
305 |
+
msgid "Font style"
|
306 |
+
msgstr "Model Huruf"
|
307 |
+
|
308 |
+
#: ReduxCore/inc/fields/typography/field_typography.php:167
|
309 |
+
msgid "Style"
|
310 |
+
msgstr "Model"
|
311 |
+
|
312 |
+
#: ReduxCore/inc/fields/typography/field_typography.php:193
|
313 |
+
msgid "Font subsets"
|
314 |
+
msgstr "Subset Huruf"
|
315 |
+
|
316 |
+
#: ReduxCore/inc/fields/typography/field_typography.php:194
|
317 |
+
msgid "Subsets"
|
318 |
+
msgstr "Subset"
|
319 |
+
|
320 |
+
#: ReduxCore/inc/fields/typography/field_typography.php:194
|
321 |
+
msgid "Font script"
|
322 |
+
msgstr "Bentuk Huruf"
|
323 |
+
|
324 |
+
#: ReduxCore/inc/fields/typography/field_typography.php:212
|
325 |
+
msgid "Size"
|
326 |
+
msgstr "Ukuran"
|
327 |
+
|
328 |
+
#: ReduxCore/inc/fields/typography/field_typography.php:221
|
329 |
+
msgid "Height"
|
330 |
+
msgstr "Tinggi"
|
331 |
+
|
332 |
+
#: ReduxCore/inc/fields/typography/field_typography.php:229
|
333 |
+
msgid "Word Spacing"
|
334 |
+
msgstr "Jarak antar kata"
|
335 |
+
|
336 |
+
#: ReduxCore/inc/fields/typography/field_typography.php:237
|
337 |
+
msgid "Letter Spacing"
|
338 |
+
msgstr "Jarak antar huruf"
|
339 |
+
|
340 |
+
#: ReduxCore/inc/fields/typography/field_typography.php:251
|
341 |
+
msgid "Backup Font Family"
|
342 |
+
msgstr "Cadangan Jenis Huruf"
|
343 |
+
|
344 |
+
#: ReduxCore/inc/fields/typography/field_typography.php:271
|
345 |
+
msgid "Font color"
|
346 |
+
msgstr "Warna Huruf"
|
347 |
+
|
348 |
+
#: ReduxCore/inc/validation/color/validation_color.php:15
|
349 |
+
msgid "This field must be a valid color value."
|
350 |
+
msgstr "Masukkan hanya nilai warna yang valid"
|
351 |
+
|
352 |
+
#: ReduxCore/inc/validation/comma_numeric/validation_comma_numeric.php:15
|
353 |
+
msgid "You must provide a comma separated list of numerical values for this option."
|
354 |
+
msgstr "Masukkan daftar berupa barisan angka dibatasi tanda koma ( comma separated list )"
|
355 |
+
|
356 |
+
#: ReduxCore/inc/validation/date/validation_date.php:15
|
357 |
+
msgid "This field must be a valid date."
|
358 |
+
msgstr "Masukkan format data yang valid"
|
359 |
+
|
360 |
+
#: ReduxCore/inc/validation/email/validation_email.php:15
|
361 |
+
msgid "You must provide a valid email for this option."
|
362 |
+
msgstr "Masukkan format email yang valid"
|
363 |
+
|
364 |
+
#: ReduxCore/inc/validation/no_html/validation_no_html.php:15
|
365 |
+
msgid "You must not enter any HTML in this field, all HTML tags have been removed."
|
366 |
+
msgstr "Anda tidak dapat memasukkan segala format HTML pada field ini, semua tag HTML akan dihapus"
|
367 |
+
|
368 |
+
#: ReduxCore/inc/validation/no_special_chars/validation_no_special_chars.php:15
|
369 |
+
msgid "You must not enter any special characters in this field, all special characters have been removed."
|
370 |
+
msgstr "Anda tidak dapat memasukkan spesial karakter pada field ini, semua spesial karakter akan dihapus"
|
371 |
+
|
372 |
+
#: ReduxCore/inc/validation/numeric/validation_numeric.php:15
|
373 |
+
msgid "You must provide a numerical value for this option."
|
374 |
+
msgstr "Masukkan nilai numerik"
|
375 |
+
|
376 |
+
#: ReduxCore/inc/validation/url/validation_url.php:15
|
377 |
+
msgid "You must provide a valid URL for this option."
|
378 |
+
msgstr "Masukkan URL yang valid"
|
379 |
+
|
380 |
+
#: class-redux-plugin.php:246
|
381 |
+
msgid "Redux Framework has an embedded demo."
|
382 |
+
msgstr "Redux Framework pada mode Demo"
|
383 |
+
|
384 |
+
#: class-redux-plugin.php:246
|
385 |
+
msgid "Click here to activate the sample config file."
|
386 |
+
msgstr "Klik untuk mengaktifkan berkas sample config ( contoh configurasi )"
|
387 |
+
|
388 |
+
#: class-redux-plugin.php:339
|
389 |
+
msgid "Deactivate Demo Mode"
|
390 |
+
msgstr "Deaktifasi Mode Demo"
|
391 |
+
|
392 |
+
#: class-redux-plugin.php:341
|
393 |
+
msgid "Activate Demo Mode"
|
394 |
+
msgstr "Aktifkan Mode Demo"
|
395 |
+
|
ReduxCore/languages/{redux.mo → redux-framework.mo}
RENAMED
File without changes
|
ReduxCore/languages/{redux.pot → redux-framework.pot}
RENAMED
File without changes
|
redux-framework.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* Plugin URI: http://wordpress.org/plugins/redux-framework/
|
17 |
* Github URI: https://github.com/ReduxFramework/ReduxFramework
|
18 |
* Description: Redux is a simple, truly extensible options framework for WordPress themes and plugins.
|
19 |
-
* Version: 3.0.
|
20 |
* Author: ReduxFramework
|
21 |
* Author URI: http://reduxframework.com
|
22 |
* Text Domain: redux-framework
|
16 |
* Plugin URI: http://wordpress.org/plugins/redux-framework/
|
17 |
* Github URI: https://github.com/ReduxFramework/ReduxFramework
|
18 |
* Description: Redux is a simple, truly extensible options framework for WordPress themes and plugins.
|
19 |
+
* Version: 3.0.3
|
20 |
* Author: ReduxFramework
|
21 |
* Author URI: http://reduxframework.com
|
22 |
* Text Domain: redux-framework
|