Version Description
- Fix: @import not being written on rebuild/configure
- Fix: min height on rule/value panel
- Only prune child theme selectors on rename
Download this release
Release Info
Developer | lilaeamedia |
Plugin | Child Theme Configurator |
Version | 1.7.2 |
Comparing to | |
See all releases |
Code changes from version 1.7.1 to 1.7.2
- child-theme-configurator.php +17 -13
- css/chld-thm-cfg.css +1 -0
- includes/class-ctc-css.php +16 -12
- includes/class-ctc-ui.php +2 -2
- includes/class-ctc.php +5 -5
- includes/forms/addl_panels.php +1 -1
- includes/forms/related.php +1 -1
- includes/help/help_en_US.php +7 -7
- js/chld-thm-cfg.js +22 -27
- js/chld-thm-cfg.min.js +1 -1
- lang/chld_thm_cfg-sr_RS.mo +0 -0
- lang/chld_thm_cfg-sr_RS.po +964 -0
- readme.txt +34 -26
child-theme-configurator.php
CHANGED
@@ -4,9 +4,9 @@ if ( !defined( 'ABSPATH' ) ) exit;
|
|
4 |
|
5 |
/*
|
6 |
Plugin Name: Child Theme Configurator
|
7 |
-
Plugin URI: http://www.
|
8 |
-
Description: Create a
|
9 |
-
Version: 1.7.
|
10 |
Author: Lilaea Media
|
11 |
Author URI: http://www.lilaeamedia.com/
|
12 |
Text Domain: chld_thm_cfg
|
@@ -15,23 +15,27 @@ if ( !defined( 'ABSPATH' ) ) exit;
|
|
15 |
Copyright (C) 2014-2015 Lilaea Media
|
16 |
*/
|
17 |
|
18 |
-
defined( 'LF' ) or define( 'LF', "\n"
|
19 |
defined( 'LILAEAMEDIA_URL' ) or
|
20 |
-
define( 'LILAEAMEDIA_URL', "http://www.lilaeamedia.com"
|
|
|
|
|
|
|
|
|
21 |
defined( 'CHLD_THM_CFG_OPTIONS' ) or
|
22 |
-
define( 'CHLD_THM_CFG_OPTIONS', 'chld_thm_cfg_options'
|
23 |
-
define( 'CHLD_THM_CFG_VERSION', '1.7.
|
24 |
-
define( 'CHLD_THM_CFG_MIN_WP_VERSION', '3.7'
|
25 |
defined( 'CHLD_THM_CFG_BPSEL' ) or
|
26 |
-
define( 'CHLD_THM_CFG_BPSEL', '2500'
|
27 |
defined( 'CHLD_THM_CFG_MAX_RECURSE_LOOPS' ) or
|
28 |
-
define( 'CHLD_THM_CFG_MAX_RECURSE_LOOPS', '1000'
|
29 |
defined( 'CHLD_THM_CFG_MENU' ) or
|
30 |
-
define( 'CHLD_THM_CFG_MENU', 'chld_thm_cfg_menu'
|
31 |
defined( 'CHLD_THM_CFG_DIR' ) or
|
32 |
-
define( 'CHLD_THM_CFG_DIR', dirname( __FILE__ )
|
33 |
defined( 'CHLD_THM_CFG_URL' ) or
|
34 |
-
define( 'CHLD_THM_CFG_URL', plugin_dir_url( __FILE__ )
|
35 |
|
36 |
class ChildThemeConfigurator {
|
37 |
static $instance;
|
4 |
|
5 |
/*
|
6 |
Plugin Name: Child Theme Configurator
|
7 |
+
Plugin URI: http://www.childthemeconfigurator.com/
|
8 |
+
Description: Create a child theme and customize the stylesheets and templates. Fast CSS editor lets you search, preview and modify any style.
|
9 |
+
Version: 1.7.2
|
10 |
Author: Lilaea Media
|
11 |
Author URI: http://www.lilaeamedia.com/
|
12 |
Text Domain: chld_thm_cfg
|
15 |
Copyright (C) 2014-2015 Lilaea Media
|
16 |
*/
|
17 |
|
18 |
+
defined( 'LF' ) or define( 'LF', "\n" );
|
19 |
defined( 'LILAEAMEDIA_URL' ) or
|
20 |
+
define( 'LILAEAMEDIA_URL', "http://www.lilaeamedia.com" );
|
21 |
+
defined( 'CHLD_THM_CFG_DOCS_URL' ) or
|
22 |
+
define( 'CHLD_THM_CFG_DOCS_URL', "http://www.childthemeconfigurator.com/documentation/" );
|
23 |
+
defined( 'CHLD_THM_CFG_PRO_URL' ) or
|
24 |
+
define( 'CHLD_THM_CFG_PRO_URL', "http://www.childthemeconfigurator.com/child-theme-configurator-pro/" );
|
25 |
defined( 'CHLD_THM_CFG_OPTIONS' ) or
|
26 |
+
define( 'CHLD_THM_CFG_OPTIONS', 'chld_thm_cfg_options' );
|
27 |
+
define( 'CHLD_THM_CFG_VERSION', '1.7.2' );
|
28 |
+
define( 'CHLD_THM_CFG_MIN_WP_VERSION', '3.7' );
|
29 |
defined( 'CHLD_THM_CFG_BPSEL' ) or
|
30 |
+
define( 'CHLD_THM_CFG_BPSEL', '2500' );
|
31 |
defined( 'CHLD_THM_CFG_MAX_RECURSE_LOOPS' ) or
|
32 |
+
define( 'CHLD_THM_CFG_MAX_RECURSE_LOOPS', '1000' );
|
33 |
defined( 'CHLD_THM_CFG_MENU' ) or
|
34 |
+
define( 'CHLD_THM_CFG_MENU', 'chld_thm_cfg_menu' );
|
35 |
defined( 'CHLD_THM_CFG_DIR' ) or
|
36 |
+
define( 'CHLD_THM_CFG_DIR', dirname( __FILE__ ) );
|
37 |
defined( 'CHLD_THM_CFG_URL' ) or
|
38 |
+
define( 'CHLD_THM_CFG_URL', plugin_dir_url( __FILE__ ) );
|
39 |
|
40 |
class ChildThemeConfigurator {
|
41 |
static $instance;
|
css/chld-thm-cfg.css
CHANGED
@@ -218,6 +218,7 @@ a.ctc-recent-tab {
|
|
218 |
|
219 |
.ctc-selector-inner-container {
|
220 |
position: relative;
|
|
|
221 |
/*max-height: 500px;*/
|
222 |
overflow: auto;
|
223 |
}
|
218 |
|
219 |
.ctc-selector-inner-container {
|
220 |
position: relative;
|
221 |
+
min-height: 300px;
|
222 |
/*max-height: 500px;*/
|
223 |
overflow: auto;
|
224 |
}
|
includes/class-ctc-css.php
CHANGED
@@ -4,9 +4,9 @@ if ( !defined( 'ABSPATH' ) ) exit;
|
|
4 |
|
5 |
/*
|
6 |
Class: ChildThemeConfiguratorCSS
|
7 |
-
Plugin URI: http://www.
|
8 |
Description: Handles all CSS output, parsing, normalization
|
9 |
-
Version: 1.7.
|
10 |
Author: Lilaea Media
|
11 |
Author URI: http://www.lilaeamedia.com/
|
12 |
Text Domain: chld_thm_cfg
|
@@ -292,6 +292,9 @@ class ChildThemeConfiguratorCSS {
|
|
292 |
*/
|
293 |
function update_arrays( $template, $query, $sel, $rule = NULL, $value = NULL, $important = 0 ) {
|
294 |
if ( $this->max_sel ) return;
|
|
|
|
|
|
|
295 |
// normalize selector styling
|
296 |
$sel = implode( ', ', preg_split( '#\s*,\s*#s', trim( $sel ) ) );
|
297 |
// add selector and query to index
|
@@ -328,8 +331,6 @@ class ChildThemeConfiguratorCSS {
|
|
328 |
$this->val_ndx[ $qsid ][ $ruleid ][ $template ] = $this->dict_val[ $value ];
|
329 |
// set the important flag for this value
|
330 |
$this->val_ndx[ $qsid ][ $ruleid ][ 'i_' . $template ] = $important;
|
331 |
-
// remove if all child values have been cleared
|
332 |
-
$this->prune_if_empty( $qsid );
|
333 |
return $qsid;
|
334 |
endif;
|
335 |
}
|
@@ -338,15 +339,13 @@ class ChildThemeConfiguratorCSS {
|
|
338 |
if (! isset( $this->dict_val[ '' ] ) ) return FALSE;
|
339 |
$empty = $this->dict_val[ '' ];
|
340 |
foreach ( $this->val_ndx[ $qsid ] as $ruleid => $arr ):
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
do_action( 'chld_thm_cfg_update_qsid', $qsid );
|
346 |
return FALSE;
|
347 |
endif;
|
348 |
endforeach;
|
349 |
-
// no values, prune from data ( keep dictionary
|
350 |
unset( $this->sel_ndx[ $this->dict_qs[ $qsid ][ 'q' ] ][ $this->dict_qs[ $qsid ][ 's' ] ] );
|
351 |
unset( $this->val_ndx[ $qsid ] );
|
352 |
unset( $this->dict_qs[ $qsid ] );
|
@@ -395,7 +394,7 @@ class ChildThemeConfiguratorCSS {
|
|
395 |
if ( isset( $_POST[ 'ctc_new_selectors' ] ) ):
|
396 |
$this->styles = $this->parse_css_input( LF . $_POST[ 'ctc_new_selectors' ] );
|
397 |
$this->parse_css( 'child',
|
398 |
-
( isset( $_POST[ 'ctc_sel_ovrd_query' ] )?trim( $_POST[ 'ctc_sel_ovrd_query' ] ):NULL ), FALSE );
|
399 |
elseif ( isset( $_POST[ 'ctc_child_imports' ] ) ):
|
400 |
$this->imports[ 'child' ] = array();
|
401 |
$this->styles = $this->parse_css_input( $_POST[ 'ctc_child_imports' ] );
|
@@ -454,6 +453,9 @@ class ChildThemeConfiguratorCSS {
|
|
454 |
$rule, trim( $value ), $important );
|
455 |
// clear the original selector's child value:
|
456 |
$this->update_arrays( 'child', $selarr[ 'query' ], $selarr[ 'selector' ], $rule, '' );
|
|
|
|
|
|
|
457 |
else:
|
458 |
// otherwise, just update with the new values:
|
459 |
$this->update_arrays( 'child', $selarr[ 'query' ], $selarr[ 'selector' ],
|
@@ -517,6 +519,7 @@ class ChildThemeConfiguratorCSS {
|
|
517 |
'data' => $this->obj_to_utf8( $this->denorm_sel_val( $qsid ) ),
|
518 |
);
|
519 |
endif;
|
|
|
520 |
endif;
|
521 |
}
|
522 |
|
@@ -561,7 +564,7 @@ class ChildThemeConfiguratorCSS {
|
|
561 |
preg_match( $regex, $this->styles, $matches );
|
562 |
$child_name = $this->get_prop( 'child_name' );
|
563 |
if ( !empty( $matches[ 1 ] ) && 'child' == $template && empty( $child_name ) ) $this->set_prop( 'child_name', $matches[ 1 ] );
|
564 |
-
$this->parse_css( $template, NULL,
|
565 |
}
|
566 |
|
567 |
// loads raw css file into local memory
|
@@ -707,6 +710,7 @@ class ChildThemeConfiguratorCSS {
|
|
707 |
'key' => $qsid,
|
708 |
'data' => $this->obj_to_utf8( $this->denorm_sel_val( $qsid ) ),
|
709 |
);
|
|
|
710 |
endif;
|
711 |
}
|
712 |
// converts relative path to absolute path for preview
|
4 |
|
5 |
/*
|
6 |
Class: ChildThemeConfiguratorCSS
|
7 |
+
Plugin URI: http://www.childthemeconfigurator.com/
|
8 |
Description: Handles all CSS output, parsing, normalization
|
9 |
+
Version: 1.7.2
|
10 |
Author: Lilaea Media
|
11 |
Author URI: http://www.lilaeamedia.com/
|
12 |
Text Domain: chld_thm_cfg
|
292 |
*/
|
293 |
function update_arrays( $template, $query, $sel, $rule = NULL, $value = NULL, $important = 0 ) {
|
294 |
if ( $this->max_sel ) return;
|
295 |
+
if ( FALSE === strpos( $query, '@' ) ):
|
296 |
+
$query = 'base';
|
297 |
+
endif;
|
298 |
// normalize selector styling
|
299 |
$sel = implode( ', ', preg_split( '#\s*,\s*#s', trim( $sel ) ) );
|
300 |
// add selector and query to index
|
331 |
$this->val_ndx[ $qsid ][ $ruleid ][ $template ] = $this->dict_val[ $value ];
|
332 |
// set the important flag for this value
|
333 |
$this->val_ndx[ $qsid ][ $ruleid ][ 'i_' . $template ] = $important;
|
|
|
|
|
334 |
return $qsid;
|
335 |
endif;
|
336 |
}
|
339 |
if (! isset( $this->dict_val[ '' ] ) ) return FALSE;
|
340 |
$empty = $this->dict_val[ '' ];
|
341 |
foreach ( $this->val_ndx[ $qsid ] as $ruleid => $arr ):
|
342 |
+
if ( ( isset( $arr[ 'child' ] ) && $empty != $arr[ 'child' ] )
|
343 |
+
|| ( isset( $arr[ 'parnt' ] ) && $empty != $arr[ 'parnt' ] )
|
344 |
+
):
|
|
|
|
|
345 |
return FALSE;
|
346 |
endif;
|
347 |
endforeach;
|
348 |
+
// no values, prune from sel index, val index and qs dict data ( keep other dictionary records )
|
349 |
unset( $this->sel_ndx[ $this->dict_qs[ $qsid ][ 'q' ] ][ $this->dict_qs[ $qsid ][ 's' ] ] );
|
350 |
unset( $this->val_ndx[ $qsid ] );
|
351 |
unset( $this->dict_qs[ $qsid ] );
|
394 |
if ( isset( $_POST[ 'ctc_new_selectors' ] ) ):
|
395 |
$this->styles = $this->parse_css_input( LF . $_POST[ 'ctc_new_selectors' ] );
|
396 |
$this->parse_css( 'child',
|
397 |
+
( isset( $_POST[ 'ctc_sel_ovrd_query' ] ) ? trim( $_POST[ 'ctc_sel_ovrd_query' ] ) : NULL ), FALSE );
|
398 |
elseif ( isset( $_POST[ 'ctc_child_imports' ] ) ):
|
399 |
$this->imports[ 'child' ] = array();
|
400 |
$this->styles = $this->parse_css_input( $_POST[ 'ctc_child_imports' ] );
|
453 |
$rule, trim( $value ), $important );
|
454 |
// clear the original selector's child value:
|
455 |
$this->update_arrays( 'child', $selarr[ 'query' ], $selarr[ 'selector' ], $rule, '' );
|
456 |
+
// remove if all values have been cleared
|
457 |
+
// note: 1.7.2 we are only pruning after rename
|
458 |
+
$this->prune_if_empty( $qsid );
|
459 |
else:
|
460 |
// otherwise, just update with the new values:
|
461 |
$this->update_arrays( 'child', $selarr[ 'query' ], $selarr[ 'selector' ],
|
519 |
'data' => $this->obj_to_utf8( $this->denorm_sel_val( $qsid ) ),
|
520 |
);
|
521 |
endif;
|
522 |
+
do_action( 'chld_thm_cfg_update_qsid', $qsid );
|
523 |
endif;
|
524 |
}
|
525 |
|
564 |
preg_match( $regex, $this->styles, $matches );
|
565 |
$child_name = $this->get_prop( 'child_name' );
|
566 |
if ( !empty( $matches[ 1 ] ) && 'child' == $template && empty( $child_name ) ) $this->set_prop( 'child_name', $matches[ 1 ] );
|
567 |
+
$this->parse_css( $template, NULL, TRUE, $this->ctc()->normalize_path( dirname( $file ) ) );
|
568 |
}
|
569 |
|
570 |
// loads raw css file into local memory
|
710 |
'key' => $qsid,
|
711 |
'data' => $this->obj_to_utf8( $this->denorm_sel_val( $qsid ) ),
|
712 |
);
|
713 |
+
do_action( 'chld_thm_cfg_update_qsid', $qsid );
|
714 |
endif;
|
715 |
}
|
716 |
// converts relative path to absolute path for preview
|
includes/class-ctc-ui.php
CHANGED
@@ -3,9 +3,9 @@
|
|
3 |
if ( !defined( 'ABSPATH' ) ) exit;
|
4 |
/*
|
5 |
Class: Child_Theme_Configurator_UI
|
6 |
-
Plugin URI: http://www.
|
7 |
Description: Handles the plugin User Interface
|
8 |
-
Version: 1.7.
|
9 |
Author: Lilaea Media
|
10 |
Author URI: http://www.lilaeamedia.com/
|
11 |
Text Domain: chld_thm_cfg
|
3 |
if ( !defined( 'ABSPATH' ) ) exit;
|
4 |
/*
|
5 |
Class: Child_Theme_Configurator_UI
|
6 |
+
Plugin URI: http://www.childthemeconfigurator.com/
|
7 |
Description: Handles the plugin User Interface
|
8 |
+
Version: 1.7.2
|
9 |
Author: Lilaea Media
|
10 |
Author URI: http://www.lilaeamedia.com/
|
11 |
Text Domain: chld_thm_cfg
|
includes/class-ctc.php
CHANGED
@@ -4,9 +4,9 @@ if ( !defined( 'ABSPATH' ) ) exit;
|
|
4 |
|
5 |
/*
|
6 |
Class: Child_Theme_Configurator
|
7 |
-
Plugin URI: http://www.
|
8 |
Description: Main Controller Class
|
9 |
-
Version: 1.7.
|
10 |
Author: Lilaea Media
|
11 |
Author URI: http://www.lilaeamedia.com/
|
12 |
Text Domain: chld_thm_cfg
|
@@ -108,7 +108,7 @@ class ChildThemeConfiguratorAdmin {
|
|
108 |
$this->ui->render();
|
109 |
}
|
110 |
function enqueue_scripts() {
|
111 |
-
wp_enqueue_style( 'chld-thm-cfg-admin', CHLD_THM_CFG_URL . 'css/chld-thm-cfg.css', array(), '1.7.
|
112 |
|
113 |
// we need to use local jQuery UI Widget/Menu/Selectmenu 1.11.2 because selectmenu is not included in < 1.11.2
|
114 |
// this will be updated in a later release to use WP Core scripts when it is widely adopted
|
@@ -160,14 +160,14 @@ class ChildThemeConfiguratorAdmin {
|
|
160 |
'inval_theme_txt' => __( 'Please enter a valid Child Theme.', 'chld_thm_cfg' ),
|
161 |
'inval_name_txt' => __( 'Please enter a valid Child Theme name.', 'chld_thm_cfg' ),
|
162 |
'theme_exists_txt' => __( '<strong>%s</strong> exists. Please enter a different Child Theme', 'chld_thm_cfg' ),
|
163 |
-
'js_txt' => __( 'The page could not be loaded correctly
|
164 |
'chld_thm_cfg' ),
|
165 |
'jquery_txt' => __( 'Conflicting jQuery libraries were loaded by another plugin:',
|
166 |
'chld_thm_cfg' ),
|
167 |
'plugin_txt' => __( 'Deactivating other plugins may resolve this issue.', 'chld_thm_cfg' ),
|
168 |
'contact_txt' => sprintf( __( '%sWhy am I seeing this?%s',
|
169 |
'chld_thm_cfg' ),
|
170 |
-
'<a target="_blank" href="' .
|
171 |
'</a>' ),
|
172 |
) );
|
173 |
wp_localize_script(
|
4 |
|
5 |
/*
|
6 |
Class: Child_Theme_Configurator
|
7 |
+
Plugin URI: http://www.childthemeconfigurator.com/
|
8 |
Description: Main Controller Class
|
9 |
+
Version: 1.7.2
|
10 |
Author: Lilaea Media
|
11 |
Author URI: http://www.lilaeamedia.com/
|
12 |
Text Domain: chld_thm_cfg
|
108 |
$this->ui->render();
|
109 |
}
|
110 |
function enqueue_scripts() {
|
111 |
+
wp_enqueue_style( 'chld-thm-cfg-admin', CHLD_THM_CFG_URL . 'css/chld-thm-cfg.css', array(), '1.7.2' );
|
112 |
|
113 |
// we need to use local jQuery UI Widget/Menu/Selectmenu 1.11.2 because selectmenu is not included in < 1.11.2
|
114 |
// this will be updated in a later release to use WP Core scripts when it is widely adopted
|
160 |
'inval_theme_txt' => __( 'Please enter a valid Child Theme.', 'chld_thm_cfg' ),
|
161 |
'inval_name_txt' => __( 'Please enter a valid Child Theme name.', 'chld_thm_cfg' ),
|
162 |
'theme_exists_txt' => __( '<strong>%s</strong> exists. Please enter a different Child Theme', 'chld_thm_cfg' ),
|
163 |
+
'js_txt' => __( 'The page could not be loaded correctly.',
|
164 |
'chld_thm_cfg' ),
|
165 |
'jquery_txt' => __( 'Conflicting jQuery libraries were loaded by another plugin:',
|
166 |
'chld_thm_cfg' ),
|
167 |
'plugin_txt' => __( 'Deactivating other plugins may resolve this issue.', 'chld_thm_cfg' ),
|
168 |
'contact_txt' => sprintf( __( '%sWhy am I seeing this?%s',
|
169 |
'chld_thm_cfg' ),
|
170 |
+
'<a target="_blank" href="' . CHLD_THM_CFG_DOCS_URL . '/#script_dep">',
|
171 |
'</a>' ),
|
172 |
) );
|
173 |
wp_localize_script(
|
includes/forms/addl_panels.php
CHANGED
@@ -13,7 +13,7 @@ if ( !defined( 'CHLD_THM_CFG_PLUGINS_VERSION' ) ):
|
|
13 |
<?php _e( 'Learn more', 'chld_thm_cfg'); ?><i class="dashicons dashicons-external" style="text-decoration:none"></i></a></p>
|
14 |
</div></div>
|
15 |
<div class="ctc-input-cell-wide">
|
16 |
-
<a target="_blank" href="<?php echo
|
17 |
<h1><?php _e( 'Customizing WordPress just got even easier.', 'chld_thm_cfg' ); ?></h1>
|
18 |
<p><?php _e( 'Thousands of users have already seen the benefits of using Child Theme Configurator. If you spend any amount of time customizing WordPress, CTC Pro will help maximize your productivity.', 'chld_thm_cfg' ); ?></p>
|
19 |
<h1><?php _e( 'Designed by Developers Who Use It Every Day.', 'chld_thm_cfg' ); ?></h1>
|
13 |
<?php _e( 'Learn more', 'chld_thm_cfg'); ?><i class="dashicons dashicons-external" style="text-decoration:none"></i></a></p>
|
14 |
</div></div>
|
15 |
<div class="ctc-input-cell-wide">
|
16 |
+
<a target="_blank" href="<?php echo CHLD_THM_CFG_PRO_URL; ?>" title="<?php _e( 'Learn more about CTC Pro', 'chld_thm_cfg' ); ?>"><img src="<?php echo CHLD_THM_CFG_URL . 'css/pro-banner.jpg'; ?>" width="610" height="197" /></a>
|
17 |
<h1><?php _e( 'Customizing WordPress just got even easier.', 'chld_thm_cfg' ); ?></h1>
|
18 |
<p><?php _e( 'Thousands of users have already seen the benefits of using Child Theme Configurator. If you spend any amount of time customizing WordPress, CTC Pro will help maximize your productivity.', 'chld_thm_cfg' ); ?></p>
|
19 |
<h1><?php _e( 'Designed by Developers Who Use It Every Day.', 'chld_thm_cfg' ); ?></h1>
|
includes/forms/related.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<span style="float:right;margin-left:2em;margin-top:-6px;text-shadow:1px 2px 0 #fff"><strong><?php _e( 'New user?','chld_thm_cfg' ); ?> <span style="color:#F1823B"><?php _e( 'Click help', 'chld_thm_cfg' ); ?></span></strong> <i class="dashicons dashicons-arrow-right-alt" style="color:#F1823B"></i></span><a href="<?php echo
|
1 |
+
<span style="float:right;margin-left:2em;margin-top:-6px;text-shadow:1px 2px 0 #fff"><strong><?php _e( 'New user?','chld_thm_cfg' ); ?> <span style="color:#F1823B"><?php _e( 'Click help', 'chld_thm_cfg' ); ?></span></strong> <i class="dashicons dashicons-arrow-right-alt" style="color:#F1823B"></i></span><a href="<?php echo CHLD_THM_CFG_PRO_URL; ?>" target="_blank" title="<?php _e( 'Get CTC Pro and other tools', 'chld_thm_cfg' ); ?>" style="float:right"><img src="<?php echo CHLD_THM_CFG_URL; ?>css/lilaea-logo.png" height="36" width="145" alt="<?php _e( 'Lilaea Media - Responsive Tools for a Mobile World', 'chld_thm_cfg' ); ?>" /></a>
|
includes/help/help_en_US.php
CHANGED
@@ -26,7 +26,7 @@ if ( !defined( 'ABSPATH' ) ) exit;
|
|
26 |
<li><strong>Restore from backup (optional - new in version 1.6.0):</strong> If using an existing child theme, you can choose whether to reload the current child theme stylesheet (leave unchanged), reset all values, or restore it from a backup. If there are backup files available, they will appear as radio button options.</li>
|
27 |
<li><strong>Choose additional stylesheets</strong> If your theme uses additional stylesheets, you can open the "Parse Additional Stylesheets" toggle and they will appear as checkbox options. Stylesheets that are being used by the parent theme should be automatically selected for you. Only select additional stylesheets you wish to customize to reduce overhead. <strong>NOTE: If the parent theme uses Bootstrap stylesheets, they will not be automatically selected.</strong> You can select Bootstrap stylesheets manually if you need to customize them, but in most cases they add unecessary overhead to the configuration data.</li>
|
28 |
<li><strong>Click "Generate/Rebuild Child Theme Files."</strong></li>
|
29 |
-
<li><strong>IMPORTANT: <a target="_blank" href="
|
30 |
</ol>
|
31 |
<!-- END tab -->
|
32 |
<!-- BEGIN tab -->
|
@@ -86,7 +86,7 @@ if ( !defined( 'ABSPATH' ) ) exit;
|
|
86 |
<!-- END tab -->
|
87 |
<!-- BEGIN tab -->
|
88 |
<h3 id="ctc_preview">Preview and Activate</h3>
|
89 |
-
<p><strong>IMPORTANT: <a target="_blank" href="
|
90 |
<ol>
|
91 |
<li>Navigate to Appearance > Themes in the WordPress Admin. You will now see the new Child Theme as one of the installed Themes.</li>
|
92 |
<li>Click "Live Preview" below the new Child Theme to see it in action.</li>
|
@@ -137,12 +137,12 @@ if ( !defined( 'ABSPATH' ) ) exit;
|
|
137 |
</ul>
|
138 |
</p>
|
139 |
<h5 id="existing_parent">How do I move changes I have already made to a Child Theme?</h5>
|
140 |
-
<p>Follow <a href="
|
141 |
<h5 id="web_fonts">How do I add Web Fonts?</h5>
|
142 |
<p>The easiest method is to paste the @import code provided by <a href="http://www.google.com/fonts" title="Google Fonts">Google</a>, <a href="http://www.fontsquirrel.com/" title="Font Squirrel">Font Squirrel</a> or any other Web Font site into the @import tab. The fonts will then be available to use as a value of the <strong>font-family</strong> rule. Be sure you understand the license for any embedded fonts. </p>
|
143 |
<p>You can also create a secondary stylesheet that contains @font-face rules and import it using the @import tab. </p>
|
144 |
<h5 id="plugin">Does it work with plugins?</h5>
|
145 |
-
<p>We offer a premium extension to let you easily modify styles for any WordPress Plugin installed on your website. The Child Theme Configurator Plugin Extension scans your plugins and allows you to create custom stylesheets in your Child Theme. <a href="
|
146 |
<h5 id="doesnt_work">Why doesn't this work with my (insert theme vendor here) theme?</h5>
|
147 |
<p>Some themes (particularly commercial themes) do not correctly load parent template files or automatically load child theme stylesheets or php files.</p><p>This is unfortunate, because in the best case they effectively prohibit the webmaster from adding any customizations (other than those made through the admin theme options) that will survive past an upgrade. <strong>In the worst case they will break your website when you activate the child theme.</strong> </p>
|
148 |
<p>Contact the vendor directly to ask for this core functionality. It is our opinion that ALL themes (especially commercial ones) must pass the Theme Unit Tests outlined by WordPress.org. </p>
|
@@ -207,11 +207,11 @@ The plugin only loads the bulk of the code in the admin when you are using the t
|
|
207 |
<h4>Our plugins will not nag you for donations...</h4>
|
208 |
<span style="font-size:smaller">...but we LOVE referrals.</span><br/><a href="http://wordpress.org/support/view/plugin-reviews/child-theme-configurator?rate=5#postform">Give Us 5 Stars</a>
|
209 |
<h4>Introducing CTC Pro</h4>
|
210 |
-
<a href="
|
211 |
-
<p style="font-size:smaller">Designed by WordPress developers who use it every day, CTC Pro adds plugin stylesheets and other features to make design work quicker and easier. This is a free upgrade for users that purchased the Plugins Extension. <a href="
|
212 |
<ul>
|
213 |
<li><a href="http://www.lilaeamedia.com/about/contact/">Contact us</a></li>
|
214 |
-
<li><a href="http://www.
|
215 |
<li><a href="http://codex.wordpress.org/Child_Themes">WordPress Codex</a></li>
|
216 |
<li><a href="http://wordpress.stackexchange.com/">WordPress Answers</a></li>
|
217 |
</ul>
|
26 |
<li><strong>Restore from backup (optional - new in version 1.6.0):</strong> If using an existing child theme, you can choose whether to reload the current child theme stylesheet (leave unchanged), reset all values, or restore it from a backup. If there are backup files available, they will appear as radio button options.</li>
|
27 |
<li><strong>Choose additional stylesheets</strong> If your theme uses additional stylesheets, you can open the "Parse Additional Stylesheets" toggle and they will appear as checkbox options. Stylesheets that are being used by the parent theme should be automatically selected for you. Only select additional stylesheets you wish to customize to reduce overhead. <strong>NOTE: If the parent theme uses Bootstrap stylesheets, they will not be automatically selected.</strong> You can select Bootstrap stylesheets manually if you need to customize them, but in most cases they add unecessary overhead to the configuration data.</li>
|
28 |
<li><strong>Click "Generate/Rebuild Child Theme Files."</strong></li>
|
29 |
+
<li><strong>IMPORTANT: <a target="_blank" href="<?php echo CHLD_THM_CFG_DOCS_URL; ?>/#preview_activate" title="Test your child theme before activating!">Always test your child theme with Live Preview before activating!</a></strong></li>
|
30 |
</ol>
|
31 |
<!-- END tab -->
|
32 |
<!-- BEGIN tab -->
|
86 |
<!-- END tab -->
|
87 |
<!-- BEGIN tab -->
|
88 |
<h3 id="ctc_preview">Preview and Activate</h3>
|
89 |
+
<p><strong>IMPORTANT: <a target="_blank" href="<?php echo CHLD_THM_CFG_DOCS_URL; ?>/#preview_activate" title="Test your child theme before activating!">Test your child theme before activating!</a></strong> Some themes (particularly commercial themes) do not correctly load parent template files or automatically load child theme stylesheets or php files. <strong>In the worst cases they will break your website when you activate the child theme.</strong></p>
|
90 |
<ol>
|
91 |
<li>Navigate to Appearance > Themes in the WordPress Admin. You will now see the new Child Theme as one of the installed Themes.</li>
|
92 |
<li>Click "Live Preview" below the new Child Theme to see it in action.</li>
|
137 |
</ul>
|
138 |
</p>
|
139 |
<h5 id="existing_parent">How do I move changes I have already made to a Child Theme?</h5>
|
140 |
+
<p>Follow <a href="<?php echo CHLD_THM_CFG_DOCS_URL; ?>/#child_from_modified_parent" class="scroll-to">these steps</a>. </p>
|
141 |
<h5 id="web_fonts">How do I add Web Fonts?</h5>
|
142 |
<p>The easiest method is to paste the @import code provided by <a href="http://www.google.com/fonts" title="Google Fonts">Google</a>, <a href="http://www.fontsquirrel.com/" title="Font Squirrel">Font Squirrel</a> or any other Web Font site into the @import tab. The fonts will then be available to use as a value of the <strong>font-family</strong> rule. Be sure you understand the license for any embedded fonts. </p>
|
143 |
<p>You can also create a secondary stylesheet that contains @font-face rules and import it using the @import tab. </p>
|
144 |
<h5 id="plugin">Does it work with plugins?</h5>
|
145 |
+
<p>We offer a premium extension to let you easily modify styles for any WordPress Plugin installed on your website. The Child Theme Configurator Plugin Extension scans your plugins and allows you to create custom stylesheets in your Child Theme. <a href="<?php echo CHLD_THM_CFG_PRO_URL; ?>" title="Take Control of your Plugin Styles with Child Theme Configurator Plugin Extension for WordPress">Learn more <i class="genericon genericon-next"></i></a>
|
146 |
<h5 id="doesnt_work">Why doesn't this work with my (insert theme vendor here) theme?</h5>
|
147 |
<p>Some themes (particularly commercial themes) do not correctly load parent template files or automatically load child theme stylesheets or php files.</p><p>This is unfortunate, because in the best case they effectively prohibit the webmaster from adding any customizations (other than those made through the admin theme options) that will survive past an upgrade. <strong>In the worst case they will break your website when you activate the child theme.</strong> </p>
|
148 |
<p>Contact the vendor directly to ask for this core functionality. It is our opinion that ALL themes (especially commercial ones) must pass the Theme Unit Tests outlined by WordPress.org. </p>
|
207 |
<h4>Our plugins will not nag you for donations...</h4>
|
208 |
<span style="font-size:smaller">...but we LOVE referrals.</span><br/><a href="http://wordpress.org/support/view/plugin-reviews/child-theme-configurator?rate=5#postform">Give Us 5 Stars</a>
|
209 |
<h4>Introducing CTC Pro</h4>
|
210 |
+
<a href="<?php echo CHLD_THM_CFG_PRO_URL; ?>" title="<?php _e( 'Learn more about CTC Pro', 'chld_thm_cfg' ); ?>"><img src="<?php echo CHLD_THM_CFG_URL . 'css/pro-banner.jpg'; ?>" width="150" height="48" /></a>
|
211 |
+
<p style="font-size:smaller">Designed by WordPress developers who use it every day, CTC Pro adds plugin stylesheets and other features to make design work quicker and easier. This is a free upgrade for users that purchased the Plugins Extension. <a href="<?php echo CHLD_THM_CFG_PRO_URL; ?>" title="Child Theme Configurator Pro">Learn more</a></p>
|
212 |
<ul>
|
213 |
<li><a href="http://www.lilaeamedia.com/about/contact/">Contact us</a></li>
|
214 |
+
<li><a href="http://www.childthemeconfigurator.com/">Plugin Website</a></li>
|
215 |
<li><a href="http://codex.wordpress.org/Child_Themes">WordPress Codex</a></li>
|
216 |
<li><a href="http://wordpress.stackexchange.com/">WordPress Answers</a></li>
|
217 |
</ul>
|
js/chld-thm-cfg.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
/*!
|
2 |
* Script: chld-thm-cfg.js
|
3 |
-
* Plugin URI: http://www.
|
4 |
* Description: Handles jQuery, AJAX and other UI
|
5 |
-
* Version: 1.7.
|
6 |
* Author: Lilaea Media
|
7 |
* Author URI: http://www.lilaeamedia.com/
|
8 |
* License: GPLv2
|
@@ -932,7 +932,7 @@
|
|
932 |
var self = this,
|
933 |
ln = self.is_empty( exn.lineNumber ) ? '' : ' line: ' + exn.lineNumber,
|
934 |
fn = self.is_empty( exn.fileName ) ? '' : ' ' + exn.fileName.split( /\?/ )[ 0 ];
|
935 |
-
jquery_err.push( '<code><small>' + type + ': ' + exn.message + fn + ln + '</small></code>' );
|
936 |
},
|
937 |
|
938 |
jquery_notice: function() {
|
@@ -951,7 +951,7 @@
|
|
951 |
} );
|
952 |
errors.push( '<strong>' + self.getxt( 'js' ) + '</strong>' );
|
953 |
if ( 1 == ctcAjax.is_debug ) {
|
954 |
-
errors.push( jquery_err.join( '<br/>' ) );
|
955 |
}
|
956 |
if ( culprits.length ) {
|
957 |
errors.push( self.getxt( 'jquery' ) + '<br/>' + culprits.join( '<br/>' ) );
|
@@ -963,6 +963,7 @@
|
|
963 |
update: {
|
964 |
// render individual selector inputs on Query/Selector tab
|
965 |
qsid: function( res ) {
|
|
|
966 |
var self = this,
|
967 |
id, html, val, selector;
|
968 |
self.current_qsid = res.key;
|
@@ -979,14 +980,8 @@
|
|
979 |
$( '#ctc_child_load_order_container' ).html( html );
|
980 |
}
|
981 |
if ( self.is_empty( self.current_qsdata.value ) ) {
|
982 |
-
$( '#ctc_sel_ovrd_selector_selected' ).empty();
|
983 |
-
$( '.ctc-rewrite-toggle' ).empty();
|
984 |
-
$( '#ctc_sel_ovrd_new_rule,'
|
985 |
-
+ '#ctc_sel_ovrd_rule_header,'
|
986 |
-
+ '#ctc_sel_ovrd_rule_inputs_container,'
|
987 |
-
+ '#ctc_sel_ovrd_rule_inputs,'
|
988 |
-
+ '.ctc-rewrite-toggle' ).hide();
|
989 |
$( '#ctc_sel_ovrd_rule_inputs' ).empty();
|
|
|
990 |
} else {
|
991 |
html = '';
|
992 |
$.each( self.current_qsdata.value, function( rule, value ) {
|
@@ -996,23 +991,23 @@
|
|
996 |
self.setup_iris( this );
|
997 |
} );
|
998 |
self.coalesce_inputs( '#ctc_child_all_0_swatch' );
|
999 |
-
|
1000 |
-
|
1001 |
-
|
1002 |
-
|
1003 |
-
|
1004 |
-
|
1005 |
-
|
1006 |
-
|
1007 |
-
|
1008 |
-
$( '.ctc-rewrite-toggle' ).text( self.getxt( 'rename' ) );
|
1009 |
-
$( '#ctc_sel_ovrd_new_rule,'
|
1010 |
-
+ '#ctc_sel_ovrd_rule_header,'
|
1011 |
-
+ '#ctc_sel_ovrd_rule_inputs_container,'
|
1012 |
-
+ '#ctc_sel_ovrd_rule_inputs,'
|
1013 |
-
+ '.ctc-rewrite-toggle' ).show();
|
1014 |
-
self.scrolltop();
|
1015 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1016 |
}
|
1017 |
},
|
1018 |
// render list of unique values for given rule on Rule/Value tab
|
1 |
/*!
|
2 |
* Script: chld-thm-cfg.js
|
3 |
+
* Plugin URI: http://www.childthemeconfigurator.com/
|
4 |
* Description: Handles jQuery, AJAX and other UI
|
5 |
+
* Version: 1.7.2
|
6 |
* Author: Lilaea Media
|
7 |
* Author URI: http://www.lilaeamedia.com/
|
8 |
* License: GPLv2
|
932 |
var self = this,
|
933 |
ln = self.is_empty( exn.lineNumber ) ? '' : ' line: ' + exn.lineNumber,
|
934 |
fn = self.is_empty( exn.fileName ) ? '' : ' ' + exn.fileName.split( /\?/ )[ 0 ];
|
935 |
+
self.jquery_err.push( '<code><small>' + type + ': ' + exn.message + fn + ln + '</small></code>' );
|
936 |
},
|
937 |
|
938 |
jquery_notice: function() {
|
951 |
} );
|
952 |
errors.push( '<strong>' + self.getxt( 'js' ) + '</strong>' );
|
953 |
if ( 1 == ctcAjax.is_debug ) {
|
954 |
+
errors.push( self.jquery_err.join( '<br/>' ) );
|
955 |
}
|
956 |
if ( culprits.length ) {
|
957 |
errors.push( self.getxt( 'jquery' ) + '<br/>' + culprits.join( '<br/>' ) );
|
963 |
update: {
|
964 |
// render individual selector inputs on Query/Selector tab
|
965 |
qsid: function( res ) {
|
966 |
+
//console.log( res );
|
967 |
var self = this,
|
968 |
id, html, val, selector;
|
969 |
self.current_qsid = res.key;
|
980 |
$( '#ctc_child_load_order_container' ).html( html );
|
981 |
}
|
982 |
if ( self.is_empty( self.current_qsdata.value ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
983 |
$( '#ctc_sel_ovrd_rule_inputs' ).empty();
|
984 |
+
$( '#ctc_sel_ovrd_rule_header' ).hide();
|
985 |
} else {
|
986 |
html = '';
|
987 |
$.each( self.current_qsdata.value, function( rule, value ) {
|
991 |
self.setup_iris( this );
|
992 |
} );
|
993 |
self.coalesce_inputs( '#ctc_child_all_0_swatch' );
|
994 |
+
$( '#ctc_sel_ovrd_rule_header' ).show();
|
995 |
+
}
|
996 |
+
if ( self.jquery_err.length ) {
|
997 |
+
self.jquery_notice();
|
998 |
+
} else {
|
999 |
+
//console.log( 'reload menus: ' + ( self.reload_menus ? 'true' : 'false' ) );
|
1000 |
+
if ( self.reload_menus ) {
|
1001 |
+
self.set_query( self.current_qsdata.query );
|
1002 |
+
self.load_rules();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1003 |
}
|
1004 |
+
$( '#ctc_sel_ovrd_selector_selected' ).text( self.current_qsdata.selector );
|
1005 |
+
$( '.ctc-rewrite-toggle' ).text( self.getxt( 'rename' ) );
|
1006 |
+
$( '#ctc_sel_ovrd_new_rule,'
|
1007 |
+
+ '#ctc_sel_ovrd_rule_inputs_container,'
|
1008 |
+
+ '#ctc_sel_ovrd_rule_inputs,'
|
1009 |
+
+ '.ctc-rewrite-toggle' ).show();
|
1010 |
+
//self.scrolltop();
|
1011 |
}
|
1012 |
},
|
1013 |
// render list of unique values for given rule on Rule/Value tab
|
js/chld-thm-cfg.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(e){e.chldthmcfg={esc_quot:function(e){var t=this;return t.is_empty(e)?e:e.toString().replace(/"/g,""")},getxt:function(e){return(text=ctcAjax[e+"_txt"])?text:""},from_ascii:function(e){var t=parseInt(e),c=String.fromCharCode(t);return c},to_ascii:function(e){var t=e.charCodeAt(0);return t},is_empty:function(e){if("undefined"==typeof e||!1===e||null===e||""===e)return!0;if(!0===e||"string"==typeof e||"number"==typeof e)return!1;if("object"==typeof e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}return!1},theme_exists:function(t,c){var n=!1;return e.each(ctcAjax.themes,function(i,r){return e.each(r,function(e){return e!=t||"parnt"!=i&&"new"!=c?void 0:(n=!0,!1)}),n?!1:void 0}),n},validate:function(){var t=this,c=/[^\w\-]/,n=e("#ctc_child_template").length?e("#ctc_child_template").val().toString().replace(c).toLowerCase():"",i=e("#ctc_theme_child").length?e("#ctc_theme_child").val().toString().replace(c).toLowerCase():n,r=e("input[name=ctc_child_type]:checked").val(),a=[];return"new"==r&&(i=n),t.theme_exists(i,r)&&a.push(t.getxt("theme_exists").toString().replace(/%s/,i)),""===i&&a.push(t.getxt("inval_theme")),""===e("#ctc_child_name").val()&&a.push(t.getxt("inval_name")),a.length?(t.set_notice({error:a}),!1):!0},autogen_slugs:function(){if(e("#ctc_theme_parnt").length){for(var t=this,c=e("#ctc_theme_parnt").val(),n=slugbase=c+"-child",i=ctcAjax.themes.parnt[c].Name+" Child",r="",a="",s="00";t.theme_exists(n,"new");)r=""==r?2:r+1,a=s.substring(0,s.length-r.toString().length)+r.toString(),n=slugbase+a;t.testslug=n,t.testname=i+(a.length?" "+a:"")}},focus_panel:function(t){var c=t+"_panel";e(".nav-tab").removeClass("nav-tab-active"),e(".ctc-option-panel").removeClass("ctc-option-panel-active"),e(".ctc-selector-container").hide(),e(t).addClass("nav-tab-active"),e(".ctc-option-panel-container").scrollTop(0),e(c).addClass("ctc-option-panel-active")},selector_input_toggle:function(t){var c,n=this;e("#ctc_rewrite_selector").length?(c=e("#ctc_rewrite_selector_orig").val(),e("#ctc_sel_ovrd_selector_selected").text(c),e(t).text(n.getxt("rename"))):(c=e("#ctc_sel_ovrd_selector_selected").text(),e("#ctc_sel_ovrd_selector_selected").html('<textarea id="ctc_rewrite_selector" name="ctc_rewrite_selector" autocomplete="off"></textarea><input id="ctc_rewrite_selector_orig" name="ctc_rewrite_selector_orig" type="hidden" value="'+n.esc_quot(c)+'"/>'),e("#ctc_rewrite_selector").val(c),e(t).text(n.getxt("cancel")))},fade_update_notice:function(){e(".updated, .error").slideUp("slow",function(){e(".updated").remove()})},coalesce_inputs:function(t){var c=this,n=/^(ctc_(ovrd|\d+)_(parent|child)_([0-9a-z\-]+)_(\d+))(_\w+)?$/,i=e(t).parents(".ctc-selector-row, .ctc-parent-row").first(),r=i.find(".ctc-swatch").first(),a={parent:{},child:{}},s={parent:{origin:"",start:"",end:""},child:{origin:"",start:"",end:""}},l={child:!1,parent:!1},o={};return i.find(".ctc-parent-value, .ctc-child-value").each(function(){var i,r,_=e(this).attr("id"),u=_.toString().match(n),d=u[2],p=u[3],h="undefined"==typeof u[4]?"":u[4],m=u[5],v="undefined"==typeof u[6]?"":u[6],f="parent"==p?e(this).text().replace(/!$/,""):e(this).val(),g="ctc_"+d+"_child_"+h+"_i_"+m;if(c.is_empty(e(this).data("color"))||(f=e(this).data("color"),e(this).data("color",null)),"child"==p&&(o[_]=f,o[g]=e("#"+g).is(":checked")?1:0),""!=f)if(c.is_empty(v))(i=h.toString().match(/^border(\-(top|right|bottom|left))?$/)&&!f.match(/none/))?(r=f.toString().split(/ +/),a[p][h+"-width"]="undefined"==typeof r[0]?"":r[0],a[p][h+"-style"]="undefined"==typeof r[1]?"":r[1],a[p][h+"-color"]="undefined"==typeof r[2]?"":r[2]):"background-image"!=h||f.match(/none/)?"seq"!=h&&(a[p][h]=f):f.toString().match(/url\(/)?a[p]["background-image"]=c.image_url(p,f):(r=f.toString().split(/ +/),r.length>2?(s[p].origin="undefined"==typeof r[0]?"top":r[0],s[p].start="undefined"==typeof r[1]?"transparent":r[1],s[p].end="undefined"==typeof r[2]?"transparent":r[2],l[p]=!0):a[p]["background-image"]=f);else switch(v){case"_border_width":a[p][h+"-width"]="none"==f?0:f;break;case"_border_style":a[p][h+"-style"]=f;break;case"_border_color":a[p][h+"-color"]=f;break;case"_background_url":a[p]["background-image"]=c.image_url(p,f);break;case"_background_color":a[p]["background-color"]=t.value;break;case"_background_color1":s[p].start=f,l[p]=!0;break;case"_background_color2":s[p].end=f,l[p]=!0;break;case"_background_origin":s[p].origin=f,l[p]=!0}}),"undefined"==typeof r||c.is_empty(r.attr("id"))||(r.removeAttr("style"),l.parent&&r.ctcgrad(s.parent.origin,[s.parent.start,s.parent.end]),r.css(a.parent),r.attr("id").toString().match(/parent/)||(l.child&&r.ctcgrad(s.child.origin,[s.child.start,s.child.end]),r.css(a.child)),r.css({"z-index":-1})),o},decode_value:function(e,t){t="undefined"==typeof t?"":t;var c=this,n={orig:t};if(e.toString().match(/^border(\-(top|right|bottom|left))?$/)){var i=t.toString().split(/ +/);n.names=["_border_width","_border_style","_border_color"],n.values=["undefined"==typeof i[0]?"":i[0],"undefined"==typeof i[1]?"":i[1],"undefined"==typeof i[2]?"":i[2]]}else if(e.toString().match(/^background\-image/))if(n.names=["_background_url","_background_origin","_background_color1","_background_color2"],n.values=["","","",""],!1!==c.is_empty(t)||t.toString().match(/(url|none)/))n.values[0]=t;else{var i=t.toString().split(/:/);n.values[1]="undefined"==typeof i[0]?"":i[0],n.values[2]="undefined"==typeof i[1]?"":i[1],n.values[3]="undefined"==typeof i[3]?"":i[3],n.orig=[n.values[1],n.values[2],n.values[3]].join(" ")}else n.names=[""],n.values=[t];return n},image_url:function(e,t){var c,n=this,i=t.toString().match(/url\(['" ]*(.+?)['" ]*\)/),r=n.is_empty(i)?null:i[1],a=ctcAjax.theme_uri+"/"+("parent"==e?ctcAjax.parnt:ctcAjax.child)+"/";return r?c=r.toString().match(/^(data:|https?:|\/)/)?t:"url("+a+r+")":!1},setup_menus:function(){var e=this;e.setup_query_menu(),e.setup_selector_menu(),e.setup_rule_menu(),e.setup_new_rule_menu(),e.load_queries(),e.load_rules(),e.set_query(e.current_query)},load_queries:function(){var e=this;e.query_css("queries",null)},load_selectors:function(){var e=this;e.query_css("selectors",e.current_query)},load_rules:function(){var e=this;e.query_css("rules",null)},load_selector_values:function(){var e=this;e.query_css("qsid",e.current_qsid)},get_queries:function(t,c){var n=[],i=new RegExp(e.ui.autocomplete.escapeRegex(t.term),"i");e.each(this.element.data("menu"),function(e,t){i.test(t)&&n.push({label:t,value:t})}),c(n)},get_selectors:function(t,c){var n=[],i=new RegExp(e.ui.autocomplete.escapeRegex(t.term),"i");e.each(this.element.data("menu"),function(e,t){i.test(e)&&n.push({label:e,value:t})}),c(n)},get_rules:function(t,c){var n=[],i=new RegExp(e.ui.autocomplete.escapeRegex(t.term),"i");e.each(this.element.data("menu"),function(e,t){i.test(e)&&n.push({label:e,value:t})}),c(n)},get_filtered_rules:function(t,c){var n=[],i=new RegExp(e.ui.autocomplete.escapeRegex(t.term),"i"),r=e.chldthmcfg.current_qsdata,a=e.chldthmcfg.is_empty(r)||e.chldthmcfg.is_empty(r.value);e.each(e("#ctc_rule_menu").data("menu"),function(t,c){var s=!1;if(i.test(t)){if(!a&&(e.each(r.value,function(e){return t==e.replace(/\d+/g,self.from_ascii)?(s=!0,!1):void 0}),s))return;n.push({label:t,value:c})}}),c(n)},input_row:function(t,c,n,i){var r=this,a="",s=r.is_empty(i)||r.is_empty(i.value)||r.is_empty(i.value[c])?"":i.value[c],l=r.decode_value(c,r.is_empty(s)?"":s.parnt),o=r.is_empty(s)||r.is_empty(s.i_parnt)||1!=s.i_parnt?"":r.getxt("important"),_=r.decode_value(c,r.is_empty(s)?"":s.child),u=r.is_empty(s)||r.is_empty(s.i_child)||1!=s.i_child?0:1,d="ctc_"+n+"_child_"+c+"_i_"+t;return r.is_empty(i)||(a+='<div class="ctc-'+("ovrd"==n?"input":"selector")+'-row clearfix">\n<div class="ctc-input-cell">'+("ovrd"==n?c.replace(/\d+/g,r.from_ascii):i.selector+'<br/><a href="#" class="ctc-selector-edit" id="ctc_selector_edit_'+t+'" >'+r.getxt("edit")+"</a> "+(r.is_empty(l.orig)?r.getxt("child_only"):""))+"</div>\n","ovrd"==n&&(a+='<div class="ctc-parent-value ctc-input-cell" id="ctc_'+n+"_parent_"+c+"_"+t+'">'+(r.is_empty(l.orig)?"[no value]":l.orig+o)+"</div>\n"),a+='<div class="ctc-input-cell">\n',r.is_empty(l.names)||(e.each(l.names,function(e,i){i=r.is_empty(i)?"":i,a+='<div class="ctc-child-input-cell">\n';var s,l="ctc_"+n+"_child_"+c+"_"+t+i;!1===(s=_.values.shift())&&(s=""),a+=(r.is_empty(i)?"":r.getxt(i)+":<br/>")+'<input type="text" id="'+l+'" name="'+l+'" class="ctc-child-value'+((i+c).toString().match(/color/)?" color-picker":"")+(i.toString().match(/url/)?" ctc-input-wide":"")+'" value="'+r.esc_quot(s)+'" />\n</div>\n'}),a+='<label for="'+d+'"><input type="checkbox" id="'+d+'" name="'+d+'" value="1" '+(1===u?"checked":"")+" />"+r.getxt("important")+"</label>\n"),a+="</div>\n"+("ovrd"==n?"":'<div class="ctc-swatch ctc-specific" id="ctc_child_'+c+"_"+t+'_swatch">'+r.getxt("swatch")+'</div>\n<div class="ctc-child-input-cell ctc-button-cell" id="ctc_save_'+c+"_"+t+'_cell">\n<input type="button" class="button ctc-save-input" id="ctc_save_'+c+"_"+t+'" name="ctc_save_'+c+"_"+t+'" value="Save" /></div>\n')+"</div><!-- end input row -->\n"),a},scrolltop:function(){e("html, body, .ctc-option-panel-container").animate({scrollTop:0})},css_preview:function(e){var e,t=this;(e=e.match(/(child|parnt)/)[1])||(e="child"),t.query_css("preview",e)},setup_iris:function(t){var c=this;try{e(t).iris({change:function(n,i){e(t).data("color",i.color.toString()),c.coalesce_inputs(t)}})}catch(n){c.jquery_exception(n,"Iris Color Picker")}},setup_query_menu:function(){var t=this;try{e("#ctc_sel_ovrd_query").autocomplete({source:t.get_queries,minLength:0,selectFirst:!0,autoFocus:!0,select:function(e,c){return t.set_query(c.item.value),!1},focus:function(e){e.preventDefault()}}).data("menu",{})}catch(c){t.jquery_exception(c,"Query Menu")}},setup_selector_menu:function(){var t=this;try{e("#ctc_sel_ovrd_selector").autocomplete({source:t.get_selectors,selectFirst:!0,autoFocus:!0,select:function(e,c){return t.set_selector(c.item.value,c.item.label),!1},focus:function(e){e.preventDefault()}}).data("menu",{})}catch(c){t.jquery_exception(c,"Selector Menu")}},setup_rule_menu:function(){var t=this;try{e("#ctc_rule_menu").autocomplete({source:t.get_rules,selectFirst:!0,autoFocus:!0,select:function(e,c){return t.set_rule(c.item.value,c.item.label),!1},focus:function(e){e.preventDefault()}}).data("menu",{})}catch(c){t.jquery_exception(c,"Rule Menu")}},setup_new_rule_menu:function(){var t=this;try{e("#ctc_new_rule_menu").autocomplete({source:t.get_filtered_rules,selectFirst:!0,autoFocus:!0,select:function(c,n){c.preventDefault(),t.is_empty(t.current_qsdata.value)&&(t.current_qsdata.value={}),t.current_qsdata.value[n.item.label]={child:""};var i=n.item.label.replace(/[^\w\-]/g,t.to_ascii),r=e(t.input_row(t.current_qsid,i,"ovrd",t.current_qsdata));return e("#ctc_sel_ovrd_rule_inputs").append(r),e("#ctc_new_rule_menu").val(""),r.find('input[type="text"]').each(function(c,n){e(n).hasClass("color-picker")&&t.setup_iris(n),e(n).focus()}),t.jquery_err.length&&t.jquery_notice(),!1},focus:function(e){e.preventDefault()}}).data("menu",{})}catch(c){t.jquery_exception(c,"New Rule Menu")}},set_existing:function(){var t=this;if(e("#ctc_theme_child").length&&e("#ctc_child_type_existing").is(":checked")){var c=e("#ctc_theme_child").val();t.is_empty(c)||(e("#ctc_child_name").val(ctcAjax.themes.child[c].Name),e("#ctc_child_author").val(ctcAjax.themes.child[c].Author),e("#ctc_child_version").val(ctcAjax.themes.child[c].Version),e("#ctc_child_authoruri").val(ctcAjax.themes.child[c].AuthorURI),e("#ctc_child_themeuri").val(ctcAjax.themes.child[c].ThemeURI),e("#ctc_child_descr").val(ctcAjax.themes.child[c].Descr),e("#ctc_child_tags").val(ctcAjax.themes.child[c].Tags))}},set_notice:function(t){var c=this,n="";c.is_empty(t)||e.each(t,function(t,c){n+='<div class="'+t+'"><ul>\n',e(c).each(function(e,t){n+="<li>"+t.toString()+"</li>\n"}),n+="</ul></div>"}),e("#ctc_error_notice").html(n),e("html, body").animate({scrollTop:0},"slow")},set_parent_menu:function(t){e("#ctc_theme_parent").parents(".ctc-input-row").first().append('<span class="ctc-status-icon spinner"></span>'),e(".spinner").show(),document.location="?page="+ctcAjax.page+"&ctc_parent="+t.value},set_child_menu:function(t){var c=this;c.is_empty(ctcAjax.themes.child[t.value])||(e("#ctc_child_name").val(ctcAjax.themes.child[t.value].Name),e("#ctc_child_author").val(ctcAjax.themes.child[t.value].Author),e("#ctc_child_version").val(ctcAjax.themes.child[t.value].Version))},set_query:function(t){var c=this;c.current_query=t,e("#ctc_sel_ovrd_query").val(""),e("#ctc_sel_ovrd_query_selected").text(t),e("#ctc_sel_ovrd_selector").val(""),e("#ctc_sel_ovrd_selector_selected").html(" "),c.load_selectors()},set_selector:function(t){var c=this;e("#ctc_sel_ovrd_selector").val(""),c.current_qsid=t,c.reload_menus=!1,c.load_selector_values()},set_rule:function(t,c){var n=this;e("#ctc_rule_menu").val(""),e("#ctc_rule_menu_selected").text(c),e(".ctc-rewrite-toggle").text(n.getxt("rename")),e("#ctc_rule_value_inputs, #ctc_input_row_rule_header").show(),n.query_css("rule_val",t)},set_qsid:function(t){var c=this;c.current_qsid=e(t).attr("id").match(/_(\d+)$/)[1],c.focus_panel("#query_selector_options"),c.reload_menus=!0,c.load_selector_values()},set_addl_css:function(){var t,c=this,n=e("#ctc_theme_parnt").val(),i=ctcAjax.theme_uri.replace(/^https?:\/\//,""),r=ctcAjax.homeurl.replace(/^https?/,ctcAjax.ssl?"https":"http"),a=r+"?preview=1&p=x&template="+n+"&stylesheet="+n,s=new RegExp("<link rel=[\"']stylesheet[\"'][^>]+?"+i+"/"+n+"/(.+?\\.css)[^>]+?>","g");c.is_empty(n)||(n!=ctcAjax.parnt?e.get(a,function(c){for(;(t=s.exec(c))&&"style.css"!=t[1];)t[1].match(/bootstrap/)||e(".ctc_checkbox").each(function(){e(this).val()==t[1]&&e(this).prop("checked",!0)});c=null}):e(ctcAjax.addl_css).each(function(t,c){e("#ctc_stylesheet_files .ctc_checkbox").each(function(){e(this).val()==c&&e(this).prop("checked",!0)})}))},query_css:function(t,c,n){var i=this,r={ctc_query_obj:t,ctc_query_key:c},a="#ctc_status_"+t+("val_qry"==t?"_"+c:"");"object"==typeof n&&e.each(n,function(e,t){r["ctc_query_"+e]=t}),e(".query-icon").remove(),e(a+" .ctc-status-icon").remove(),e(a).append('<span class="ctc-status-icon spinner query-icon"></span>'),e(".spinner").show(),r.action=i.is_empty(e("#ctc_action").val())||"plugin"!=e("#ctc_action").val()?"ctc_query":"ctc_plgqry",r._wpnonce=e("#_wpnonce").val(),i.ajax_post(t,r)},save:function(t){var c,n,i,r,a,s=this,l=(ctcAjax.ajaxurl,{}),o=e(t).attr("id");e(t).prop("disabled",!0),e(".ctc-status-icon").remove(),e(t).parent(".ctc-textarea-button-cell, .ctc-button-cell").append('<span class="ctc-status-icon spinner save-icon"></span>'),o.match(/ctc_configtype/)?(e(t).parents(".ctc-input-row").first().append('<span class="ctc-status-icon spinner save-icon"></span>'),l.ctc_configtype=e(t).val()):(c=e("#ctc_new_selectors"))&&"ctc_save_new_selectors"==e(t).attr("id")?(l.ctc_new_selectors=c.val(),(n=e("#ctc_sel_ovrd_query_selected"))&&(l.ctc_sel_ovrd_query=n.text()),s.reload_menus=!0):(i=e("#ctc_child_imports"))&&"ctc_save_imports"==e(t).attr("id")?l.ctc_child_imports=i.val():"ctc_is_debug"==e(t).attr("id")?l.ctc_is_debug=e("#ctc_is_debug").is(":checked")?1:0:l=s.coalesce_inputs(t),e(".save-icon").show(),e("#ctc_sel_ovrd_selector_selected").find("#ctc_rewrite_selector").each(function(){r=e("#ctc_rewrite_selector").val(),a=e("#ctc_rewrite_selector_orig").val(),s.is_empty(r)||!r.toString().match(/\w/)?r=a:(l.ctc_rewrite_selector=r,s.reload_menus=!0),e(".ctc-rewrite-toggle").text(s.getxt("rename")),e("#ctc_sel_ovrd_selector_selected").html(r)}),l.action=s.is_empty(e("#ctc_action").val())||"plugin"!=e("#ctc_action").val()?"ctc_update":"ctc_plugin",l._wpnonce=e("#_wpnonce").val(),s.ajax_post("qsid",l)},ajax_post:function(t,c,n){var i=this,r=ctcAjax.ajaxurl;e.ajax({url:r,data:c,dataType:i.is_empty(n)?"json":n,type:"POST"}).done(function(e){i.handle_success(t,e)}).fail(function(){i.handle_failure(t)})},handle_failure:function(t){var c=this;e(".query-icon, .save-icon").removeClass("spinner").addClass("failure"),e("input[type=submit], input[type=button]").prop("disabled",!1),e(".ajax-pending").removeClass("ajax-pending"),"preview"==t&&e("#view_parnt_options_panel,#view_child_options_panel").text(c.getxt("css_fail"))},handle_success:function(t,c){var n=this;e(".query-icon, .save-icon").removeClass("spinner"),e(".ajax-pending").removeClass("ajax-pending"),n.is_empty(c)?n.handle_failure(t):(e("#ctc_new_selectors").val(""),e(".query-icon, .save-icon").addClass("success"),e("input[type=submit], input[type=button]").prop("disabled",!1),e(c).each(function(){"function"==typeof n.update[this.obj]&&n.update[this.obj].call(n,this)}))},jquery_exception:function(e,t){var c=this,n=c.is_empty(e.lineNumber)?"":" line: "+e.lineNumber,i=c.is_empty(e.fileName)?"":" "+e.fileName.split(/\?/)[0];jquery_err.push("<code><small>"+t+": "+e.message+i+n+"</small></code>")},jquery_notice:function(){var t=this,c=[],n=[];e("input[type=submit], input[type=button]").prop("disabled",!0),e("script").each(function(){var n=e(this).prop("src");t.is_empty(n)||!n.match(/jquery(\.min|\.js|\-?ui)/i)||n.match(/load\-scripts.php/)||c.push("<code><small>"+n.split(/\?/)[0]+"</small></code>")}),n.push("<strong>"+t.getxt("js")+"</strong>"),1==ctcAjax.is_debug&&n.push(jquery_err.join("<br/>")),c.length&&n.push(t.getxt("jquery")+"<br/>"+c.join("<br/>")),n.push(t.getxt("plugin")+" "+t.getxt("contact")),t.set_notice({error:n})},update:{qsid:function(t){var c,n,i,r=this;r.current_qsid=t.key,r.current_qsdata=t.data,e("#ctc_sel_ovrd_qsid").val(r.current_qsid),r.is_empty(r.current_qsdata.seq)?e("#ctc_child_load_order_container").empty():(c="ctc_ovrd_child_seq_"+r.current_qsid,i=parseInt(r.current_qsdata.seq),n='<input type="text" id="'+c+'" name="'+c+'" class="ctc-child-value" value="'+i+'" />',e("#ctc_child_load_order_container").html(n)),r.is_empty(r.current_qsdata.value)?(e("#ctc_sel_ovrd_selector_selected").empty(),e(".ctc-rewrite-toggle").empty(),e("#ctc_sel_ovrd_new_rule,#ctc_sel_ovrd_rule_header,#ctc_sel_ovrd_rule_inputs_container,#ctc_sel_ovrd_rule_inputs,.ctc-rewrite-toggle").hide(),e("#ctc_sel_ovrd_rule_inputs").empty()):(n="",e.each(r.current_qsdata.value,function(e){n+=r.input_row(r.current_qsid,e,"ovrd",r.current_qsdata)}),e("#ctc_sel_ovrd_rule_inputs").html(n).find(".color-picker").each(function(){r.setup_iris(this)}),r.coalesce_inputs("#ctc_child_all_0_swatch"),r.jquery_err.length?r.jquery_notice():(r.reload_menus&&(r.set_query(r.current_qsdata.query),r.load_rules()),e("#ctc_sel_ovrd_selector_selected").text(r.current_qsdata.selector),e(".ctc-rewrite-toggle").text(r.getxt("rename")),e("#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(),r.scrolltop()))},rule_val:function(t){var c=this,n=e("#ctc_rule_menu_selected").text(),i='<div class="ctc-input-row clearfix" id="ctc_rule_row_'+n+'">\n';c.is_empty(t.data)||(e.each(t.data,function(e,t){var r=c.decode_value(n,t);i+='<div class="ctc-parent-row clearfix" id="ctc_rule_row_'+n+"_"+e+'">\n<div class="ctc-input-cell ctc-parent-value" id="ctc_'+e+"_parent_"+n+"_"+e+'">'+r.orig+'</div>\n<div class="ctc-input-cell">\n<div class="ctc-swatch ctc-specific" id="ctc_'+e+"_parent_"+n+"_"+e+'_swatch">'+c.getxt("swatch")+'</div></div>\n<div class="ctc-input-cell"><a href="#" class="ctc-selector-handle" id="ctc_selector_'+n+"_"+e+'">'+c.getxt("selector")+'</a></div>\n<div id="ctc_selector_'+n+"_"+e+'_container" class="ctc-selector-container">\n<a href="#" id="ctc_selector_'+n+"_"+e+'_close" class="ctc-selector-handle ctc-exit" title="'+c.getxt("close")+'"></a><div id="ctc_selector_'+n+"_"+e+'_inner_container" class="ctc-selector-inner-container clearfix">\n<div id="ctc_status_val_qry_'+e+'"></div>\n<div id="ctc_selector_'+n+"_"+e+'_rows"></div>\n</div></div></div>\n'}),i+="</div>\n"),e("#ctc_rule_value_inputs").html(i).find(".ctc-swatch").each(function(){c.coalesce_inputs(this)})},val_qry:function(t){var c=this,n="";c.is_empty(t.data)||e.each(t.data,function(i,r){page_rule=i,e.each(r,function(r,a){n+='<h4 class="ctc-query-heading">'+r+"</h4>\n",c.is_empty(a)||e.each(a,function(e,r){n+=c.input_row(e,i,t.key,r)})})}),selector="#ctc_selector_"+rule+"_"+t.key+"_rows",e(selector).html(n).find(".color-picker").each(function(){c.setup_iris(this)}),e(selector).find(".ctc-swatch").each(function(){c.coalesce_inputs(this)}),c.jquery_err.length&&c.jquery_notice()},queries:function(t){e("#ctc_sel_ovrd_query").data("menu",t.data)},selectors:function(t){e("#ctc_sel_ovrd_selector").data("menu",t.data)},rules:function(t){e("#ctc_rule_menu").data("menu",t.data)},debug:function(t){e("#ctc_debug_container").html(t.data)},preview:function(t){e("#view_"+t.key+"_options_panel").text(t.data)}},init:function(){var t=this;if(t.autogen_slugs(),t.set_existing(),!e("#ctc_theme_parnt").is("input")){try{e.widget("ctc.themeMenu",e.ui.selectmenu,{_renderItem:function(t,c){var n=e("<li>");return e("#ctc_theme_option_"+c.value).detach().appendTo(n),n.appendTo(t)}})}catch(c){t.jquery_exception(c,"Theme Menu")}try{e("#ctc_theme_parnt").themeMenu({select:function(e,c){t.set_parent_menu(c.item)}})}catch(c){"function"==typeof themeMenu?e("#ctc_theme_parnt").themeMenu("destroy"):e("#ctc_theme_parnt-button").remove(),t.jquery_exception(c,"Parent Theme Menu")}if(t.is_empty(ctcAjax.themes.child))e("#ctc_child_name").length&&(e("#ctc_child_name").val(t.testname),e("#ctc_child_template").val(t.testslug));else try{e("#ctc_theme_child").themeMenu({select:function(e,c){t.set_child_menu(c.item)}})}catch(c){"function"==typeof themeMenu?e("#ctc_theme_child").themeMenu("destroy"):e("#ctc_theme_child-button").remove(),t.jquery_exception(c,"Child Theme Menu")}}t.is_empty(t.jquery_err)?(e("#ctc_main").on("focus",".color-picker",function(){try{e(".color-picker").not(this).iris("hide"),e(this).iris("toggle"),e(".iris-picker").css({position:"absolute","z-index":10})}catch(c){t.jquery_exception(c,"Iris Color Picker")}}),e("#ctc_main").on("change",".ctc-child-value, input[type=checkbox]",function(){t.coalesce_inputs(this)}),e("#ctc_main").on("click",".ctc-selector-handle",function(c){if(c.preventDefault(),e(this).hasClass("ajax-pending"))return!1;e(this).addClass("ajax-pending");var n=e(this).attr("id").toString().replace("_close",""),i=n.toString().match(/_([^_]+)_(\d+)$/);e("#"+n+"_container").is(":hidden")&&(t.is_empty(i[1])||t.is_empty(i[2])||(rule=i[1],valid=i[2],t.query_css("val_qry",valid,{rule:rule}))),e("#"+n+"_container").fadeToggle("fast"),e(".ctc-selector-container").not("#"+n+"_container").fadeOut("fast")}),e("#ctc_main").on("click",".ctc-save-input[type=button]",function(){return e(this).hasClass("ajax-pending")?!1:(e(this).addClass("ajax-pending"),void t.save(this))}),e("#ctc_main").on("click",".ctc-selector-edit",function(c){return c.preventDefault(),e(this).hasClass("ajax-pending")?!1:(e(this).addClass("ajax-pending"),void t.set_qsid(this))}),e("#ctc_main").on("click",".ctc-rewrite-toggle",function(e){e.preventDefault(),t.selector_input_toggle(this)}),e("#ctc_main").on("click","#ctc_copy_selector",function(){var c=e("#ctc_sel_ovrd_selector_selected").text().trim();t.is_empty(c)||e("#ctc_new_selectors").val(e("#ctc_new_selectors").val()+"\n"+c+" {\n\n}")}),e("#ctc_configtype").on("change",function(){var c=e(this).val();if(t.is_empty(c)||"theme"==c){e(".ctc-theme-only, .ctc-themeonly-container").removeClass("ctc-disabled"),e(".ctc-theme-only, .ctc-themeonly-container input").prop("disabled",!1);try{e("#ctc_theme_parnt, #ctc_theme_child").themeMenu("enable")}catch(n){t.jquery_exception(n,"Theme Menu")}}else{e(".ctc-theme-only, .ctc-themeonly-container").addClass("ctc-disabled"),e(".ctc-theme-only, .ctc-themeonly-container input").prop("disabled",!0);try{e("#ctc_theme_parnt, #ctc_theme_child").themeMenu("disable")}catch(n){t.jquery_exception(n,"Theme Menu")}}}),e(".nav-tab").on("click",function(c){c.preventDefault(),e(".ctc-status-icon").remove();var n="#"+e(this).attr("id");t.focus_panel(n)}),e(".ctc-section-toggle").on("click",function(){e(this).toggleClass("open");var t=e(this).attr("id")+"_content";e("#"+t).slideToggle("fast")}),e("#view_child_options, #view_parnt_options").on("click",function(){return e(this).hasClass("ajax-pending")?!1:(e(this).addClass("ajax-pending"),void t.css_preview(e(this).attr("id")))}),e("#ctc_load_form").on("submit",function(){return t.validate()}),e("#ctc_query_selector_form").on("submit",function(c){return c.preventDefault(),$this=e("#ctc_save_query_selector"),$this.hasClass("ajax-pending")?!1:($this.addClass("ajax-pending"),t.save($this),!1)}),e("#ctc_theme_child, #ctc_theme_child-button, #ctc_child_type_existing").on("focus click",function(){e("#ctc_child_type_existing").prop("checked",!0),e("#ctc_child_type_new").prop("checked",!1),e("#ctc_child_template").val(""),t.set_existing()}),e("#ctc_child_type_new, #ctc_child_template").on("focus click",function(){e("#ctc_child_type_existing").prop("checked",!1),e("#ctc_child_type_new").prop("checked",!0),e("#ctc_child_name").val(t.testname),e("#ctc_child_template").val(t.testslug)}),e("#ctc_is_debug").on("change",function(){t.save(this)}),e(".ctc-live-preview").on("click",function(t){return t.stopImmediatePropagation(),t.preventDefault(),document.location=e(this).prop("href"),!1}),t.setup_menus(),t.set_addl_css(),e("input[type=submit], input[type=button]").prop("disabled",!1),t.scrolltop(),setTimeout(t.fade_update_notice,2e4)):t.jquery_notice()},testslug:"",testname:"",reload_menus:!1,current_query:"base",current_qsid:null,current_qsdata:{},jquery_err:[]}}(jQuery),jQuery(document).ready(function(e){e.chldthmcfg.init()});
|
1 |
+
!function(e){e.chldthmcfg={esc_quot:function(e){var t=this;return t.is_empty(e)?e:e.toString().replace(/"/g,""")},getxt:function(e){return(text=ctcAjax[e+"_txt"])?text:""},from_ascii:function(e){var t=parseInt(e),c=String.fromCharCode(t);return c},to_ascii:function(e){var t=e.charCodeAt(0);return t},is_empty:function(e){if("undefined"==typeof e||!1===e||null===e||""===e)return!0;if(!0===e||"string"==typeof e||"number"==typeof e)return!1;if("object"==typeof e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}return!1},theme_exists:function(t,c){var n=!1;return e.each(ctcAjax.themes,function(i,r){return e.each(r,function(e){return e!=t||"parnt"!=i&&"new"!=c?void 0:(n=!0,!1)}),n?!1:void 0}),n},validate:function(){var t=this,c=/[^\w\-]/,n=e("#ctc_child_template").length?e("#ctc_child_template").val().toString().replace(c).toLowerCase():"",i=e("#ctc_theme_child").length?e("#ctc_theme_child").val().toString().replace(c).toLowerCase():n,r=e("input[name=ctc_child_type]:checked").val(),a=[];return"new"==r&&(i=n),t.theme_exists(i,r)&&a.push(t.getxt("theme_exists").toString().replace(/%s/,i)),""===i&&a.push(t.getxt("inval_theme")),""===e("#ctc_child_name").val()&&a.push(t.getxt("inval_name")),a.length?(t.set_notice({error:a}),!1):!0},autogen_slugs:function(){if(e("#ctc_theme_parnt").length){for(var t=this,c=e("#ctc_theme_parnt").val(),n=slugbase=c+"-child",i=ctcAjax.themes.parnt[c].Name+" Child",r="",a="",s="00";t.theme_exists(n,"new");)r=""==r?2:r+1,a=s.substring(0,s.length-r.toString().length)+r.toString(),n=slugbase+a;t.testslug=n,t.testname=i+(a.length?" "+a:"")}},focus_panel:function(t){var c=t+"_panel";e(".nav-tab").removeClass("nav-tab-active"),e(".ctc-option-panel").removeClass("ctc-option-panel-active"),e(".ctc-selector-container").hide(),e(t).addClass("nav-tab-active"),e(".ctc-option-panel-container").scrollTop(0),e(c).addClass("ctc-option-panel-active")},selector_input_toggle:function(t){var c,n=this;e("#ctc_rewrite_selector").length?(c=e("#ctc_rewrite_selector_orig").val(),e("#ctc_sel_ovrd_selector_selected").text(c),e(t).text(n.getxt("rename"))):(c=e("#ctc_sel_ovrd_selector_selected").text(),e("#ctc_sel_ovrd_selector_selected").html('<textarea id="ctc_rewrite_selector" name="ctc_rewrite_selector" autocomplete="off"></textarea><input id="ctc_rewrite_selector_orig" name="ctc_rewrite_selector_orig" type="hidden" value="'+n.esc_quot(c)+'"/>'),e("#ctc_rewrite_selector").val(c),e(t).text(n.getxt("cancel")))},fade_update_notice:function(){e(".updated, .error").slideUp("slow",function(){e(".updated").remove()})},coalesce_inputs:function(t){var c=this,n=/^(ctc_(ovrd|\d+)_(parent|child)_([0-9a-z\-]+)_(\d+))(_\w+)?$/,i=e(t).parents(".ctc-selector-row, .ctc-parent-row").first(),r=i.find(".ctc-swatch").first(),a={parent:{},child:{}},s={parent:{origin:"",start:"",end:""},child:{origin:"",start:"",end:""}},l={child:!1,parent:!1},o={};return i.find(".ctc-parent-value, .ctc-child-value").each(function(){var i,r,_=e(this).attr("id"),u=_.toString().match(n),d=u[2],p=u[3],h="undefined"==typeof u[4]?"":u[4],m=u[5],v="undefined"==typeof u[6]?"":u[6],f="parent"==p?e(this).text().replace(/!$/,""):e(this).val(),g="ctc_"+d+"_child_"+h+"_i_"+m;if(c.is_empty(e(this).data("color"))||(f=e(this).data("color"),e(this).data("color",null)),"child"==p&&(o[_]=f,o[g]=e("#"+g).is(":checked")?1:0),""!=f)if(c.is_empty(v))(i=h.toString().match(/^border(\-(top|right|bottom|left))?$/)&&!f.match(/none/))?(r=f.toString().split(/ +/),a[p][h+"-width"]="undefined"==typeof r[0]?"":r[0],a[p][h+"-style"]="undefined"==typeof r[1]?"":r[1],a[p][h+"-color"]="undefined"==typeof r[2]?"":r[2]):"background-image"!=h||f.match(/none/)?"seq"!=h&&(a[p][h]=f):f.toString().match(/url\(/)?a[p]["background-image"]=c.image_url(p,f):(r=f.toString().split(/ +/),r.length>2?(s[p].origin="undefined"==typeof r[0]?"top":r[0],s[p].start="undefined"==typeof r[1]?"transparent":r[1],s[p].end="undefined"==typeof r[2]?"transparent":r[2],l[p]=!0):a[p]["background-image"]=f);else switch(v){case"_border_width":a[p][h+"-width"]="none"==f?0:f;break;case"_border_style":a[p][h+"-style"]=f;break;case"_border_color":a[p][h+"-color"]=f;break;case"_background_url":a[p]["background-image"]=c.image_url(p,f);break;case"_background_color":a[p]["background-color"]=t.value;break;case"_background_color1":s[p].start=f,l[p]=!0;break;case"_background_color2":s[p].end=f,l[p]=!0;break;case"_background_origin":s[p].origin=f,l[p]=!0}}),"undefined"==typeof r||c.is_empty(r.attr("id"))||(r.removeAttr("style"),l.parent&&r.ctcgrad(s.parent.origin,[s.parent.start,s.parent.end]),r.css(a.parent),r.attr("id").toString().match(/parent/)||(l.child&&r.ctcgrad(s.child.origin,[s.child.start,s.child.end]),r.css(a.child)),r.css({"z-index":-1})),o},decode_value:function(e,t){t="undefined"==typeof t?"":t;var c=this,n={orig:t};if(e.toString().match(/^border(\-(top|right|bottom|left))?$/)){var i=t.toString().split(/ +/);n.names=["_border_width","_border_style","_border_color"],n.values=["undefined"==typeof i[0]?"":i[0],"undefined"==typeof i[1]?"":i[1],"undefined"==typeof i[2]?"":i[2]]}else if(e.toString().match(/^background\-image/))if(n.names=["_background_url","_background_origin","_background_color1","_background_color2"],n.values=["","","",""],!1!==c.is_empty(t)||t.toString().match(/(url|none)/))n.values[0]=t;else{var i=t.toString().split(/:/);n.values[1]="undefined"==typeof i[0]?"":i[0],n.values[2]="undefined"==typeof i[1]?"":i[1],n.values[3]="undefined"==typeof i[3]?"":i[3],n.orig=[n.values[1],n.values[2],n.values[3]].join(" ")}else n.names=[""],n.values=[t];return n},image_url:function(e,t){var c,n=this,i=t.toString().match(/url\(['" ]*(.+?)['" ]*\)/),r=n.is_empty(i)?null:i[1],a=ctcAjax.theme_uri+"/"+("parent"==e?ctcAjax.parnt:ctcAjax.child)+"/";return r?c=r.toString().match(/^(data:|https?:|\/)/)?t:"url("+a+r+")":!1},setup_menus:function(){var e=this;e.setup_query_menu(),e.setup_selector_menu(),e.setup_rule_menu(),e.setup_new_rule_menu(),e.load_queries(),e.load_rules(),e.set_query(e.current_query)},load_queries:function(){var e=this;e.query_css("queries",null)},load_selectors:function(){var e=this;e.query_css("selectors",e.current_query)},load_rules:function(){var e=this;e.query_css("rules",null)},load_selector_values:function(){var e=this;e.query_css("qsid",e.current_qsid)},get_queries:function(t,c){var n=[],i=new RegExp(e.ui.autocomplete.escapeRegex(t.term),"i");e.each(this.element.data("menu"),function(e,t){i.test(t)&&n.push({label:t,value:t})}),c(n)},get_selectors:function(t,c){var n=[],i=new RegExp(e.ui.autocomplete.escapeRegex(t.term),"i");e.each(this.element.data("menu"),function(e,t){i.test(e)&&n.push({label:e,value:t})}),c(n)},get_rules:function(t,c){var n=[],i=new RegExp(e.ui.autocomplete.escapeRegex(t.term),"i");e.each(this.element.data("menu"),function(e,t){i.test(e)&&n.push({label:e,value:t})}),c(n)},get_filtered_rules:function(t,c){var n=[],i=new RegExp(e.ui.autocomplete.escapeRegex(t.term),"i"),r=e.chldthmcfg.current_qsdata,a=e.chldthmcfg.is_empty(r)||e.chldthmcfg.is_empty(r.value);e.each(e("#ctc_rule_menu").data("menu"),function(t,c){var s=!1;if(i.test(t)){if(!a&&(e.each(r.value,function(e){return t==e.replace(/\d+/g,self.from_ascii)?(s=!0,!1):void 0}),s))return;n.push({label:t,value:c})}}),c(n)},input_row:function(t,c,n,i){var r=this,a="",s=r.is_empty(i)||r.is_empty(i.value)||r.is_empty(i.value[c])?"":i.value[c],l=r.decode_value(c,r.is_empty(s)?"":s.parnt),o=r.is_empty(s)||r.is_empty(s.i_parnt)||1!=s.i_parnt?"":r.getxt("important"),_=r.decode_value(c,r.is_empty(s)?"":s.child),u=r.is_empty(s)||r.is_empty(s.i_child)||1!=s.i_child?0:1,d="ctc_"+n+"_child_"+c+"_i_"+t;return r.is_empty(i)||(a+='<div class="ctc-'+("ovrd"==n?"input":"selector")+'-row clearfix">\n<div class="ctc-input-cell">'+("ovrd"==n?c.replace(/\d+/g,r.from_ascii):i.selector+'<br/><a href="#" class="ctc-selector-edit" id="ctc_selector_edit_'+t+'" >'+r.getxt("edit")+"</a> "+(r.is_empty(l.orig)?r.getxt("child_only"):""))+"</div>\n","ovrd"==n&&(a+='<div class="ctc-parent-value ctc-input-cell" id="ctc_'+n+"_parent_"+c+"_"+t+'">'+(r.is_empty(l.orig)?"[no value]":l.orig+o)+"</div>\n"),a+='<div class="ctc-input-cell">\n',r.is_empty(l.names)||(e.each(l.names,function(e,i){i=r.is_empty(i)?"":i,a+='<div class="ctc-child-input-cell">\n';var s,l="ctc_"+n+"_child_"+c+"_"+t+i;!1===(s=_.values.shift())&&(s=""),a+=(r.is_empty(i)?"":r.getxt(i)+":<br/>")+'<input type="text" id="'+l+'" name="'+l+'" class="ctc-child-value'+((i+c).toString().match(/color/)?" color-picker":"")+(i.toString().match(/url/)?" ctc-input-wide":"")+'" value="'+r.esc_quot(s)+'" />\n</div>\n'}),a+='<label for="'+d+'"><input type="checkbox" id="'+d+'" name="'+d+'" value="1" '+(1===u?"checked":"")+" />"+r.getxt("important")+"</label>\n"),a+="</div>\n"+("ovrd"==n?"":'<div class="ctc-swatch ctc-specific" id="ctc_child_'+c+"_"+t+'_swatch">'+r.getxt("swatch")+'</div>\n<div class="ctc-child-input-cell ctc-button-cell" id="ctc_save_'+c+"_"+t+'_cell">\n<input type="button" class="button ctc-save-input" id="ctc_save_'+c+"_"+t+'" name="ctc_save_'+c+"_"+t+'" value="Save" /></div>\n')+"</div><!-- end input row -->\n"),a},scrolltop:function(){e("html, body, .ctc-option-panel-container").animate({scrollTop:0})},css_preview:function(e){var e,t=this;(e=e.match(/(child|parnt)/)[1])||(e="child"),t.query_css("preview",e)},setup_iris:function(t){var c=this;try{e(t).iris({change:function(n,i){e(t).data("color",i.color.toString()),c.coalesce_inputs(t)}})}catch(n){c.jquery_exception(n,"Iris Color Picker")}},setup_query_menu:function(){var t=this;try{e("#ctc_sel_ovrd_query").autocomplete({source:t.get_queries,minLength:0,selectFirst:!0,autoFocus:!0,select:function(e,c){return t.set_query(c.item.value),!1},focus:function(e){e.preventDefault()}}).data("menu",{})}catch(c){t.jquery_exception(c,"Query Menu")}},setup_selector_menu:function(){var t=this;try{e("#ctc_sel_ovrd_selector").autocomplete({source:t.get_selectors,selectFirst:!0,autoFocus:!0,select:function(e,c){return t.set_selector(c.item.value,c.item.label),!1},focus:function(e){e.preventDefault()}}).data("menu",{})}catch(c){t.jquery_exception(c,"Selector Menu")}},setup_rule_menu:function(){var t=this;try{e("#ctc_rule_menu").autocomplete({source:t.get_rules,selectFirst:!0,autoFocus:!0,select:function(e,c){return t.set_rule(c.item.value,c.item.label),!1},focus:function(e){e.preventDefault()}}).data("menu",{})}catch(c){t.jquery_exception(c,"Rule Menu")}},setup_new_rule_menu:function(){var t=this;try{e("#ctc_new_rule_menu").autocomplete({source:t.get_filtered_rules,selectFirst:!0,autoFocus:!0,select:function(c,n){c.preventDefault(),t.is_empty(t.current_qsdata.value)&&(t.current_qsdata.value={}),t.current_qsdata.value[n.item.label]={child:""};var i=n.item.label.replace(/[^\w\-]/g,t.to_ascii),r=e(t.input_row(t.current_qsid,i,"ovrd",t.current_qsdata));return e("#ctc_sel_ovrd_rule_inputs").append(r),e("#ctc_new_rule_menu").val(""),r.find('input[type="text"]').each(function(c,n){e(n).hasClass("color-picker")&&t.setup_iris(n),e(n).focus()}),t.jquery_err.length&&t.jquery_notice(),!1},focus:function(e){e.preventDefault()}}).data("menu",{})}catch(c){t.jquery_exception(c,"New Rule Menu")}},set_existing:function(){var t=this;if(e("#ctc_theme_child").length&&e("#ctc_child_type_existing").is(":checked")){var c=e("#ctc_theme_child").val();t.is_empty(c)||(e("#ctc_child_name").val(ctcAjax.themes.child[c].Name),e("#ctc_child_author").val(ctcAjax.themes.child[c].Author),e("#ctc_child_version").val(ctcAjax.themes.child[c].Version),e("#ctc_child_authoruri").val(ctcAjax.themes.child[c].AuthorURI),e("#ctc_child_themeuri").val(ctcAjax.themes.child[c].ThemeURI),e("#ctc_child_descr").val(ctcAjax.themes.child[c].Descr),e("#ctc_child_tags").val(ctcAjax.themes.child[c].Tags))}},set_notice:function(t){var c=this,n="";c.is_empty(t)||e.each(t,function(t,c){n+='<div class="'+t+'"><ul>\n',e(c).each(function(e,t){n+="<li>"+t.toString()+"</li>\n"}),n+="</ul></div>"}),e("#ctc_error_notice").html(n),e("html, body").animate({scrollTop:0},"slow")},set_parent_menu:function(t){e("#ctc_theme_parent").parents(".ctc-input-row").first().append('<span class="ctc-status-icon spinner"></span>'),e(".spinner").show(),document.location="?page="+ctcAjax.page+"&ctc_parent="+t.value},set_child_menu:function(t){var c=this;c.is_empty(ctcAjax.themes.child[t.value])||(e("#ctc_child_name").val(ctcAjax.themes.child[t.value].Name),e("#ctc_child_author").val(ctcAjax.themes.child[t.value].Author),e("#ctc_child_version").val(ctcAjax.themes.child[t.value].Version))},set_query:function(t){var c=this;c.current_query=t,e("#ctc_sel_ovrd_query").val(""),e("#ctc_sel_ovrd_query_selected").text(t),e("#ctc_sel_ovrd_selector").val(""),e("#ctc_sel_ovrd_selector_selected").html(" "),c.load_selectors()},set_selector:function(t){var c=this;e("#ctc_sel_ovrd_selector").val(""),c.current_qsid=t,c.reload_menus=!1,c.load_selector_values()},set_rule:function(t,c){var n=this;e("#ctc_rule_menu").val(""),e("#ctc_rule_menu_selected").text(c),e(".ctc-rewrite-toggle").text(n.getxt("rename")),e("#ctc_rule_value_inputs, #ctc_input_row_rule_header").show(),n.query_css("rule_val",t)},set_qsid:function(t){var c=this;c.current_qsid=e(t).attr("id").match(/_(\d+)$/)[1],c.focus_panel("#query_selector_options"),c.reload_menus=!0,c.load_selector_values()},set_addl_css:function(){var t,c=this,n=e("#ctc_theme_parnt").val(),i=ctcAjax.theme_uri.replace(/^https?:\/\//,""),r=ctcAjax.homeurl.replace(/^https?/,ctcAjax.ssl?"https":"http"),a=r+"?preview=1&p=x&template="+n+"&stylesheet="+n,s=new RegExp("<link rel=[\"']stylesheet[\"'][^>]+?"+i+"/"+n+"/(.+?\\.css)[^>]+?>","g");c.is_empty(n)||(n!=ctcAjax.parnt?e.get(a,function(c){for(;(t=s.exec(c))&&"style.css"!=t[1];)t[1].match(/bootstrap/)||e(".ctc_checkbox").each(function(){e(this).val()==t[1]&&e(this).prop("checked",!0)});c=null}):e(ctcAjax.addl_css).each(function(t,c){e("#ctc_stylesheet_files .ctc_checkbox").each(function(){e(this).val()==c&&e(this).prop("checked",!0)})}))},query_css:function(t,c,n){var i=this,r={ctc_query_obj:t,ctc_query_key:c},a="#ctc_status_"+t+("val_qry"==t?"_"+c:"");"object"==typeof n&&e.each(n,function(e,t){r["ctc_query_"+e]=t}),e(".query-icon").remove(),e(a+" .ctc-status-icon").remove(),e(a).append('<span class="ctc-status-icon spinner query-icon"></span>'),e(".spinner").show(),r.action=i.is_empty(e("#ctc_action").val())||"plugin"!=e("#ctc_action").val()?"ctc_query":"ctc_plgqry",r._wpnonce=e("#_wpnonce").val(),i.ajax_post(t,r)},save:function(t){var c,n,i,r,a,s=this,l=(ctcAjax.ajaxurl,{}),o=e(t).attr("id");e(t).prop("disabled",!0),e(".ctc-status-icon").remove(),e(t).parent(".ctc-textarea-button-cell, .ctc-button-cell").append('<span class="ctc-status-icon spinner save-icon"></span>'),o.match(/ctc_configtype/)?(e(t).parents(".ctc-input-row").first().append('<span class="ctc-status-icon spinner save-icon"></span>'),l.ctc_configtype=e(t).val()):(c=e("#ctc_new_selectors"))&&"ctc_save_new_selectors"==e(t).attr("id")?(l.ctc_new_selectors=c.val(),(n=e("#ctc_sel_ovrd_query_selected"))&&(l.ctc_sel_ovrd_query=n.text()),s.reload_menus=!0):(i=e("#ctc_child_imports"))&&"ctc_save_imports"==e(t).attr("id")?l.ctc_child_imports=i.val():"ctc_is_debug"==e(t).attr("id")?l.ctc_is_debug=e("#ctc_is_debug").is(":checked")?1:0:l=s.coalesce_inputs(t),e(".save-icon").show(),e("#ctc_sel_ovrd_selector_selected").find("#ctc_rewrite_selector").each(function(){r=e("#ctc_rewrite_selector").val(),a=e("#ctc_rewrite_selector_orig").val(),s.is_empty(r)||!r.toString().match(/\w/)?r=a:(l.ctc_rewrite_selector=r,s.reload_menus=!0),e(".ctc-rewrite-toggle").text(s.getxt("rename")),e("#ctc_sel_ovrd_selector_selected").html(r)}),l.action=s.is_empty(e("#ctc_action").val())||"plugin"!=e("#ctc_action").val()?"ctc_update":"ctc_plugin",l._wpnonce=e("#_wpnonce").val(),s.ajax_post("qsid",l)},ajax_post:function(t,c,n){var i=this,r=ctcAjax.ajaxurl;e.ajax({url:r,data:c,dataType:i.is_empty(n)?"json":n,type:"POST"}).done(function(e){i.handle_success(t,e)}).fail(function(){i.handle_failure(t)})},handle_failure:function(t){var c=this;e(".query-icon, .save-icon").removeClass("spinner").addClass("failure"),e("input[type=submit], input[type=button]").prop("disabled",!1),e(".ajax-pending").removeClass("ajax-pending"),"preview"==t&&e("#view_parnt_options_panel,#view_child_options_panel").text(c.getxt("css_fail"))},handle_success:function(t,c){var n=this;e(".query-icon, .save-icon").removeClass("spinner"),e(".ajax-pending").removeClass("ajax-pending"),n.is_empty(c)?n.handle_failure(t):(e("#ctc_new_selectors").val(""),e(".query-icon, .save-icon").addClass("success"),e("input[type=submit], input[type=button]").prop("disabled",!1),e(c).each(function(){"function"==typeof n.update[this.obj]&&n.update[this.obj].call(n,this)}))},jquery_exception:function(e,t){var c=this,n=c.is_empty(e.lineNumber)?"":" line: "+e.lineNumber,i=c.is_empty(e.fileName)?"":" "+e.fileName.split(/\?/)[0];c.jquery_err.push("<code><small>"+t+": "+e.message+i+n+"</small></code>")},jquery_notice:function(){var t=this,c=[],n=[];e("input[type=submit], input[type=button]").prop("disabled",!0),e("script").each(function(){var n=e(this).prop("src");t.is_empty(n)||!n.match(/jquery(\.min|\.js|\-?ui)/i)||n.match(/load\-scripts.php/)||c.push("<code><small>"+n.split(/\?/)[0]+"</small></code>")}),n.push("<strong>"+t.getxt("js")+"</strong>"),1==ctcAjax.is_debug&&n.push(t.jquery_err.join("<br/>")),c.length&&n.push(t.getxt("jquery")+"<br/>"+c.join("<br/>")),n.push(t.getxt("plugin")+" "+t.getxt("contact")),t.set_notice({error:n})},update:{qsid:function(t){var c,n,i,r=this;r.current_qsid=t.key,r.current_qsdata=t.data,e("#ctc_sel_ovrd_qsid").val(r.current_qsid),r.is_empty(r.current_qsdata.seq)?e("#ctc_child_load_order_container").empty():(c="ctc_ovrd_child_seq_"+r.current_qsid,i=parseInt(r.current_qsdata.seq),n='<input type="text" id="'+c+'" name="'+c+'" class="ctc-child-value" value="'+i+'" />',e("#ctc_child_load_order_container").html(n)),r.is_empty(r.current_qsdata.value)?(e("#ctc_sel_ovrd_rule_inputs").empty(),e("#ctc_sel_ovrd_rule_header").hide()):(n="",e.each(r.current_qsdata.value,function(e){n+=r.input_row(r.current_qsid,e,"ovrd",r.current_qsdata)}),e("#ctc_sel_ovrd_rule_inputs").html(n).find(".color-picker").each(function(){r.setup_iris(this)}),r.coalesce_inputs("#ctc_child_all_0_swatch"),e("#ctc_sel_ovrd_rule_header").show()),r.jquery_err.length?r.jquery_notice():(r.reload_menus&&(r.set_query(r.current_qsdata.query),r.load_rules()),e("#ctc_sel_ovrd_selector_selected").text(r.current_qsdata.selector),e(".ctc-rewrite-toggle").text(r.getxt("rename")),e("#ctc_sel_ovrd_new_rule,#ctc_sel_ovrd_rule_inputs_container,#ctc_sel_ovrd_rule_inputs,.ctc-rewrite-toggle").show())},rule_val:function(t){var c=this,n=e("#ctc_rule_menu_selected").text(),i='<div class="ctc-input-row clearfix" id="ctc_rule_row_'+n+'">\n';c.is_empty(t.data)||(e.each(t.data,function(e,t){var r=c.decode_value(n,t);i+='<div class="ctc-parent-row clearfix" id="ctc_rule_row_'+n+"_"+e+'">\n<div class="ctc-input-cell ctc-parent-value" id="ctc_'+e+"_parent_"+n+"_"+e+'">'+r.orig+'</div>\n<div class="ctc-input-cell">\n<div class="ctc-swatch ctc-specific" id="ctc_'+e+"_parent_"+n+"_"+e+'_swatch">'+c.getxt("swatch")+'</div></div>\n<div class="ctc-input-cell"><a href="#" class="ctc-selector-handle" id="ctc_selector_'+n+"_"+e+'">'+c.getxt("selector")+'</a></div>\n<div id="ctc_selector_'+n+"_"+e+'_container" class="ctc-selector-container">\n<a href="#" id="ctc_selector_'+n+"_"+e+'_close" class="ctc-selector-handle ctc-exit" title="'+c.getxt("close")+'"></a><div id="ctc_selector_'+n+"_"+e+'_inner_container" class="ctc-selector-inner-container clearfix">\n<div id="ctc_status_val_qry_'+e+'"></div>\n<div id="ctc_selector_'+n+"_"+e+'_rows"></div>\n</div></div></div>\n'}),i+="</div>\n"),e("#ctc_rule_value_inputs").html(i).find(".ctc-swatch").each(function(){c.coalesce_inputs(this)})},val_qry:function(t){var c=this,n="";c.is_empty(t.data)||e.each(t.data,function(i,r){page_rule=i,e.each(r,function(r,a){n+='<h4 class="ctc-query-heading">'+r+"</h4>\n",c.is_empty(a)||e.each(a,function(e,r){n+=c.input_row(e,i,t.key,r)})})}),selector="#ctc_selector_"+rule+"_"+t.key+"_rows",e(selector).html(n).find(".color-picker").each(function(){c.setup_iris(this)}),e(selector).find(".ctc-swatch").each(function(){c.coalesce_inputs(this)}),c.jquery_err.length&&c.jquery_notice()},queries:function(t){e("#ctc_sel_ovrd_query").data("menu",t.data)},selectors:function(t){e("#ctc_sel_ovrd_selector").data("menu",t.data)},rules:function(t){e("#ctc_rule_menu").data("menu",t.data)},debug:function(t){e("#ctc_debug_container").html(t.data)},preview:function(t){e("#view_"+t.key+"_options_panel").text(t.data)}},init:function(){var t=this;if(t.autogen_slugs(),t.set_existing(),!e("#ctc_theme_parnt").is("input")){try{e.widget("ctc.themeMenu",e.ui.selectmenu,{_renderItem:function(t,c){var n=e("<li>");return e("#ctc_theme_option_"+c.value).detach().appendTo(n),n.appendTo(t)}})}catch(c){t.jquery_exception(c,"Theme Menu")}try{e("#ctc_theme_parnt").themeMenu({select:function(e,c){t.set_parent_menu(c.item)}})}catch(c){"function"==typeof themeMenu?e("#ctc_theme_parnt").themeMenu("destroy"):e("#ctc_theme_parnt-button").remove(),t.jquery_exception(c,"Parent Theme Menu")}if(t.is_empty(ctcAjax.themes.child))e("#ctc_child_name").length&&(e("#ctc_child_name").val(t.testname),e("#ctc_child_template").val(t.testslug));else try{e("#ctc_theme_child").themeMenu({select:function(e,c){t.set_child_menu(c.item)}})}catch(c){"function"==typeof themeMenu?e("#ctc_theme_child").themeMenu("destroy"):e("#ctc_theme_child-button").remove(),t.jquery_exception(c,"Child Theme Menu")}}t.is_empty(t.jquery_err)?(e("#ctc_main").on("focus",".color-picker",function(){try{e(".color-picker").not(this).iris("hide"),e(this).iris("toggle"),e(".iris-picker").css({position:"absolute","z-index":10})}catch(c){t.jquery_exception(c,"Iris Color Picker")}}),e("#ctc_main").on("change",".ctc-child-value, input[type=checkbox]",function(){t.coalesce_inputs(this)}),e("#ctc_main").on("click",".ctc-selector-handle",function(c){if(c.preventDefault(),e(this).hasClass("ajax-pending"))return!1;e(this).addClass("ajax-pending");var n=e(this).attr("id").toString().replace("_close",""),i=n.toString().match(/_([^_]+)_(\d+)$/);e("#"+n+"_container").is(":hidden")&&(t.is_empty(i[1])||t.is_empty(i[2])||(rule=i[1],valid=i[2],t.query_css("val_qry",valid,{rule:rule}))),e("#"+n+"_container").fadeToggle("fast"),e(".ctc-selector-container").not("#"+n+"_container").fadeOut("fast")}),e("#ctc_main").on("click",".ctc-save-input[type=button]",function(){return e(this).hasClass("ajax-pending")?!1:(e(this).addClass("ajax-pending"),void t.save(this))}),e("#ctc_main").on("click",".ctc-selector-edit",function(c){return c.preventDefault(),e(this).hasClass("ajax-pending")?!1:(e(this).addClass("ajax-pending"),void t.set_qsid(this))}),e("#ctc_main").on("click",".ctc-rewrite-toggle",function(e){e.preventDefault(),t.selector_input_toggle(this)}),e("#ctc_main").on("click","#ctc_copy_selector",function(){var c=e("#ctc_sel_ovrd_selector_selected").text().trim();t.is_empty(c)||e("#ctc_new_selectors").val(e("#ctc_new_selectors").val()+"\n"+c+" {\n\n}")}),e("#ctc_configtype").on("change",function(){var c=e(this).val();if(t.is_empty(c)||"theme"==c){e(".ctc-theme-only, .ctc-themeonly-container").removeClass("ctc-disabled"),e(".ctc-theme-only, .ctc-themeonly-container input").prop("disabled",!1);try{e("#ctc_theme_parnt, #ctc_theme_child").themeMenu("enable")}catch(n){t.jquery_exception(n,"Theme Menu")}}else{e(".ctc-theme-only, .ctc-themeonly-container").addClass("ctc-disabled"),e(".ctc-theme-only, .ctc-themeonly-container input").prop("disabled",!0);try{e("#ctc_theme_parnt, #ctc_theme_child").themeMenu("disable")}catch(n){t.jquery_exception(n,"Theme Menu")}}}),e(".nav-tab").on("click",function(c){c.preventDefault(),e(".ctc-status-icon").remove();var n="#"+e(this).attr("id");t.focus_panel(n)}),e(".ctc-section-toggle").on("click",function(){e(this).toggleClass("open");var t=e(this).attr("id")+"_content";e("#"+t).slideToggle("fast")}),e("#view_child_options, #view_parnt_options").on("click",function(){return e(this).hasClass("ajax-pending")?!1:(e(this).addClass("ajax-pending"),void t.css_preview(e(this).attr("id")))}),e("#ctc_load_form").on("submit",function(){return t.validate()}),e("#ctc_query_selector_form").on("submit",function(c){return c.preventDefault(),$this=e("#ctc_save_query_selector"),$this.hasClass("ajax-pending")?!1:($this.addClass("ajax-pending"),t.save($this),!1)}),e("#ctc_theme_child, #ctc_theme_child-button, #ctc_child_type_existing").on("focus click",function(){e("#ctc_child_type_existing").prop("checked",!0),e("#ctc_child_type_new").prop("checked",!1),e("#ctc_child_template").val(""),t.set_existing()}),e("#ctc_child_type_new, #ctc_child_template").on("focus click",function(){e("#ctc_child_type_existing").prop("checked",!1),e("#ctc_child_type_new").prop("checked",!0),e("#ctc_child_name").val(t.testname),e("#ctc_child_template").val(t.testslug)}),e("#ctc_is_debug").on("change",function(){t.save(this)}),e(".ctc-live-preview").on("click",function(t){return t.stopImmediatePropagation(),t.preventDefault(),document.location=e(this).prop("href"),!1}),t.setup_menus(),t.set_addl_css(),e("input[type=submit], input[type=button]").prop("disabled",!1),t.scrolltop(),setTimeout(t.fade_update_notice,2e4)):t.jquery_notice()},testslug:"",testname:"",reload_menus:!1,current_query:"base",current_qsid:null,current_qsdata:{},jquery_err:[]}}(jQuery),jQuery(document).ready(function(e){e.chldthmcfg.init()});
|
lang/chld_thm_cfg-sr_RS.mo
ADDED
Binary file
|
lang/chld_thm_cfg-sr_RS.po
ADDED
@@ -0,0 +1,964 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2015 Child Theme Configurator
|
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.7.0\n"
|
6 |
+
"Report-Msgid-Bugs-To: http://wordpress.org/tag/child-theme-configurator\n"
|
7 |
+
"POT-Creation-Date: 2015-02-20 02:29:04+00:00\n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2015-03-03 11:16+0100\n"
|
12 |
+
"Last-Translator: \n"
|
13 |
+
"Language-Team: \n"
|
14 |
+
"X-Generator: Poedit 1.7.4\n"
|
15 |
+
"Language: sr_RS\n"
|
16 |
+
|
17 |
+
#. Plugin Name of the plugin/theme
|
18 |
+
#: child-theme-configurator.php:76 child-theme-configurator.php:86
|
19 |
+
#: includes/forms/main.php:23
|
20 |
+
msgid "Child Theme Configurator"
|
21 |
+
msgstr "Child Theme Configurator"
|
22 |
+
|
23 |
+
#: child-theme-configurator.php:77 child-theme-configurator.php:87
|
24 |
+
#: child-theme-configurator.php:97
|
25 |
+
msgid "Child Themes"
|
26 |
+
msgstr "Podređene teme"
|
27 |
+
|
28 |
+
#: child-theme-configurator.php:112
|
29 |
+
msgid "Child Theme Configurator requires WordPress version %s or later."
|
30 |
+
msgstr "Child Theme Configurator zahteva WordPress verziju %s ili noviju"
|
31 |
+
|
32 |
+
#: includes/class-ctc-ui.php:143
|
33 |
+
msgid "Child Theme files modified successfully."
|
34 |
+
msgstr "Podređena tema uspešno izmenjena."
|
35 |
+
|
36 |
+
#: includes/class-ctc-ui.php:146
|
37 |
+
msgid ""
|
38 |
+
"Child Theme <strong>%s</strong> has been generated successfully.\n"
|
39 |
+
" "
|
40 |
+
msgstr "Podređena tema <strong>%s</strong> uspešno generisana.\n"
|
41 |
+
|
42 |
+
#: includes/class-ctc-ui.php:149
|
43 |
+
msgid "IMPORTANT:"
|
44 |
+
msgstr "VAŽNO:"
|
45 |
+
|
46 |
+
#: includes/class-ctc-ui.php:151 includes/forms/themepreview.php:20
|
47 |
+
msgid "Go to Themes"
|
48 |
+
msgstr "Idi na teme"
|
49 |
+
|
50 |
+
#: includes/class-ctc-ui.php:151
|
51 |
+
msgid "Network enable"
|
52 |
+
msgstr "Aktiviraj mrežu"
|
53 |
+
|
54 |
+
#: includes/class-ctc-ui.php:151
|
55 |
+
msgid "your child theme."
|
56 |
+
msgstr "vaša podređena tema."
|
57 |
+
|
58 |
+
#: includes/class-ctc-ui.php:153 includes/forms/themepreview.php:18
|
59 |
+
msgid "Live Preview"
|
60 |
+
msgstr "Live pregled"
|
61 |
+
|
62 |
+
#: includes/class-ctc-ui.php:153
|
63 |
+
msgid "Test your child theme"
|
64 |
+
msgstr "Testirajte svoju podređenu temu"
|
65 |
+
|
66 |
+
#: includes/class-ctc-ui.php:153
|
67 |
+
msgid "before activating."
|
68 |
+
msgstr "pre nego što je aktivirate."
|
69 |
+
|
70 |
+
#: includes/class-ctc.php:143
|
71 |
+
msgid "URL/None"
|
72 |
+
msgstr "URL/Nijedan"
|
73 |
+
|
74 |
+
#: includes/class-ctc.php:144
|
75 |
+
msgid "Origin"
|
76 |
+
msgstr "Poreklo"
|
77 |
+
|
78 |
+
#: includes/class-ctc.php:145
|
79 |
+
msgid "Color 1"
|
80 |
+
msgstr "Boja 1"
|
81 |
+
|
82 |
+
#: includes/class-ctc.php:146
|
83 |
+
msgid "Color 2"
|
84 |
+
msgstr "Boja 2"
|
85 |
+
|
86 |
+
#: includes/class-ctc.php:147
|
87 |
+
msgid "Width/None"
|
88 |
+
msgstr "Širina/Nijedna"
|
89 |
+
|
90 |
+
#: includes/class-ctc.php:148
|
91 |
+
msgid "Style"
|
92 |
+
msgstr "Stil"
|
93 |
+
|
94 |
+
#: includes/class-ctc.php:149
|
95 |
+
msgid "Color"
|
96 |
+
msgstr "Boja"
|
97 |
+
|
98 |
+
#: includes/class-ctc.php:151
|
99 |
+
msgid "Are you sure? This will replace your current settings."
|
100 |
+
msgstr "Jeste li sigurni? Ovim ćete zameniti svoje trenutne postavke."
|
101 |
+
|
102 |
+
#: includes/class-ctc.php:152
|
103 |
+
msgid "<span style=\"font-size:10px\">!</span>"
|
104 |
+
msgstr "<span style=\"font-size:10px\">!</span>"
|
105 |
+
|
106 |
+
#: includes/class-ctc.php:153 includes/forms/rule-value.php:32
|
107 |
+
msgid "Selectors"
|
108 |
+
msgstr "Selektori"
|
109 |
+
|
110 |
+
#: includes/class-ctc.php:154
|
111 |
+
msgid "Close"
|
112 |
+
msgstr "Zatvori"
|
113 |
+
|
114 |
+
#: includes/class-ctc.php:155
|
115 |
+
msgid "Edit"
|
116 |
+
msgstr "Uredi"
|
117 |
+
|
118 |
+
#: includes/class-ctc.php:156
|
119 |
+
msgid "Cancel"
|
120 |
+
msgstr "Otkaži"
|
121 |
+
|
122 |
+
#: includes/class-ctc.php:157
|
123 |
+
msgid "Rename"
|
124 |
+
msgstr "Promeni naziv"
|
125 |
+
|
126 |
+
#: includes/class-ctc.php:158
|
127 |
+
msgid "The stylesheet cannot be displayed."
|
128 |
+
msgstr "Datoteka sa stilovima ne može biti prikazana."
|
129 |
+
|
130 |
+
#: includes/class-ctc.php:159
|
131 |
+
msgid "(Child Only)"
|
132 |
+
msgstr "(Samo podređena)"
|
133 |
+
|
134 |
+
#: includes/class-ctc.php:160
|
135 |
+
msgid "Please enter a valid Child Theme."
|
136 |
+
msgstr "Unesite važeću podređenu temu."
|
137 |
+
|
138 |
+
#: includes/class-ctc.php:161
|
139 |
+
msgid "Please enter a valid Child Theme name."
|
140 |
+
msgstr "Unesite naziv važeće podređene teme"
|
141 |
+
|
142 |
+
#: includes/class-ctc.php:162
|
143 |
+
msgid "<strong>%s</strong> exists. Please enter a different Child Theme"
|
144 |
+
msgstr "<strong>%s</strong> već postoji. Unesite drugačiju podređenu temu. "
|
145 |
+
|
146 |
+
#: includes/class-ctc.php:163
|
147 |
+
msgid "The page could not be loaded correctly so some controls have been disabled."
|
148 |
+
msgstr "Stranica se nije pravilno učitala, tako da su neke kontrole deaktivirane."
|
149 |
+
|
150 |
+
#: includes/class-ctc.php:165
|
151 |
+
msgid "Conflicting jQuery libraries were loaded by another plugin:"
|
152 |
+
msgstr "Drugi plugin je učitao konfliktne jQuery biblioteke:"
|
153 |
+
|
154 |
+
#: includes/class-ctc.php:167
|
155 |
+
msgid "Deactivating other plugins may resolve this issue."
|
156 |
+
msgstr "Deaktiviranjem drugih plugin-a možete rešiti ovaj problem."
|
157 |
+
|
158 |
+
#: includes/class-ctc.php:168
|
159 |
+
msgid "%sWhy am I seeing this?%s"
|
160 |
+
msgstr "%sZašto vidim ovu poruku?%s"
|
161 |
+
|
162 |
+
#: includes/class-ctc.php:385
|
163 |
+
msgid "Zip file creation failed."
|
164 |
+
msgstr "Neuspelo kreiranje zip datoteke."
|
165 |
+
|
166 |
+
#: includes/class-ctc.php:421
|
167 |
+
msgid "The Functions file is required and cannot be deleted."
|
168 |
+
msgstr "Datoteka ‘Funkcije’ je obavezna i ne može se obrisati. "
|
169 |
+
|
170 |
+
#: includes/class-ctc.php:502
|
171 |
+
msgid "You do not have permission to configure child themes."
|
172 |
+
msgstr "Nemate dozvole da konfigurišete podređene teme."
|
173 |
+
|
174 |
+
#: includes/class-ctc.php:549
|
175 |
+
msgid "%s does not exist. Please select a valid Parent Theme."
|
176 |
+
msgstr "%s ne postoji. Odaberite važeću nadređenu temu."
|
177 |
+
|
178 |
+
#: includes/class-ctc.php:553
|
179 |
+
msgid "Please select a valid Parent Theme."
|
180 |
+
msgstr "Odaberite važeću nadređenu temu."
|
181 |
+
|
182 |
+
#: includes/class-ctc.php:556
|
183 |
+
msgid "Please enter a valid Child Theme directory."
|
184 |
+
msgstr "Unesite važeći direktorijum za podređenu temu."
|
185 |
+
|
186 |
+
#: includes/class-ctc.php:564
|
187 |
+
msgid "Please enter a valid Child Theme template name."
|
188 |
+
msgstr "Unesite važeći naziv šablona podređene teme."
|
189 |
+
|
190 |
+
#: includes/class-ctc.php:569
|
191 |
+
msgid "<strong>%s</strong> exists. Please enter a different Child Theme template name."
|
192 |
+
msgstr "<strong>%s</strong> već postoji. Unesite drugi naziv šablona podređene teme."
|
193 |
+
|
194 |
+
#: includes/class-ctc.php:575
|
195 |
+
msgid "Your theme directories are not writable."
|
196 |
+
msgstr "Direktorijumi vaše teme nisu raspoloživi za pisanje. "
|
197 |
+
|
198 |
+
#: includes/class-ctc.php:635
|
199 |
+
msgid "Your stylesheet is not writable."
|
200 |
+
msgstr "Vaša datoteka sa stilovima nije raspoloživa za pisanje."
|
201 |
+
|
202 |
+
#: includes/class-ctc.php:877
|
203 |
+
msgid ""
|
204 |
+
"A closing PHP tag was detected in Child theme functions file so \"Parent Stylesheet "
|
205 |
+
"Handling\" option was not configured. Closing PHP at the end of the file is discouraged "
|
206 |
+
"as it can cause premature HTTP headers. Please edit <code>functions.php</code> to "
|
207 |
+
"remove the final <code>?></code> tag and click \"Generate/Rebuild Child Theme Files"
|
208 |
+
"\" again."
|
209 |
+
msgstr ""
|
210 |
+
"Završna PHP oznaka otkrivena je u datoteci sa funkcijama podređene teme pa opcija "
|
211 |
+
"\"Rukovanje nadređenom datotekom sa stilovima\" nije konfigurisana. Zatvaranje PHP-a na "
|
212 |
+
"kraju datoteke ne preporučuje se jer može dovesti do preuranjenih HTTP zaglavlja. "
|
213 |
+
"Uredite <code>functions.php</code> da ukloni završnu <code>?></code> oznaku i "
|
214 |
+
"kliknite na \"Generiši/Ponovo izgradi datoteke sa podređenim temama\"."
|
215 |
+
|
216 |
+
#: includes/class-ctc.php:964
|
217 |
+
msgid "Could not delete file."
|
218 |
+
msgstr "Datoteka nije obrisana."
|
219 |
+
|
220 |
+
#: includes/class-ctc.php:1040
|
221 |
+
msgid "Could not set write permissions."
|
222 |
+
msgstr "Dozvole za pisanje nisu podešene."
|
223 |
+
|
224 |
+
#: includes/class-ctc.php:1114
|
225 |
+
msgid "There were errors while resetting permissions."
|
226 |
+
msgstr "Došlo je do grešaka prilikom podešavanja dozvola."
|
227 |
+
|
228 |
+
#: includes/class-ctc.php:1156
|
229 |
+
msgid "Could not upload file."
|
230 |
+
msgstr "Datoteka nije otpremljena."
|
231 |
+
|
232 |
+
#: includes/class-ctc.php:1239
|
233 |
+
msgid ""
|
234 |
+
"Child Theme Configurator is unable to write to the stylesheet. This can be resolved "
|
235 |
+
"using one of the following options:<ol>"
|
236 |
+
msgstr ""
|
237 |
+
"Child Theme Configurator ne može da piše u datoteku sa stilovima. To se može rešiti uz "
|
238 |
+
"pomoć jedne od sledećih opcija: <ol>"
|
239 |
+
|
240 |
+
#: includes/class-ctc.php:1242
|
241 |
+
msgid ""
|
242 |
+
"<li>Temporarily make the stylesheet writable by clicking the button below. You should "
|
243 |
+
"change this back when you are finished editing for security by clicking \"Make read-only"
|
244 |
+
"\" under the \"Files\" tab.</li>"
|
245 |
+
msgstr ""
|
246 |
+
"<li>Trenutno učinite datoteku sa stilovima raspoloživom za pisanje tako što ćete "
|
247 |
+
"kliknuti na taster ispod. Kad završite uređivanje, trebalo bi da vratite opciju na "
|
248 |
+
"prethodno stanje iz bezbednosnih razloga, tako što ćete kliknuti na \"Raspoloživo samo "
|
249 |
+
"za čitanje\" na tabulatoru \"Datoteke\".</li>"
|
250 |
+
|
251 |
+
#: includes/class-ctc.php:1245
|
252 |
+
msgid "Temporarily make stylesheet writable"
|
253 |
+
msgstr "Privremeno napravite datoteku sa stilovima raspoloživu za pisanje."
|
254 |
+
|
255 |
+
#: includes/class-ctc.php:1246
|
256 |
+
msgid ""
|
257 |
+
"<li><a target=\"_blank\" href=\"http://codex.wordpress.org/Editing_wp-config."
|
258 |
+
"php#WordPress_Upgrade_Constants\" title=\"Editin wp-config.php\">Add your FTP/SSH "
|
259 |
+
"credentials to the WordPress config file</a>.</li>"
|
260 |
+
msgstr ""
|
261 |
+
"<li><a target=\"_blank\" href=\"http://codex.wordpress.org/Editing_wp-config."
|
262 |
+
"php#WordPress_Upgrade_Constants\" title=\"Editing wp-config.php\">Dodajte svoje FTP/SSH "
|
263 |
+
"akreditive WordPress datoteci za konfiguraciju</a>.</li>"
|
264 |
+
|
265 |
+
#: includes/class-ctc.php:1248
|
266 |
+
msgid ""
|
267 |
+
"<li><a target=\"_blank\" href=\"http://technet.microsoft.com/en-us/library/cc771170\" "
|
268 |
+
"title=\"Setting Application Pool Identity\">Assign WordPress to an application pool "
|
269 |
+
"that has write permissions</a> (Windows IIS systems).</li>"
|
270 |
+
msgstr ""
|
271 |
+
"<li><a target=\"_blank\" href=\"http://technet.microsoft.com/en-us/library/cc771170\" "
|
272 |
+
"title=\"Podešavanje identiteta skupa aplikacija\">Dodelite WordPress skupu aplikacija "
|
273 |
+
"koji ima dozvole za pisanje</a> (Windows IIS systems).</li>"
|
274 |
+
|
275 |
+
#: includes/class-ctc.php:1249
|
276 |
+
msgid ""
|
277 |
+
"<li><a target=\"_blank\" href=\"http://codex.wordpress.org/Changing_File_Permissions\" "
|
278 |
+
"title=\"Changing File Permissions\">Set the stylesheet write permissions on the server "
|
279 |
+
"manually</a> (not recommended).</li>"
|
280 |
+
msgstr ""
|
281 |
+
"<li><a target=\"_blank\" href=\"http://codex.wordpress.org/Changing_File_Permissions\" "
|
282 |
+
"title=\"Promena dozvola datoteke\">Podesite ručno dozvole na serveru </a> (ne "
|
283 |
+
"preporučuje se).</li>"
|
284 |
+
|
285 |
+
#: includes/class-ctc.php:1251
|
286 |
+
msgid "<li>Run PHP under Apache with suEXEC (contact your web host).</li>"
|
287 |
+
msgstr "<li>Pokreni PHP pod Apache-om uz suEXEC (obratite se svom web hostu).</li>"
|
288 |
+
|
289 |
+
#: includes/class-ctc.php:1261
|
290 |
+
msgid ""
|
291 |
+
"This Child Theme is not owned by your website account. It may have been created by a "
|
292 |
+
"prior version of this plugin or by another program. Moving forward, it must be owned by "
|
293 |
+
"your website account to make changes. Child Theme Configurator will attempt to correct "
|
294 |
+
"this when you click the button below."
|
295 |
+
msgstr ""
|
296 |
+
"Nalog vašeg web site-a ne poseduje ovu podređenu temu. Možda je kreirana od strane "
|
297 |
+
"prethodne verzije ovog plugin-a ili od strane drugog programa. Da biste pravili izmene, "
|
298 |
+
"mora biti u vlasništvu naloga vašeg web site-a. Child Theme Configurator će pokušati da "
|
299 |
+
"to ispravi kad kliknete na donji taster."
|
300 |
+
|
301 |
+
#: includes/class-ctc.php:1264
|
302 |
+
msgid "Correct Child Theme Permissions"
|
303 |
+
msgstr "Dozvole za ispravljanje podređene teme"
|
304 |
+
|
305 |
+
#: includes/class-ctc.php:1271
|
306 |
+
msgid ""
|
307 |
+
"Child Theme Configurator needs to update its interal data. Please set your preferences "
|
308 |
+
"below and click \"Generate Child Theme Files\" to update your configuration."
|
309 |
+
msgstr ""
|
310 |
+
"Child Theme Configurator treba da ažurira svoje interne podatke. Podesite "
|
311 |
+
"karakteristike i kliknite na \"Generiši datoteke podređene teme\" kako biste ažurirali "
|
312 |
+
"konfiguraciju."
|
313 |
+
|
314 |
+
#: includes/class-ctc.php:1277
|
315 |
+
msgid ""
|
316 |
+
"<strong>However, some styles could not be parsed due to memory limits.</strong> Try "
|
317 |
+
"deselecting \"Additional Stylesheets\" below and click \"Generate/Rebuild Child Theme "
|
318 |
+
"Files\". %sWhy am I seeing this?%s"
|
319 |
+
msgstr ""
|
320 |
+
"<strong>Neki stilovi ne mogu biti parsirani zbog ograničenja memorije.</strong> "
|
321 |
+
"Pokušajte da poništite štikliranje opcije \"Dodatne datoteke sa stilovima\" i kliknite "
|
322 |
+
"na \"Generiši/Ponovo izgradi datoteke sa podređenimm temama\". %Zašto vidim ovu poruku?"
|
323 |
+
"% "
|
324 |
+
|
325 |
+
#: includes/class-ctc.php:1286
|
326 |
+
msgid ""
|
327 |
+
"Child Theme Configurator did not detect any configuration data because a previously "
|
328 |
+
"configured Child Theme has been removed. Please set your preferences below and click "
|
329 |
+
"\"Generate Child Theme Files\"."
|
330 |
+
msgstr ""
|
331 |
+
"Child Theme Configurator nije otkrio podatke o konfiguraciji jer je prethodno "
|
332 |
+
"konfigurisana podređena tema uklonjena. Podesite karakteristike i kliknite na "
|
333 |
+
"\"Generiši datoteke podređene teme\"."
|
334 |
+
|
335 |
+
#: includes/forms/addl_css.php:7
|
336 |
+
msgid "Parse additional stylesheets:"
|
337 |
+
msgstr "Parsiraj dodatne datoteke sa stilovima:"
|
338 |
+
|
339 |
+
#: includes/forms/addl_css.php:11 includes/forms/parent-child.php:226
|
340 |
+
msgid ""
|
341 |
+
"Stylesheets that are currently being loaded by the parent theme are automatically "
|
342 |
+
"selected below (except for Bootstrap stylesheets which add a large amount data to the "
|
343 |
+
"configuration). To further reduce overhead, select only the additional stylesheets you "
|
344 |
+
"wish to customize."
|
345 |
+
msgstr ""
|
346 |
+
"Datoteke sa stilovima koje trenutno učitava nadređena tema automatski se biraju dole "
|
347 |
+
"(osim Bootstrap datoteke sa stilovima koja dodaje veliku količinu podataka "
|
348 |
+
"konfiguraciji). Da biste redukovali opterećenje, odaberite samo dodatne datoteke sa "
|
349 |
+
"stilovima koje želite da prilagodite."
|
350 |
+
|
351 |
+
#: includes/forms/addl_panels.php:8 includes/forms/addl_panels.php:9
|
352 |
+
msgid "Learn more about IntelliWidget"
|
353 |
+
msgstr "Saznajte više o IntelliWidget-u"
|
354 |
+
|
355 |
+
#: includes/forms/addl_panels.php:9
|
356 |
+
msgid ""
|
357 |
+
"IntelliWidget is a versatile widget manager that does the work of multiple plugins by "
|
358 |
+
"combining custom page menus, featured posts, sliders and other dynamic content features "
|
359 |
+
"into a single plugin that can display on a per-page or site-wide basis."
|
360 |
+
msgstr ""
|
361 |
+
"IntelliWidget je svestran upravljač widget-ima koji radi sa mnogim dodacima tako što "
|
362 |
+
"kombinuje prilagođene stranice menija, uobličene postove, slajdere i druge "
|
363 |
+
"funkcionalnosti dinamičkog sadržaja u jednom plugin-u koji se može prikazati na "
|
364 |
+
"stranici ili na site-u. "
|
365 |
+
|
366 |
+
#: includes/forms/addl_panels.php:10 includes/forms/addl_panels.php:13
|
367 |
+
msgid "Learn more"
|
368 |
+
msgstr "Saznajte više"
|
369 |
+
|
370 |
+
#: includes/forms/addl_panels.php:11 includes/forms/addl_panels.php:12
|
371 |
+
msgid "Learn more about IW Responsive Menu"
|
372 |
+
msgstr "Saznajte više o IW responzivnom meniju"
|
373 |
+
|
374 |
+
#: includes/forms/addl_panels.php:12
|
375 |
+
msgid ""
|
376 |
+
"IntelliWidget Responsive Menu lets you break free from your theme’s built-in responsive "
|
377 |
+
"menu options and gives you complete control over the user experience."
|
378 |
+
msgstr ""
|
379 |
+
"IntelliWidget responzivni meni omogućava vam da se oslobodite ugrađenih opcija "
|
380 |
+
"responzivnog menija i daje vam potpunu kontrolu korisničkog iskustva."
|
381 |
+
|
382 |
+
#: includes/forms/addl_panels.php:16 includes/help/help_en_US.php:211
|
383 |
+
msgid "Learn more about CTC Pro"
|
384 |
+
msgstr "Saznajte više o CTC Pro"
|
385 |
+
|
386 |
+
#: includes/forms/addl_panels.php:17
|
387 |
+
msgid "Customizing WordPress just got even easier."
|
388 |
+
msgstr "Prilagođavanje WordPress-a upravo je postalo još lakše!"
|
389 |
+
|
390 |
+
#: includes/forms/addl_panels.php:18
|
391 |
+
msgid ""
|
392 |
+
"Thousands of users have already seen the benefits of using Child Theme Configurator. If "
|
393 |
+
"you spend any amount of time customizing WordPress, CTC Pro will help maximize your "
|
394 |
+
"productivity."
|
395 |
+
msgstr ""
|
396 |
+
"Hiljade korisnika već su uvidele prednosti upotrebe dodatka Child Theme Configurator. "
|
397 |
+
"Ako trošite vreme na prilagođavanje WordPress-a, CTC Pro pomoći će vam da povećate "
|
398 |
+
"produktivnost."
|
399 |
+
|
400 |
+
#: includes/forms/addl_panels.php:19
|
401 |
+
msgid "Designed by Developers Who Use It Every Day."
|
402 |
+
msgstr "Osmislili su ga programeri koji ga svakodnevno koriste."
|
403 |
+
|
404 |
+
#: includes/forms/addl_panels.php:20
|
405 |
+
msgid ""
|
406 |
+
"We've packed in more features to make design work quicker and easier with <strong>Child "
|
407 |
+
"Theme Configurator Pro.</strong>"
|
408 |
+
msgstr ""
|
409 |
+
"Spakovali smo više funkcioonalnosti kako bi dizajn radio brže i lakše uz <strong>Child "
|
410 |
+
"Theme Configurator Pro.</strong>"
|
411 |
+
|
412 |
+
#: includes/forms/addl_panels.php:22
|
413 |
+
msgid "Customize Plugin Stylesheets"
|
414 |
+
msgstr "Datoteke sa stilovima za prilagođavanje plugin-a "
|
415 |
+
|
416 |
+
#: includes/forms/addl_panels.php:23
|
417 |
+
msgid ""
|
418 |
+
"Apply the power of CTC's top-rated interface to your site's plugin styles. All new "
|
419 |
+
"design makes it much easier to get the results you want."
|
420 |
+
msgstr ""
|
421 |
+
"Primenite moć najbolje ocenjenih CTC interfejsa na plugin stilove svog site-a. "
|
422 |
+
"Zahvaljujući novom dizajnu, biće vam mnogo lakše da dobijete rezultate koje želite. "
|
423 |
+
|
424 |
+
#: includes/forms/addl_panels.php:24
|
425 |
+
msgid "Quick Preview"
|
426 |
+
msgstr "Brzi pregled"
|
427 |
+
|
428 |
+
#: includes/forms/addl_panels.php:24
|
429 |
+
msgid "Test your child theme with a single click."
|
430 |
+
msgstr "Testirajte svoju podređenu temu jednim klikom."
|
431 |
+
|
432 |
+
#: includes/forms/addl_panels.php:25
|
433 |
+
msgid "Find related styles"
|
434 |
+
msgstr "Nađite povezane stilove"
|
435 |
+
|
436 |
+
#: includes/forms/addl_panels.php:25
|
437 |
+
msgid ""
|
438 |
+
"Use the \"All Styles\" panel to edit groups of selectors from a single combined list."
|
439 |
+
msgstr ""
|
440 |
+
"Koristite panel \"Svi stilovi\" da biste uredili grupe selektora iz pojedinačne "
|
441 |
+
"kombinovane liste. "
|
442 |
+
|
443 |
+
#: includes/forms/addl_panels.php:26
|
444 |
+
msgid "Find styles by Nav Menu"
|
445 |
+
msgstr "Nađi stilove u navigacionom meniju"
|
446 |
+
|
447 |
+
#: includes/forms/addl_panels.php:26
|
448 |
+
msgid "Tweak menus quickly and easily."
|
449 |
+
msgstr "Uzima delove menija lako i brzo."
|
450 |
+
|
451 |
+
#: includes/forms/addl_panels.php:27
|
452 |
+
msgid "Most recent edits"
|
453 |
+
msgstr "Najnovije ispravke"
|
454 |
+
|
455 |
+
#: includes/forms/addl_panels.php:27
|
456 |
+
msgid "Return to recently edited selectors from a toggleable sidebar."
|
457 |
+
msgstr "Vratite se na nedavno uređene selektore sa podesive bočne trake. "
|
458 |
+
|
459 |
+
#: includes/forms/addl_panels.php:28
|
460 |
+
msgid "Free Upgrades"
|
461 |
+
msgstr "Besplatna nadgradnja"
|
462 |
+
|
463 |
+
#: includes/forms/addl_panels.php:29
|
464 |
+
msgid "Your Update Key gives you access to new Pro features as soon as they are released."
|
465 |
+
msgstr ""
|
466 |
+
"Vaš novi ključ za ažuriranje omogućava vam pristup novim profesionalnim "
|
467 |
+
"funkcionalnostima čim se objave."
|
468 |
+
|
469 |
+
#: includes/forms/addl_panels.php:30
|
470 |
+
msgid "Top-rated Online Support"
|
471 |
+
msgstr "Najbolje ocenjena online podrška"
|
472 |
+
|
473 |
+
#: includes/forms/addl_panels.php:31
|
474 |
+
msgid "Online Documentation"
|
475 |
+
msgstr "Online dokumentacija"
|
476 |
+
|
477 |
+
#: includes/forms/addl_panels.php:32
|
478 |
+
msgid "Tutorial Videos"
|
479 |
+
msgstr "Video tutorijali"
|
480 |
+
|
481 |
+
#: includes/forms/addl_panels.php:34
|
482 |
+
msgid "For a limited time save over 15% off Child Theme Configurator Pro."
|
483 |
+
msgstr ""
|
484 |
+
"U ograničenom vremenskom periodu, uštedite više od 15% za Child Theme Configurator Pro."
|
485 |
+
|
486 |
+
#: includes/forms/addl_panels.php:35
|
487 |
+
msgid "Upgrade Now"
|
488 |
+
msgstr "Nadgradi sada"
|
489 |
+
|
490 |
+
#: includes/forms/addl_panels.php:35
|
491 |
+
msgid "Buy Now - Only $14.95 USD*"
|
492 |
+
msgstr "Kupite sada - samo $14.95 USD*"
|
493 |
+
|
494 |
+
#: includes/forms/addl_panels.php:35
|
495 |
+
msgid "*Prices subject to change."
|
496 |
+
msgstr "*Cene su podložne promenama."
|
497 |
+
|
498 |
+
#: includes/forms/addl_tabs.php:8
|
499 |
+
msgid "Get CTC Pro"
|
500 |
+
msgstr "Obezbedite CTC Pro"
|
501 |
+
|
502 |
+
#: includes/forms/at-import.php:15 includes/forms/query-selector.php:85
|
503 |
+
msgid "Save"
|
504 |
+
msgstr "Sačuvaj"
|
505 |
+
|
506 |
+
#: includes/forms/at-import.php:18
|
507 |
+
msgid "@import Statements"
|
508 |
+
msgstr "@uvezi izjave"
|
509 |
+
|
510 |
+
#: includes/forms/backup.php:8
|
511 |
+
msgid "Backup"
|
512 |
+
msgstr "Backup"
|
513 |
+
|
514 |
+
#: includes/forms/backups.php:10 includes/forms/parent-child.php:209
|
515 |
+
msgid "Restore backup from"
|
516 |
+
msgstr "Obnovi backup iz"
|
517 |
+
|
518 |
+
#: includes/forms/fileform.php:8
|
519 |
+
msgid "The Theme editor has been disabled. Template files must be edited offline."
|
520 |
+
msgstr "Uređivač teme je deaktiviran. Datoteke šablona moraju se uređivati offline."
|
521 |
+
|
522 |
+
#: includes/forms/fileform.php:12
|
523 |
+
msgid "Click here to edit template files using the Theme Editor"
|
524 |
+
msgstr "Kliknite ovde da biste uredili datoteke šablona uz pomoć uređivača teme"
|
525 |
+
|
526 |
+
#: includes/forms/fileform.php:23
|
527 |
+
msgid "Parent Templates"
|
528 |
+
msgstr "Nadređeni šabloni"
|
529 |
+
|
530 |
+
#: includes/forms/fileform.php:23
|
531 |
+
msgid "Child Theme Files"
|
532 |
+
msgstr "Datoteke podređene teme"
|
533 |
+
|
534 |
+
#: includes/forms/fileform.php:28
|
535 |
+
msgid "Copy PHP template files from the parent theme by selecting them here."
|
536 |
+
msgstr "Kopirajte PHP datoteke šablona iz nadređene teme tako što ćete ih odabrati ovde. "
|
537 |
+
|
538 |
+
#: includes/forms/fileform.php:31
|
539 |
+
msgid ""
|
540 |
+
"CAUTION: If your child theme is active, the child theme version of the file will be "
|
541 |
+
"used instead of the parent immediately after it is copied."
|
542 |
+
msgstr ""
|
543 |
+
"PAŽNJA: Ako je vaša podređena tema aktivna, verzija podređene teme datoteke koristiće "
|
544 |
+
"se umesto nadređene odmah nakon kopiranja."
|
545 |
+
|
546 |
+
#: includes/forms/fileform.php:33
|
547 |
+
msgid "The %s file is generated separately and cannot be copied here."
|
548 |
+
msgstr "Datoteka %s je posebno generisana i ne može se kopirati ovde. "
|
549 |
+
|
550 |
+
#: includes/forms/fileform.php:43
|
551 |
+
msgid "Delete child theme templates by selecting them here."
|
552 |
+
msgstr "Obrišite šablone podređene teme tako što ćete ih odabrati ovde."
|
553 |
+
|
554 |
+
#: includes/forms/fileform.php:44
|
555 |
+
msgid ""
|
556 |
+
"Delete child theme templates or make them writable by selecting them here. Writable "
|
557 |
+
"files are displayed in <span style=\"color:red\">red</span>."
|
558 |
+
msgstr ""
|
559 |
+
"Obrišite šablone podređene teme ili ih podesite za pisanje tako što ćete ih odabrati "
|
560 |
+
"ovde. Datoteke za pisanje prikazane su <span style=\"color:red\">crvenom bojom</span>."
|
561 |
+
|
562 |
+
#: includes/forms/fileform.php:57
|
563 |
+
msgid "Make Selected Writable"
|
564 |
+
msgstr "Neka odabrano bude raspoloživo za pisanje"
|
565 |
+
|
566 |
+
#: includes/forms/fileform.php:61
|
567 |
+
msgid "Copy Selected to Child Theme"
|
568 |
+
msgstr "Kopiraj odabrano u podređenu temu"
|
569 |
+
|
570 |
+
#: includes/forms/fileform.php:61 includes/forms/images.php:21
|
571 |
+
msgid "Delete Selected"
|
572 |
+
msgstr "Obriši odabrano"
|
573 |
+
|
574 |
+
#: includes/forms/files.php:15
|
575 |
+
msgid "Upload New Child Theme Image"
|
576 |
+
msgstr "Otpremi novu sliku podređene teme"
|
577 |
+
|
578 |
+
#: includes/forms/files.php:18
|
579 |
+
msgid ""
|
580 |
+
"Theme images reside under the <code>images</code> directory in your child theme and are "
|
581 |
+
"meant for stylesheet use only. Use the Media Library for content images."
|
582 |
+
msgstr ""
|
583 |
+
"Slike teme nalaze se u direktorijumu <code>slike</code> u vašoj podređenoj temi i "
|
584 |
+
"napravljene su samo za upotrebu datoteke sa stilovima. Koristite biblioteku za slike "
|
585 |
+
"sadržaja."
|
586 |
+
|
587 |
+
#: includes/forms/files.php:25 includes/forms/files.php:51
|
588 |
+
msgid "Upload"
|
589 |
+
msgstr "Otpremi"
|
590 |
+
|
591 |
+
#: includes/forms/files.php:32
|
592 |
+
msgid "Child Theme Screenshot"
|
593 |
+
msgstr "Snimak ekrana podređene teme"
|
594 |
+
|
595 |
+
#: includes/forms/files.php:41
|
596 |
+
msgid "Upload New Screenshot"
|
597 |
+
msgstr "Otpremi novi snimak ekrana"
|
598 |
+
|
599 |
+
#: includes/forms/files.php:44
|
600 |
+
msgid ""
|
601 |
+
"The theme screenshot should be a 4:3 ratio (e.g., 880px x 660px) JPG, PNG or GIF. It "
|
602 |
+
"will be renamed <code>screenshot</code>."
|
603 |
+
msgstr ""
|
604 |
+
"Odnos teme i snimka ekrana treba da bude 4:3 (e.g., 880px x 660px) JPG, PNG or GIF. "
|
605 |
+
"Naziv će biti promenjen <code>slika ekrana</code>."
|
606 |
+
|
607 |
+
#: includes/forms/files.php:59
|
608 |
+
msgid "Export Child Theme as Zip Archive"
|
609 |
+
msgstr "Izvezi podređenu temu kao zip arhivu"
|
610 |
+
|
611 |
+
#: includes/forms/files.php:64
|
612 |
+
msgid "Export"
|
613 |
+
msgstr "Izvezi"
|
614 |
+
|
615 |
+
#: includes/forms/files.php:73
|
616 |
+
msgid "Secure Child Theme"
|
617 |
+
msgstr "Obezbedi podređenu temu"
|
618 |
+
|
619 |
+
#: includes/forms/files.php:76
|
620 |
+
msgid "Attempt to reset child theme permissions to user ownership and read-only access."
|
621 |
+
msgstr ""
|
622 |
+
"Pokušaj da poništiš dozvole podređene teme u vlasništvu korisnika i pristup samo za "
|
623 |
+
"čitanje."
|
624 |
+
|
625 |
+
#: includes/forms/files.php:82
|
626 |
+
msgid "Make read-only"
|
627 |
+
msgstr "Neka bude samo za čitanje"
|
628 |
+
|
629 |
+
#: includes/forms/files.php:99
|
630 |
+
msgid "Debug"
|
631 |
+
msgstr "Otkloni greške"
|
632 |
+
|
633 |
+
#: includes/forms/files.php:102
|
634 |
+
msgid "Check the box to enable debugging output."
|
635 |
+
msgstr "Štiklirajte polje da biste aktivirali otklanjanje grešaka"
|
636 |
+
|
637 |
+
#: includes/forms/images.php:10
|
638 |
+
msgid "Child Theme Images"
|
639 |
+
msgstr "Slike podređene teme"
|
640 |
+
|
641 |
+
#: includes/forms/images.php:13
|
642 |
+
msgid "Delete child theme images by selecting them here."
|
643 |
+
msgstr "Obrišite slike podređene teme tako što ćete ih odabrati ovde."
|
644 |
+
|
645 |
+
#: includes/forms/main.php:23
|
646 |
+
msgid "version"
|
647 |
+
msgstr "verzija"
|
648 |
+
|
649 |
+
#: includes/forms/parent-child.php:17
|
650 |
+
msgid "Parent Theme"
|
651 |
+
msgstr "Nadređena tema"
|
652 |
+
|
653 |
+
#: includes/forms/parent-child.php:25
|
654 |
+
msgid "Child Theme"
|
655 |
+
msgstr "Podređena tema"
|
656 |
+
|
657 |
+
#: includes/forms/parent-child.php:27
|
658 |
+
msgid "(click to edit additional fields)"
|
659 |
+
msgstr "(kliknite da biste uredili dodatna polja)"
|
660 |
+
|
661 |
+
#: includes/forms/parent-child.php:34
|
662 |
+
msgid "Create New Child Theme"
|
663 |
+
msgstr "Kreiraj novu podređenu temu"
|
664 |
+
|
665 |
+
#: includes/forms/parent-child.php:43
|
666 |
+
msgid "Use Existing Child Theme"
|
667 |
+
msgstr "Koristi postojeću podređenu temu"
|
668 |
+
|
669 |
+
#: includes/forms/parent-child.php:48
|
670 |
+
msgid "Theme Slug"
|
671 |
+
msgstr "Slug teme"
|
672 |
+
|
673 |
+
#: includes/forms/parent-child.php:59
|
674 |
+
msgid "Child Theme Name"
|
675 |
+
msgstr "Naziv podređene teme"
|
676 |
+
|
677 |
+
#: includes/forms/parent-child.php:63
|
678 |
+
msgid "Theme Name"
|
679 |
+
msgstr "Naziv teme"
|
680 |
+
|
681 |
+
#: includes/forms/parent-child.php:66 includes/forms/parent-child.php:70
|
682 |
+
msgid "Theme Website"
|
683 |
+
msgstr "Tema web site-a"
|
684 |
+
|
685 |
+
#: includes/forms/parent-child.php:73 includes/forms/parent-child.php:77
|
686 |
+
msgid "Author"
|
687 |
+
msgstr "Autor"
|
688 |
+
|
689 |
+
#: includes/forms/parent-child.php:81 includes/forms/parent-child.php:85
|
690 |
+
msgid "Author Website"
|
691 |
+
msgstr "Autor web site-a"
|
692 |
+
|
693 |
+
#: includes/forms/parent-child.php:88
|
694 |
+
msgid "Theme Description"
|
695 |
+
msgstr "Opis teme"
|
696 |
+
|
697 |
+
#: includes/forms/parent-child.php:91
|
698 |
+
msgid "Description"
|
699 |
+
msgstr "Opis"
|
700 |
+
|
701 |
+
#: includes/forms/parent-child.php:94
|
702 |
+
msgid "Theme Tags"
|
703 |
+
msgstr "Oznake teme"
|
704 |
+
|
705 |
+
#: includes/forms/parent-child.php:97
|
706 |
+
msgid "Tags"
|
707 |
+
msgstr "Oznake"
|
708 |
+
|
709 |
+
#: includes/forms/parent-child.php:100 includes/forms/parent-child.php:104
|
710 |
+
msgid "Version"
|
711 |
+
msgstr "Verzija"
|
712 |
+
|
713 |
+
#: includes/forms/parent-child.php:110
|
714 |
+
msgid "Stylesheet handling"
|
715 |
+
msgstr "Upravljanje datotekama sa stilovima"
|
716 |
+
|
717 |
+
#: includes/forms/parent-child.php:113
|
718 |
+
msgid "(click to view options)"
|
719 |
+
msgstr "(kliknite da biste videli opcije)"
|
720 |
+
|
721 |
+
#: includes/forms/parent-child.php:121
|
722 |
+
msgid "Enqueue parent stylesheet (default)"
|
723 |
+
msgstr "Dodaj nadređenu datoteku sa stilovima (podrazumevano)"
|
724 |
+
|
725 |
+
#: includes/forms/parent-child.php:124
|
726 |
+
msgid ""
|
727 |
+
"Select this option if the parent theme enqueues the stylesheet but has no special "
|
728 |
+
"handling for child themes. Start with this option if unsure."
|
729 |
+
msgstr ""
|
730 |
+
"Odaberite ovu opciju ako je nadređena tema dodala datoteku sa stilovima, ali nema "
|
731 |
+
"poseban način upravljanja za podređene teme. Ako niste sigurni, počnite od ove opcije."
|
732 |
+
|
733 |
+
#: includes/forms/parent-child.php:127
|
734 |
+
msgid ""
|
735 |
+
"<strong>NOTE: This theme links the stylesheet in the header template and should use the "
|
736 |
+
"@import option to render correctly.</strong>"
|
737 |
+
msgstr ""
|
738 |
+
"<strong>NAPOMENA: Ova tema povezuje datoteku sa stilovima u zaglavlju šablona i treba "
|
739 |
+
"koristiti opciju @uvezi da bi se ispravno prikazala.</strong>"
|
740 |
+
|
741 |
+
#: includes/forms/parent-child.php:132
|
742 |
+
msgid "<code>@import</code> parent stylesheet"
|
743 |
+
msgstr "<code>@uvezi</code> nadređenu datoteku sa stilovima"
|
744 |
+
|
745 |
+
#: includes/forms/parent-child.php:135
|
746 |
+
msgid ""
|
747 |
+
"Select this option if the parent theme links the stylesheet in the header template. "
|
748 |
+
"Using <code>@import</code> is discouraged but necessary in this case unless you modify "
|
749 |
+
"the header template."
|
750 |
+
msgstr ""
|
751 |
+
"Odaberite ovu opciju ako nadređena tema povezuje datoteku sa stilovima u zaglavlju "
|
752 |
+
"šablona. Upotreba opcije <code>@uvezi</code>se ne preporučuje, ali u ovom slučaju je "
|
753 |
+
"neophodna, osim ako izmenite zaglavlje šablona. "
|
754 |
+
|
755 |
+
#: includes/forms/parent-child.php:142
|
756 |
+
msgid "Enqueue child stylesheet"
|
757 |
+
msgstr "Dodaj datoteku sa stilovima"
|
758 |
+
|
759 |
+
#: includes/forms/parent-child.php:145
|
760 |
+
msgid ""
|
761 |
+
"Select this option if the parent theme incorrectly loads the \"template\" stylesheet or "
|
762 |
+
"does not load the \"style.css\" file at all. This is unusual but occurs in some themes."
|
763 |
+
msgstr "Odaberite ovu opciju ako nadređena tema netačno učitava datoteku sa stilovima "
|
764 |
+
|
765 |
+
#: includes/forms/parent-child.php:152
|
766 |
+
msgid "None (handled by theme)"
|
767 |
+
msgstr "Nijedan (rukovodi tema)"
|
768 |
+
|
769 |
+
#: includes/forms/parent-child.php:156
|
770 |
+
msgid ""
|
771 |
+
"Select this option if all stylesheets are automatically loaded for child themes (e.g., "
|
772 |
+
"\"Responsive\" by CyberChimps)."
|
773 |
+
msgstr ""
|
774 |
+
"Odaberite ovu opciju ako se sve datoteke sa stilovima automatski učitavaju za podređene "
|
775 |
+
"teme (npr. \"Responsive\" čiji je autor CyberChimps)."
|
776 |
+
|
777 |
+
#: includes/forms/parent-child.php:161
|
778 |
+
msgid "Copy Parent Theme Menus, Widgets and other Options"
|
779 |
+
msgstr "Kopiraj meni nadređene teme, widget-e i druge opcije"
|
780 |
+
|
781 |
+
#: includes/forms/parent-child.php:168 includes/forms/parent-child.php:183
|
782 |
+
msgid "NOTE:"
|
783 |
+
msgstr "NAPOMENA:"
|
784 |
+
|
785 |
+
#: includes/forms/parent-child.php:170
|
786 |
+
msgid "This will overwrite child theme options you may have already set."
|
787 |
+
msgstr "Ovim ćete poništiti opcije podređene teme koje ste možda već podesili."
|
788 |
+
|
789 |
+
#: includes/forms/parent-child.php:176
|
790 |
+
msgid "Backup current stylesheet"
|
791 |
+
msgstr "Uradi backup za tekuću datoteku sa stilovima"
|
792 |
+
|
793 |
+
#: includes/forms/parent-child.php:185
|
794 |
+
msgid ""
|
795 |
+
"This creates a copy of the current stylesheet before applying changes. You can remove "
|
796 |
+
"old backup files using the Files tab."
|
797 |
+
msgstr ""
|
798 |
+
"Ovim se kreira kopija tekuće datoteke sa stilovima pre nego što se primene izmene. "
|
799 |
+
"Možete ukloniti stare datoteke za podršku uz pomoć tabulatora ‘Datoteke’. "
|
800 |
+
|
801 |
+
#: includes/forms/parent-child.php:190
|
802 |
+
msgid "Reset/Restore from backup"
|
803 |
+
msgstr "Poništi/Vrati iz backup-a"
|
804 |
+
|
805 |
+
#: includes/forms/parent-child.php:196
|
806 |
+
msgid "Leave unchanged"
|
807 |
+
msgstr "Ostavi nepromenjeno"
|
808 |
+
|
809 |
+
#: includes/forms/parent-child.php:202
|
810 |
+
msgid "Reset all"
|
811 |
+
msgstr "Poništi sve"
|
812 |
+
|
813 |
+
#: includes/forms/parent-child.php:222
|
814 |
+
msgid "Parse additional stylesheets"
|
815 |
+
msgstr "Parsiraj dodatne datoteke sa stilovima"
|
816 |
+
|
817 |
+
#: includes/forms/parent-child.php:245
|
818 |
+
msgid "Generate/Rebuild Child Theme Files"
|
819 |
+
msgstr "Generiši/Ponovo izgradi datoteke podređene teme"
|
820 |
+
|
821 |
+
#: includes/forms/query-selector.php:13
|
822 |
+
msgid "Query"
|
823 |
+
msgstr "Upit"
|
824 |
+
|
825 |
+
#: includes/forms/query-selector.php:24
|
826 |
+
msgid "Selector"
|
827 |
+
msgstr "Selektor"
|
828 |
+
|
829 |
+
#: includes/forms/query-selector.php:37 includes/forms/rule-value.php:29
|
830 |
+
msgid "Sample"
|
831 |
+
msgstr "Primer"
|
832 |
+
|
833 |
+
#: includes/forms/query-selector.php:45
|
834 |
+
msgid "Save Child Values"
|
835 |
+
msgstr "Sačuvaj podređene vrednosti"
|
836 |
+
|
837 |
+
#: includes/forms/query-selector.php:52 includes/forms/rule-value.php:13
|
838 |
+
msgid "Rule"
|
839 |
+
msgstr "Pravilo"
|
840 |
+
|
841 |
+
#: includes/forms/query-selector.php:55
|
842 |
+
msgid "Parent Value"
|
843 |
+
msgstr "Nadređena vrednost"
|
844 |
+
|
845 |
+
#: includes/forms/query-selector.php:58
|
846 |
+
msgid "Child Value"
|
847 |
+
msgstr "Podređena vrednost"
|
848 |
+
|
849 |
+
#: includes/forms/query-selector.php:64
|
850 |
+
msgid "New Rule"
|
851 |
+
msgstr "Novo pravilo"
|
852 |
+
|
853 |
+
#: includes/forms/query-selector.php:74
|
854 |
+
msgid "Order"
|
855 |
+
msgstr "Nalog"
|
856 |
+
|
857 |
+
#: includes/forms/query-selector.php:83
|
858 |
+
msgid "Copy Selector"
|
859 |
+
msgstr "Kopiraj selektor"
|
860 |
+
|
861 |
+
#: includes/forms/query-selector.php:88
|
862 |
+
msgid "Raw CSS"
|
863 |
+
msgstr "Neobrađeni CSS"
|
864 |
+
|
865 |
+
#: includes/forms/query-selector.php:90
|
866 |
+
msgid "Use to enter shorthand CSS or new @media queries and selectors."
|
867 |
+
msgstr "Koristite da biste uneli shorthand CSS ili nove @media upite i selektore."
|
868 |
+
|
869 |
+
#: includes/forms/query-selector.php:90
|
870 |
+
msgid ""
|
871 |
+
"Values entered here are merged into existing child styles or added to the child "
|
872 |
+
"stylesheet if they do not exist in the parent."
|
873 |
+
msgstr ""
|
874 |
+
"Ovde unete vrednosti spajaju se u postojeće podređene stilove ili se dodaju podređenoj "
|
875 |
+
"datoteci sa stilovima ako ne postoje u nadređenoj datoteci. "
|
876 |
+
|
877 |
+
#: includes/forms/related.php:1
|
878 |
+
msgid "New user?"
|
879 |
+
msgstr "Novi korisnik?"
|
880 |
+
|
881 |
+
#: includes/forms/related.php:1
|
882 |
+
msgid "Click help"
|
883 |
+
msgstr "Kliknite za pomoć"
|
884 |
+
|
885 |
+
#: includes/forms/related.php:1
|
886 |
+
msgid "Get CTC Pro and other tools"
|
887 |
+
msgstr "Obezbedite CTC Pro i druge alate"
|
888 |
+
|
889 |
+
#: includes/forms/related.php:1
|
890 |
+
msgid "Lilaea Media - Responsive Tools for a Mobile World"
|
891 |
+
msgstr "Lilaea Media - odgovarajući alati za svet mobilnih "
|
892 |
+
|
893 |
+
#: includes/forms/rule-value.php:26
|
894 |
+
msgid "Value"
|
895 |
+
msgstr "Vrednost"
|
896 |
+
|
897 |
+
#: includes/forms/tabs.php:11
|
898 |
+
msgid "Parent/Child"
|
899 |
+
msgstr "Nadređeni/Podređeni"
|
900 |
+
|
901 |
+
#: includes/forms/tabs.php:16
|
902 |
+
msgid "Query/Selector"
|
903 |
+
msgstr "Upit/Selektor"
|
904 |
+
|
905 |
+
#: includes/forms/tabs.php:19
|
906 |
+
msgid "Rule/Value"
|
907 |
+
msgstr "Pravilo/Vrednost"
|
908 |
+
|
909 |
+
#: includes/forms/tabs.php:22
|
910 |
+
msgid "@import"
|
911 |
+
msgstr "@uvezi"
|
912 |
+
|
913 |
+
#: includes/forms/tabs.php:25
|
914 |
+
msgid "Child CSS"
|
915 |
+
msgstr "Podređeni CSS"
|
916 |
+
|
917 |
+
#: includes/forms/tabs.php:28
|
918 |
+
msgid "Parent CSS"
|
919 |
+
msgstr "Nadređeni CSS"
|
920 |
+
|
921 |
+
#: includes/forms/tabs.php:34
|
922 |
+
msgid "Files"
|
923 |
+
msgstr "Datoteke"
|
924 |
+
|
925 |
+
#: includes/forms/themepreview.php:12
|
926 |
+
msgid "Version: "
|
927 |
+
msgstr "Verzija"
|
928 |
+
|
929 |
+
#: includes/forms/themepreview.php:14
|
930 |
+
msgid "By: "
|
931 |
+
msgstr "Od:"
|
932 |
+
|
933 |
+
#: includes/forms/themepreview.php:16
|
934 |
+
msgid "Preview"
|
935 |
+
msgstr "Pregled"
|
936 |
+
|
937 |
+
#: includes/forms/themepreview.php:17
|
938 |
+
msgid " in default Site"
|
939 |
+
msgstr "na podrazumevanom site-u"
|
940 |
+
|
941 |
+
#: includes/forms/themepreview.php:21
|
942 |
+
msgid "Not Network Enabled"
|
943 |
+
msgstr "Nema aktivirane mreže"
|
944 |
+
|
945 |
+
#. Plugin URI of the plugin/theme
|
946 |
+
msgid "http://www.lilaeamedia.com/plugins/child-theme-configurator/"
|
947 |
+
msgstr "http://www.lilaeamedia.com/plugins/child-theme-configurator/"
|
948 |
+
|
949 |
+
#. Description of the plugin/theme
|
950 |
+
msgid ""
|
951 |
+
"Create a Child Theme and customize the stylesheet and templates. Fast CSS editor lets "
|
952 |
+
"you search, preview and modify by selector, rule or value."
|
953 |
+
msgstr ""
|
954 |
+
"Kreirajte podređenu temu i prilagodite datoteke sa stilovima i šablone. Brzi CSS "
|
955 |
+
"uređivač omogućava vam pretragu, pregled i modifikovanje na osnovu selektora, pravila "
|
956 |
+
"ili vrednosti."
|
957 |
+
|
958 |
+
#. Author of the plugin/theme
|
959 |
+
msgid "Lilaea Media"
|
960 |
+
msgstr "Lilaea Media"
|
961 |
+
|
962 |
+
#. Author URI of the plugin/theme
|
963 |
+
msgid "http://www.lilaeamedia.com/"
|
964 |
+
msgstr "http://www.lilaeamedia.com/"
|
readme.txt
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
=== Child Theme Configurator ===
|
2 |
Contributors: lilaeamedia
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8QE5YJ8WE96AJ
|
4 |
-
Tags: child theme, child themes, customize, CSS, responsive, css editor, theme generator, theme creator, stylesheet, customizer
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.1
|
7 |
-
Stable tag: 1.7.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
-
Create
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
Child Theme Configurator is a fast and easy to use CSS editor that allows you to create
|
16 |
|
17 |
= Take Control of Your Child Themes =
|
18 |
|
@@ -20,7 +20,7 @@ https://www.youtube.com/watch?v=53M7RVxDYEY
|
|
20 |
|
21 |
The Child Theme Configurator parses and indexes your stylesheets so that every CSS media query, selector, rule and value are at your fingertips. Second, it shows you how each change you make will look before you commit it to the child theme. Finally, it saves your work so that you can fine-tune your child themes without the risk of losing your edits.
|
22 |
|
23 |
-
You can create any number of child themes from
|
24 |
|
25 |
When you are ready, just activate the Child Theme and your WordPress site takes on the new look and feel automatically.
|
26 |
|
@@ -29,26 +29,25 @@ When you are ready, just activate the Child Theme and your WordPress site takes
|
|
29 |
* Update themes without losing customizations
|
30 |
* Copy existing widgets, menus and other options to child theme
|
31 |
* Save hours of development time
|
32 |
-
* Multisite compatible
|
33 |
-
* Make modifications
|
34 |
* Enqueue (link) parent theme stylesheet instead of using @import
|
35 |
* Export child themes as Zip Archive
|
36 |
-
*
|
37 |
* Identify and override exact selectors from the parent theme
|
38 |
* Change specific colors, backgrounds, font styles, etc., without changing other elements
|
39 |
* Automatically generate cross-browser and vendor-prefixed rules and CSS gradients
|
40 |
* Preview style changes before committing to them
|
41 |
* Customize @media queries for responsive design
|
42 |
* Uses WP Filesystem API – will not create files you cannot remove
|
43 |
-
* Nag-free, no-strings-attached user experience
|
44 |
|
45 |
-
=
|
46 |
|
47 |
Apply the CSS editing power of Child Theme Configurator to any WordPress Plugin installed on your website. Child Theme Configurator PRO scans your plugins and lets you customize their stylesheets. We’ve added more features to make design work quicker and easier with PRO.
|
48 |
|
49 |
https://www.youtube.com/watch?v=fktwCk43a8c
|
50 |
|
51 |
-
Learn more at http://www.
|
52 |
|
53 |
= Unlimited Widget Content With a Single Plugin =
|
54 |
|
@@ -135,7 +134,7 @@ Yes. Go to "Network Admin > Themes > Child Themes." Child themes must be "Networ
|
|
135 |
|
136 |
= Does it work with plugins? =
|
137 |
|
138 |
-
Child Theme Configurator PRO brings the CSS editing power of Child Theme Configurator to any WordPress Plugin installed on your website by scanning your plugins and creating custom CSS in your Child Themes. Learn more at http://www.
|
139 |
|
140 |
= Why doesn't this work with my [insert vendor here] theme? =
|
141 |
|
@@ -215,7 +214,7 @@ You have to load a child theme from the Parent/Child tab for the preview to disp
|
|
215 |
|
216 |
You can make any manual changes you wish to the stylesheet. Just make sure you import the revised stylesheet using the Parent/Child panel or the Configurator will overwrite your changes the next time you use it. Just follow the steps as usual but select the "Use Existing Child Theme" radio button as the "Child Theme" option. The Configurator will automatically update its internal data from the new stylesheet.
|
217 |
|
218 |
-
= Where are the .php files? =
|
219 |
|
220 |
The Child Theme Configurator automatically adds a blank functions.php file to the child theme's directory. You can copy parent theme template files using the Files tab. If you want to create new templates and directories you will have to create/upload them manually via FTP or SSH. Remember that a child theme will automatically inherit the parent theme's templates unless they also exist in the child theme's directory. Only copy templates that you intend to customize.
|
221 |
|
@@ -267,7 +266,13 @@ https://www.youtube.com/watch?v=iBiiAgsK4G4
|
|
267 |
7. Files tab
|
268 |
|
269 |
== Changelog ==
|
270 |
-
= 1.7.
|
|
|
|
|
|
|
|
|
|
|
|
|
271 |
|
272 |
= 1.7.0 =
|
273 |
* New Feature: Enqueue child theme stylesheet option for themes that do not load it.
|
@@ -315,10 +320,11 @@ https://www.youtube.com/watch?v=iBiiAgsK4G4
|
|
315 |
* Fix: add check if theme uses hard-wired stylesheet link and alert to use @import instead of link option
|
316 |
* Fix: conflicts with using jQuery UI from CDN - using local version of 1.11.2 Widget/Menu/Selectmenu instead
|
317 |
* Fix: using wp-color-picker handle instead of iris as dependency to make sure wpColorPicker() methods are loaded
|
318 |
-
* Fix: copy parent theme widgets logic different
|
319 |
|
320 |
= 1.6.0 =
|
321 |
-
* New Feature: option to load parent stylesheet using wp_enqueue_style (link), @import or none.
|
|
|
322 |
* New Feature: automatically-generated slug and name
|
323 |
* New Feature: restore from backup and reset options
|
324 |
* New Feature: backup files to "Child Theme Files" on Files Tab so they can be deleted
|
@@ -339,7 +345,7 @@ https://www.youtube.com/watch?v=iBiiAgsK4G4
|
|
339 |
* Added regex filter for non-printable (e.g., null) characters in input strings
|
340 |
|
341 |
= 1.5.2.2 =
|
342 |
-
* Fixed a bug introduced in v1.5.2(.1) that copied all of the parent styles to the child stylesheet. This should only be an issue for 'background-image' styles that reference images in the parent theme and do not have child theme overrides.
|
343 |
* Rolled back changes to the javascript controller that introduced a number of type errors.
|
344 |
* Tweaked preview ajax call to handle ssl.
|
345 |
|
@@ -483,7 +489,7 @@ https://www.youtube.com/watch?v=iBiiAgsK4G4
|
|
483 |
* Initial release.
|
484 |
|
485 |
== Upgrade Notice ==
|
486 |
-
Version 1.7.
|
487 |
|
488 |
== Override Parent Styles ==
|
489 |
|
@@ -494,11 +500,11 @@ There are two ways to identify and override parent styles. The Child Theme Confi
|
|
494 |
The Query/Selector tab lets you find specific CSS selectors and edit them. First, find the query that contains the CSS selector you wish to edit by typing in the Query autoselect box. Select by clicking with the mouse or by pressing the "Enter" or "Tab" keys. CSS selectors are in the base query by default.
|
495 |
Next, find the CSS selector by typing in the "Selector" autoselect box. Select by clicking with the mouse or by pressing the "Enter" or "Tab" keys.
|
496 |
|
497 |
-
This will load all of the rules for that CSS selector with the Parent values on the left and the
|
498 |
|
499 |
The "Order" field contains the original sequence of the CSS selector in the parent theme stylesheet. You can change the CSS selector order sequence by entering a lower or higher number in the "Order" field. You can also force style overrides (so called "!important" flag) by checking the "!" box next to each input. Please use judiciously.
|
500 |
|
501 |
-
Click "Save" to update the child stylesheet and save your changes to the WordPress admin.
|
502 |
|
503 |
== Adding New Styles ==
|
504 |
|
@@ -512,11 +518,11 @@ If you prefer to use shorthand syntax for rules and values instead of the inputs
|
|
512 |
|
513 |
The Rule/Value tab lets you find specific values for a given rule and then edit that value for individual CSS selectors that use that rule/value combination. First, find the rule you wish to override by typing in the Rule autoselect box. Select by clicking with the mouse or by pressing the "Enter" or "Tab" keys.
|
514 |
|
515 |
-
This will load all of the unique values that exist for that rule in the parent stylesheet with a Sample preview for that value. If there are values that exist in the child stylesheet that do not exist in the parent stylesheet, they will be displayed as well.
|
516 |
|
517 |
-
For each unique value, click the "Selectors" link to view a list of CSS selectors that use that rule/value combination, grouped by query with a Sample preview of the value and inputs for the child value. Any existing child values will be automatically populated.
|
518 |
|
519 |
-
Click "Save" to update the child stylesheet and save your changes to the WordPress admin.
|
520 |
|
521 |
If you want to edit all of the rules for the CSS selector you can click the “Edit” link and the CSS selector will automatically load in the Query/Selector Tab.
|
522 |
|
@@ -564,15 +570,17 @@ Some themes (particularly commercial themes) do not correctly load parent templa
|
|
564 |
|
565 |
== Caveats ==
|
566 |
|
567 |
-
* The Child Theme Configurator plugin does not support the legacy webkit gradient.
|
568 |
* Only two-color gradients. The Child Theme Configurator plugin is powerful, but we have simplified the gradient interface. You can use any gradient you want as long as it has two colors and no intermediate stops.
|
569 |
* No @font-face rules. The Child Theme Configurator plugin only supports @media and @import. If you need other @rules, put them in a separate stylesheet and import them into the Child Theme stylesheet.
|
570 |
-
*
|
|
|
571 |
* CSS Rules are auto-discovered. The Child Theme Configurator plugin loads the rules that exist in the Parent stylesheet. You can always add new rules using the "Raw CSS" text area.
|
572 |
* Multiple versions of the same rule in a single selector are not supported, with a few exceptions. The Child Theme Configurator plugin will automatically generate vendor-prefix variations for background-image, border-radius, transform, transition, and others.
|
573 |
|
574 |
== Documentation ==
|
575 |
|
576 |
-
Go to http://www.
|
|
|
|
|
577 |
|
578 |
Copyright: (C) 2014-2015 Lilaea Media
|
1 |
=== Child Theme Configurator ===
|
2 |
Contributors: lilaeamedia
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8QE5YJ8WE96AJ
|
4 |
+
Tags: child theme, child themes, customize theme, CSS, responsive, css editor, child theme generator, child theme creator, stylesheet, customizer
|
5 |
Requires at least: 3.9
|
6 |
Tested up to: 4.1
|
7 |
+
Stable tag: 1.7.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
11 |
+
Create a child theme and customize the stylesheets and templates. Fast CSS editor lets you search, preview and modify any style.
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
Child Theme Configurator is a fast and easy to use CSS editor that allows you to create child themes and customize them beyond the options of the Customizer. Designed for WordPress users who want to be able to customize stylesheets directly, the Child Theme Configurator lets you easily identify and override the exact CSS attributes you want to change. It gives you unlimited control over your WordPress look and feel while leaving your Parent Theme untouched.
|
16 |
|
17 |
= Take Control of Your Child Themes =
|
18 |
|
20 |
|
21 |
The Child Theme Configurator parses and indexes your stylesheets so that every CSS media query, selector, rule and value are at your fingertips. Second, it shows you how each change you make will look before you commit it to the child theme. Finally, it saves your work so that you can fine-tune your child themes without the risk of losing your edits.
|
22 |
|
23 |
+
You can create any number of child themes from your existing Parent Themes. The Child Theme Configurator lets you choose from your installed themes (even existing child themes) and save the results in your Themes directory.
|
24 |
|
25 |
When you are ready, just activate the Child Theme and your WordPress site takes on the new look and feel automatically.
|
26 |
|
29 |
* Update themes without losing customizations
|
30 |
* Copy existing widgets, menus and other options to child theme
|
31 |
* Save hours of development time
|
32 |
+
* Multisite compatible
|
33 |
+
* Make modifications unavailable to the Customizer
|
34 |
* Enqueue (link) parent theme stylesheet instead of using @import
|
35 |
* Export child themes as Zip Archive
|
36 |
+
* Use web fonts in your child theme
|
37 |
* Identify and override exact selectors from the parent theme
|
38 |
* Change specific colors, backgrounds, font styles, etc., without changing other elements
|
39 |
* Automatically generate cross-browser and vendor-prefixed rules and CSS gradients
|
40 |
* Preview style changes before committing to them
|
41 |
* Customize @media queries for responsive design
|
42 |
* Uses WP Filesystem API – will not create files you cannot remove
|
|
|
43 |
|
44 |
+
= Child Theme Configurator PRO =
|
45 |
|
46 |
Apply the CSS editing power of Child Theme Configurator to any WordPress Plugin installed on your website. Child Theme Configurator PRO scans your plugins and lets you customize their stylesheets. We’ve added more features to make design work quicker and easier with PRO.
|
47 |
|
48 |
https://www.youtube.com/watch?v=fktwCk43a8c
|
49 |
|
50 |
+
Learn more at http://www.childthemeconfigurator.com/child-theme-configurator-pro
|
51 |
|
52 |
= Unlimited Widget Content With a Single Plugin =
|
53 |
|
134 |
|
135 |
= Does it work with plugins? =
|
136 |
|
137 |
+
Child Theme Configurator PRO brings the CSS editing power of Child Theme Configurator to any WordPress Plugin installed on your website by scanning your plugins and creating custom CSS in your Child Themes. Learn more at http://www.childthemeconfigurator.com/child-theme-configurator-pro
|
138 |
|
139 |
= Why doesn't this work with my [insert vendor here] theme? =
|
140 |
|
214 |
|
215 |
You can make any manual changes you wish to the stylesheet. Just make sure you import the revised stylesheet using the Parent/Child panel or the Configurator will overwrite your changes the next time you use it. Just follow the steps as usual but select the "Use Existing Child Theme" radio button as the "Child Theme" option. The Configurator will automatically update its internal data from the new stylesheet.
|
216 |
|
217 |
+
= Where are the child theme .php files? =
|
218 |
|
219 |
The Child Theme Configurator automatically adds a blank functions.php file to the child theme's directory. You can copy parent theme template files using the Files tab. If you want to create new templates and directories you will have to create/upload them manually via FTP or SSH. Remember that a child theme will automatically inherit the parent theme's templates unless they also exist in the child theme's directory. Only copy templates that you intend to customize.
|
220 |
|
266 |
7. Files tab
|
267 |
|
268 |
== Changelog ==
|
269 |
+
= 1.7.2 =
|
270 |
+
* Fix: @import not being written on rebuild/configure
|
271 |
+
* Fix: min height on rule/value panel
|
272 |
+
* Only prune child theme selectors on rename
|
273 |
+
|
274 |
+
= 1.7.1 =
|
275 |
+
* Removed conflicting wistia javascript link
|
276 |
|
277 |
= 1.7.0 =
|
278 |
* New Feature: Enqueue child theme stylesheet option for themes that do not load it.
|
320 |
* Fix: add check if theme uses hard-wired stylesheet link and alert to use @import instead of link option
|
321 |
* Fix: conflicts with using jQuery UI from CDN - using local version of 1.11.2 Widget/Menu/Selectmenu instead
|
322 |
* Fix: using wp-color-picker handle instead of iris as dependency to make sure wpColorPicker() methods are loaded
|
323 |
+
* Fix: copy parent theme widgets logic is different when child theme is active
|
324 |
|
325 |
= 1.6.0 =
|
326 |
+
* New Feature: option to load parent stylesheet using wp_enqueue_style (link), @import or none.
|
327 |
+
* Thanks to cmwwebfx and Shapeshifter3 for pushing me on this
|
328 |
* New Feature: automatically-generated slug and name
|
329 |
* New Feature: restore from backup and reset options
|
330 |
* New Feature: backup files to "Child Theme Files" on Files Tab so they can be deleted
|
345 |
* Added regex filter for non-printable (e.g., null) characters in input strings
|
346 |
|
347 |
= 1.5.2.2 =
|
348 |
+
* Fixed a bug introduced in v1.5.2(.1) that copied all of the parent styles to the child theme stylesheet. This should only be an issue for 'background-image' styles that reference images in the parent theme and do not have child theme overrides.
|
349 |
* Rolled back changes to the javascript controller that introduced a number of type errors.
|
350 |
* Tweaked preview ajax call to handle ssl.
|
351 |
|
489 |
* Initial release.
|
490 |
|
491 |
== Upgrade Notice ==
|
492 |
+
Version 1.7.2: @imports were not being written correctly on child theme rebuild. See changelog.
|
493 |
|
494 |
== Override Parent Styles ==
|
495 |
|
500 |
The Query/Selector tab lets you find specific CSS selectors and edit them. First, find the query that contains the CSS selector you wish to edit by typing in the Query autoselect box. Select by clicking with the mouse or by pressing the "Enter" or "Tab" keys. CSS selectors are in the base query by default.
|
501 |
Next, find the CSS selector by typing in the "Selector" autoselect box. Select by clicking with the mouse or by pressing the "Enter" or "Tab" keys.
|
502 |
|
503 |
+
This will load all of the rules for that CSS selector with the Parent values on the left and the child theme values inputs on the right. Any existing child theme values will be automatically populated. There is also a Sample preview that displays the combination of Parent and Child overrides. Note that the border and background-image get special treatment.
|
504 |
|
505 |
The "Order" field contains the original sequence of the CSS selector in the parent theme stylesheet. You can change the CSS selector order sequence by entering a lower or higher number in the "Order" field. You can also force style overrides (so called "!important" flag) by checking the "!" box next to each input. Please use judiciously.
|
506 |
|
507 |
+
Click "Save" to update the child theme stylesheet and save your changes to the WordPress admin.
|
508 |
|
509 |
== Adding New Styles ==
|
510 |
|
518 |
|
519 |
The Rule/Value tab lets you find specific values for a given rule and then edit that value for individual CSS selectors that use that rule/value combination. First, find the rule you wish to override by typing in the Rule autoselect box. Select by clicking with the mouse or by pressing the "Enter" or "Tab" keys.
|
520 |
|
521 |
+
This will load all of the unique values that exist for that rule in the parent theme stylesheet with a Sample preview for that value. If there are values that exist in the child theme stylesheet that do not exist in the parent stylesheet, they will be displayed as well.
|
522 |
|
523 |
+
For each unique value, click the "Selectors" link to view a list of CSS selectors that use that rule/value combination, grouped by query with a Sample preview of the value and inputs for the child theme value. Any existing child theme values will be automatically populated.
|
524 |
|
525 |
+
Click "Save" to update the child theme stylesheet and save your changes to the WordPress admin.
|
526 |
|
527 |
If you want to edit all of the rules for the CSS selector you can click the “Edit” link and the CSS selector will automatically load in the Query/Selector Tab.
|
528 |
|
570 |
|
571 |
== Caveats ==
|
572 |
|
|
|
573 |
* Only two-color gradients. The Child Theme Configurator plugin is powerful, but we have simplified the gradient interface. You can use any gradient you want as long as it has two colors and no intermediate stops.
|
574 |
* No @font-face rules. The Child Theme Configurator plugin only supports @media and @import. If you need other @rules, put them in a separate stylesheet and import them into the Child Theme stylesheet.
|
575 |
+
* The Child Theme Configurator plugin works with the vast majority of CSS rules, however some obscure options are not auto-prefixed.
|
576 |
+
* The Child Theme Configurator plugin does not support the legacy webkit gradient.
|
577 |
* CSS Rules are auto-discovered. The Child Theme Configurator plugin loads the rules that exist in the Parent stylesheet. You can always add new rules using the "Raw CSS" text area.
|
578 |
* Multiple versions of the same rule in a single selector are not supported, with a few exceptions. The Child Theme Configurator plugin will automatically generate vendor-prefix variations for background-image, border-radius, transform, transition, and others.
|
579 |
|
580 |
== Documentation ==
|
581 |
|
582 |
+
Go to http://www.childthemeconfigurator.com/documentation/
|
583 |
+
|
584 |
+
Serbo-Croatian translation courtesy of Borisa Djuraskovic borisad@webhostinghub.com http://www.webhostinghub.com
|
585 |
|
586 |
Copyright: (C) 2014-2015 Lilaea Media
|