<commit_before><?php

/*
Plugin Name: CF Colors 
Description: Selection of color swatches from Adobe Kuler.
Version: dev 
Author: Crowd Favorite
Author URI: http://crowdfavorite.com
*/


/* TODO

- On selected color, if it's been customized it will "Custom Theme by..." wordpress username

*/

define('CF_ANNO_COLORS_VERSION', '0.8');
define('CF_ANNO_COLORS', 'anno_colors');

function cfcp_admin_init() {
	if (!empty($_GET['page']) && $_GET['page'] == basename(__FILE__)) {
		$plugin_dir = trailingslashit(get_template_directory_uri()).'plugins/'.basename(__FILE__, '.php');
		
		wp_enqueue_style('anno-colors-admin-css', $plugin_dir.'/css/admin.css', array(), '20090523', 'screen');
		
		// colorpicker version is the last entry date from the changelog since it doesn't appear to have a version defined
		wp_enqueue_script('jquery-colorpicker', $plugin_dir.'/js/colorpicker/js/colorpicker.js', array('jquery'), '20090523');
		wp_enqueue_style('jquery-colorpicker', $plugin_dir.'/js/colorpicker/css/colorpicker.css', array(), '20090523', 'screen');
		
		// our js
		wp_enqueue_script('cf-colors', $plugin_dir.'/js/cf-colors.js', array('jquery', 'colorpicker', 'jquery-ui-sortable'), CF_ANNO_COLORS_VERSION);
		wp_localize_script('cf-colors', 'cf_kuler_settings', array(
			'preview_css_template' => $css_preview_template,
			'loading' => 'Loading...'
		));	<commit_msg>Removing unused translation string throwing enotices<commit_after><?php

/*
Plugin Name: CF Colors 
Description: Selection of color swatches from Adobe Kuler.
Version: dev 
Author: Crowd Favorite
Author URI: http://crowdfavorite.com
*/


/* TODO

- On selected color, if it's been customized it will "Custom Theme by..." wordpress username

*/

define('CF_ANNO_COLORS_VERSION', '0.8');
define('CF_ANNO_COLORS', 'anno_colors');

function cfcp_admin_init() {
	if (!empty($_GET['page']) && $_GET['page'] == basename(__FILE__)) {
		$plugin_dir = trailingslashit(get_template_directory_uri()).'plugins/'.basename(__FILE__, '.php');
		
		wp_enqueue_style('anno-colors-admin-css', $plugin_dir.'/css/admin.css', array(), '20090523', 'screen');
		
		// colorpicker version is the last entry date from the changelog since it doesn't appear to have a version defined
		wp_enqueue_script('jquery-colorpicker', $plugin_dir.'/js/colorpicker/js/colorpicker.js', array('jquery'), '20090523');
		wp_enqueue_style('jquery-colorpicker', $plugin_dir.'/js/colorpicker/css/colorpicker.css', array(), '20090523', 'screen');
		
		// our js
		wp_enqueue_script('cf-colors', $plugin_dir.'/js/cf-colors.js', array('jquery', 'colorpicker', 'jquery-ui-sortable'), CF_ANNO_COLORS_VERSION);
		wp_localize_script('cf-colors', 'cf_kuler_settings', array(
			'loading' => 'Loading...'
		));	
{'fraction_non_alphanumeric': 0.16354968830216354, 'fraction_numerical': 0.01906857352401907, 'mean_word_length': 5.526315789473684, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1362864', 'n_tokens_mistral': 976, 'n_tokens_neox': 889, 'n_words': 197}