Version Description
- Adding the additional styles to the parent CSS preview in v1.5.2(.1) introduced a bug
- that copied all of the parent styles to the child stylesheet. This is fixed in v1.5.2.2.
- Rolled back changes to the javascript controller that introduced a number of type errors.
- Tweaked preview ajax call to handle ssl.
Download this release
Release Info
Developer | lilaeamedia |
Plugin | Child Theme Configurator |
Version | 1.5.2.2 |
Comparing to | |
See all releases |
Code changes from version 1.5.2.1 to 1.5.2.2
- child-theme-configurator.php +2 -3
- includes/class-ctc-css.php +3 -2
- includes/class-ctc-ui.php +1 -1
- includes/class-ctc.php +3 -2
- js/chld-thm-cfg.js +97 -120
- js/chld-thm-cfg.min.js +1 -1
- lang/chld_thm_cfg.pot +138 -134
- readme.txt +10 -5
child-theme-configurator.php
CHANGED
@@ -6,7 +6,7 @@ if ( !defined('ABSPATH')) exit;
|
|
6 |
Plugin Name: Child Theme Configurator
|
7 |
Plugin URI: http://www.lilaeamedia.com/plugins/child-theme-configurator/
|
8 |
Description: Create a Child Theme from any installed Theme. Each CSS selector, rule and value can then be searched, previewed and modified.
|
9 |
-
Version: 1.5.2.
|
10 |
Author: Lilaea Media
|
11 |
Author URI: http://www.lilaeamedia.com/
|
12 |
Text Domain: chld_thm_cfg
|
@@ -16,7 +16,7 @@ if ( !defined('ABSPATH')) exit;
|
|
16 |
*/
|
17 |
|
18 |
defined('LF') or define('LF', "\n");
|
19 |
-
define('CHLD_THM_CFG_VERSION', '1.5.2.
|
20 |
define('CHLD_THM_CFG_MAX_SELECTORS', '50000');
|
21 |
define('CHLD_THM_CFG_MAX_RECURSE_LOOPS', '1000');
|
22 |
|
@@ -31,5 +31,4 @@ if ( !defined('ABSPATH')) exit;
|
|
31 |
global $chld_thm_cfg;
|
32 |
delete_option($chld_thm_cfg->optionsName);
|
33 |
}
|
34 |
-
|
35 |
|
6 |
Plugin Name: Child Theme Configurator
|
7 |
Plugin URI: http://www.lilaeamedia.com/plugins/child-theme-configurator/
|
8 |
Description: Create a Child Theme from any installed Theme. Each CSS selector, rule and value can then be searched, previewed and modified.
|
9 |
+
Version: 1.5.2.2
|
10 |
Author: Lilaea Media
|
11 |
Author URI: http://www.lilaeamedia.com/
|
12 |
Text Domain: chld_thm_cfg
|
16 |
*/
|
17 |
|
18 |
defined('LF') or define('LF', "\n");
|
19 |
+
define('CHLD_THM_CFG_VERSION', '1.5.2.2');
|
20 |
define('CHLD_THM_CFG_MAX_SELECTORS', '50000');
|
21 |
define('CHLD_THM_CFG_MAX_RECURSE_LOOPS', '1000');
|
22 |
|
31 |
global $chld_thm_cfg;
|
32 |
delete_option($chld_thm_cfg->optionsName);
|
33 |
}
|
|
|
34 |
|
includes/class-ctc-css.php
CHANGED
@@ -6,7 +6,7 @@ if ( !defined('ABSPATH')) exit;
|
|
6 |
Class: Child_Theme_Configurator_CSS
|
7 |
Plugin URI: http://www.lilaeamedia.com/plugins/child-theme-configurator/
|
8 |
Description: Handles all CSS output, parsing, normalization
|
9 |
-
Version: 1.5.2.
|
10 |
Author: Lilaea Media
|
11 |
Author URI: http://www.lilaeamedia.com/
|
12 |
Text Domain: chld_thm_cfg
|
@@ -46,7 +46,7 @@ class Child_Theme_Configurator_CSS {
|
|
46 |
|
47 |
function __construct($parent = '') {
|
48 |
// scalars
|
49 |
-
$this->version = '1.5.2.
|
50 |
$this->querykey = 0;
|
51 |
$this->selkey = 0;
|
52 |
$this->qskey = 0;
|
@@ -434,6 +434,7 @@ class Child_Theme_Configurator_CSS {
|
|
434 |
function parse_css_file($template, $file = 'style.css') {
|
435 |
global $chld_thm_cfg;
|
436 |
$chld_thm_cfg->cache_updates = FALSE;
|
|
|
437 |
$this->read_stylesheet($template, $file);
|
438 |
// get theme name
|
439 |
$regex = '#Theme Name:\s*(.+?)\n#i';
|
6 |
Class: Child_Theme_Configurator_CSS
|
7 |
Plugin URI: http://www.lilaeamedia.com/plugins/child-theme-configurator/
|
8 |
Description: Handles all CSS output, parsing, normalization
|
9 |
+
Version: 1.5.2.2
|
10 |
Author: Lilaea Media
|
11 |
Author URI: http://www.lilaeamedia.com/
|
12 |
Text Domain: chld_thm_cfg
|
46 |
|
47 |
function __construct($parent = '') {
|
48 |
// scalars
|
49 |
+
$this->version = '1.5.2.2';
|
50 |
$this->querykey = 0;
|
51 |
$this->selkey = 0;
|
52 |
$this->qskey = 0;
|
434 |
function parse_css_file($template, $file = 'style.css') {
|
435 |
global $chld_thm_cfg;
|
436 |
$chld_thm_cfg->cache_updates = FALSE;
|
437 |
+
$this->styles = ''; // reset styles
|
438 |
$this->read_stylesheet($template, $file);
|
439 |
// get theme name
|
440 |
$regex = '#Theme Name:\s*(.+?)\n#i';
|
includes/class-ctc-ui.php
CHANGED
@@ -5,7 +5,7 @@ if ( !defined('ABSPATH')) exit;
|
|
5 |
Class: Child_Theme_Configurator_UI
|
6 |
Plugin URI: http://www.lilaeamedia.com/plugins/child-theme-configurator/
|
7 |
Description: Handles the plugin User Interface
|
8 |
-
Version: 1.5.2.
|
9 |
Author: Lilaea Media
|
10 |
Author URI: http://www.lilaeamedia.com/
|
11 |
Text Domain: chld_thm_cfg
|
5 |
Class: Child_Theme_Configurator_UI
|
6 |
Plugin URI: http://www.lilaeamedia.com/plugins/child-theme-configurator/
|
7 |
Description: Handles the plugin User Interface
|
8 |
+
Version: 1.5.2.2
|
9 |
Author: Lilaea Media
|
10 |
Author URI: http://www.lilaeamedia.com/
|
11 |
Text Domain: chld_thm_cfg
|
includes/class-ctc.php
CHANGED
@@ -6,7 +6,7 @@ if ( !defined('ABSPATH')) exit;
|
|
6 |
Class: Child_Theme_Configurator
|
7 |
Plugin URI: http://www.lilaeamedia.com/plugins/child-theme-configurator/
|
8 |
Description: Main Controller Class
|
9 |
-
Version: 1.5.2.
|
10 |
Author: Lilaea Media
|
11 |
Author URI: http://www.lilaeamedia.com/
|
12 |
Text Domain: chld_thm_cfg
|
@@ -84,10 +84,11 @@ class Child_Theme_Configurator {
|
|
84 |
wp_enqueue_script('iris');
|
85 |
// wp_enqueue_script('thickbox');
|
86 |
wp_enqueue_script('ctc-thm-cfg-ctcgrad', $this->pluginURL . 'js/ctcgrad.min.js', array('iris'), '1.0');
|
87 |
-
wp_enqueue_script('chld-thm-cfg-admin', $this->pluginURL . 'js/chld-thm-cfg.js',
|
88 |
array('jquery-ui-autocomplete'), '1.0', TRUE);
|
89 |
wp_localize_script( 'chld-thm-cfg-admin', 'ctcAjax',
|
90 |
apply_filters('chld_thm_cfg_localize_script', array(
|
|
|
91 |
'homeurl' => get_home_url(),
|
92 |
'ajaxurl' => admin_url( 'admin-ajax.php' ),
|
93 |
'theme_uri' => get_theme_root_uri(),
|
6 |
Class: Child_Theme_Configurator
|
7 |
Plugin URI: http://www.lilaeamedia.com/plugins/child-theme-configurator/
|
8 |
Description: Main Controller Class
|
9 |
+
Version: 1.5.2.2
|
10 |
Author: Lilaea Media
|
11 |
Author URI: http://www.lilaeamedia.com/
|
12 |
Text Domain: chld_thm_cfg
|
84 |
wp_enqueue_script('iris');
|
85 |
// wp_enqueue_script('thickbox');
|
86 |
wp_enqueue_script('ctc-thm-cfg-ctcgrad', $this->pluginURL . 'js/ctcgrad.min.js', array('iris'), '1.0');
|
87 |
+
wp_enqueue_script('chld-thm-cfg-admin', $this->pluginURL . 'js/chld-thm-cfg.min.js',
|
88 |
array('jquery-ui-autocomplete'), '1.0', TRUE);
|
89 |
wp_localize_script( 'chld-thm-cfg-admin', 'ctcAjax',
|
90 |
apply_filters('chld_thm_cfg_localize_script', array(
|
91 |
+
'ssl' => is_ssl(),
|
92 |
'homeurl' => get_home_url(),
|
93 |
'ajaxurl' => admin_url( 'admin-ajax.php' ),
|
94 |
'theme_uri' => get_theme_root_uri(),
|
js/chld-thm-cfg.js
CHANGED
@@ -2,14 +2,14 @@
|
|
2 |
* Script: chld-thm-cfg.js
|
3 |
* Plugin URI: http://www.lilaeamedia.com/plugins/child-theme-configurator/
|
4 |
* Description: Handles jQuery, AJAX and other UI
|
5 |
-
* Version: 1.5.2.
|
6 |
* Author: Lilaea Media
|
7 |
* Author URI: http://www.lilaeamedia.com/
|
8 |
* License: GPLv2
|
9 |
* Copyright (C) 2014 Lilaea Media
|
10 |
*/
|
11 |
jQuery(document).ready(function($){
|
12 |
-
|
13 |
var lf = "\n",
|
14 |
currentQuery = 'base',
|
15 |
currentSel,
|
@@ -17,45 +17,27 @@ jQuery(document).ready(function($){
|
|
17 |
rewrite_id,
|
18 |
rewrite_sel,
|
19 |
quot_regex = new RegExp('"', 'g'),
|
20 |
-
// ajax semaphores: 0 = reload, 1 = loading, 2 = loaded
|
21 |
-
loading = {
|
22 |
-
'rule': 2,
|
23 |
-
'sel_ndx': 2,
|
24 |
-
'val_qry': 0,
|
25 |
-
'rule_val': 0,
|
26 |
-
'sel_val': 0,
|
27 |
-
'preview': 0
|
28 |
-
},
|
29 |
-
ctc_selectors = [],
|
30 |
-
ctc_queries = [],
|
31 |
-
ctc_rules = [];
|
32 |
-
// -- end var definitions
|
33 |
-
|
34 |
// initialize functions
|
35 |
-
function
|
36 |
return ctc_is_empty(str) ? str : str.toString().replace(quot_regex, '"');
|
37 |
-
}
|
38 |
-
|
39 |
-
function ctc_setup_iris(obj) {
|
40 |
$(obj).iris({
|
41 |
change: function() {
|
42 |
ctc_coalesce_inputs(obj);
|
43 |
}
|
44 |
});
|
45 |
-
}
|
46 |
-
|
47 |
-
function from_ascii(str) {
|
48 |
var ascii = parseInt(str),
|
49 |
chr = String.fromCharCode(ascii)
|
50 |
return chr;
|
51 |
-
}
|
52 |
-
|
53 |
-
function to_ascii(str) {
|
54 |
var ascii = str.charCodeAt(0);
|
55 |
return ascii;
|
56 |
-
}
|
57 |
-
|
58 |
-
function ctc_coalesce_inputs(obj) {
|
59 |
var regex = /^(ctc_(ovrd|\d+)_(parent|child)_([0-9a-z\-]+)_(\d+))(_\w+)?$/,
|
60 |
$container = $(obj).parents('.ctc-selector-row, .ctc-parent-row').first(),
|
61 |
$swatch = $container.find('.ctc-swatch').first(),
|
@@ -165,9 +147,8 @@ jQuery(document).ready(function($){
|
|
165 |
}
|
166 |
}
|
167 |
return postdata;
|
168 |
-
}
|
169 |
-
|
170 |
-
function ctc_update_cache(response) {
|
171 |
var currQuery, currSelId, currRuleId;
|
172 |
$(response).each(function(){
|
173 |
switch (this.obj) {
|
@@ -212,9 +193,8 @@ jQuery(document).ready(function($){
|
|
212 |
break;
|
213 |
}
|
214 |
});
|
215 |
-
}
|
216 |
-
|
217 |
-
function ctc_image_url(theme, value) {
|
218 |
var parts = value.toString().match(/url\(['" ]*(.+?)['" ]*\)/),
|
219 |
path = ctc_is_empty(parts) ? null : parts[1],
|
220 |
url = ctcAjax.theme_uri + '/' + ('parent' == theme ? ctcAjax.parnt : ctcAjax.child) + '/',
|
@@ -227,9 +207,9 @@ jQuery(document).ready(function($){
|
|
227 |
image_url = 'url(' + url + path + ')';
|
228 |
}
|
229 |
return image_url;
|
230 |
-
}
|
231 |
|
232 |
-
function
|
233 |
// first bail when definitely empty or undefined (true) NOTE: zero is not empty
|
234 |
if ('undefined' == typeof obj || false === obj || null === obj || '' === obj) { return true; }
|
235 |
// then, if this is bool, string or number it must not be empty (false)
|
@@ -253,9 +233,9 @@ jQuery(document).ready(function($){
|
|
253 |
// this must be an unsupported datatype, so return not empty
|
254 |
return false;
|
255 |
|
256 |
-
}
|
257 |
|
258 |
-
function
|
259 |
var arr = [];
|
260 |
if (1 === loading.sel_ndx) return arr;
|
261 |
if (0 === loading.sel_ndx) { // {
|
@@ -271,9 +251,9 @@ jQuery(document).ready(function($){
|
|
271 |
});
|
272 |
}
|
273 |
return arr;
|
274 |
-
}
|
275 |
|
276 |
-
function
|
277 |
var arr = [];
|
278 |
if (1 === loading.sel_ndx) {
|
279 |
return arr;
|
@@ -291,9 +271,9 @@ jQuery(document).ready(function($){
|
|
291 |
});
|
292 |
}
|
293 |
return arr;
|
294 |
-
}
|
295 |
|
296 |
-
function
|
297 |
var arr = [];
|
298 |
if (1 === loading.rule) return arr;
|
299 |
if (0 === loading.rule) {
|
@@ -314,9 +294,9 @@ jQuery(document).ready(function($){
|
|
314 |
return -1;
|
315 |
return 0;
|
316 |
});
|
317 |
-
}
|
318 |
|
319 |
-
function
|
320 |
var html = '',
|
321 |
value = (ctc_is_empty(ctcAjax.sel_val[qsid])
|
322 |
|| ctc_is_empty(ctcAjax.sel_val[qsid].value)
|
@@ -367,9 +347,8 @@ jQuery(document).ready(function($){
|
|
367 |
html += '</div><!-- end input row -->' + lf;
|
368 |
}
|
369 |
return html;
|
370 |
-
}
|
371 |
-
|
372 |
-
function ctc_render_selector_inputs(qsid) {
|
373 |
if (1 === loading.sel_val) {
|
374 |
return false;
|
375 |
}
|
@@ -403,9 +382,8 @@ jQuery(document).ready(function($){
|
|
403 |
ctc_coalesce_inputs('#ctc_child_all_0_swatch');
|
404 |
}
|
405 |
}
|
406 |
-
}
|
407 |
-
|
408 |
-
function ctc_render_css_preview(theme) {
|
409 |
if (1 === loading.preview) {
|
410 |
return false;
|
411 |
}
|
@@ -423,9 +401,8 @@ jQuery(document).ready(function($){
|
|
423 |
$('#view_'+theme+'_options_panel').text(ctcAjax.previewResponse);
|
424 |
loading.preview = 0;
|
425 |
}
|
426 |
-
}
|
427 |
-
|
428 |
-
function ctc_render_rule_value_inputs(ruleid) {
|
429 |
if (1 === loading.rule_val) return false;
|
430 |
|
431 |
if (0 == loading.rule_val) {
|
@@ -457,9 +434,9 @@ jQuery(document).ready(function($){
|
|
457 |
$('#ctc_rule_value_inputs').html(html).find('.ctc-swatch').each(function() {
|
458 |
ctc_coalesce_inputs(this);
|
459 |
});
|
460 |
-
}
|
461 |
|
462 |
-
function
|
463 |
if (1 == loading.val_qry) return false;
|
464 |
var params,
|
465 |
page_ruleid,
|
@@ -494,9 +471,8 @@ jQuery(document).ready(function($){
|
|
494 |
ctc_coalesce_inputs(this);
|
495 |
});
|
496 |
|
497 |
-
}
|
498 |
-
|
499 |
-
function ctc_query_css(obj, key, callback, params) {
|
500 |
var postdata = { 'ctc_query_obj' : obj, 'ctc_query_key': key },
|
501 |
status_sel = '#ctc_status_' + obj + ('val_qry' == obj ? '_' + key : '');
|
502 |
|
@@ -559,9 +535,8 @@ jQuery(document).ready(function($){
|
|
559 |
|
560 |
});
|
561 |
return false;
|
562 |
-
}
|
563 |
-
|
564 |
-
function ctc_save(obj) {
|
565 |
var postdata = {},
|
566 |
$selector, $query, $imports, $rule,
|
567 |
id = $(obj).attr('id'), newsel;
|
@@ -640,9 +615,8 @@ jQuery(document).ready(function($){
|
|
640 |
$('.ctc-status-icon').addClass('failure');
|
641 |
});
|
642 |
return false;
|
643 |
-
}
|
644 |
-
|
645 |
-
function ctc_decode_value(rule, value) {
|
646 |
value = ('undefined' == typeof value ? '' : value);
|
647 |
var obj = { 'orig': value };
|
648 |
if (rule.toString().match(/^border(\-(top|right|bottom|left))?$/)) {
|
@@ -679,9 +653,9 @@ jQuery(document).ready(function($){
|
|
679 |
obj['values'] = [ value ];
|
680 |
}
|
681 |
return obj;
|
682 |
-
}
|
683 |
|
684 |
-
function
|
685 |
currentQuery = value;
|
686 |
$('#ctc_sel_ovrd_query').val('');
|
687 |
$('#ctc_sel_ovrd_query_selected').text(value);
|
@@ -691,9 +665,9 @@ jQuery(document).ready(function($){
|
|
691 |
ctc_setup_selector_menu(value);
|
692 |
ctc_coalesce_inputs('#ctc_child_all_0_swatch');
|
693 |
$('#ctc_new_selector_row').show();
|
694 |
-
}
|
695 |
|
696 |
-
function
|
697 |
$('#ctc_sel_ovrd_selector').val('');
|
698 |
$('#ctc_sel_ovrd_selector_selected').text(label);
|
699 |
$('#ctc_sel_ovrd_qsid').val(value);
|
@@ -702,18 +676,17 @@ jQuery(document).ready(function($){
|
|
702 |
ctc_render_selector_inputs(value);
|
703 |
$('.ctc-rewrite-toggle').text(ctcAjax.rename_txt);
|
704 |
$('#ctc_sel_ovrd_new_rule, #ctc_sel_ovrd_rule_header,#ctc_sel_ovrd_rule_inputs_container,#ctc_sel_ovrd_rule_inputs,.ctc-rewrite-toggle').show();
|
705 |
-
}
|
706 |
|
707 |
-
function
|
708 |
$('#ctc_rule_menu').val('');
|
709 |
$('#ctc_rule_menu_selected').text(label);
|
710 |
if (1 != loading.rule_val) loading.rule_val = 0;
|
711 |
ctc_render_rule_value_inputs(value);
|
712 |
$('.ctc-rewrite-toggle').text(ctcAjax.rename_txt);
|
713 |
$('#ctc_rule_value_inputs,#ctc_input_row_rule_header').show();
|
714 |
-
}
|
715 |
-
|
716 |
-
function ctc_setup_query_menu() {
|
717 |
ctc_queries = ctc_load_queries();
|
718 |
$('#ctc_sel_ovrd_query').autocomplete({
|
719 |
source: ctc_queries,
|
@@ -726,9 +699,8 @@ jQuery(document).ready(function($){
|
|
726 |
},
|
727 |
focus: function(e) { e.preventDefault(); }
|
728 |
});
|
729 |
-
}
|
730 |
-
|
731 |
-
function ctc_setup_selector_menu(query) {
|
732 |
ctc_selectors = ctc_load_selectors(query);
|
733 |
$('#ctc_sel_ovrd_selector').autocomplete({
|
734 |
source: ctc_selectors,
|
@@ -740,9 +712,8 @@ jQuery(document).ready(function($){
|
|
740 |
},
|
741 |
focus: function(e) { e.preventDefault(); }
|
742 |
});
|
743 |
-
}
|
744 |
-
|
745 |
-
function ctc_setup_rule_menu() {
|
746 |
ctc_rules = ctc_load_rules();
|
747 |
$('#ctc_rule_menu').autocomplete({
|
748 |
source: ctc_rules,
|
@@ -755,9 +726,8 @@ jQuery(document).ready(function($){
|
|
755 |
},
|
756 |
focus: function(e) { e.preventDefault(); }
|
757 |
});
|
758 |
-
}
|
759 |
-
|
760 |
-
function ctc_filtered_rules(request, response) {
|
761 |
var arr = [],
|
762 |
noval = (ctc_is_empty(ctcAjax.sel_val[currentSel])) || (ctc_is_empty(ctcAjax.sel_val[currentSel].value));
|
763 |
if (ctc_is_empty(ctc_rules)) {
|
@@ -784,9 +754,8 @@ jQuery(document).ready(function($){
|
|
784 |
}
|
785 |
});
|
786 |
response(arr);
|
787 |
-
}
|
788 |
-
|
789 |
-
function ctc_setup_new_rule_menu() {
|
790 |
$('#ctc_new_rule_menu').autocomplete({
|
791 |
source: ctc_filtered_rules,
|
792 |
//minLength: 0,
|
@@ -810,16 +779,14 @@ jQuery(document).ready(function($){
|
|
810 |
},
|
811 |
focus: function(e) { e.preventDefault(); }
|
812 |
});
|
813 |
-
}
|
814 |
-
|
815 |
-
function ctc_setup_menus() {
|
816 |
ctc_setup_query_menu();
|
817 |
ctc_setup_selector_menu(currentQuery);
|
818 |
ctc_setup_rule_menu();
|
819 |
ctc_setup_new_rule_menu();
|
820 |
-
}
|
821 |
-
|
822 |
-
function ctc_theme_exists(testslug, testtype) {
|
823 |
var exists = false;
|
824 |
$.each(ctcAjax.themes, function(type, theme){
|
825 |
$.each(theme, function(slug, data){
|
@@ -831,9 +798,9 @@ jQuery(document).ready(function($){
|
|
831 |
if (exists) return false;
|
832 |
});
|
833 |
return exists;
|
834 |
-
}
|
835 |
|
836 |
-
function
|
837 |
var errorHtml = '';
|
838 |
if (false === ctc_is_empty(noticearr)) {
|
839 |
$.each(noticearr, function(type, list){
|
@@ -845,9 +812,8 @@ jQuery(document).ready(function($){
|
|
845 |
});
|
846 |
}
|
847 |
$('#ctc_error_notice').html(errorHtml);
|
848 |
-
}
|
849 |
-
|
850 |
-
function ctc_validate() {
|
851 |
var regex = /[^\w\-]/,
|
852 |
newslug = $('#ctc_child_template').val().toString().replace(regex).toLowerCase(),
|
853 |
slug = $('#ctc_theme_child').val().toString().replace(regex).toLowerCase(),
|
@@ -868,40 +834,38 @@ jQuery(document).ready(function($){
|
|
868 |
return false;
|
869 |
}
|
870 |
return true;
|
871 |
-
}
|
872 |
-
|
873 |
-
function ctc_set_theme_menu(e) {
|
874 |
var slug = $('#ctc_theme_child').val();
|
875 |
if (false === ctc_is_empty(ctcAjax.themes.child[slug])) {
|
876 |
$('#ctc_child_name').val(ctcAjax.themes.child[slug].Name);
|
877 |
$('#ctc_child_author').val(ctcAjax.themes.child[slug].Author);
|
878 |
$('#ctc_child_version').val(ctcAjax.themes.child[slug].Version);
|
879 |
}
|
880 |
-
}
|
881 |
-
|
882 |
-
function fade_update_notice() {
|
883 |
$('.updated, .error').slideUp('slow', function(){ $('.updated').remove(); });
|
884 |
-
}
|
885 |
-
|
886 |
-
function
|
887 |
-
var template
|
888 |
-
|
889 |
-
|
890 |
-
|
|
|
891 |
additional;
|
892 |
if (ctc_is_empty(template)) return;
|
893 |
$.get(url, function(data){
|
894 |
while (additional = regex.exec(data)){
|
895 |
-
ctcAjax.addl_css.push(additional[1]);
|
896 |
if ('style.css' == additional[1]) break; // bail after main stylesheet
|
|
|
897 |
$('.ctc_checkbox').each(function(ndx,el){
|
898 |
if ($(this).val() == additional[1]) $(this).prop('checked', true);
|
899 |
});
|
900 |
}
|
901 |
});
|
902 |
-
}
|
903 |
-
|
904 |
-
function ctc_focus_panel(id) {
|
905 |
var panelid = id + '_panel';
|
906 |
$('.nav-tab').removeClass('nav-tab-active');
|
907 |
$('.ctc-option-panel').removeClass('ctc-option-panel-active');
|
@@ -909,9 +873,8 @@ jQuery(document).ready(function($){
|
|
909 |
$(id).addClass('nav-tab-active');
|
910 |
$('.ctc-option-panel-container').scrollTop(0);
|
911 |
$(panelid).addClass('ctc-option-panel-active');
|
912 |
-
}
|
913 |
-
|
914 |
-
function ctc_selector_edit(obj) {
|
915 |
var qsid = $(obj).attr('id').match(/_(\d+)$/)[1],
|
916 |
q = ctcAjax.sel_val[qsid].query,
|
917 |
s = ctcAjax.sel_val[qsid].selector,
|
@@ -919,9 +882,8 @@ jQuery(document).ready(function($){
|
|
919 |
ctc_set_query(q);
|
920 |
ctc_set_selector(qsid, s);
|
921 |
ctc_focus_panel(id);
|
922 |
-
}
|
923 |
-
|
924 |
-
function ctc_selector_input_toggle(obj) {
|
925 |
var origval;
|
926 |
if ($('#ctc_rewrite_selector').length) {
|
927 |
origval = $('#ctc_rewrite_selector_orig').val();
|
@@ -935,6 +897,21 @@ jQuery(document).ready(function($){
|
|
935 |
$(obj).text(ctcAjax.cancel_txt);
|
936 |
}
|
937 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
938 |
|
939 |
// initialize Iris color picker
|
940 |
$('.color-picker').each(function() {
|
2 |
* Script: chld-thm-cfg.js
|
3 |
* Plugin URI: http://www.lilaeamedia.com/plugins/child-theme-configurator/
|
4 |
* Description: Handles jQuery, AJAX and other UI
|
5 |
+
* Version: 1.5.2.2
|
6 |
* Author: Lilaea Media
|
7 |
* Author URI: http://www.lilaeamedia.com/
|
8 |
* License: GPLv2
|
9 |
* Copyright (C) 2014 Lilaea Media
|
10 |
*/
|
11 |
jQuery(document).ready(function($){
|
12 |
+
|
13 |
var lf = "\n",
|
14 |
currentQuery = 'base',
|
15 |
currentSel,
|
17 |
rewrite_id,
|
18 |
rewrite_sel,
|
19 |
quot_regex = new RegExp('"', 'g'),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
// initialize functions
|
21 |
+
esc_quot = function(str){
|
22 |
return ctc_is_empty(str) ? str : str.toString().replace(quot_regex, '"');
|
23 |
+
},
|
24 |
+
ctc_setup_iris = function(obj) {
|
|
|
25 |
$(obj).iris({
|
26 |
change: function() {
|
27 |
ctc_coalesce_inputs(obj);
|
28 |
}
|
29 |
});
|
30 |
+
},
|
31 |
+
from_ascii = function(str) {
|
|
|
32 |
var ascii = parseInt(str),
|
33 |
chr = String.fromCharCode(ascii)
|
34 |
return chr;
|
35 |
+
},
|
36 |
+
to_ascii = function(str) {
|
|
|
37 |
var ascii = str.charCodeAt(0);
|
38 |
return ascii;
|
39 |
+
},
|
40 |
+
ctc_coalesce_inputs = function(obj) {
|
|
|
41 |
var regex = /^(ctc_(ovrd|\d+)_(parent|child)_([0-9a-z\-]+)_(\d+))(_\w+)?$/,
|
42 |
$container = $(obj).parents('.ctc-selector-row, .ctc-parent-row').first(),
|
43 |
$swatch = $container.find('.ctc-swatch').first(),
|
147 |
}
|
148 |
}
|
149 |
return postdata;
|
150 |
+
},
|
151 |
+
ctc_update_cache = function(response) {
|
|
|
152 |
var currQuery, currSelId, currRuleId;
|
153 |
$(response).each(function(){
|
154 |
switch (this.obj) {
|
193 |
break;
|
194 |
}
|
195 |
});
|
196 |
+
},
|
197 |
+
ctc_image_url = function(theme, value) {
|
|
|
198 |
var parts = value.toString().match(/url\(['" ]*(.+?)['" ]*\)/),
|
199 |
path = ctc_is_empty(parts) ? null : parts[1],
|
200 |
url = ctcAjax.theme_uri + '/' + ('parent' == theme ? ctcAjax.parnt : ctcAjax.child) + '/',
|
207 |
image_url = 'url(' + url + path + ')';
|
208 |
}
|
209 |
return image_url;
|
210 |
+
},
|
211 |
|
212 |
+
ctc_is_empty = function(obj) {
|
213 |
// first bail when definitely empty or undefined (true) NOTE: zero is not empty
|
214 |
if ('undefined' == typeof obj || false === obj || null === obj || '' === obj) { return true; }
|
215 |
// then, if this is bool, string or number it must not be empty (false)
|
233 |
// this must be an unsupported datatype, so return not empty
|
234 |
return false;
|
235 |
|
236 |
+
},
|
237 |
|
238 |
+
ctc_load_queries = function() {
|
239 |
var arr = [];
|
240 |
if (1 === loading.sel_ndx) return arr;
|
241 |
if (0 === loading.sel_ndx) { // {
|
251 |
});
|
252 |
}
|
253 |
return arr;
|
254 |
+
},
|
255 |
|
256 |
+
ctc_load_selectors = function(query) {
|
257 |
var arr = [];
|
258 |
if (1 === loading.sel_ndx) {
|
259 |
return arr;
|
271 |
});
|
272 |
}
|
273 |
return arr;
|
274 |
+
},
|
275 |
|
276 |
+
ctc_load_rules = function() {
|
277 |
var arr = [];
|
278 |
if (1 === loading.rule) return arr;
|
279 |
if (0 === loading.rule) {
|
294 |
return -1;
|
295 |
return 0;
|
296 |
});
|
297 |
+
},
|
298 |
|
299 |
+
ctc_render_child_rule_input = function(qsid, rule, seq) {
|
300 |
var html = '',
|
301 |
value = (ctc_is_empty(ctcAjax.sel_val[qsid])
|
302 |
|| ctc_is_empty(ctcAjax.sel_val[qsid].value)
|
347 |
html += '</div><!-- end input row -->' + lf;
|
348 |
}
|
349 |
return html;
|
350 |
+
},
|
351 |
+
ctc_render_selector_inputs = function(qsid) {
|
|
|
352 |
if (1 === loading.sel_val) {
|
353 |
return false;
|
354 |
}
|
382 |
ctc_coalesce_inputs('#ctc_child_all_0_swatch');
|
383 |
}
|
384 |
}
|
385 |
+
},
|
386 |
+
ctc_render_css_preview = function(theme) {
|
|
|
387 |
if (1 === loading.preview) {
|
388 |
return false;
|
389 |
}
|
401 |
$('#view_'+theme+'_options_panel').text(ctcAjax.previewResponse);
|
402 |
loading.preview = 0;
|
403 |
}
|
404 |
+
},
|
405 |
+
ctc_render_rule_value_inputs = function(ruleid) {
|
|
|
406 |
if (1 === loading.rule_val) return false;
|
407 |
|
408 |
if (0 == loading.rule_val) {
|
434 |
$('#ctc_rule_value_inputs').html(html).find('.ctc-swatch').each(function() {
|
435 |
ctc_coalesce_inputs(this);
|
436 |
});
|
437 |
+
},
|
438 |
|
439 |
+
ctc_render_selector_value_inputs = function(valid) {
|
440 |
if (1 == loading.val_qry) return false;
|
441 |
var params,
|
442 |
page_ruleid,
|
471 |
ctc_coalesce_inputs(this);
|
472 |
});
|
473 |
|
474 |
+
},
|
475 |
+
ctc_query_css = function(obj, key, callback, params) {
|
|
|
476 |
var postdata = { 'ctc_query_obj' : obj, 'ctc_query_key': key },
|
477 |
status_sel = '#ctc_status_' + obj + ('val_qry' == obj ? '_' + key : '');
|
478 |
|
535 |
|
536 |
});
|
537 |
return false;
|
538 |
+
},
|
539 |
+
ctc_save = function(obj) {
|
|
|
540 |
var postdata = {},
|
541 |
$selector, $query, $imports, $rule,
|
542 |
id = $(obj).attr('id'), newsel;
|
615 |
$('.ctc-status-icon').addClass('failure');
|
616 |
});
|
617 |
return false;
|
618 |
+
},
|
619 |
+
ctc_decode_value = function(rule, value) {
|
|
|
620 |
value = ('undefined' == typeof value ? '' : value);
|
621 |
var obj = { 'orig': value };
|
622 |
if (rule.toString().match(/^border(\-(top|right|bottom|left))?$/)) {
|
653 |
obj['values'] = [ value ];
|
654 |
}
|
655 |
return obj;
|
656 |
+
},
|
657 |
|
658 |
+
ctc_set_query = function(value) {
|
659 |
currentQuery = value;
|
660 |
$('#ctc_sel_ovrd_query').val('');
|
661 |
$('#ctc_sel_ovrd_query_selected').text(value);
|
665 |
ctc_setup_selector_menu(value);
|
666 |
ctc_coalesce_inputs('#ctc_child_all_0_swatch');
|
667 |
$('#ctc_new_selector_row').show();
|
668 |
+
},
|
669 |
|
670 |
+
ctc_set_selector = function(value,label) {
|
671 |
$('#ctc_sel_ovrd_selector').val('');
|
672 |
$('#ctc_sel_ovrd_selector_selected').text(label);
|
673 |
$('#ctc_sel_ovrd_qsid').val(value);
|
676 |
ctc_render_selector_inputs(value);
|
677 |
$('.ctc-rewrite-toggle').text(ctcAjax.rename_txt);
|
678 |
$('#ctc_sel_ovrd_new_rule, #ctc_sel_ovrd_rule_header,#ctc_sel_ovrd_rule_inputs_container,#ctc_sel_ovrd_rule_inputs,.ctc-rewrite-toggle').show();
|
679 |
+
},
|
680 |
|
681 |
+
ctc_set_rule = function(value,label) {
|
682 |
$('#ctc_rule_menu').val('');
|
683 |
$('#ctc_rule_menu_selected').text(label);
|
684 |
if (1 != loading.rule_val) loading.rule_val = 0;
|
685 |
ctc_render_rule_value_inputs(value);
|
686 |
$('.ctc-rewrite-toggle').text(ctcAjax.rename_txt);
|
687 |
$('#ctc_rule_value_inputs,#ctc_input_row_rule_header').show();
|
688 |
+
},
|
689 |
+
ctc_setup_query_menu = function() {
|
|
|
690 |
ctc_queries = ctc_load_queries();
|
691 |
$('#ctc_sel_ovrd_query').autocomplete({
|
692 |
source: ctc_queries,
|
699 |
},
|
700 |
focus: function(e) { e.preventDefault(); }
|
701 |
});
|
702 |
+
},
|
703 |
+
ctc_setup_selector_menu = function(query) {
|
|
|
704 |
ctc_selectors = ctc_load_selectors(query);
|
705 |
$('#ctc_sel_ovrd_selector').autocomplete({
|
706 |
source: ctc_selectors,
|
712 |
},
|
713 |
focus: function(e) { e.preventDefault(); }
|
714 |
});
|
715 |
+
},
|
716 |
+
ctc_setup_rule_menu = function() {
|
|
|
717 |
ctc_rules = ctc_load_rules();
|
718 |
$('#ctc_rule_menu').autocomplete({
|
719 |
source: ctc_rules,
|
726 |
},
|
727 |
focus: function(e) { e.preventDefault(); }
|
728 |
});
|
729 |
+
},
|
730 |
+
ctc_filtered_rules = function(request, response) {
|
|
|
731 |
var arr = [],
|
732 |
noval = (ctc_is_empty(ctcAjax.sel_val[currentSel])) || (ctc_is_empty(ctcAjax.sel_val[currentSel].value));
|
733 |
if (ctc_is_empty(ctc_rules)) {
|
754 |
}
|
755 |
});
|
756 |
response(arr);
|
757 |
+
},
|
758 |
+
ctc_setup_new_rule_menu = function() {
|
|
|
759 |
$('#ctc_new_rule_menu').autocomplete({
|
760 |
source: ctc_filtered_rules,
|
761 |
//minLength: 0,
|
779 |
},
|
780 |
focus: function(e) { e.preventDefault(); }
|
781 |
});
|
782 |
+
},
|
783 |
+
ctc_setup_menus = function() {
|
|
|
784 |
ctc_setup_query_menu();
|
785 |
ctc_setup_selector_menu(currentQuery);
|
786 |
ctc_setup_rule_menu();
|
787 |
ctc_setup_new_rule_menu();
|
788 |
+
},
|
789 |
+
ctc_theme_exists = function(testslug, testtype) {
|
|
|
790 |
var exists = false;
|
791 |
$.each(ctcAjax.themes, function(type, theme){
|
792 |
$.each(theme, function(slug, data){
|
798 |
if (exists) return false;
|
799 |
});
|
800 |
return exists;
|
801 |
+
},
|
802 |
|
803 |
+
ctc_set_notice = function(noticearr) {
|
804 |
var errorHtml = '';
|
805 |
if (false === ctc_is_empty(noticearr)) {
|
806 |
$.each(noticearr, function(type, list){
|
812 |
});
|
813 |
}
|
814 |
$('#ctc_error_notice').html(errorHtml);
|
815 |
+
},
|
816 |
+
ctc_validate = function() {
|
|
|
817 |
var regex = /[^\w\-]/,
|
818 |
newslug = $('#ctc_child_template').val().toString().replace(regex).toLowerCase(),
|
819 |
slug = $('#ctc_theme_child').val().toString().replace(regex).toLowerCase(),
|
834 |
return false;
|
835 |
}
|
836 |
return true;
|
837 |
+
},
|
838 |
+
ctc_set_theme_menu = function(e) {
|
|
|
839 |
var slug = $('#ctc_theme_child').val();
|
840 |
if (false === ctc_is_empty(ctcAjax.themes.child[slug])) {
|
841 |
$('#ctc_child_name').val(ctcAjax.themes.child[slug].Name);
|
842 |
$('#ctc_child_author').val(ctcAjax.themes.child[slug].Author);
|
843 |
$('#ctc_child_version').val(ctcAjax.themes.child[slug].Version);
|
844 |
}
|
845 |
+
},
|
846 |
+
fade_update_notice = function() {
|
|
|
847 |
$('.updated, .error').slideUp('slow', function(){ $('.updated').remove(); });
|
848 |
+
},
|
849 |
+
|
850 |
+
ctc_set_addl_css = function () {
|
851 |
+
var template = $('#ctc_theme_parnt').val(),
|
852 |
+
theme_uri = ctcAjax.theme_uri.replace(/^https?:\/\//, ''),
|
853 |
+
homeurl = ctcAjax.homeurl.replace(/^https?/, ctcAjax.ssl ? 'https' : 'http'),
|
854 |
+
url = homeurl + '?preview=1&p=x&template=' + template + '&stylesheet=' + template,
|
855 |
+
regex = new RegExp("<link rel=[\"']stylesheet[\"'][^>]+?" + theme_uri + '/' + template + '/(.+?\\.css)[^>]+?>', 'g'),
|
856 |
additional;
|
857 |
if (ctc_is_empty(template)) return;
|
858 |
$.get(url, function(data){
|
859 |
while (additional = regex.exec(data)){
|
|
|
860 |
if ('style.css' == additional[1]) break; // bail after main stylesheet
|
861 |
+
ctcAjax.addl_css.push(additional[1]);
|
862 |
$('.ctc_checkbox').each(function(ndx,el){
|
863 |
if ($(this).val() == additional[1]) $(this).prop('checked', true);
|
864 |
});
|
865 |
}
|
866 |
});
|
867 |
+
},
|
868 |
+
ctc_focus_panel = function (id) {
|
|
|
869 |
var panelid = id + '_panel';
|
870 |
$('.nav-tab').removeClass('nav-tab-active');
|
871 |
$('.ctc-option-panel').removeClass('ctc-option-panel-active');
|
873 |
$(id).addClass('nav-tab-active');
|
874 |
$('.ctc-option-panel-container').scrollTop(0);
|
875 |
$(panelid).addClass('ctc-option-panel-active');
|
876 |
+
},
|
877 |
+
ctc_selector_edit = function(obj) {
|
|
|
878 |
var qsid = $(obj).attr('id').match(/_(\d+)$/)[1],
|
879 |
q = ctcAjax.sel_val[qsid].query,
|
880 |
s = ctcAjax.sel_val[qsid].selector,
|
882 |
ctc_set_query(q);
|
883 |
ctc_set_selector(qsid, s);
|
884 |
ctc_focus_panel(id);
|
885 |
+
},
|
886 |
+
ctc_selector_input_toggle = function(obj) {
|
|
|
887 |
var origval;
|
888 |
if ($('#ctc_rewrite_selector').length) {
|
889 |
origval = $('#ctc_rewrite_selector_orig').val();
|
897 |
$(obj).text(ctcAjax.cancel_txt);
|
898 |
}
|
899 |
}
|
900 |
+
// initialize vars
|
901 |
+
// ajax semaphores: 0 = reload, 1 = loading, 2 = loaded
|
902 |
+
loading = {
|
903 |
+
'rule': 2,
|
904 |
+
'sel_ndx': 2,
|
905 |
+
'val_qry': 0,
|
906 |
+
'rule_val': 0,
|
907 |
+
'sel_val': 0,
|
908 |
+
'preview': 0
|
909 |
+
},
|
910 |
+
|
911 |
+
ctc_selectors = [],
|
912 |
+
ctc_queries = [],
|
913 |
+
ctc_rules = [];
|
914 |
+
// -- end var definitions
|
915 |
|
916 |
// initialize Iris color picker
|
917 |
$('.color-picker').each(function() {
|
js/chld-thm-cfg.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery(document).ready(function(t){function e(t){return s(t)?t:t.toString().replace(B,""")}function c(e){t(e).iris({change:function(){r(e)}})}function a(t){var e=parseInt(t),c=String.fromCharCode(e);return c}function n(t){var e=t.charCodeAt(0);return e}function r(e){var c=/^(ctc_(ovrd|\d+)_(parent|child)_([0-9a-z\-]+)_(\d+))(_\w+)?$/,a=t(e).parents(".ctc-selector-row, .ctc-parent-row").first(),n=a.find(".ctc-swatch").first(),r={parent:{},child:{}},l={parent:{origin:"",start:"",end:""},child:{origin:"",start:"",end:""}},o={child:!1,parent:!1},_={};return a.find(".ctc-parent-value, .ctc-child-value").each(function(){var a,n,u=t(this).attr("id"),d=u.toString().match(c),v=d[2],p=d[3],h="undefined"==typeof d[4]?"":d[4],f=d[5],x="undefined"==typeof d[6]?"":d[6],m="parent"==p?t(this).text():t(this).val(),g="ctc_"+v+"_child_"+h+"_i_"+f;if("child"==p&&(_[u]=m,_[g]=t("#"+g).is(":checked")?1:0),""!=m)if(!1===s(x))switch(x){case"_border_width":r[p][h+"-width"]=m;break;case"_border_style":r[p][h+"-style"]=m;break;case"_border_color":r[p][h+"-color"]=m;break;case"_background_url":r[p]["background-image"]=i(p,m);break;case"_background_color":r[p]["background-color"]=e.value;break;case"_background_color1":l[p].start=m,o[p]=!0;break;case"_background_color2":l[p].end=m,o[p]=!0;break;case"_background_origin":l[p].origin=m,o[p]=!0}else(a=h.toString().match(/^border(\-(top|right|bottom|left))?$/)&&!m.match(/none/))?(n=m.toString().split(/ +/),r[p][h+"-width"]="undefined"==typeof n[0]?"":n[0],r[p][h+"-style"]="undefined"==typeof n[1]?"":n[1],r[p][h+"-color"]="undefined"==typeof n[2]?"":n[2]):"background-image"==h?m.toString().match(/url\(/)?r[p]["background-image"]=i(p,m):(n=m.toString().split(/ +/),n.length>2?(l[p].origin="undefined"==typeof n[0]?"top":n[0],l[p].start="undefined"==typeof n[1]?"transparent":n[1],l[p].end="undefined"==typeof n[2]?"transparent":n[2],o[p]=!0):r[p]["background-image"]=m):r[p][h]=m}),"undefined"!=typeof n&&!1===s(n.attr("id"))&&(t(n).removeAttr("style"),o.parent&&t(n).ctcgrad(l.parent.origin,[l.parent.start,l.parent.end]),t(n).css(r.parent),n.attr("id").toString().match(/parent/)||(o.child&&t(n).ctcgrad(l.child.origin,[l.child.start,l.child.end]),t(n).css(r.child))),_}function l(e){var c,a,n;t(e).each(function(){switch(this.obj){case"imports":ctcAjax.imports=this.data;break;case"rule_val":ctcAjax.rule_val[this.key]=this.data,n=this.key;break;case"val_qry":ctcAjax.val_qry[this.key]=this.data;break;case"rule":ctcAjax.rule=this.data;break;case"sel_ndx":s(this.key)?ctcAjax.sel_ndx=this.data:"qsid"==this.key?(s(ctcAjax.sel_ndx[this.data.query])&&(ctcAjax.sel_ndx[this.data.query]={}),ctcAjax.sel_ndx[this.data.query][this.data.selector]=this.data.qsid):(ctcAjax.sel_ndx[this.key]=this.data,c=this.key);break;case"sel_val":ctcAjax.sel_val[this.key]=this.data,a=this.key;break;case"rewrite":N=this.key,P=this.data}})}function i(t,e){var c,a=e.toString().match(/url\(['" ]*(.+?)['" ]*\)/),n=s(a)?null:a[1],r=ctcAjax.theme_uri+"/"+("parent"==t?ctcAjax.parnt:ctcAjax.child)+"/";return n?c=n.toString().match(/^(https?:|\/)/)?e:"url("+r+n+")":!1}function s(t){if("undefined"==typeof t||!1===t||null===t||""===t)return!0;if(!0===t||"string"==typeof t||"number"==typeof t)return!1;if("object"==typeof t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}return!1}function o(){var e=[];return 1===G.sel_ndx?e:0===G.sel_ndx?(G.sel_ndx=1,x("sel_ndx",null,b),e):(!1===s(ctcAjax.sel_ndx)&&t.each(ctcAjax.sel_ndx,function(t){var c={label:t,value:t};e.push(c)}),e)}function _(e){var c=[];return 1===G.sel_ndx?c:0===G.sel_ndx?(G.sel_ndx=1,x("sel_ndx",e,A),c):(!1===s(ctcAjax.sel_ndx[e])&&t.each(ctcAjax.sel_ndx[e],function(t,e){var a={label:t,value:e};c.push(a)}),c)}function u(){var e=[];return 1===G.rule?e:0===G.rule?(G.rule=1,x("rule",null,k),e):(!1===s(ctcAjax.rule)&&t.each(ctcAjax.rule,function(t,c){var n={label:c.replace(/\d+/g,a),value:t};e.push(n)}),e.sort(function(t,e){return t.label>e.label?1:t.label<e.label?-1:0}))}function d(c,n,r){var l="",i=s(ctcAjax.sel_val[c])||s(ctcAjax.sel_val[c].value)||s(ctcAjax.sel_val[c].value[n])?"":ctcAjax.sel_val[c].value[n],o=g(n,"undefined"==typeof i?"":i.parnt),_=!1===s(i.i_parnt)&&i.i_parnt?ctcAjax.important_label:"",u=g(n,"undefined"==typeof i?"":i.child),d=!1===s(i.i_child)&&i.i_child?1:0,v="ctc_"+r+"_child_"+n+"_i_"+c;return!1===s(ctcAjax.sel_val[c])&&(l+='<div class="ctc-'+("ovrd"==r?"input":"selector")+'-row clearfix">'+Q,l+='<div class="ctc-input-cell">'+("ovrd"==r?n.replace(/\d+/g,a):ctcAjax.sel_val[c].selector+'<br/><a href="#" class="ctc-selector-edit" id="ctc_selector_edit_'+c+'" >'+ctcAjax.edit_txt+"</a> "+(s(o.orig)?ctcAjax.child_only_txt:""))+"</div>"+Q,"ovrd"==r&&(l+='<div class="ctc-parent-value ctc-input-cell" id="ctc_'+r+"_parent_"+n+"_"+c+'">'+(s(o.orig)?"[no value]":o.orig+_)+"</div>"+Q),l+='<div class="ctc-input-cell">'+Q,!1===s(o.names)&&(t.each(o.names,function(t,a){a=s(a)?"":a,l+='<div class="ctc-child-input-cell">'+Q;var i,o="ctc_"+r+"_child_"+n+"_"+c+a;!1===(i=u.values.shift())&&(i=""),l+=(s(a)?"":ctcAjax.field_labels[a]+":<br/>")+'<input type="text" id="'+o+'" name="'+o+'" class="ctc-child-value'+((a+n).toString().match(/color/)?" color-picker":"")+(a.toString().match(/url/)?" ctc-input-wide":"")+'" value="'+e(i)+'" />'+Q,l+="</div>"+Q}),l+='<label for="'+v+'"><input type="checkbox" id="'+v+'" name="'+v+'" value="1" '+(1===d?"checked":"")+" />"+ctcAjax.important_label+"</label>"+Q),l+="</div>"+Q,l+="ovrd"==r?"":'<div class="ctc-swatch ctc-specific" id="ctc_child_'+n+"_"+c+'_swatch">'+ctcAjax.swatch_txt+"</div>"+Q+'<div class="ctc-child-input-cell ctc-button-cell" id="ctc_save_'+n+"_"+c+'_cell">'+Q+'<input type="button" class="button ctc-save-input" id="ctc_save_'+n+"_"+c+'" name="ctc_save_'+n+"_"+c+'" value="Save" /></div>'+Q,l+="</div><!-- end input row -->"+Q),l}function v(e){if(1===G.sel_val)return!1;if(0==G.sel_val)return G.sel_val=1,x("sel_val",e,v),!1;var a,n,l;s(ctcAjax.sel_val[e])?t("#ctc_sel_ovrd_rule_inputs").html(""):(s(ctcAjax.sel_val[e].seq)?t("#ctc_child_load_order_container").html(""):(a="ctc_ovrd_child_seq_"+e,l=parseInt(ctcAjax.sel_val[e].seq),n='<input type="text" id="'+a+'" name="'+a+'" class="ctc-child-value" value="'+l+'" />',t("#ctc_child_load_order_container").html(n)),s(ctcAjax.sel_val[e].value)?t("#ctc_sel_ovrd_rule_inputs").html(""):(n="",t.each(ctcAjax.sel_val[e].value,function(t){n+=d(e,t,"ovrd")}),t("#ctc_sel_ovrd_rule_inputs").html(n).find(".color-picker").each(function(){c(this)}),r("#ctc_child_all_0_swatch")))}function p(e){if(1===G.preview)return!1;if(0==G.preview){G.preview=1;var e;return(e=t(this).attr("id").toString().match(/(child|parnt)/)[1])||(e="child"),F(""),x("preview",e,p),!1}2==G.preview&&(t("#view_"+e+"_options_panel").text(ctcAjax.previewResponse),G.preview=0)}function h(e){if(1===G.rule_val)return!1;if(0==G.rule_val)return G.rule_val=1,x("rule_val",e,h),!1;var c=ctcAjax.rule[e],a='<div class="ctc-input-row clearfix" id="ctc_rule_row_'+c+'">'+Q;!1===s(ctcAjax.rule_val[e])&&(t.each(ctcAjax.rule_val[e],function(t,e){var n=g(c,e);a+='<div class="ctc-parent-row clearfix" id="ctc_rule_row_'+c+"_"+t+'">'+Q,a+='<div class="ctc-input-cell ctc-parent-value" id="ctc_'+t+"_parent_"+c+"_"+t+'">'+n.orig+"</div>"+Q,a+='<div class="ctc-input-cell">'+Q,a+='<div class="ctc-swatch ctc-specific" id="ctc_'+t+"_parent_"+c+"_"+t+'_swatch">'+ctcAjax.swatch_txt+"</div></div>"+Q,a+='<div class="ctc-input-cell"><a href="#" class="ctc-selector-handle" id="ctc_selector_'+c+"_"+t+'">'+ctcAjax.selector_txt+"</a></div>"+Q,a+='<div id="ctc_selector_'+c+"_"+t+'_container" class="ctc-selector-container clearfix">'+Q,a+='<a href="#" id="ctc_selector_'+c+"_"+t+'_close" class="ctc-selector-handle" style="float:right">'+ctcAjax.close_txt+'</a><div id="ctc_status_val_qry_'+t+'"></div>'+Q,a+='<div id="ctc_selector_'+c+"_"+t+'_rows"></div>'+Q,a+="</div></div>"+Q}),a+="</div>"+Q),t("#ctc_rule_value_inputs").html(a).find(".ctc-swatch").each(function(){r(this)})}function f(e){if(1==G.val_qry)return!1;var a,l,i=t("#ctc_rule_menu_selected").text().replace(/[^\w\-]/g,n),o="";return 0===G.val_qry?(G.val_qry=1,a={rule:i},x("val_qry",e,f,a),!1):(!1===s(ctcAjax.val_qry[e])&&t.each(ctcAjax.val_qry[e],function(c,a){page_rule=c,t.each(a,function(a,n){o+='<h4 class="ctc-query-heading">'+a+"</h4>"+Q,!1===s(n)&&t.each(n,function(t,a){ctcAjax.sel_val[t]=a,o+=d(t,c,e)})})}),l="#ctc_selector_"+i+"_"+e+"_rows",t(l).html(o).find(".color-picker").each(function(){c(this)}),void t(l).find(".ctc-swatch").each(function(){r(this)}))}function x(e,c,a,n){var r={ctc_query_obj:e,ctc_query_key:c},i="#ctc_status_"+e+("val_qry"==e?"_"+c:"");return"object"==typeof n&&t.each(n,function(t,e){r["ctc_query_"+t]=e}),t(".ctc-status-icon").remove(),t(i).append('<span class="ctc-status-icon spinner"></span>'),t(".spinner").show(),r.action="ctc_query",r._wpnonce=t("#_wpnonce").val(),t.post(ctcAjax.ajaxurl,r,function(n){return G[e]=2,t(".ctc-status-icon").removeClass("spinner"),s(n)?(t(".ctc-status-icon").addClass("failure"),void("preview"==e&&(ctcAjax.previewResponse=ctcAjax.css_fail_txt,a(c)))):(t(".ctc-status-icon").addClass("success"),"preview"==e?ctcAjax.previewResponse=n.shift().data:l(n),"function"==typeof a&&a(c),!1)},"json").fail(function(){t(".ctc-status-icon").removeClass("spinner"),t(".ctc-status-icon").addClass("failure"),"preview"==e?(ctcAjax.previewResponse=ctcAjax.css_fail_txt,G[e]=2,a(c)):G[e]=0}),!1}function m(e){var c,a,n,i,o={},_=t(e).attr("id");return s(V[_])&&(V[_]=0),V[_]++,t(e).prop("disabled",!0),t(".ctc-status-icon").remove(),t(e).parent(".ctc-textarea-button-cell, .ctc-button-cell").append('<span class="ctc-status-icon spinner"></span>'),t(".spinner").show(),(c=t("#ctc_new_selectors"))&&"ctc_save_new_selectors"==t(e).attr("id")?(o.ctc_new_selectors=c.val(),(a=t("#ctc_sel_ovrd_query_selected"))&&(o.ctc_sel_ovrd_query=a.text())):(n=t("#ctc_child_imports"))&&"ctc_save_imports"==t(e).attr("id")?o.ctc_child_imports=n.val():o=r(e),t("#ctc_sel_ovrd_selector_selected").find("#ctc_rewrite_selector").each(function(){i=t("#ctc_rewrite_selector").val(),origsel=t("#ctc_rewrite_selector_orig").val(),s(i)||!i.toString().match(/\w/)?i=origsel:o.ctc_rewrite_selector=i,t(".ctc-rewrite-toggle").text(ctcAjax.rename_txt),t("#ctc_sel_ovrd_selector_selected").html(i)}),o.action="ctc_update",o._wpnonce=t("#_wpnonce").val(),t.post(ctcAjax.ajaxurl,o,function(c){return t(e).prop("disabled",!1),t(".ctc-status-icon").removeClass("spinner"),s(c)?t(".ctc-status-icon").addClass("failure"):(t(".ctc-status-icon").addClass("success"),t("#ctc_new_selectors").val(""),l(c),C(),!1===s(N)&&(j(N,P),N=P=null)),!1},"json").fail(function(){t(e).prop("disabled",!1),t(".ctc-status-icon").removeClass("spinner"),t(".ctc-status-icon").addClass("failure")}),!1}function g(t,e){e="undefined"==typeof e?"":e;var c={orig:e};if(t.toString().match(/^border(\-(top|right|bottom|left))?$/)){var a=e.toString().split(/ +/);c.names=["_border_width","_border_style","_border_color"],c.values=["undefined"==typeof a[0]?"":a[0],"undefined"==typeof a[1]?"":a[1],"undefined"==typeof a[2]?"":a[2]]}else if(t.toString().match(/^background\-image/))if(c.names=["_background_url","_background_origin","_background_color1","_background_color2"],c.values=["","","",""],!1!==s(e)||e.toString().match(/url/))c.values[0]=e;else{var a=e.toString().split(/:/);c.values[1]="undefined"==typeof a[0]?"":a[0],c.values[2]="undefined"==typeof a[1]?"":a[1],c.values[3]="undefined"==typeof a[3]?"":a[3],c.orig=[c.values[1],c.values[2],c.values[3]].join(" ")}else c.names=[""],c.values=[e];return c}function w(e){U=e,t("#ctc_sel_ovrd_query").val(""),t("#ctc_sel_ovrd_query_selected").text(e),t("#ctc_sel_ovrd_selector").val(""),t("#ctc_sel_ovrd_selector_selected").html(" "),t("#ctc_sel_ovrd_rule_inputs").html(""),A(e),r("#ctc_child_all_0_swatch"),t("#ctc_new_selector_row").show()}function j(e,c){t("#ctc_sel_ovrd_selector").val(""),t("#ctc_sel_ovrd_selector_selected").text(c),t("#ctc_sel_ovrd_qsid").val(e),O=e,1!=G.sel_val&&(G.sel_val=0),v(e),t(".ctc-rewrite-toggle").text(ctcAjax.rename_txt),t("#ctc_sel_ovrd_new_rule, #ctc_sel_ovrd_rule_header,#ctc_sel_ovrd_rule_inputs_container,#ctc_sel_ovrd_rule_inputs,.ctc-rewrite-toggle").show()}function y(e,c){t("#ctc_rule_menu").val(""),t("#ctc_rule_menu_selected").text(c),1!=G.rule_val&&(G.rule_val=0),h(e),t(".ctc-rewrite-toggle").text(ctcAjax.rename_txt),t("#ctc_rule_value_inputs,#ctc_input_row_rule_header").show()}function b(){J=o(),t("#ctc_sel_ovrd_query").autocomplete({source:J,minLength:0,selectFirst:!0,autoFocus:!0,select:function(t,e){return w(e.item.value),!1},focus:function(t){t.preventDefault()}})}function A(e){H=_(e),t("#ctc_sel_ovrd_selector").autocomplete({source:H,selectFirst:!0,autoFocus:!0,select:function(t,e){return j(e.item.value,e.item.label),!1},focus:function(t){t.preventDefault()}})}function k(){K=u(),t("#ctc_rule_menu").autocomplete({source:K,selectFirst:!0,autoFocus:!0,select:function(t,e){return y(e.item.value,e.item.label),!1},focus:function(t){t.preventDefault()}})}function q(e,c){var n=[],r=s(ctcAjax.sel_val[O])||s(ctcAjax.sel_val[O].value);s(K)&&(K=u()),t.each(K,function(c,l){var i=!1,s=new RegExp(t.ui.autocomplete.escapeRegex(e.term),"i");if(s.test(l.label)){if(!1===r&&(t.each(ctcAjax.sel_val[O].value,function(t){return l.label==t.replace(/\d+/g,a)?(i=!0,!1):void 0}),i))return;n.push(l)}}),c(n)}function S(){t("#ctc_new_rule_menu").autocomplete({source:q,selectFirst:!0,autoFocus:!0,select:function(e,a){e.preventDefault();var r=t(d(O,a.item.label.replace(/[^\w\-]/g,n),"ovrd"));return t("#ctc_sel_ovrd_rule_inputs").append(r),t("#ctc_new_rule_menu").val(""),s(ctcAjax.sel_val[O].value)&&(ctcAjax.sel_val[O].value={}),ctcAjax.sel_val[O].value[a.item.label]={child:""},r.find('input[type="text"]').each(function(e,a){t(a).hasClass("color-picker")&&c(a),t(a).focus()}),!1},focus:function(t){t.preventDefault()}})}function C(){b(),A(U),k(),S()}function D(e,c){var a=!1;return t.each(ctcAjax.themes,function(n,r){return t.each(r,function(t){return t!=e||"parnt"!=n&&"new"!=c?void 0:(a=!0,!1)}),a?!1:void 0}),a}function F(e){var c="";!1===s(e)&&t.each(e,function(e,a){c+='<div class="'+e+'"><ul>'+Q,t(a).each(function(t,e){c+="<li>"+e.toString()+"</li>"+Q}),c+="</ul></div>"}),t("#ctc_error_notice").html(c)}function R(){var e=/[^\w\-]/,c=t("#ctc_child_template").val().toString().replace(e).toLowerCase(),a=t("#ctc_theme_child").val().toString().replace(e).toLowerCase(),n=t("input[name=ctc_child_type]:checked").val(),r=[];return"new"==n&&(a=c),D(a,n)&&r.push(ctcAjax.theme_exists_txt.toString().replace(/%s/,a)),""===a&&r.push(ctcAjax.inval_theme_txt),""===t("#ctc_child_name").val()&&r.push(ctcAjax.inval_name_txt),r.length?(F({error:r}),!1):!0}function $(){var e=t("#ctc_theme_child").val();!1===s(ctcAjax.themes.child[e])&&(t("#ctc_child_name").val(ctcAjax.themes.child[e].Name),t("#ctc_child_author").val(ctcAjax.themes.child[e].Author),t("#ctc_child_version").val(ctcAjax.themes.child[e].Version))}function T(){t(".updated, .error").slideUp("slow",function(){t(".updated").remove()})}function E(){var e,c=t("#ctc_theme_parnt").val(),a=ctcAjax.homeurl+"?preview=1&template="+c+"&stylesheet="+c,n=new RegExp("<link rel=[\"']stylesheet[\"'][^>]+?"+ctcAjax.theme_uri+"/"+c+"/(.+?\\.css)[^>]+?>","g");s(c)||t.get(a,function(c){for(;(e=n.exec(c))&&(ctcAjax.addl_css.push(e[1]),"style.css"!=e[1]);)t(".ctc_checkbox").each(function(){t(this).val()==e[1]&&t(this).prop("checked",!0)})})}function L(e){var c=e+"_panel";t(".nav-tab").removeClass("nav-tab-active"),t(".ctc-option-panel").removeClass("ctc-option-panel-active"),t(".ctc-selector-container").hide(),t(e).addClass("nav-tab-active"),t(".ctc-option-panel-container").scrollTop(0),t(c).addClass("ctc-option-panel-active")}function z(e){var c=t(e).attr("id").match(/_(\d+)$/)[1],a=ctcAjax.sel_val[c].query,n=ctcAjax.sel_val[c].selector,r="#query_selector_options";w(a),j(c,n),L(r)}function I(c){var a;t("#ctc_rewrite_selector").length?(a=t("#ctc_rewrite_selector_orig").val(),t("#ctc_sel_ovrd_selector_selected").text(a),t(c).text(ctcAjax.rename_txt)):(a=t("#ctc_sel_ovrd_selector_selected").text(),t("#ctc_sel_ovrd_selector_selected").html('<input id="ctc_rewrite_selector" name="ctc_rewrite_selector" type="text" value="'+e(a)+'" autocomplete="off" /><input id="ctc_rewrite_selector_orig" name="ctc_rewrite_selector_orig" type="hidden" value="'+e(a)+'"/>'),t(c).text(ctcAjax.cancel_txt))}var O,N,P,Q="\n",U="base",V={},B=new RegExp('"',"g"),G={rule:2,sel_ndx:2,val_qry:0,rule_val:0,sel_val:0,preview:0},H=[],J=[],K=[];t(".color-picker").each(function(){c(this)}),t(".ctc-option-panel-container").on("focus",".color-picker",function(){F(""),t(this).iris("toggle"),t(".iris-picker").css({position:"absolute","z-index":10})}),t(".ctc-option-panel-container").on("focus","input",function(){F(""),t(".color-picker").not(this).iris("hide")}),t(".ctc-option-panel-container").on("change",".ctc-child-value, input[type=checkbox]",function(){r(this)}),t(".ctc-option-panel-container").on("click",".ctc-selector-handle",function(e){e.preventDefault(),F("");var c=t(this).attr("id").toString().replace("_close",""),a=c.toString().match(/_(\d+)$/)[1];t("#"+c+"_container").is(":hidden")&&(1!=G.val_qry&&(G.val_qry=0),f(a)),t("#"+c+"_container").fadeToggle("fast"),t(".ctc-selector-container").not("#"+c+"_container").fadeOut("fast")}),t(".nav-tab").on("click",function(e){e.preventDefault(),F(""),t(".ctc-status-icon").remove();var c="#"+t(this).attr("id");L(c)}),t("#view_child_options,#view_parnt_options").on("click",p),t("#ctc_load_form").on("submit",function(){return R()&&confirm(ctcAjax.load_txt)}),t("#parent_child_options_panel").on("change","#ctc_theme_child",$),t(document).on("click",".ctc-save-input",function(){m(this)}),t(document).on("click",".ctc-selector-edit",function(){z(this)}),t(document).on("click",".ctc-rewrite-toggle",function(t){t.preventDefault(),I(this)}),t(document).on("change","#ctc_theme_parnt",function(){t(this).parents(".ctc-input-row").first().append('<span class="ctc-status-icon spinner"></span>'),t(".spinner").show(),document.location="?page=chld_thm_cfg_menu&ctc_parent="+t(this).val()}),t(document).on("click","#ctc_additional_css_label",function(){t(this).toggleClass("open"),t("#ctc_additional_css_files").slideToggle("fast")}),C(),w(U),E(),t("input[type=submit],input[type=button]").prop("disabled",!1),setTimeout(T,6e3)});
|
1 |
+
jQuery(document).ready(function(t){var e,c,a,n="\n",l="base",r={},i=new RegExp('"',"g"),o=function(t){return h(t)?t:t.toString().replace(i,""")},s=function(e){t(e).iris({change:function(){d(e)}})},_=function(t){var e=parseInt(t),c=String.fromCharCode(e);return c},u=function(t){var e=t.charCodeAt(0);return e},d=function(e){var c=/^(ctc_(ovrd|\d+)_(parent|child)_([0-9a-z\-]+)_(\d+))(_\w+)?$/,a=t(e).parents(".ctc-selector-row, .ctc-parent-row").first(),n=a.find(".ctc-swatch").first(),l={parent:{},child:{}},r={parent:{origin:"",start:"",end:""},child:{origin:"",start:"",end:""}},i={child:!1,parent:!1},o={};return a.find(".ctc-parent-value, .ctc-child-value").each(function(){var a,n,s=t(this).attr("id"),_=s.toString().match(c),u=_[2],d=_[3],v="undefined"==typeof _[4]?"":_[4],f=_[5],x="undefined"==typeof _[6]?"":_[6],g="parent"==d?t(this).text():t(this).val(),m="ctc_"+u+"_child_"+v+"_i_"+f;if("child"==d&&(o[s]=g,o[m]=t("#"+m).is(":checked")?1:0),""!=g)if(!1===h(x))switch(x){case"_border_width":l[d][v+"-width"]=g;break;case"_border_style":l[d][v+"-style"]=g;break;case"_border_color":l[d][v+"-color"]=g;break;case"_background_url":l[d]["background-image"]=p(d,g);break;case"_background_color":l[d]["background-color"]=e.value;break;case"_background_color1":r[d].start=g,i[d]=!0;break;case"_background_color2":r[d].end=g,i[d]=!0;break;case"_background_origin":r[d].origin=g,i[d]=!0}else(a=v.toString().match(/^border(\-(top|right|bottom|left))?$/)&&!g.match(/none/))?(n=g.toString().split(/ +/),l[d][v+"-width"]="undefined"==typeof n[0]?"":n[0],l[d][v+"-style"]="undefined"==typeof n[1]?"":n[1],l[d][v+"-color"]="undefined"==typeof n[2]?"":n[2]):"background-image"==v?g.toString().match(/url\(/)?l[d]["background-image"]=p(d,g):(n=g.toString().split(/ +/),n.length>2?(r[d].origin="undefined"==typeof n[0]?"top":n[0],r[d].start="undefined"==typeof n[1]?"transparent":n[1],r[d].end="undefined"==typeof n[2]?"transparent":n[2],i[d]=!0):l[d]["background-image"]=g):l[d][v]=g}),"undefined"!=typeof n&&!1===h(n.attr("id"))&&(t(n).removeAttr("style"),i.parent&&t(n).ctcgrad(r.parent.origin,[r.parent.start,r.parent.end]),t(n).css(l.parent),n.attr("id").toString().match(/parent/)||(i.child&&t(n).ctcgrad(r.child.origin,[r.child.start,r.child.end]),t(n).css(l.child))),o},v=function(e){var n,l,r;t(e).each(function(){switch(this.obj){case"imports":ctcAjax.imports=this.data;break;case"rule_val":ctcAjax.rule_val[this.key]=this.data,r=this.key;break;case"val_qry":ctcAjax.val_qry[this.key]=this.data;break;case"rule":ctcAjax.rule=this.data;break;case"sel_ndx":h(this.key)?ctcAjax.sel_ndx=this.data:"qsid"==this.key?(h(ctcAjax.sel_ndx[this.data.query])&&(ctcAjax.sel_ndx[this.data.query]={}),ctcAjax.sel_ndx[this.data.query][this.data.selector]=this.data.qsid):(ctcAjax.sel_ndx[this.key]=this.data,n=this.key);break;case"sel_val":ctcAjax.sel_val[this.key]=this.data,l=this.key;break;case"rewrite":c=this.key,a=this.data}})},p=function(t,e){var c,a=e.toString().match(/url\(['" ]*(.+?)['" ]*\)/),n=h(a)?null:a[1],l=ctcAjax.theme_uri+"/"+("parent"==t?ctcAjax.parnt:ctcAjax.child)+"/";return n?c=n.toString().match(/^(https?:|\/)/)?e:"url("+l+n+")":!1},h=function(t){if("undefined"==typeof t||!1===t||null===t||""===t)return!0;if(!0===t||"string"==typeof t||"number"==typeof t)return!1;if("object"==typeof t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}return!1},f=function(){var e=[];return 1===loading.sel_ndx?e:0===loading.sel_ndx?(loading.sel_ndx=1,A("sel_ndx",null,F),e):(!1===h(ctcAjax.sel_ndx)&&t.each(ctcAjax.sel_ndx,function(t){var c={label:t,value:t};e.push(c)}),e)},x=function(e){var c=[];return 1===loading.sel_ndx?c:0===loading.sel_ndx?(loading.sel_ndx=1,A("sel_ndx",e,R),c):(!1===h(ctcAjax.sel_ndx[e])&&t.each(ctcAjax.sel_ndx[e],function(t,e){var a={label:t,value:e};c.push(a)}),c)},g=function(){var e=[];return 1===loading.rule?e:0===loading.rule?(loading.rule=1,A("rule",null,$),e):(!1===h(ctcAjax.rule)&&t.each(ctcAjax.rule,function(t,c){var a={label:c.replace(/\d+/g,_),value:t};e.push(a)}),e.sort(function(t,e){return t.label>e.label?1:t.label<e.label?-1:0}))},m=function(e,c,a){var l="",r=h(ctcAjax.sel_val[e])||h(ctcAjax.sel_val[e].value)||h(ctcAjax.sel_val[e].value[c])?"":ctcAjax.sel_val[e].value[c],i=q(c,"undefined"==typeof r?"":r.parnt),s=!1===h(r.i_parnt)&&r.i_parnt?ctcAjax.important_label:"",u=q(c,"undefined"==typeof r?"":r.child),d=!1===h(r.i_child)&&r.i_child?1:0,v="ctc_"+a+"_child_"+c+"_i_"+e;return!1===h(ctcAjax.sel_val[e])&&(l+='<div class="ctc-'+("ovrd"==a?"input":"selector")+'-row clearfix">'+n,l+='<div class="ctc-input-cell">'+("ovrd"==a?c.replace(/\d+/g,_):ctcAjax.sel_val[e].selector+'<br/><a href="#" class="ctc-selector-edit" id="ctc_selector_edit_'+e+'" >'+ctcAjax.edit_txt+"</a> "+(h(i.orig)?ctcAjax.child_only_txt:""))+"</div>"+n,"ovrd"==a&&(l+='<div class="ctc-parent-value ctc-input-cell" id="ctc_'+a+"_parent_"+c+"_"+e+'">'+(h(i.orig)?"[no value]":i.orig+s)+"</div>"+n),l+='<div class="ctc-input-cell">'+n,!1===h(i.names)&&(t.each(i.names,function(t,r){r=h(r)?"":r,l+='<div class="ctc-child-input-cell">'+n;var i,s="ctc_"+a+"_child_"+c+"_"+e+r;!1===(i=u.values.shift())&&(i=""),l+=(h(r)?"":ctcAjax.field_labels[r]+":<br/>")+'<input type="text" id="'+s+'" name="'+s+'" class="ctc-child-value'+((r+c).toString().match(/color/)?" color-picker":"")+(r.toString().match(/url/)?" ctc-input-wide":"")+'" value="'+o(i)+'" />'+n,l+="</div>"+n}),l+='<label for="'+v+'"><input type="checkbox" id="'+v+'" name="'+v+'" value="1" '+(1===d?"checked":"")+" />"+ctcAjax.important_label+"</label>"+n),l+="</div>"+n,l+="ovrd"==a?"":'<div class="ctc-swatch ctc-specific" id="ctc_child_'+c+"_"+e+'_swatch">'+ctcAjax.swatch_txt+"</div>"+n+'<div class="ctc-child-input-cell ctc-button-cell" id="ctc_save_'+c+"_"+e+'_cell">'+n+'<input type="button" class="button ctc-save-input" id="ctc_save_'+c+"_"+e+'" name="ctc_save_'+c+"_"+e+'" value="Save" /></div>'+n,l+="</div><!-- end input row -->"+n),l},w=function(e){if(1===loading.sel_val)return!1;if(0==loading.sel_val)return loading.sel_val=1,A("sel_val",e,w),!1;var c,a,n;h(ctcAjax.sel_val[e])?t("#ctc_sel_ovrd_rule_inputs").html(""):(h(ctcAjax.sel_val[e].seq)?t("#ctc_child_load_order_container").html(""):(c="ctc_ovrd_child_seq_"+e,n=parseInt(ctcAjax.sel_val[e].seq),a='<input type="text" id="'+c+'" name="'+c+'" class="ctc-child-value" value="'+n+'" />',t("#ctc_child_load_order_container").html(a)),h(ctcAjax.sel_val[e].value)?t("#ctc_sel_ovrd_rule_inputs").html(""):(a="",t.each(ctcAjax.sel_val[e].value,function(t){a+=m(e,t,"ovrd")}),t("#ctc_sel_ovrd_rule_inputs").html(a).find(".color-picker").each(function(){s(this)}),d("#ctc_child_all_0_swatch")))},j=function(e){if(1===loading.preview)return!1;if(0==loading.preview){loading.preview=1;var e;return(e=t(this).attr("id").toString().match(/(child|parnt)/)[1])||(e="child"),I(""),A("preview",e,j),!1}2==loading.preview&&(t("#view_"+e+"_options_panel").text(ctcAjax.previewResponse),loading.preview=0)},y=function(e){if(1===loading.rule_val)return!1;if(0==loading.rule_val)return loading.rule_val=1,A("rule_val",e,y),!1;var c=ctcAjax.rule[e],a='<div class="ctc-input-row clearfix" id="ctc_rule_row_'+c+'">'+n;!1===h(ctcAjax.rule_val[e])&&(t.each(ctcAjax.rule_val[e],function(t,e){var l=q(c,e);a+='<div class="ctc-parent-row clearfix" id="ctc_rule_row_'+c+"_"+t+'">'+n,a+='<div class="ctc-input-cell ctc-parent-value" id="ctc_'+t+"_parent_"+c+"_"+t+'">'+l.orig+"</div>"+n,a+='<div class="ctc-input-cell">'+n,a+='<div class="ctc-swatch ctc-specific" id="ctc_'+t+"_parent_"+c+"_"+t+'_swatch">'+ctcAjax.swatch_txt+"</div></div>"+n,a+='<div class="ctc-input-cell"><a href="#" class="ctc-selector-handle" id="ctc_selector_'+c+"_"+t+'">'+ctcAjax.selector_txt+"</a></div>"+n,a+='<div id="ctc_selector_'+c+"_"+t+'_container" class="ctc-selector-container clearfix">'+n,a+='<a href="#" id="ctc_selector_'+c+"_"+t+'_close" class="ctc-selector-handle" style="float:right">'+ctcAjax.close_txt+'</a><div id="ctc_status_val_qry_'+t+'"></div>'+n,a+='<div id="ctc_selector_'+c+"_"+t+'_rows"></div>'+n,a+="</div></div>"+n}),a+="</div>"+n),t("#ctc_rule_value_inputs").html(a).find(".ctc-swatch").each(function(){d(this)})},b=function(e){if(1==loading.val_qry)return!1;var c,a,l=t("#ctc_rule_menu_selected").text().replace(/[^\w\-]/g,u),r="";return 0===loading.val_qry?(loading.val_qry=1,c={rule:l},A("val_qry",e,b,c),!1):(!1===h(ctcAjax.val_qry[e])&&t.each(ctcAjax.val_qry[e],function(c,a){page_rule=c,t.each(a,function(a,l){r+='<h4 class="ctc-query-heading">'+a+"</h4>"+n,!1===h(l)&&t.each(l,function(t,a){ctcAjax.sel_val[t]=a,r+=m(t,c,e)})})}),a="#ctc_selector_"+l+"_"+e+"_rows",t(a).html(r).find(".color-picker").each(function(){s(this)}),void t(a).find(".ctc-swatch").each(function(){d(this)}))},A=function(e,c,a,n){var l={ctc_query_obj:e,ctc_query_key:c},r="#ctc_status_"+e+("val_qry"==e?"_"+c:"");return"object"==typeof n&&t.each(n,function(t,e){l["ctc_query_"+t]=e}),t(".ctc-status-icon").remove(),t(r).append('<span class="ctc-status-icon spinner"></span>'),t(".spinner").show(),l.action="ctc_query",l._wpnonce=t("#_wpnonce").val(),t.post(ctcAjax.ajaxurl,l,function(n){return loading[e]=2,t(".ctc-status-icon").removeClass("spinner"),h(n)?(t(".ctc-status-icon").addClass("failure"),void("preview"==e&&(ctcAjax.previewResponse=ctcAjax.css_fail_txt,a(c)))):(t(".ctc-status-icon").addClass("success"),"preview"==e?ctcAjax.previewResponse=n.shift().data:v(n),"function"==typeof a&&a(c),!1)},"json").fail(function(){t(".ctc-status-icon").removeClass("spinner"),t(".ctc-status-icon").addClass("failure"),"preview"==e?(ctcAjax.previewResponse=ctcAjax.css_fail_txt,loading[e]=2,a(c)):loading[e]=0}),!1},k=function(e){var n,l,i,o,s={},_=t(e).attr("id");return h(r[_])&&(r[_]=0),r[_]++,t(e).prop("disabled",!0),t(".ctc-status-icon").remove(),t(e).parent(".ctc-textarea-button-cell, .ctc-button-cell").append('<span class="ctc-status-icon spinner"></span>'),t(".spinner").show(),(n=t("#ctc_new_selectors"))&&"ctc_save_new_selectors"==t(e).attr("id")?(s.ctc_new_selectors=n.val(),(l=t("#ctc_sel_ovrd_query_selected"))&&(s.ctc_sel_ovrd_query=l.text())):(i=t("#ctc_child_imports"))&&"ctc_save_imports"==t(e).attr("id")?s.ctc_child_imports=i.val():s=d(e),t("#ctc_sel_ovrd_selector_selected").find("#ctc_rewrite_selector").each(function(){o=t("#ctc_rewrite_selector").val(),origsel=t("#ctc_rewrite_selector_orig").val(),h(o)||!o.toString().match(/\w/)?o=origsel:s.ctc_rewrite_selector=o,t(".ctc-rewrite-toggle").text(ctcAjax.rename_txt),t("#ctc_sel_ovrd_selector_selected").html(o)}),s.action="ctc_update",s._wpnonce=t("#_wpnonce").val(),t.post(ctcAjax.ajaxurl,s,function(n){return t(e).prop("disabled",!1),t(".ctc-status-icon").removeClass("spinner"),h(n)?t(".ctc-status-icon").addClass("failure"):(t(".ctc-status-icon").addClass("success"),t("#ctc_new_selectors").val(""),v(n),L(),!1===h(c)&&(C(c,a),c=a=null)),!1},"json").fail(function(){t(e).prop("disabled",!1),t(".ctc-status-icon").removeClass("spinner"),t(".ctc-status-icon").addClass("failure")}),!1},q=function(t,e){e="undefined"==typeof e?"":e;var c={orig:e};if(t.toString().match(/^border(\-(top|right|bottom|left))?$/)){var a=e.toString().split(/ +/);c.names=["_border_width","_border_style","_border_color"],c.values=["undefined"==typeof a[0]?"":a[0],"undefined"==typeof a[1]?"":a[1],"undefined"==typeof a[2]?"":a[2]]}else if(t.toString().match(/^background\-image/))if(c.names=["_background_url","_background_origin","_background_color1","_background_color2"],c.values=["","","",""],!1!==h(e)||e.toString().match(/url/))c.values[0]=e;else{var a=e.toString().split(/:/);c.values[1]="undefined"==typeof a[0]?"":a[0],c.values[2]="undefined"==typeof a[1]?"":a[1],c.values[3]="undefined"==typeof a[3]?"":a[3],c.orig=[c.values[1],c.values[2],c.values[3]].join(" ")}else c.names=[""],c.values=[e];return c},S=function(e){l=e,t("#ctc_sel_ovrd_query").val(""),t("#ctc_sel_ovrd_query_selected").text(e),t("#ctc_sel_ovrd_selector").val(""),t("#ctc_sel_ovrd_selector_selected").html(" "),t("#ctc_sel_ovrd_rule_inputs").html(""),R(e),d("#ctc_child_all_0_swatch"),t("#ctc_new_selector_row").show()},C=function(c,a){t("#ctc_sel_ovrd_selector").val(""),t("#ctc_sel_ovrd_selector_selected").text(a),t("#ctc_sel_ovrd_qsid").val(c),e=c,1!=loading.sel_val&&(loading.sel_val=0),w(c),t(".ctc-rewrite-toggle").text(ctcAjax.rename_txt),t("#ctc_sel_ovrd_new_rule, #ctc_sel_ovrd_rule_header,#ctc_sel_ovrd_rule_inputs_container,#ctc_sel_ovrd_rule_inputs,.ctc-rewrite-toggle").show()},D=function(e,c){t("#ctc_rule_menu").val(""),t("#ctc_rule_menu_selected").text(c),1!=loading.rule_val&&(loading.rule_val=0),y(e),t(".ctc-rewrite-toggle").text(ctcAjax.rename_txt),t("#ctc_rule_value_inputs,#ctc_input_row_rule_header").show()},F=function(){ctc_queries=f(),t("#ctc_sel_ovrd_query").autocomplete({source:ctc_queries,minLength:0,selectFirst:!0,autoFocus:!0,select:function(t,e){return S(e.item.value),!1},focus:function(t){t.preventDefault()}})},R=function(e){ctc_selectors=x(e),t("#ctc_sel_ovrd_selector").autocomplete({source:ctc_selectors,selectFirst:!0,autoFocus:!0,select:function(t,e){return C(e.item.value,e.item.label),!1},focus:function(t){t.preventDefault()}})},$=function(){ctc_rules=g(),t("#ctc_rule_menu").autocomplete({source:ctc_rules,selectFirst:!0,autoFocus:!0,select:function(t,e){return D(e.item.value,e.item.label),!1},focus:function(t){t.preventDefault()}})},T=function(c,a){var n=[],l=h(ctcAjax.sel_val[e])||h(ctcAjax.sel_val[e].value);h(ctc_rules)&&(ctc_rules=g()),t.each(ctc_rules,function(a,r){var i=!1,o=new RegExp(t.ui.autocomplete.escapeRegex(c.term),"i");if(o.test(r.label)){if(!1===l&&(t.each(ctcAjax.sel_val[e].value,function(t){return r.label==t.replace(/\d+/g,_)?(i=!0,!1):void 0}),i))return;n.push(r)}}),a(n)},E=function(){t("#ctc_new_rule_menu").autocomplete({source:T,selectFirst:!0,autoFocus:!0,select:function(c,a){c.preventDefault();var n=t(m(e,a.item.label.replace(/[^\w\-]/g,u),"ovrd"));return t("#ctc_sel_ovrd_rule_inputs").append(n),t("#ctc_new_rule_menu").val(""),h(ctcAjax.sel_val[e].value)&&(ctcAjax.sel_val[e].value={}),ctcAjax.sel_val[e].value[a.item.label]={child:""},n.find('input[type="text"]').each(function(e,c){t(c).hasClass("color-picker")&&s(c),t(c).focus()}),!1},focus:function(t){t.preventDefault()}})},L=function(){F(),R(l),$(),E()},z=function(e,c){var a=!1;return t.each(ctcAjax.themes,function(n,l){return t.each(l,function(t){return t!=e||"parnt"!=n&&"new"!=c?void 0:(a=!0,!1)}),a?!1:void 0}),a},I=function(e){var c="";!1===h(e)&&t.each(e,function(e,a){c+='<div class="'+e+'"><ul>'+n,t(a).each(function(t,e){c+="<li>"+e.toString()+"</li>"+n}),c+="</ul></div>"}),t("#ctc_error_notice").html(c)},O=function(){var e=/[^\w\-]/,c=t("#ctc_child_template").val().toString().replace(e).toLowerCase(),a=t("#ctc_theme_child").val().toString().replace(e).toLowerCase(),n=t("input[name=ctc_child_type]:checked").val(),l=[];return"new"==n&&(a=c),z(a,n)&&l.push(ctcAjax.theme_exists_txt.toString().replace(/%s/,a)),""===a&&l.push(ctcAjax.inval_theme_txt),""===t("#ctc_child_name").val()&&l.push(ctcAjax.inval_name_txt),l.length?(I({error:l}),!1):!0},N=function(){var e=t("#ctc_theme_child").val();!1===h(ctcAjax.themes.child[e])&&(t("#ctc_child_name").val(ctcAjax.themes.child[e].Name),t("#ctc_child_author").val(ctcAjax.themes.child[e].Author),t("#ctc_child_version").val(ctcAjax.themes.child[e].Version))},P=function(){t(".updated, .error").slideUp("slow",function(){t(".updated").remove()})},Q=function(){var e,c=t("#ctc_theme_parnt").val(),a=ctcAjax.theme_uri.replace(/^https?:\/\//,""),n=ctcAjax.homeurl.replace(/^https?/,ctcAjax.ssl?"https":"http"),l=n+"?preview=1&p=x&template="+c+"&stylesheet="+c,r=new RegExp("<link rel=[\"']stylesheet[\"'][^>]+?"+a+"/"+c+"/(.+?\\.css)[^>]+?>","g");h(c)||t.get(l,function(c){for(;(e=r.exec(c))&&"style.css"!=e[1];)ctcAjax.addl_css.push(e[1]),t(".ctc_checkbox").each(function(){t(this).val()==e[1]&&t(this).prop("checked",!0)})})},U=function(e){var c=e+"_panel";t(".nav-tab").removeClass("nav-tab-active"),t(".ctc-option-panel").removeClass("ctc-option-panel-active"),t(".ctc-selector-container").hide(),t(e).addClass("nav-tab-active"),t(".ctc-option-panel-container").scrollTop(0),t(c).addClass("ctc-option-panel-active")},V=function(e){var c=t(e).attr("id").match(/_(\d+)$/)[1],a=ctcAjax.sel_val[c].query,n=ctcAjax.sel_val[c].selector,l="#query_selector_options";S(a),C(c,n),U(l)},B=function(e){var c;t("#ctc_rewrite_selector").length?(c=t("#ctc_rewrite_selector_orig").val(),t("#ctc_sel_ovrd_selector_selected").text(c),t(e).text(ctcAjax.rename_txt)):(c=t("#ctc_sel_ovrd_selector_selected").text(),t("#ctc_sel_ovrd_selector_selected").html('<input id="ctc_rewrite_selector" name="ctc_rewrite_selector" type="text" value="'+o(c)+'" autocomplete="off" /><input id="ctc_rewrite_selector_orig" name="ctc_rewrite_selector_orig" type="hidden" value="'+o(c)+'"/>'),t(e).text(ctcAjax.cancel_txt))};loading={rule:2,sel_ndx:2,val_qry:0,rule_val:0,sel_val:0,preview:0},ctc_selectors=[],ctc_queries=[],ctc_rules=[],t(".color-picker").each(function(){s(this)}),t(".ctc-option-panel-container").on("focus",".color-picker",function(){I(""),t(this).iris("toggle"),t(".iris-picker").css({position:"absolute","z-index":10})}),t(".ctc-option-panel-container").on("focus","input",function(){I(""),t(".color-picker").not(this).iris("hide")}),t(".ctc-option-panel-container").on("change",".ctc-child-value, input[type=checkbox]",function(){d(this)}),t(".ctc-option-panel-container").on("click",".ctc-selector-handle",function(e){e.preventDefault(),I("");var c=t(this).attr("id").toString().replace("_close",""),a=c.toString().match(/_(\d+)$/)[1];t("#"+c+"_container").is(":hidden")&&(1!=loading.val_qry&&(loading.val_qry=0),b(a)),t("#"+c+"_container").fadeToggle("fast"),t(".ctc-selector-container").not("#"+c+"_container").fadeOut("fast")}),t(".nav-tab").on("click",function(e){e.preventDefault(),I(""),t(".ctc-status-icon").remove();var c="#"+t(this).attr("id");U(c)}),t("#view_child_options,#view_parnt_options").on("click",j),t("#ctc_load_form").on("submit",function(){return O()&&confirm(ctcAjax.load_txt)}),t("#parent_child_options_panel").on("change","#ctc_theme_child",N),t(document).on("click",".ctc-save-input",function(){k(this)}),t(document).on("click",".ctc-selector-edit",function(){V(this)}),t(document).on("click",".ctc-rewrite-toggle",function(t){t.preventDefault(),B(this)}),t(document).on("change","#ctc_theme_parnt",function(){t(this).parents(".ctc-input-row").first().append('<span class="ctc-status-icon spinner"></span>'),t(".spinner").show(),document.location="?page=chld_thm_cfg_menu&ctc_parent="+t(this).val()}),t(document).on("click","#ctc_additional_css_label",function(){t(this).toggleClass("open"),t("#ctc_additional_css_files").slideToggle("fast")}),L(),S(l),Q(),t("input[type=submit],input[type=button]").prop("disabled",!1),setTimeout(P,6e3)});
|
lang/chld_thm_cfg.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the Child Theme Configurator package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Child Theme Configurator 1.5.
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/child-theme-configurator\n"
|
7 |
-
"POT-Creation-Date: 2014-10-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -12,296 +12,300 @@ msgstr ""
|
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
-
#: includes/class-ctc-ui.php:
|
16 |
-
msgid "
|
17 |
msgstr ""
|
18 |
|
19 |
-
#: includes/class-ctc-ui.php:
|
|
|
|
|
|
|
|
|
20 |
msgid "Parent/Child"
|
21 |
msgstr ""
|
22 |
|
23 |
-
#: includes/class-ctc-ui.php:
|
24 |
msgid "Query/Selector"
|
25 |
msgstr ""
|
26 |
|
27 |
-
#: includes/class-ctc-ui.php:
|
28 |
msgid "Rule/Value"
|
29 |
msgstr ""
|
30 |
|
31 |
-
#: includes/class-ctc-ui.php:
|
32 |
msgid "@import"
|
33 |
msgstr ""
|
34 |
|
35 |
-
#: includes/class-ctc-ui.php:
|
36 |
msgid "Child CSS"
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: includes/class-ctc-ui.php:
|
40 |
msgid "Parent CSS"
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: includes/class-ctc-ui.php:
|
44 |
msgid "Files"
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: includes/class-ctc-ui.php:
|
48 |
msgid "Parent Theme"
|
49 |
msgstr ""
|
50 |
|
51 |
-
#: includes/class-ctc-ui.php:
|
52 |
msgid "Child Theme"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#: includes/class-ctc-ui.php:
|
56 |
msgid "Create New Child Theme"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#: includes/class-ctc-ui.php:
|
60 |
msgid "Use Existing Child Theme"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: includes/class-ctc-ui.php:
|
64 |
msgid "Theme Slug"
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: includes/class-ctc-ui.php:
|
68 |
msgid "Child Theme Name"
|
69 |
msgstr ""
|
70 |
|
71 |
-
#: includes/class-ctc-ui.php:
|
72 |
msgid "Theme Name"
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: includes/class-ctc-ui.php:
|
76 |
msgid "Author"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: includes/class-ctc-ui.php:
|
80 |
msgid "Version"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: includes/class-ctc-ui.php:
|
84 |
msgid "Copy Parent Theme Menus, Widgets and other Options"
|
85 |
msgstr ""
|
86 |
|
87 |
-
#: includes/class-ctc-ui.php:
|
88 |
msgid "NOTE: This will overwrite existing child theme options."
|
89 |
msgstr ""
|
90 |
|
91 |
-
#: includes/class-ctc-ui.php:
|
92 |
msgid "Backup Child Stylesheet"
|
93 |
msgstr ""
|
94 |
|
95 |
-
#: includes/class-ctc-ui.php:
|
96 |
msgid "Parse additional stylesheets:"
|
97 |
msgstr ""
|
98 |
|
99 |
-
#: includes/class-ctc-ui.php:
|
100 |
msgid "(click to toggle)"
|
101 |
msgstr ""
|
102 |
|
103 |
-
#: includes/class-ctc-ui.php:
|
104 |
msgid "Select only the stylesheets you wish to customize to reduce overhead."
|
105 |
msgstr ""
|
106 |
|
107 |
-
#: includes/class-ctc-ui.php:
|
108 |
msgid "Generate Child Theme Files"
|
109 |
msgstr ""
|
110 |
|
111 |
-
#: includes/class-ctc-ui.php:
|
112 |
msgid "Rule"
|
113 |
msgstr ""
|
114 |
|
115 |
-
#: includes/class-ctc-ui.php:
|
116 |
msgid "Value"
|
117 |
msgstr ""
|
118 |
|
119 |
-
#: includes/class-ctc-ui.php:
|
120 |
-
#: includes/class-ctc.php:
|
121 |
msgid "Sample"
|
122 |
msgstr ""
|
123 |
|
124 |
-
#: includes/class-ctc-ui.php:
|
125 |
msgid "Selectors"
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: includes/class-ctc-ui.php:
|
129 |
msgid "Query"
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: includes/class-ctc-ui.php:
|
133 |
msgid "Selector"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: includes/class-ctc-ui.php:
|
137 |
-
#: includes/class-ctc-ui.php:
|
138 |
msgid "Save"
|
139 |
msgstr ""
|
140 |
|
141 |
-
#: includes/class-ctc-ui.php:
|
142 |
msgid "Parent Value"
|
143 |
msgstr ""
|
144 |
|
145 |
-
#: includes/class-ctc-ui.php:
|
146 |
msgid "Child Value"
|
147 |
msgstr ""
|
148 |
|
149 |
-
#: includes/class-ctc-ui.php:
|
150 |
msgid "New Rule"
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: includes/class-ctc-ui.php:
|
154 |
msgid "Order"
|
155 |
msgstr ""
|
156 |
|
157 |
-
#: includes/class-ctc-ui.php:
|
158 |
msgid "Raw CSS"
|
159 |
msgstr ""
|
160 |
|
161 |
-
#: includes/class-ctc-ui.php:
|
162 |
msgid "@import Statements"
|
163 |
msgstr ""
|
164 |
|
165 |
-
#: includes/class-ctc-ui.php:
|
166 |
msgid "Upload New Child Theme Image"
|
167 |
msgstr ""
|
168 |
|
169 |
-
#: includes/class-ctc-ui.php:
|
170 |
msgid ""
|
171 |
"Theme images reside under the <code>images</code> directory in your child "
|
172 |
"theme and are meant for stylesheet use only. Use the Media Library for "
|
173 |
"content images."
|
174 |
msgstr ""
|
175 |
|
176 |
-
#: includes/class-ctc-ui.php:
|
177 |
msgid "Upload"
|
178 |
msgstr ""
|
179 |
|
180 |
-
#: includes/class-ctc-ui.php:
|
181 |
msgid "Child Theme Screenshot"
|
182 |
msgstr ""
|
183 |
|
184 |
-
#: includes/class-ctc-ui.php:
|
185 |
msgid "Upload New Screenshot"
|
186 |
msgstr ""
|
187 |
|
188 |
-
#: includes/class-ctc-ui.php:
|
189 |
msgid ""
|
190 |
"The theme screenshot should be a 4:3 ratio (e.g., 880px x 660px) JPG, PNG or "
|
191 |
"GIF. It will be renamed <code>screenshot</code>."
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: includes/class-ctc-ui.php:
|
195 |
msgid "Export Child Theme as Zip Archive"
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: includes/class-ctc-ui.php:
|
199 |
msgid "Export"
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: includes/class-ctc-ui.php:
|
203 |
msgid "Secure Child Theme"
|
204 |
msgstr ""
|
205 |
|
206 |
-
#: includes/class-ctc-ui.php:
|
207 |
msgid ""
|
208 |
"Attempt to reset child theme permissions to user ownership and read-only "
|
209 |
"access."
|
210 |
msgstr ""
|
211 |
|
212 |
-
#: includes/class-ctc-ui.php:
|
213 |
msgid "Make read-only"
|
214 |
msgstr ""
|
215 |
|
216 |
-
#: includes/class-ctc-ui.php:
|
217 |
msgid "Click here to edit template files using the Theme Editor"
|
218 |
msgstr ""
|
219 |
|
220 |
-
#: includes/class-ctc-ui.php:
|
221 |
msgid ""
|
222 |
"The Theme editor has been disabled. Template files must be edited offline."
|
223 |
msgstr ""
|
224 |
|
225 |
-
#: includes/class-ctc-ui.php:
|
226 |
msgid "Copy PHP template files from the parent theme by selecting them here."
|
227 |
msgstr ""
|
228 |
|
229 |
-
#: includes/class-ctc-ui.php:
|
230 |
msgid ""
|
231 |
"CAUTION: If your child theme is active, the child theme version of the file "
|
232 |
"will be used instead of the parent immediately after it is copied."
|
233 |
msgstr ""
|
234 |
|
235 |
-
#: includes/class-ctc-ui.php:
|
236 |
msgid "The %s file is generated separately and cannot be copied here."
|
237 |
msgstr ""
|
238 |
|
239 |
-
#: includes/class-ctc-ui.php:
|
240 |
msgid "Delete child theme templates by selecting them here."
|
241 |
msgstr ""
|
242 |
|
243 |
-
#: includes/class-ctc-ui.php:
|
244 |
msgid ""
|
245 |
"Delete child theme templates or make them writable by selecting them here. "
|
246 |
"Writable files are displayed in <span style=\"color:red\">red</span>."
|
247 |
msgstr ""
|
248 |
|
249 |
-
#: includes/class-ctc-ui.php:
|
250 |
msgid "Make Selected Writable"
|
251 |
msgstr ""
|
252 |
|
253 |
-
#: includes/class-ctc-ui.php:
|
254 |
msgid "Copy Selected to Child Theme"
|
255 |
msgstr ""
|
256 |
|
257 |
-
#: includes/class-ctc-ui.php:
|
258 |
msgid "Delete Selected"
|
259 |
msgstr ""
|
260 |
|
261 |
-
#: includes/class-ctc-ui.php:
|
262 |
msgid "Child Theme Images"
|
263 |
msgstr ""
|
264 |
|
265 |
-
#: includes/class-ctc-ui.php:
|
266 |
msgid "Remove child theme images by selecting them here."
|
267 |
msgstr ""
|
268 |
|
269 |
-
#: includes/class-ctc-ui.php:
|
270 |
msgid "Remove Selected"
|
271 |
msgstr ""
|
272 |
|
273 |
-
#: includes/class-ctc-ui.php:
|
274 |
msgid "Child Theme files modified successfully."
|
275 |
msgstr ""
|
276 |
|
277 |
-
#: includes/class-ctc-ui.php:
|
278 |
msgid ""
|
279 |
"Child Theme <strong>%s</strong> has been generated successfully.\n"
|
280 |
" "
|
281 |
msgstr ""
|
282 |
|
283 |
-
#: includes/class-ctc-ui.php:
|
284 |
msgid ""
|
285 |
"Please verify the imports below and remove any imports that are not needed "
|
286 |
"by the front end, such as admin or configuration stylesheets."
|
287 |
msgstr ""
|
288 |
|
289 |
-
#: includes/class-ctc-ui.php:
|
290 |
msgid "Tutorial Video"
|
291 |
msgstr ""
|
292 |
|
293 |
-
#: includes/class-ctc-ui.php:
|
294 |
msgid ""
|
295 |
"<iframe width=\"480\" height=\"270\" src=\"//www.youtube.com/embed/"
|
296 |
"xL2HkWQxgOA?rel=0&modestbranding=1\" frameborder=\"0\" allowfullscreen></"
|
297 |
"iframe>"
|
298 |
msgstr ""
|
299 |
|
300 |
-
#: includes/class-ctc-ui.php:
|
301 |
msgid "Start Here"
|
302 |
msgstr ""
|
303 |
|
304 |
-
#: includes/class-ctc-ui.php:
|
305 |
msgid ""
|
306 |
"\n"
|
307 |
"<p>The first step is to create a child theme and import your parent theme "
|
@@ -335,7 +339,7 @@ msgid ""
|
|
335 |
"\t\t\t\t "
|
336 |
msgstr ""
|
337 |
|
338 |
-
#: includes/class-ctc-ui.php:
|
339 |
msgid ""
|
340 |
"\n"
|
341 |
"<p>There are two ways to identify and override parent styles. The Child "
|
@@ -368,7 +372,7 @@ msgid ""
|
|
368 |
"\t\t\t\t "
|
369 |
msgstr ""
|
370 |
|
371 |
-
#: includes/class-ctc-ui.php:
|
372 |
msgid ""
|
373 |
"\n"
|
374 |
"<p>There are two ways to identify and override parent styles. The Child "
|
@@ -395,11 +399,11 @@ msgid ""
|
|
395 |
"\t\t\t\t "
|
396 |
msgstr ""
|
397 |
|
398 |
-
#: includes/class-ctc-ui.php:
|
399 |
msgid "Add New Styles"
|
400 |
msgstr ""
|
401 |
|
402 |
-
#: includes/class-ctc-ui.php:
|
403 |
msgid ""
|
404 |
"\n"
|
405 |
"<p>If you wish to add additional rules to a given selector, first load the "
|
@@ -419,11 +423,11 @@ msgid ""
|
|
419 |
"\t\t\t\t "
|
420 |
msgstr ""
|
421 |
|
422 |
-
#: includes/class-ctc-ui.php:
|
423 |
msgid "@imports and Web Fonts"
|
424 |
msgstr ""
|
425 |
|
426 |
-
#: includes/class-ctc-ui.php:
|
427 |
msgid ""
|
428 |
"\n"
|
429 |
"<p>You can add additional stylesheets and web fonts by typing @import rules "
|
@@ -441,7 +445,7 @@ msgid ""
|
|
441 |
"\t\t\t\t "
|
442 |
msgstr ""
|
443 |
|
444 |
-
#: includes/class-ctc-ui.php:
|
445 |
msgid ""
|
446 |
"\n"
|
447 |
"<h5>Parent Templates</h5><p>Copy PHP template files from the parent theme by "
|
@@ -467,11 +471,11 @@ msgid ""
|
|
467 |
"\t\t\t\t "
|
468 |
msgstr ""
|
469 |
|
470 |
-
#: includes/class-ctc-ui.php:
|
471 |
msgid "Preview and Activate"
|
472 |
msgstr ""
|
473 |
|
474 |
-
#: includes/class-ctc-ui.php:
|
475 |
msgid ""
|
476 |
"<p><strong>IMPORTANT: <a target=\"_blank\" href=\"http://www.lilaeamedia.com/"
|
477 |
"plugins/child-theme-configurator/#preview_activate\" title=\"Test your child "
|
@@ -492,11 +496,11 @@ msgid ""
|
|
492 |
"\t\t\t\t "
|
493 |
msgstr ""
|
494 |
|
495 |
-
#: includes/class-ctc-ui.php:
|
496 |
msgid "File Permissions"
|
497 |
msgstr ""
|
498 |
|
499 |
-
#: includes/class-ctc-ui.php:
|
500 |
msgid ""
|
501 |
"\n"
|
502 |
"<p>WordPress was designed to work on a number of server configurations. "
|
@@ -516,11 +520,11 @@ msgid ""
|
|
516 |
"\t\t\t\t "
|
517 |
msgstr ""
|
518 |
|
519 |
-
#: includes/class-ctc-ui.php:
|
520 |
msgid "FAQs"
|
521 |
msgstr ""
|
522 |
|
523 |
-
#: includes/class-ctc-ui.php:
|
524 |
msgid ""
|
525 |
"\n"
|
526 |
"<h5>Does it work with Plugins?</h5>\n"
|
@@ -629,11 +633,11 @@ msgid ""
|
|
629 |
" "
|
630 |
msgstr ""
|
631 |
|
632 |
-
#: includes/class-ctc-ui.php:
|
633 |
msgid "Glossary"
|
634 |
msgstr ""
|
635 |
|
636 |
-
#: includes/class-ctc-ui.php:
|
637 |
msgid ""
|
638 |
"\n"
|
639 |
"<h3 id=\"terms\">Glossary</h3>\n"
|
@@ -673,31 +677,31 @@ msgid ""
|
|
673 |
"\t\t\t\t "
|
674 |
msgstr ""
|
675 |
|
676 |
-
#: includes/class-ctc-ui.php:
|
677 |
msgid "Contact us"
|
678 |
msgstr ""
|
679 |
|
680 |
-
#: includes/class-ctc-ui.php:
|
681 |
msgid "Plugin Website"
|
682 |
msgstr ""
|
683 |
|
684 |
-
#: includes/class-ctc-ui.php:
|
685 |
msgid "Donate"
|
686 |
msgstr ""
|
687 |
|
688 |
-
#: includes/class-ctc-ui.php:
|
689 |
msgid "Give Us 5 Stars"
|
690 |
msgstr ""
|
691 |
|
692 |
-
#: includes/class-ctc-ui.php:
|
693 |
msgid "WordPress Codex"
|
694 |
msgstr ""
|
695 |
|
696 |
-
#: includes/class-ctc-ui.php:
|
697 |
msgid "WordPress Answers"
|
698 |
msgstr ""
|
699 |
|
700 |
-
#. #-#-#-#-# chld_thm_cfg.pot (Child Theme Configurator 1.5.
|
701 |
#. Plugin Name of the plugin/theme
|
702 |
#: includes/class-ctc.php:50
|
703 |
msgid "Child Theme Configurator"
|
@@ -707,153 +711,153 @@ msgstr ""
|
|
707 |
msgid "Child Themes"
|
708 |
msgstr ""
|
709 |
|
710 |
-
#: includes/class-ctc.php:
|
711 |
msgid "URL/None"
|
712 |
msgstr ""
|
713 |
|
714 |
-
#: includes/class-ctc.php:
|
715 |
msgid "Origin"
|
716 |
msgstr ""
|
717 |
|
718 |
-
#: includes/class-ctc.php:
|
719 |
msgid "Color 1"
|
720 |
msgstr ""
|
721 |
|
722 |
-
#: includes/class-ctc.php:
|
723 |
msgid "Color 2"
|
724 |
msgstr ""
|
725 |
|
726 |
-
#: includes/class-ctc.php:
|
727 |
msgid "Width"
|
728 |
msgstr ""
|
729 |
|
730 |
-
#: includes/class-ctc.php:
|
731 |
msgid "Style"
|
732 |
msgstr ""
|
733 |
|
734 |
-
#: includes/class-ctc.php:
|
735 |
msgid "Color"
|
736 |
msgstr ""
|
737 |
|
738 |
-
#: includes/class-ctc.php:
|
739 |
msgid "Are you sure? This will replace your current settings."
|
740 |
msgstr ""
|
741 |
|
742 |
-
#: includes/class-ctc.php:
|
743 |
msgid "<span style=\"font-size:10px\">!</span>"
|
744 |
msgstr ""
|
745 |
|
746 |
-
#: includes/class-ctc.php:
|
747 |
msgid "Close"
|
748 |
msgstr ""
|
749 |
|
750 |
-
#: includes/class-ctc.php:
|
751 |
msgid "Edit"
|
752 |
msgstr ""
|
753 |
|
754 |
-
#: includes/class-ctc.php:
|
755 |
msgid "Cancel"
|
756 |
msgstr ""
|
757 |
|
758 |
-
#: includes/class-ctc.php:
|
759 |
msgid "Rename"
|
760 |
msgstr ""
|
761 |
|
762 |
-
#: includes/class-ctc.php:
|
763 |
msgid "The stylesheet cannot be displayed."
|
764 |
msgstr ""
|
765 |
|
766 |
-
#: includes/class-ctc.php:
|
767 |
msgid "(Child Only)"
|
768 |
msgstr ""
|
769 |
|
770 |
-
#: includes/class-ctc.php:
|
771 |
msgid "Please enter a valid Child Theme"
|
772 |
msgstr ""
|
773 |
|
774 |
-
#: includes/class-ctc.php:
|
775 |
msgid "Please enter a valid Child Theme name"
|
776 |
msgstr ""
|
777 |
|
778 |
-
#: includes/class-ctc.php:
|
779 |
msgid "<strong>%s</strong> exists. Please enter a different Child Theme"
|
780 |
msgstr ""
|
781 |
|
782 |
-
#: includes/class-ctc.php:
|
783 |
msgid "Zip file creation failed."
|
784 |
msgstr ""
|
785 |
|
786 |
-
#: includes/class-ctc.php:
|
787 |
msgid "%s does not exist. Please select a valid Parent Theme"
|
788 |
msgstr ""
|
789 |
|
790 |
-
#: includes/class-ctc.php:
|
791 |
msgid "Please select a valid Parent Theme"
|
792 |
msgstr ""
|
793 |
|
794 |
-
#: includes/class-ctc.php:
|
795 |
msgid "Please enter a valid Child Theme template name"
|
796 |
msgstr ""
|
797 |
|
798 |
-
#: includes/class-ctc.php:
|
799 |
msgid ""
|
800 |
"<strong>%s</strong> exists. Please enter a different Child Theme template "
|
801 |
"name"
|
802 |
msgstr ""
|
803 |
|
804 |
-
#: includes/class-ctc.php:
|
805 |
msgid "Your theme directories are not writable."
|
806 |
msgstr ""
|
807 |
|
808 |
-
#: includes/class-ctc.php:
|
809 |
msgid "Your stylesheet is not writable."
|
810 |
msgstr ""
|
811 |
|
812 |
-
#: includes/class-ctc.php:
|
813 |
msgid "You do not have permission to configure child themes."
|
814 |
msgstr ""
|
815 |
|
816 |
-
#: includes/class-ctc.php:
|
817 |
msgid "Could not copy file."
|
818 |
msgstr ""
|
819 |
|
820 |
-
#: includes/class-ctc.php:
|
821 |
msgid "Could not set write permissions."
|
822 |
msgstr ""
|
823 |
|
824 |
-
#: includes/class-ctc.php:
|
825 |
msgid "There were errors while resetting permissions."
|
826 |
msgstr ""
|
827 |
|
828 |
-
#: includes/class-ctc.php:
|
829 |
msgid "Could not upload file."
|
830 |
msgstr ""
|
831 |
|
832 |
-
#: includes/class-ctc.php:
|
833 |
msgid ""
|
834 |
"Child Theme Configurator is unable to write to the stylesheet. This can be "
|
835 |
"resolved using one of the following options:<ol>"
|
836 |
msgstr ""
|
837 |
|
838 |
-
#: includes/class-ctc.php:
|
839 |
msgid ""
|
840 |
"<li>Temporarily make the stylesheet writable by clicking the button below. "
|
841 |
"You should change this back when you are finished editing for security by "
|
842 |
"clicking \"Make read-only\" under the \"Files\" tab.</li>"
|
843 |
msgstr ""
|
844 |
|
845 |
-
#: includes/class-ctc.php:
|
846 |
msgid "Temporarily make stylesheet writable"
|
847 |
msgstr ""
|
848 |
|
849 |
-
#: includes/class-ctc.php:
|
850 |
msgid ""
|
851 |
"<li><a target=\"_blank\" href=\"http://codex.wordpress.org/Editing_wp-"
|
852 |
"config.php#WordPress_Upgrade_Constants\" title=\"Editin wp-config.php\">Add "
|
853 |
"your FTP/SSH credentials to the WordPress config file</a>.</li>"
|
854 |
msgstr ""
|
855 |
|
856 |
-
#: includes/class-ctc.php:
|
857 |
msgid ""
|
858 |
"<li><a target=\"_blank\" href=\"http://technet.microsoft.com/en-us/library/"
|
859 |
"cc771170\" title=\"Setting Application Pool Identity\">Assign WordPress to "
|
@@ -861,7 +865,7 @@ msgid ""
|
|
861 |
"li>"
|
862 |
msgstr ""
|
863 |
|
864 |
-
#: includes/class-ctc.php:
|
865 |
msgid ""
|
866 |
"<li><a target=\"_blank\" href=\"http://codex.wordpress.org/"
|
867 |
"Changing_File_Permissions\" title=\"Changing File Permissions\">Set the "
|
@@ -869,11 +873,11 @@ msgid ""
|
|
869 |
"li>"
|
870 |
msgstr ""
|
871 |
|
872 |
-
#: includes/class-ctc.php:
|
873 |
msgid "<li>Run PHP under Apache with suEXEC (contact your web host).</li>"
|
874 |
msgstr ""
|
875 |
|
876 |
-
#: includes/class-ctc.php:
|
877 |
msgid ""
|
878 |
"This Child Theme is not owned by your website account. It may have been "
|
879 |
"created by a prior version of this plugin or by another program. Moving "
|
@@ -882,7 +886,7 @@ msgid ""
|
|
882 |
"below."
|
883 |
msgstr ""
|
884 |
|
885 |
-
#: includes/class-ctc.php:
|
886 |
msgid "Correct Child Theme Permissions"
|
887 |
msgstr ""
|
888 |
|
2 |
# This file is distributed under the same license as the Child Theme Configurator package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Child Theme Configurator 1.5.2.2\n"
|
6 |
"Report-Msgid-Bugs-To: http://wordpress.org/tag/child-theme-configurator\n"
|
7 |
+
"POT-Creation-Date: 2014-10-16 05:00:29+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
+
#: includes/class-ctc-ui.php:39
|
16 |
+
msgid "Get CTC for Plugins and other tools"
|
17 |
msgstr ""
|
18 |
|
19 |
+
#: includes/class-ctc-ui.php:39
|
20 |
+
msgid "Lilaea Media - Responsive Tools for a Mobile World"
|
21 |
+
msgstr ""
|
22 |
+
|
23 |
+
#: includes/class-ctc-ui.php:52
|
24 |
msgid "Parent/Child"
|
25 |
msgstr ""
|
26 |
|
27 |
+
#: includes/class-ctc-ui.php:55 includes/class-ctc-ui.php:660
|
28 |
msgid "Query/Selector"
|
29 |
msgstr ""
|
30 |
|
31 |
+
#: includes/class-ctc-ui.php:58 includes/class-ctc-ui.php:674
|
32 |
msgid "Rule/Value"
|
33 |
msgstr ""
|
34 |
|
35 |
+
#: includes/class-ctc-ui.php:61
|
36 |
msgid "@import"
|
37 |
msgstr ""
|
38 |
|
39 |
+
#: includes/class-ctc-ui.php:64
|
40 |
msgid "Child CSS"
|
41 |
msgstr ""
|
42 |
|
43 |
+
#: includes/class-ctc-ui.php:67
|
44 |
msgid "Parent CSS"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: includes/class-ctc-ui.php:74 includes/class-ctc-ui.php:712
|
48 |
msgid "Files"
|
49 |
msgstr ""
|
50 |
|
51 |
+
#: includes/class-ctc-ui.php:87
|
52 |
msgid "Parent Theme"
|
53 |
msgstr ""
|
54 |
|
55 |
+
#: includes/class-ctc-ui.php:97
|
56 |
msgid "Child Theme"
|
57 |
msgstr ""
|
58 |
|
59 |
+
#: includes/class-ctc-ui.php:104
|
60 |
msgid "Create New Child Theme"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: includes/class-ctc-ui.php:113
|
64 |
msgid "Use Existing Child Theme"
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: includes/class-ctc-ui.php:118
|
68 |
msgid "Theme Slug"
|
69 |
msgstr ""
|
70 |
|
71 |
+
#: includes/class-ctc-ui.php:128
|
72 |
msgid "Child Theme Name"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: includes/class-ctc-ui.php:132
|
76 |
msgid "Theme Name"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: includes/class-ctc-ui.php:138 includes/class-ctc-ui.php:142
|
80 |
msgid "Author"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: includes/class-ctc-ui.php:147 includes/class-ctc-ui.php:151
|
84 |
msgid "Version"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: includes/class-ctc-ui.php:156
|
88 |
msgid "Copy Parent Theme Menus, Widgets and other Options"
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: includes/class-ctc-ui.php:158
|
92 |
msgid "NOTE: This will overwrite existing child theme options."
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: includes/class-ctc-ui.php:167
|
96 |
msgid "Backup Child Stylesheet"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: includes/class-ctc-ui.php:178
|
100 |
msgid "Parse additional stylesheets:"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: includes/class-ctc-ui.php:179
|
104 |
msgid "(click to toggle)"
|
105 |
msgstr ""
|
106 |
|
107 |
+
#: includes/class-ctc-ui.php:183
|
108 |
msgid "Select only the stylesheets you wish to customize to reduce overhead."
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: includes/class-ctc-ui.php:200
|
112 |
msgid "Generate Child Theme Files"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: includes/class-ctc-ui.php:211 includes/class-ctc-ui.php:280
|
116 |
msgid "Rule"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: includes/class-ctc-ui.php:224
|
120 |
msgid "Value"
|
121 |
msgstr ""
|
122 |
|
123 |
+
#: includes/class-ctc-ui.php:227 includes/class-ctc-ui.php:265
|
124 |
+
#: includes/class-ctc.php:120
|
125 |
msgid "Sample"
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: includes/class-ctc-ui.php:230 includes/class-ctc.php:122
|
129 |
msgid "Selectors"
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: includes/class-ctc-ui.php:241
|
133 |
msgid "Query"
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: includes/class-ctc-ui.php:252
|
137 |
msgid "Selector"
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: includes/class-ctc-ui.php:273 includes/class-ctc-ui.php:313
|
141 |
+
#: includes/class-ctc-ui.php:332
|
142 |
msgid "Save"
|
143 |
msgstr ""
|
144 |
|
145 |
+
#: includes/class-ctc-ui.php:283
|
146 |
msgid "Parent Value"
|
147 |
msgstr ""
|
148 |
|
149 |
+
#: includes/class-ctc-ui.php:286
|
150 |
msgid "Child Value"
|
151 |
msgstr ""
|
152 |
|
153 |
+
#: includes/class-ctc-ui.php:292
|
154 |
msgid "New Rule"
|
155 |
msgstr ""
|
156 |
|
157 |
+
#: includes/class-ctc-ui.php:302
|
158 |
msgid "Order"
|
159 |
msgstr ""
|
160 |
|
161 |
+
#: includes/class-ctc-ui.php:309
|
162 |
msgid "Raw CSS"
|
163 |
msgstr ""
|
164 |
|
165 |
+
#: includes/class-ctc-ui.php:328
|
166 |
msgid "@import Statements"
|
167 |
msgstr ""
|
168 |
|
169 |
+
#: includes/class-ctc-ui.php:360
|
170 |
msgid "Upload New Child Theme Image"
|
171 |
msgstr ""
|
172 |
|
173 |
+
#: includes/class-ctc-ui.php:363
|
174 |
msgid ""
|
175 |
"Theme images reside under the <code>images</code> directory in your child "
|
176 |
"theme and are meant for stylesheet use only. Use the Media Library for "
|
177 |
"content images."
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: includes/class-ctc-ui.php:370 includes/class-ctc-ui.php:396
|
181 |
msgid "Upload"
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: includes/class-ctc-ui.php:377
|
185 |
msgid "Child Theme Screenshot"
|
186 |
msgstr ""
|
187 |
|
188 |
+
#: includes/class-ctc-ui.php:386
|
189 |
msgid "Upload New Screenshot"
|
190 |
msgstr ""
|
191 |
|
192 |
+
#: includes/class-ctc-ui.php:389
|
193 |
msgid ""
|
194 |
"The theme screenshot should be a 4:3 ratio (e.g., 880px x 660px) JPG, PNG or "
|
195 |
"GIF. It will be renamed <code>screenshot</code>."
|
196 |
msgstr ""
|
197 |
|
198 |
+
#: includes/class-ctc-ui.php:404
|
199 |
msgid "Export Child Theme as Zip Archive"
|
200 |
msgstr ""
|
201 |
|
202 |
+
#: includes/class-ctc-ui.php:410
|
203 |
msgid "Export"
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: includes/class-ctc-ui.php:419
|
207 |
msgid "Secure Child Theme"
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: includes/class-ctc-ui.php:422
|
211 |
msgid ""
|
212 |
"Attempt to reset child theme permissions to user ownership and read-only "
|
213 |
"access."
|
214 |
msgstr ""
|
215 |
|
216 |
+
#: includes/class-ctc-ui.php:428
|
217 |
msgid "Make read-only"
|
218 |
msgstr ""
|
219 |
|
220 |
+
#: includes/class-ctc-ui.php:479
|
221 |
msgid "Click here to edit template files using the Theme Editor"
|
222 |
msgstr ""
|
223 |
|
224 |
+
#: includes/class-ctc-ui.php:483
|
225 |
msgid ""
|
226 |
"The Theme editor has been disabled. Template files must be edited offline."
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: includes/class-ctc-ui.php:498
|
230 |
msgid "Copy PHP template files from the parent theme by selecting them here."
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: includes/class-ctc-ui.php:501
|
234 |
msgid ""
|
235 |
"CAUTION: If your child theme is active, the child theme version of the file "
|
236 |
"will be used instead of the parent immediately after it is copied."
|
237 |
msgstr ""
|
238 |
|
239 |
+
#: includes/class-ctc-ui.php:503
|
240 |
msgid "The %s file is generated separately and cannot be copied here."
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: includes/class-ctc-ui.php:510
|
244 |
msgid "Delete child theme templates by selecting them here."
|
245 |
msgstr ""
|
246 |
|
247 |
+
#: includes/class-ctc-ui.php:512
|
248 |
msgid ""
|
249 |
"Delete child theme templates or make them writable by selecting them here. "
|
250 |
"Writable files are displayed in <span style=\"color:red\">red</span>."
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: includes/class-ctc-ui.php:523
|
254 |
msgid "Make Selected Writable"
|
255 |
msgstr ""
|
256 |
|
257 |
+
#: includes/class-ctc-ui.php:527
|
258 |
msgid "Copy Selected to Child Theme"
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: includes/class-ctc-ui.php:527
|
262 |
msgid "Delete Selected"
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: includes/class-ctc-ui.php:565
|
266 |
msgid "Child Theme Images"
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: includes/class-ctc-ui.php:568
|
270 |
msgid "Remove child theme images by selecting them here."
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: includes/class-ctc-ui.php:576
|
274 |
msgid "Remove Selected"
|
275 |
msgstr ""
|
276 |
|
277 |
+
#: includes/class-ctc-ui.php:607
|
278 |
msgid "Child Theme files modified successfully."
|
279 |
msgstr ""
|
280 |
|
281 |
+
#: includes/class-ctc-ui.php:609
|
282 |
msgid ""
|
283 |
"Child Theme <strong>%s</strong> has been generated successfully.\n"
|
284 |
" "
|
285 |
msgstr ""
|
286 |
|
287 |
+
#: includes/class-ctc-ui.php:615
|
288 |
msgid ""
|
289 |
"Please verify the imports below and remove any imports that are not needed "
|
290 |
"by the front end, such as admin or configuration stylesheets."
|
291 |
msgstr ""
|
292 |
|
293 |
+
#: includes/class-ctc-ui.php:632
|
294 |
msgid "Tutorial Video"
|
295 |
msgstr ""
|
296 |
|
297 |
+
#: includes/class-ctc-ui.php:633
|
298 |
msgid ""
|
299 |
"<iframe width=\"480\" height=\"270\" src=\"//www.youtube.com/embed/"
|
300 |
"xL2HkWQxgOA?rel=0&modestbranding=1\" frameborder=\"0\" allowfullscreen></"
|
301 |
"iframe>"
|
302 |
msgstr ""
|
303 |
|
304 |
+
#: includes/class-ctc-ui.php:639
|
305 |
msgid "Start Here"
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: includes/class-ctc-ui.php:640
|
309 |
msgid ""
|
310 |
"\n"
|
311 |
"<p>The first step is to create a child theme and import your parent theme "
|
339 |
"\t\t\t\t "
|
340 |
msgstr ""
|
341 |
|
342 |
+
#: includes/class-ctc-ui.php:661
|
343 |
msgid ""
|
344 |
"\n"
|
345 |
"<p>There are two ways to identify and override parent styles. The Child "
|
372 |
"\t\t\t\t "
|
373 |
msgstr ""
|
374 |
|
375 |
+
#: includes/class-ctc-ui.php:675
|
376 |
msgid ""
|
377 |
"\n"
|
378 |
"<p>There are two ways to identify and override parent styles. The Child "
|
399 |
"\t\t\t\t "
|
400 |
msgstr ""
|
401 |
|
402 |
+
#: includes/class-ctc-ui.php:687
|
403 |
msgid "Add New Styles"
|
404 |
msgstr ""
|
405 |
|
406 |
+
#: includes/class-ctc-ui.php:688
|
407 |
msgid ""
|
408 |
"\n"
|
409 |
"<p>If you wish to add additional rules to a given selector, first load the "
|
423 |
"\t\t\t\t "
|
424 |
msgstr ""
|
425 |
|
426 |
+
#: includes/class-ctc-ui.php:698
|
427 |
msgid "@imports and Web Fonts"
|
428 |
msgstr ""
|
429 |
|
430 |
+
#: includes/class-ctc-ui.php:699
|
431 |
msgid ""
|
432 |
"\n"
|
433 |
"<p>You can add additional stylesheets and web fonts by typing @import rules "
|
445 |
"\t\t\t\t "
|
446 |
msgstr ""
|
447 |
|
448 |
+
#: includes/class-ctc-ui.php:713
|
449 |
msgid ""
|
450 |
"\n"
|
451 |
"<h5>Parent Templates</h5><p>Copy PHP template files from the parent theme by "
|
471 |
"\t\t\t\t "
|
472 |
msgstr ""
|
473 |
|
474 |
+
#: includes/class-ctc-ui.php:729
|
475 |
msgid "Preview and Activate"
|
476 |
msgstr ""
|
477 |
|
478 |
+
#: includes/class-ctc-ui.php:730
|
479 |
msgid ""
|
480 |
"<p><strong>IMPORTANT: <a target=\"_blank\" href=\"http://www.lilaeamedia.com/"
|
481 |
"plugins/child-theme-configurator/#preview_activate\" title=\"Test your child "
|
496 |
"\t\t\t\t "
|
497 |
msgstr ""
|
498 |
|
499 |
+
#: includes/class-ctc-ui.php:741
|
500 |
msgid "File Permissions"
|
501 |
msgstr ""
|
502 |
|
503 |
+
#: includes/class-ctc-ui.php:742
|
504 |
msgid ""
|
505 |
"\n"
|
506 |
"<p>WordPress was designed to work on a number of server configurations. "
|
520 |
"\t\t\t\t "
|
521 |
msgstr ""
|
522 |
|
523 |
+
#: includes/class-ctc-ui.php:755
|
524 |
msgid "FAQs"
|
525 |
msgstr ""
|
526 |
|
527 |
+
#: includes/class-ctc-ui.php:756
|
528 |
msgid ""
|
529 |
"\n"
|
530 |
"<h5>Does it work with Plugins?</h5>\n"
|
633 |
" "
|
634 |
msgstr ""
|
635 |
|
636 |
+
#: includes/class-ctc-ui.php:800
|
637 |
msgid "Glossary"
|
638 |
msgstr ""
|
639 |
|
640 |
+
#: includes/class-ctc-ui.php:801
|
641 |
msgid ""
|
642 |
"\n"
|
643 |
"<h3 id=\"terms\">Glossary</h3>\n"
|
677 |
"\t\t\t\t "
|
678 |
msgstr ""
|
679 |
|
680 |
+
#: includes/class-ctc-ui.php:824
|
681 |
msgid "Contact us"
|
682 |
msgstr ""
|
683 |
|
684 |
+
#: includes/class-ctc-ui.php:825
|
685 |
msgid "Plugin Website"
|
686 |
msgstr ""
|
687 |
|
688 |
+
#: includes/class-ctc-ui.php:826
|
689 |
msgid "Donate"
|
690 |
msgstr ""
|
691 |
|
692 |
+
#: includes/class-ctc-ui.php:827
|
693 |
msgid "Give Us 5 Stars"
|
694 |
msgstr ""
|
695 |
|
696 |
+
#: includes/class-ctc-ui.php:828
|
697 |
msgid "WordPress Codex"
|
698 |
msgstr ""
|
699 |
|
700 |
+
#: includes/class-ctc-ui.php:829
|
701 |
msgid "WordPress Answers"
|
702 |
msgstr ""
|
703 |
|
704 |
+
#. #-#-#-#-# chld_thm_cfg.pot (Child Theme Configurator 1.5.2.2) #-#-#-#-#
|
705 |
#. Plugin Name of the plugin/theme
|
706 |
#: includes/class-ctc.php:50
|
707 |
msgid "Child Theme Configurator"
|
711 |
msgid "Child Themes"
|
712 |
msgstr ""
|
713 |
|
714 |
+
#: includes/class-ctc.php:110
|
715 |
msgid "URL/None"
|
716 |
msgstr ""
|
717 |
|
718 |
+
#: includes/class-ctc.php:111
|
719 |
msgid "Origin"
|
720 |
msgstr ""
|
721 |
|
722 |
+
#: includes/class-ctc.php:112
|
723 |
msgid "Color 1"
|
724 |
msgstr ""
|
725 |
|
726 |
+
#: includes/class-ctc.php:113
|
727 |
msgid "Color 2"
|
728 |
msgstr ""
|
729 |
|
730 |
+
#: includes/class-ctc.php:114
|
731 |
msgid "Width"
|
732 |
msgstr ""
|
733 |
|
734 |
+
#: includes/class-ctc.php:115
|
735 |
msgid "Style"
|
736 |
msgstr ""
|
737 |
|
738 |
+
#: includes/class-ctc.php:116
|
739 |
msgid "Color"
|
740 |
msgstr ""
|
741 |
|
742 |
+
#: includes/class-ctc.php:118
|
743 |
msgid "Are you sure? This will replace your current settings."
|
744 |
msgstr ""
|
745 |
|
746 |
+
#: includes/class-ctc.php:121
|
747 |
msgid "<span style=\"font-size:10px\">!</span>"
|
748 |
msgstr ""
|
749 |
|
750 |
+
#: includes/class-ctc.php:123
|
751 |
msgid "Close"
|
752 |
msgstr ""
|
753 |
|
754 |
+
#: includes/class-ctc.php:124
|
755 |
msgid "Edit"
|
756 |
msgstr ""
|
757 |
|
758 |
+
#: includes/class-ctc.php:125
|
759 |
msgid "Cancel"
|
760 |
msgstr ""
|
761 |
|
762 |
+
#: includes/class-ctc.php:126
|
763 |
msgid "Rename"
|
764 |
msgstr ""
|
765 |
|
766 |
+
#: includes/class-ctc.php:127
|
767 |
msgid "The stylesheet cannot be displayed."
|
768 |
msgstr ""
|
769 |
|
770 |
+
#: includes/class-ctc.php:128
|
771 |
msgid "(Child Only)"
|
772 |
msgstr ""
|
773 |
|
774 |
+
#: includes/class-ctc.php:129
|
775 |
msgid "Please enter a valid Child Theme"
|
776 |
msgstr ""
|
777 |
|
778 |
+
#: includes/class-ctc.php:130 includes/class-ctc.php:303
|
779 |
msgid "Please enter a valid Child Theme name"
|
780 |
msgstr ""
|
781 |
|
782 |
+
#: includes/class-ctc.php:131
|
783 |
msgid "<strong>%s</strong> exists. Please enter a different Child Theme"
|
784 |
msgstr ""
|
785 |
|
786 |
+
#: includes/class-ctc.php:247
|
787 |
msgid "Zip file creation failed."
|
788 |
msgstr ""
|
789 |
|
790 |
+
#: includes/class-ctc.php:274
|
791 |
msgid "%s does not exist. Please select a valid Parent Theme"
|
792 |
msgstr ""
|
793 |
|
794 |
+
#: includes/class-ctc.php:277
|
795 |
msgid "Please select a valid Parent Theme"
|
796 |
msgstr ""
|
797 |
|
798 |
+
#: includes/class-ctc.php:281
|
799 |
msgid "Please enter a valid Child Theme template name"
|
800 |
msgstr ""
|
801 |
|
802 |
+
#: includes/class-ctc.php:288
|
803 |
msgid ""
|
804 |
"<strong>%s</strong> exists. Please enter a different Child Theme template "
|
805 |
"name"
|
806 |
msgstr ""
|
807 |
|
808 |
+
#: includes/class-ctc.php:306 includes/class-ctc.php:775
|
809 |
msgid "Your theme directories are not writable."
|
810 |
msgstr ""
|
811 |
|
812 |
+
#: includes/class-ctc.php:328 includes/class-ctc.php:784
|
813 |
msgid "Your stylesheet is not writable."
|
814 |
msgstr ""
|
815 |
|
816 |
+
#: includes/class-ctc.php:389
|
817 |
msgid "You do not have permission to configure child themes."
|
818 |
msgstr ""
|
819 |
|
820 |
+
#: includes/class-ctc.php:489
|
821 |
msgid "Could not copy file."
|
822 |
msgstr ""
|
823 |
|
824 |
+
#: includes/class-ctc.php:551
|
825 |
msgid "Could not set write permissions."
|
826 |
msgstr ""
|
827 |
|
828 |
+
#: includes/class-ctc.php:622
|
829 |
msgid "There were errors while resetting permissions."
|
830 |
msgstr ""
|
831 |
|
832 |
+
#: includes/class-ctc.php:657
|
833 |
msgid "Could not upload file."
|
834 |
msgstr ""
|
835 |
|
836 |
+
#: includes/class-ctc.php:736
|
837 |
msgid ""
|
838 |
"Child Theme Configurator is unable to write to the stylesheet. This can be "
|
839 |
"resolved using one of the following options:<ol>"
|
840 |
msgstr ""
|
841 |
|
842 |
+
#: includes/class-ctc.php:738
|
843 |
msgid ""
|
844 |
"<li>Temporarily make the stylesheet writable by clicking the button below. "
|
845 |
"You should change this back when you are finished editing for security by "
|
846 |
"clicking \"Make read-only\" under the \"Files\" tab.</li>"
|
847 |
msgstr ""
|
848 |
|
849 |
+
#: includes/class-ctc.php:740
|
850 |
msgid "Temporarily make stylesheet writable"
|
851 |
msgstr ""
|
852 |
|
853 |
+
#: includes/class-ctc.php:741
|
854 |
msgid ""
|
855 |
"<li><a target=\"_blank\" href=\"http://codex.wordpress.org/Editing_wp-"
|
856 |
"config.php#WordPress_Upgrade_Constants\" title=\"Editin wp-config.php\">Add "
|
857 |
"your FTP/SSH credentials to the WordPress config file</a>.</li>"
|
858 |
msgstr ""
|
859 |
|
860 |
+
#: includes/class-ctc.php:743
|
861 |
msgid ""
|
862 |
"<li><a target=\"_blank\" href=\"http://technet.microsoft.com/en-us/library/"
|
863 |
"cc771170\" title=\"Setting Application Pool Identity\">Assign WordPress to "
|
865 |
"li>"
|
866 |
msgstr ""
|
867 |
|
868 |
+
#: includes/class-ctc.php:744
|
869 |
msgid ""
|
870 |
"<li><a target=\"_blank\" href=\"http://codex.wordpress.org/"
|
871 |
"Changing_File_Permissions\" title=\"Changing File Permissions\">Set the "
|
873 |
"li>"
|
874 |
msgstr ""
|
875 |
|
876 |
+
#: includes/class-ctc.php:746
|
877 |
msgid "<li>Run PHP under Apache with suEXEC (contact your web host).</li>"
|
878 |
msgstr ""
|
879 |
|
880 |
+
#: includes/class-ctc.php:754
|
881 |
msgid ""
|
882 |
"This Child Theme is not owned by your website account. It may have been "
|
883 |
"created by a prior version of this plugin or by another program. Moving "
|
886 |
"below."
|
887 |
msgstr ""
|
888 |
|
889 |
+
#: includes/class-ctc.php:756
|
890 |
msgid "Correct Child Theme Permissions"
|
891 |
msgstr ""
|
892 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: child theme, custom theme, CSS, responsive design, CSS editor, theme generator
|
5 |
Requires at least: 3.7
|
6 |
Tested up to: 4.0
|
7 |
-
Stable tag: 1.5.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -146,7 +146,7 @@ Once the child theme stylesheet is created, CTC adds very little overhead to the
|
|
146 |
|
147 |
= Why doesn't the Parent Theme have any styles when I "View Parent CSS"? =
|
148 |
|
149 |
-
Your Parent theme is probably using a non-standard location for the stylesheets. Check "Scan Parent Theme for additional stylesheets" on the Parent/Child tab and load the Child Theme again.
|
150 |
|
151 |
= Where is it in the Admin? =
|
152 |
|
@@ -226,6 +226,12 @@ https://www.youtube.com/watch?v=iBiiAgsK4G4
|
|
226 |
|
227 |
== Changelog ==
|
228 |
|
|
|
|
|
|
|
|
|
|
|
|
|
229 |
= 1.5.2.1 =
|
230 |
* Automatically set additional stylesheets to parse based on parent theme links in head.
|
231 |
* Render parent CSS including additional stylesheets
|
@@ -372,8 +378,7 @@ https://www.youtube.com/watch?v=iBiiAgsK4G4
|
|
372 |
|
373 |
== Upgrade Notice ==
|
374 |
|
375 |
-
|
376 |
-
* Render parent CSS including additional stylesheets
|
377 |
|
378 |
== Create Your Child Theme ==
|
379 |
|
@@ -476,4 +481,4 @@ You can also click the Preview CSS tab to see your new masterpiece as CSS code.
|
|
476 |
|
477 |
Go to http://www.lilaeamedia.com/plugins/child-theme-configurator
|
478 |
|
479 |
-
Copyright: (C) 2014 Lilaea Media
|
4 |
Tags: child theme, custom theme, CSS, responsive design, CSS editor, theme generator
|
5 |
Requires at least: 3.7
|
6 |
Tested up to: 4.0
|
7 |
+
Stable tag: 1.5.2.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
146 |
|
147 |
= Why doesn't the Parent Theme have any styles when I "View Parent CSS"? =
|
148 |
|
149 |
+
Your Parent theme is probably using a non-standard location for the stylesheets. Check the appropriate additional stylesheets under "Scan Parent Theme for additional stylesheets" on the Parent/Child tab and load the Child Theme again. CTC tries to identify these files by fetching a page from the parent theme, but you may need to set them manually.
|
150 |
|
151 |
= Where is it in the Admin? =
|
152 |
|
226 |
|
227 |
== Changelog ==
|
228 |
|
229 |
+
= 1.5.2.2 =
|
230 |
+
* Adding the additional styles to the parent CSS preview in v1.5.2(.1) introduced a bug
|
231 |
+
* that copied all of the parent styles to the child stylesheet. This is fixed in v1.5.2.2.
|
232 |
+
* Rolled back changes to the javascript controller that introduced a number of type errors.
|
233 |
+
* Tweaked preview ajax call to handle ssl.
|
234 |
+
|
235 |
= 1.5.2.1 =
|
236 |
* Automatically set additional stylesheets to parse based on parent theme links in head.
|
237 |
* Render parent CSS including additional stylesheets
|
378 |
|
379 |
== Upgrade Notice ==
|
380 |
|
381 |
+
v.1.5.2.2 fixes a number of bugs that were introduced in v1.5.2(.1). See changelog for details.
|
|
|
382 |
|
383 |
== Create Your Child Theme ==
|
384 |
|
481 |
|
482 |
Go to http://www.lilaeamedia.com/plugins/child-theme-configurator
|
483 |
|
484 |
+
Copyright: (C) 2014 Lilaea Media
|