<commit_before><?php
/*
 * Plugin Name: GJ Maps
 * Plugin URI: http://www.gunnjerkens.com
 * Description: Ability top upload Points of Interest from a CSV or manually, then access them in JSON format.
 * Version: 0.1
 * Author: <NAME> & <NAME>
 * License: GPL2
 */

include('poi.php');
include('category.php');


//ADMIN MENUS
function gj_admin_edit() {
	include('admin/gj_admin.php');
}
function gj_admin_categories() {
	include('admin/gj_category.php');
}
function gj_admin_import() {  
	include('admin/gj_import.php'); 
}  
function gj_admin_delete() {
	include ('admin/gj_delete.php');
}
function gj_admin_options() {
	include ('admin/gj_options.php');
}
function gj_admin_actions() {
	add_menu_page( "GJ Maps", "GJ Maps", 'administrator', "gj_maps", "gj_admin_edit" );
	add_submenu_page("gj_maps", "Categories", "Categories", 'administrator', "gj_admin_categories", "gj_admin_categories");
	add_submenu_page("gj_maps", "Import CSV", "Import CSV", 'administrator', "gj_admin_import", "gj_admin_import");
	add_submenu_page("gj_maps", "GJ Maps Delete", "GJ Maps Delete", 'administrator', "gj_admin_delete", "gj_admin_delete");
	add_submenu_page("gj_maps", "Settings", "Settings", 'administrator', "gj_admin_options", "gj_admin_options");
}
add_action('admin_menu', 'gj_admin_actions');


//ADD GMAPS AND STYLES
function gj_add_styles () {
	if (get_option('gj_styles') && !(is_admin()) ) {
		wp_enqueue_script('google-maps', 'https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false', null, null);
		wp_enqueue_script('gj-maps', WP_PLUGIN_URL.'/gjmaps/assets/gj-maps.js', array('jquery', 'google-maps'), null, true);<commit_msg>assets relative link incorrect<commit_after><?php
/*
 * Plugin Name: GJ Maps
 * Plugin URI: http://www.gunnjerkens.com
 * Description: Ability top upload Points of Interest from a CSV or manually, then access them in JSON format.
 * Version: 0.1
 * Author: <NAME> & <NAME>
 * License: GPL2
 */

include('poi.php');
include('category.php');


//ADMIN MENUS
function gj_admin_edit() {
	include('admin/gj_admin.php');
}
function gj_admin_categories() {
	include('admin/gj_category.php');
}
function gj_admin_import() {  
	include('admin/gj_import.php'); 
}  
function gj_admin_delete() {
	include ('admin/gj_delete.php');
}
function gj_admin_options() {
	include ('admin/gj_options.php');
}
function gj_admin_actions() {
	add_menu_page( "GJ Maps", "GJ Maps", 'administrator', "gj_maps", "gj_admin_edit" );
	add_submenu_page("gj_maps", "Categories", "Categories", 'administrator', "gj_admin_categories", "gj_admin_categories");
	add_submenu_page("gj_maps", "Import CSV", "Import CSV", 'administrator', "gj_admin_import", "gj_admin_import");
	add_submenu_page("gj_maps", "GJ Maps Delete", "GJ Maps Delete", 'administrator', "gj_admin_delete", "gj_admin_delete");
	add_submenu_page("gj_maps", "Settings", "Settings", 'administrator', "gj_admin_options", "gj_admin_options");
}
add_action('admin_menu', 'gj_admin_actions');


//ADD GMAPS AND STYLES
function gj_add_styles () {
	if (get_option('gj_styles') && !(is_admin()) ) {
		wp_enqueue_script('google-maps', 'https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false', null, null);
		wp_enqueue_script('gj-maps', WP_PLUGIN_URL.'/gj-maps/assets/gj-maps.js', array('jquery', 'google-maps'), null, true);
{'fraction_non_alphanumeric': 0.17143727161997563, 'fraction_numerical': 0.00243605359317905, 'mean_word_length': 6.586605080831409, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '1241455', 'n_tokens_mistral': 1251, 'n_tokens_neox': 1202, 'n_words': 232}