Version Description
- Added: Wizard
- Added: Tour
- Added: Czech and Danish translation
Download this release
Release Info
| Developer | webdorado |
| Plugin | |
| Version | 1.0.48 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.47 to 1.0.48
- assets/CalendarWD.png +0 -0
- ecwd.php +2 -2
- ecwd_admin_class.php +5 -76
- ecwd_class.php +1 -1
- includes/activation_settings_page.php +288 -0
- includes/calendar-class.php +3 -3
- includes/ecwd-cpt-class.php +5 -0
- includes/ecwd_pointers.php +520 -0
- includes/register-settings.php +69 -47
- js/scripts.js +2 -1
- languages/ecwd-cs_CZ.mo +0 -0
- languages/ecwd-cs_CZ.po +385 -0
- languages/ecwd-da_DK.mo +0 -0
- languages/ecwd-da_DK.po +428 -0
- readme.txt +9 -2
- views/admin/ecwd-event-meta.php +2 -2
assets/CalendarWD.png
ADDED
|
Binary file
|
ecwd.php
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
* Plugin Name: Event Calendar WD
|
| 4 |
* Plugin URI: https://web-dorado.com/products/wordpress-event-calendar-wd.html
|
| 5 |
* Description: Event Calendar WD is an easy event management and planning tool with advanced features.
|
| 6 |
-
* Version: 1.0.
|
| 7 |
* Author: WebDorado
|
| 8 |
* Author URI: http://web-dorado.com
|
| 9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
|
@@ -23,7 +23,7 @@ if( ! defined( 'ECWD_MAIN_FILE' ) ) {
|
|
| 23 |
|
| 24 |
add_action( 'plugins_loaded', array( 'ECWD', 'get_instance' ) );
|
| 25 |
|
| 26 |
-
if ( is_admin()
|
| 27 |
require_once( 'ecwd_admin_class.php' );
|
| 28 |
register_activation_hook( __FILE__, array( 'ECWD_Admin', 'activate' ) );
|
| 29 |
register_uninstall_hook(__FILE__, array('ECWD_Admin', 'uninstall'));
|
| 3 |
* Plugin Name: Event Calendar WD
|
| 4 |
* Plugin URI: https://web-dorado.com/products/wordpress-event-calendar-wd.html
|
| 5 |
* Description: Event Calendar WD is an easy event management and planning tool with advanced features.
|
| 6 |
+
* Version: 1.0.48
|
| 7 |
* Author: WebDorado
|
| 8 |
* Author URI: http://web-dorado.com
|
| 9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
| 23 |
|
| 24 |
add_action( 'plugins_loaded', array( 'ECWD', 'get_instance' ) );
|
| 25 |
|
| 26 |
+
if ( is_admin() ) {
|
| 27 |
require_once( 'ecwd_admin_class.php' );
|
| 28 |
register_activation_hook( __FILE__, array( 'ECWD_Admin', 'activate' ) );
|
| 29 |
register_uninstall_hook(__FILE__, array('ECWD_Admin', 'uninstall'));
|
ecwd_admin_class.php
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
class ECWD_Admin {
|
| 7 |
|
| 8 |
protected static $instance = null;
|
| 9 |
-
protected $version = '1.0.
|
| 10 |
protected $ecwd_page = null;
|
| 11 |
protected $notices = null;
|
| 12 |
|
|
@@ -39,6 +39,10 @@ class ECWD_Admin {
|
|
| 39 |
// Runs the admin notice ignore function incase a dismiss button has been clicked
|
| 40 |
add_action('admin_init', array($this, 'admin_notice_ignore'));
|
| 41 |
add_action('admin_notices', array($this, 'ecwd_admin_notices'));
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
}
|
| 43 |
|
| 44 |
/**
|
|
@@ -76,81 +80,6 @@ class ECWD_Admin {
|
|
| 76 |
add_option('ecwd_old_events', 0);
|
| 77 |
}
|
| 78 |
}
|
| 79 |
-
$posts = get_posts(array(
|
| 80 |
-
'post_type' => 'ecwd_calendar'
|
| 81 |
-
)
|
| 82 |
-
);
|
| 83 |
-
if(count($posts) == 0){
|
| 84 |
-
$cal = array(
|
| 85 |
-
'post_title' => 'CALENDAR 1',
|
| 86 |
-
'post_type' => 'ecwd_calendar',
|
| 87 |
-
'post_status' => 'publish'
|
| 88 |
-
);
|
| 89 |
-
$ids = array();
|
| 90 |
-
$ids[] = wp_insert_post($cal);
|
| 91 |
-
update_post_meta($ids[0], 'ecwd_calendar_theme', 'calendar_grey');
|
| 92 |
-
$ven = array(
|
| 93 |
-
'post_title' => 'VENUE 1',
|
| 94 |
-
'post_type' => 'ecwd_venue',
|
| 95 |
-
'post_status' => 'publish'
|
| 96 |
-
);
|
| 97 |
-
$ids[] = wp_insert_post($ven);
|
| 98 |
-
update_post_meta($ids[1], 'ecwd_venue_lat_long','51.554448,-0.286331');
|
| 99 |
-
update_post_meta($ids[1], 'ecwd_venue_location','23A Wembley Hill Rd, Wembley, Greater London HA9 8AS, UK');
|
| 100 |
-
$org1 = array(
|
| 101 |
-
'post_title' => 'ORGANIZER 1',
|
| 102 |
-
'post_type' => 'ecwd_organizer',
|
| 103 |
-
'post_status' => 'publish'
|
| 104 |
-
);
|
| 105 |
-
$org_ids=array();
|
| 106 |
-
$org_ids[] = wp_insert_post($org1);
|
| 107 |
-
$org2 = array(
|
| 108 |
-
'post_title' => 'ORGANIZER 2',
|
| 109 |
-
'post_type' => 'ecwd_organizer',
|
| 110 |
-
'post_status' => 'publish'
|
| 111 |
-
);
|
| 112 |
-
$org_ids[] = wp_insert_post($org2);
|
| 113 |
-
$ids[] = $org_ids;
|
| 114 |
-
$ev1 = array(
|
| 115 |
-
'post_title' => 'EVENT 1',
|
| 116 |
-
'post_type' => 'ecwd_event',
|
| 117 |
-
'post_status' => 'publish'
|
| 118 |
-
);
|
| 119 |
-
$ev_ids = array();
|
| 120 |
-
$ev_ids[] = wp_insert_post($ev1);
|
| 121 |
-
date_default_timezone_set("Europe/Berlin");
|
| 122 |
-
$date1 = date('Y-m-d H:i');
|
| 123 |
-
$date2 = date("Y-m-d H:i", strtotime("+1 week"));
|
| 124 |
-
$date1 = str_replace('-',"/",$date1);
|
| 125 |
-
$date2 = str_replace('-',"/",$date2);
|
| 126 |
-
update_post_meta($ev_ids[0], 'ecwd_event_date_from',$date1);
|
| 127 |
-
update_post_meta($ev_ids[0], 'ecwd_event_date_to', $date1);
|
| 128 |
-
update_post_meta($ev_ids[0], 'ecwd_event_venue', $ids[1]);
|
| 129 |
-
update_post_meta($ev_ids[0], 'ecwd_event_location', '23A Wembley Hill Rd, Wembley, Greater London HA9 8AS, UK');
|
| 130 |
-
update_post_meta($ev_ids[0], 'ecwd_lat_long', '51.554448,-0.286331');
|
| 131 |
-
$cals=array();
|
| 132 |
-
$cals[0] = (string)$ids[0];
|
| 133 |
-
$orgs = array();
|
| 134 |
-
$orgs[0] = (string)$org_ids[0];
|
| 135 |
-
$orgs[1] = (string)$org_ids[1];
|
| 136 |
-
update_post_meta($ev_ids[0], 'ecwd_event_organizers', $orgs);
|
| 137 |
-
update_post_meta($ev_ids[0], 'ecwd_event_calendars',$cals);
|
| 138 |
-
$ev2 = array(
|
| 139 |
-
'post_title' => 'EVENT 2',
|
| 140 |
-
'post_type' => 'ecwd_event',
|
| 141 |
-
'post_status' => 'publish'
|
| 142 |
-
);
|
| 143 |
-
$ev_ids[] = wp_insert_post($ev2);
|
| 144 |
-
update_post_meta($ev_ids[1], 'ecwd_event_date_from',$date2);
|
| 145 |
-
update_post_meta($ev_ids[1], 'ecwd_event_date_to', $date2);
|
| 146 |
-
update_post_meta($ev_ids[1], 'ecwd_event_venue', $ids[1]);
|
| 147 |
-
update_post_meta($ev_ids[1], 'ecwd_event_calendars',$cals);
|
| 148 |
-
update_post_meta($ev_ids[1], 'ecwd_event_location', '23A Wembley Hill Rd, Wembley, Greater London HA9 8AS, UK');
|
| 149 |
-
update_post_meta($ev_ids[1], 'ecwd_lat_long', '51.554448,-0.286331');
|
| 150 |
-
update_post_meta($ev_ids[1], 'ecwd_event_organizers', $orgs);
|
| 151 |
-
$ids[] = $ev_ids;
|
| 152 |
-
update_option('auto_generated_posts',$ids);
|
| 153 |
-
}
|
| 154 |
}
|
| 155 |
|
| 156 |
public static function uninstall() {
|
| 6 |
class ECWD_Admin {
|
| 7 |
|
| 8 |
protected static $instance = null;
|
| 9 |
+
protected $version = '1.0.48';
|
| 10 |
protected $ecwd_page = null;
|
| 11 |
protected $notices = null;
|
| 12 |
|
| 39 |
// Runs the admin notice ignore function incase a dismiss button has been clicked
|
| 40 |
add_action('admin_init', array($this, 'admin_notice_ignore'));
|
| 41 |
add_action('admin_notices', array($this, 'ecwd_admin_notices'));
|
| 42 |
+
add_action('admin_init', function() {
|
| 43 |
+
include_once ('includes/ecwd_pointers.php');
|
| 44 |
+
$ecwd_pointer = new Ecwd_pointers();
|
| 45 |
+
});
|
| 46 |
}
|
| 47 |
|
| 48 |
/**
|
| 80 |
add_option('ecwd_old_events', 0);
|
| 81 |
}
|
| 82 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
}
|
| 84 |
|
| 85 |
public static function uninstall() {
|
ecwd_class.php
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
*/
|
| 7 |
class ECWD {
|
| 8 |
|
| 9 |
-
protected $version = '1.0.
|
| 10 |
protected $plugin_name = 'event-calendar-wd';
|
| 11 |
protected $prefix = 'ecwd';
|
| 12 |
protected static $instance = null;
|
| 6 |
*/
|
| 7 |
class ECWD {
|
| 8 |
|
| 9 |
+
protected $version = '1.0.48';
|
| 10 |
protected $plugin_name = 'event-calendar-wd';
|
| 11 |
protected $prefix = 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
if(isset($_POST["skip_wizard"])){
|
| 3 |
+
header('Location: '.admin_url().'plugins.php');die;
|
| 4 |
+
}
|
| 5 |
+
if(isset($_POST["ecwd_settings_general"]) && isset($_POST["ecwd_settings_general"]["install_sample_data"]) && $_POST["ecwd_settings_general"]["install_sample_data"] == "1"){
|
| 6 |
+
sample_data_creator();
|
| 7 |
+
}
|
| 8 |
+
if (isset($_POST["ecwd_settings_general"])) {
|
| 9 |
+
$sett = get_option("ecwd_settings_general");
|
| 10 |
+
$sett = isset($sett) ? $sett : array();
|
| 11 |
+
$settings = array("date_format", "time_format", "week_starts", "events_slug", "event_slug", "cpt_order", "events_in_popup", "show_repeat_rate");
|
| 12 |
+
foreach ($settings as $set) {
|
| 13 |
+
if (isset($_POST["ecwd_settings_general"][$set])) {
|
| 14 |
+
$sett[$set] = $_POST["ecwd_settings_general"][$set];
|
| 15 |
+
}
|
| 16 |
+
}
|
| 17 |
+
update_option("ecwd_settings_general", $sett);
|
| 18 |
+
header('Location: ?activate=false&plugin_status=all&paged=1&s=');
|
| 19 |
+
update_option("activation_page_option", "ok");
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
function sample_data_creator(){
|
| 23 |
+
|
| 24 |
+
$posts = get_posts(array(
|
| 25 |
+
'post_type' => 'ecwd_calendar'
|
| 26 |
+
)
|
| 27 |
+
);
|
| 28 |
+
if (count($posts) == 0) {
|
| 29 |
+
$ids = array();
|
| 30 |
+
$cal = array(
|
| 31 |
+
'post_title' => 'CALENDAR 1',
|
| 32 |
+
'post_type' => 'ecwd_calendar',
|
| 33 |
+
'post_status' => 'publish'
|
| 34 |
+
);
|
| 35 |
+
$ids[] = wp_insert_post($cal);
|
| 36 |
+
update_post_meta($ids[0], 'ecwd_calendar_theme', $grey_theme_id);
|
| 37 |
+
$ven = array(
|
| 38 |
+
'post_title' => 'VENUE 1',
|
| 39 |
+
'post_type' => 'ecwd_venue',
|
| 40 |
+
'post_status' => 'publish'
|
| 41 |
+
);
|
| 42 |
+
$ids[] = wp_insert_post($ven);
|
| 43 |
+
update_post_meta($ids[1], 'ecwd_venue_lat_long', '51.554448,-0.286331');
|
| 44 |
+
update_post_meta($ids[1], 'ecwd_venue_location', '23A Wembley Hill Rd, Wembley, Greater London HA9 8AS, UK');
|
| 45 |
+
$org1 = array(
|
| 46 |
+
'post_title' => 'ORGANIZER 1',
|
| 47 |
+
'post_type' => 'ecwd_organizer',
|
| 48 |
+
'post_status' => 'publish'
|
| 49 |
+
);
|
| 50 |
+
$org_ids = array();
|
| 51 |
+
$org_ids[] = wp_insert_post($org1);
|
| 52 |
+
$org2 = array(
|
| 53 |
+
'post_title' => 'ORGANIZER 2',
|
| 54 |
+
'post_type' => 'ecwd_organizer',
|
| 55 |
+
'post_status' => 'publish'
|
| 56 |
+
);
|
| 57 |
+
$org_ids[] = wp_insert_post($org2);
|
| 58 |
+
$ids[] = $org_ids;
|
| 59 |
+
$ev1 = array(
|
| 60 |
+
'post_title' => 'EVENT 1',
|
| 61 |
+
'post_type' => 'ecwd_event',
|
| 62 |
+
'post_status' => 'publish'
|
| 63 |
+
);
|
| 64 |
+
$ev_ids = array();
|
| 65 |
+
$ev_ids[] = wp_insert_post($ev1);
|
| 66 |
+
date_default_timezone_set("Europe/Berlin");
|
| 67 |
+
$date1 = date('Y-m-d H:i');
|
| 68 |
+
$date2 = date("Y-m-d H:i", strtotime("+1 week"));
|
| 69 |
+
$date1 = str_replace('-', "/", $date1);
|
| 70 |
+
$date2 = str_replace('-', "/", $date2);
|
| 71 |
+
update_post_meta($ev_ids[0], 'ecwd_event_date_from', $date1);
|
| 72 |
+
update_post_meta($ev_ids[0], 'ecwd_event_date_to', $date1);
|
| 73 |
+
update_post_meta($ev_ids[0], 'ecwd_event_venue', $ids[1]);
|
| 74 |
+
update_post_meta($ev_ids[0], 'ecwd_event_location', '23A Wembley Hill Rd, Wembley, Greater London HA9 8AS, UK');
|
| 75 |
+
update_post_meta($ev_ids[0], 'ecwd_lat_long', '51.554448,-0.286331');
|
| 76 |
+
$cals = array();
|
| 77 |
+
$cals[0] = (string) $ids[0];
|
| 78 |
+
$orgs = array();
|
| 79 |
+
$orgs[0] = (string) $org_ids[0];
|
| 80 |
+
$orgs[1] = (string) $org_ids[1];
|
| 81 |
+
update_post_meta($ev_ids[0], 'ecwd_event_organizers', $orgs);
|
| 82 |
+
update_post_meta($ev_ids[0], 'ecwd_event_calendars', $cals);
|
| 83 |
+
$ev2 = array(
|
| 84 |
+
'post_title' => 'EVENT 2',
|
| 85 |
+
'post_type' => 'ecwd_event',
|
| 86 |
+
'post_status' => 'publish'
|
| 87 |
+
);
|
| 88 |
+
$ev_ids[] = wp_insert_post($ev2);
|
| 89 |
+
update_post_meta($ev_ids[1], 'ecwd_event_date_from', $date2);
|
| 90 |
+
update_post_meta($ev_ids[1], 'ecwd_event_date_to', $date2);
|
| 91 |
+
update_post_meta($ev_ids[1], 'ecwd_event_venue', $ids[1]);
|
| 92 |
+
update_post_meta($ev_ids[1], 'ecwd_event_calendars', $cals);
|
| 93 |
+
update_post_meta($ev_ids[1], 'ecwd_event_location', '23A Wembley Hill Rd, Wembley, Greater London HA9 8AS, UK');
|
| 94 |
+
update_post_meta($ev_ids[1], 'ecwd_lat_long', '51.554448,-0.286331');
|
| 95 |
+
update_post_meta($ev_ids[1], 'ecwd_event_organizers', $orgs);
|
| 96 |
+
$ids[] = $ev_ids;
|
| 97 |
+
update_option('auto_generated_posts', $ids);
|
| 98 |
+
}
|
| 99 |
+
}
|
| 100 |
+
|
| 101 |
+
function ecwd_settings_init() {
|
| 102 |
+
global $ecwd_settings;
|
| 103 |
+
$useful = array("date_format", "time_format", "week_starts", "events_slug", "event_slug", "cpt_order", "events_in_popup", "show_repeat_rate");
|
| 104 |
+
foreach ($ecwd_settings["general"] as $opt) {
|
| 105 |
+
if (!in_array($opt["id"], $useful)) {
|
| 106 |
+
unset($ecwd_settings["general"][$opt["id"]]);
|
| 107 |
+
}
|
| 108 |
+
}
|
| 109 |
+
$ecwd_settings["general"][] = array(
|
| 110 |
+
'id' => 'install_sample_data',
|
| 111 |
+
'name' => __('Install sample data', 'ecwd'),
|
| 112 |
+
'desc' => __('Check to install sample data.', 'ecwd'),
|
| 113 |
+
'type' => 'radio',
|
| 114 |
+
'default' => 1
|
| 115 |
+
);
|
| 116 |
+
|
| 117 |
+
}
|
| 118 |
+
|
| 119 |
+
function activation_html_view() {
|
| 120 |
+
?>
|
| 121 |
+
|
| 122 |
+
<style>
|
| 123 |
+
table{
|
| 124 |
+
border: #d7d7d7 solid 1px;
|
| 125 |
+
background-color:#ebebeb;
|
| 126 |
+
display: table;
|
| 127 |
+
color: #959595;
|
| 128 |
+
font-size: 0.875em;
|
| 129 |
+
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
|
| 130 |
+
line-height: 1.5em;
|
| 131 |
+
margin:auto;
|
| 132 |
+
}
|
| 133 |
+
tbody{
|
| 134 |
+
display: table-row-group;
|
| 135 |
+
vertical-align: middle;
|
| 136 |
+
border-color: inherit;
|
| 137 |
+
font-size: 0.875em;
|
| 138 |
+
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
|
| 139 |
+
line-height: 1.5em;
|
| 140 |
+
}
|
| 141 |
+
tr{
|
| 142 |
+
display: table-row;
|
| 143 |
+
vertical-align: inherit;
|
| 144 |
+
border-color: inherit;
|
| 145 |
+
}
|
| 146 |
+
th{
|
| 147 |
+
font-weight: bold;
|
| 148 |
+
vertical-align: middle;
|
| 149 |
+
text-align: left;
|
| 150 |
+
padding: 10px 40px;
|
| 151 |
+
display: table-cell;
|
| 152 |
+
}
|
| 153 |
+
td{
|
| 154 |
+
vertical-align: middle;
|
| 155 |
+
text-align: left;
|
| 156 |
+
padding: 7px 12px;
|
| 157 |
+
}
|
| 158 |
+
.submit{
|
| 159 |
+
text-align: center;
|
| 160 |
+
}
|
| 161 |
+
h2{
|
| 162 |
+
text-align: center;
|
| 163 |
+
vertical-align: text-bottom;
|
| 164 |
+
font-size: 2em;
|
| 165 |
+
margin: 0px;
|
| 166 |
+
font-weight: bold;
|
| 167 |
+
color: #878787;
|
| 168 |
+
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
|
| 169 |
+
line-height: 1.5em;
|
| 170 |
+
}
|
| 171 |
+
a{
|
| 172 |
+
height: auto;
|
| 173 |
+
line-height: 1em;
|
| 174 |
+
padding: 0.5em 1em;
|
| 175 |
+
background: #f7f7f7 none repeat scroll 0 0;
|
| 176 |
+
border-color: #ccc;
|
| 177 |
+
box-shadow: 0 1px 0 #ccc;
|
| 178 |
+
color: #555;
|
| 179 |
+
border-radius: 3px;
|
| 180 |
+
border-style: solid;
|
| 181 |
+
border-width: 1px;
|
| 182 |
+
box-sizing: border-box;
|
| 183 |
+
cursor: pointer;
|
| 184 |
+
display: inline-block;
|
| 185 |
+
text-decoration: none;
|
| 186 |
+
white-space: nowrap;
|
| 187 |
+
text-align: center;
|
| 188 |
+
}
|
| 189 |
+
.skip_div{
|
| 190 |
+
text-align: center;
|
| 191 |
+
color: #193954;
|
| 192 |
+
font-size: 0.875em;
|
| 193 |
+
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
|
| 194 |
+
}
|
| 195 |
+
.pic_div{
|
| 196 |
+
margin-top: 10px;
|
| 197 |
+
background-repeat:no-repeat;
|
| 198 |
+
background-size: 68px 75px;
|
| 199 |
+
margin: auto;
|
| 200 |
+
background-image: url('<?php echo ECWD_URL?>/assets/CalendarWD.png');
|
| 201 |
+
text-align: center;
|
| 202 |
+
background-position-x: center;
|
| 203 |
+
height: 75px;
|
| 204 |
+
}
|
| 205 |
+
.desc_par{
|
| 206 |
+
margin:0px ;
|
| 207 |
+
margin-bottom:10px;
|
| 208 |
+
font-size:11px;
|
| 209 |
+
color:#878787;
|
| 210 |
+
}
|
| 211 |
+
.skip_wiz_div{
|
| 212 |
+
display: -webkit-inline-box;
|
| 213 |
+
margin-left: 40px;
|
| 214 |
+
}
|
| 215 |
+
input{
|
| 216 |
+
padding-left:8px;
|
| 217 |
+
}
|
| 218 |
+
.description{
|
| 219 |
+
padding-left: 20px;
|
| 220 |
+
}
|
| 221 |
+
select{
|
| 222 |
+
background-color:#ffffff;
|
| 223 |
+
}
|
| 224 |
+
.big_div{
|
| 225 |
+
margin: auto;
|
| 226 |
+
}
|
| 227 |
+
.button_a{
|
| 228 |
+
font-weight: bold;
|
| 229 |
+
font-size: 15px;
|
| 230 |
+
background-color: #959595;
|
| 231 |
+
color: #fff;
|
| 232 |
+
height: auto;
|
| 233 |
+
border: 1px solid transparent;
|
| 234 |
+
padding: 5px 25px;
|
| 235 |
+
border-radius:0px;
|
| 236 |
+
}
|
| 237 |
+
.submit{
|
| 238 |
+
margin: 0px;
|
| 239 |
+
padding-left: 340px;
|
| 240 |
+
}
|
| 241 |
+
.button-primary{
|
| 242 |
+
background: #959595 !important;
|
| 243 |
+
}
|
| 244 |
+
</style>
|
| 245 |
+
<link rel="stylesheet" href="<?php echo ECWD_URL ?>/css/admin/admin.css">
|
| 246 |
+
<div class="wrap">
|
| 247 |
+
<div id="ecwd-settings">
|
| 248 |
+
<div id="ecwd-settings-content">
|
| 249 |
+
<form method="post">
|
| 250 |
+
<?php wp_nonce_field('update-options'); ?>
|
| 251 |
+
<?php
|
| 252 |
+
settings_fields(ECWD_PLUGIN_PREFIX . '_settings_' . 'general');
|
| 253 |
+
do_settings_sections(ECWD_PLUGIN_PREFIX . '_settings_' . 'general');
|
| 254 |
+
?>
|
| 255 |
+
<?php submit_button(); ?>
|
| 256 |
+
|
| 257 |
+
</form>
|
| 258 |
+
</div>
|
| 259 |
+
<!-- #ecwd-settings-content -->
|
| 260 |
+
</div>
|
| 261 |
+
<!-- #ecwd-settings -->
|
| 262 |
+
</div><!-- .wrap -->
|
| 263 |
+
<script>
|
| 264 |
+
|
| 265 |
+
document.getElementById('ecwd_settings_general[date_format]').value = 'Y-m-d';
|
| 266 |
+
document.getElementById('ecwd_settings_general[time_format]').value = 'H:i';
|
| 267 |
+
document.getElementsByTagName('h2')[0].innerHTML = '';
|
| 268 |
+
var parent = document.getElementsByTagName("form")[0];
|
| 269 |
+
var html_div = document.createElement("div");
|
| 270 |
+
html_div.className = "big_div";
|
| 271 |
+
var html = '<div class="pic_div"></div>';
|
| 272 |
+
html += '<h2>Welcome to Event Calendar WD<div></div></h2>';
|
| 273 |
+
html += '<div class="skip_div"><p class="desc_par">In this quick wizard well help you with the basic configurations.</p></div>';
|
| 274 |
+
html_div.innerHTML = html;
|
| 275 |
+
var elem = document.getElementsByTagName('table')[0];
|
| 276 |
+
parent.insertBefore(html_div, elem);
|
| 277 |
+
var child_skip = document.createElement("div");
|
| 278 |
+
child_skip.className = "skip_wiz_div";
|
| 279 |
+
child_skip.innerHTML = "<input type='submit' class='button button-primary' value='Skip Wizard' name='skip_wizard'/>";
|
| 280 |
+
var par = document.getElementsByClassName('submit')[0];
|
| 281 |
+
par.appendChild(child_skip);
|
| 282 |
+
|
| 283 |
+
</script>
|
| 284 |
+
<?php
|
| 285 |
+
die;
|
| 286 |
+
}
|
| 287 |
+
|
| 288 |
+
|
includes/calendar-class.php
CHANGED
|
@@ -146,13 +146,13 @@ class Calendar {
|
|
| 146 |
$year = $date_part[0];
|
| 147 |
$month = $date_part[1];
|
| 148 |
$day = $date_part[2];
|
| 149 |
-
if ( isset( $_REQUEST['y'] ) && $_REQUEST['y'] != '' ) {
|
| 150 |
$year = $_REQUEST['y'];
|
| 151 |
} // if year is set in querystring it takes precedence
|
| 152 |
-
if ( isset( $_REQUEST['m'] ) && $_REQUEST['m'] != '' ) {
|
| 153 |
$month = $_REQUEST['m'];
|
| 154 |
} // if month is set in querystring it takes precedence
|
| 155 |
-
if ( isset( $_REQUEST['d'] ) && $_REQUEST['d'] != '' ) {
|
| 156 |
$day = $_REQUEST['d'];
|
| 157 |
} // if day is set in querystring it takes precedence
|
| 158 |
// make sure we have year/month/day as int
|
| 146 |
$year = $date_part[0];
|
| 147 |
$month = $date_part[1];
|
| 148 |
$day = $date_part[2];
|
| 149 |
+
if (!is_archive() && isset( $_REQUEST['y'] ) && $_REQUEST['y'] != '' ) {
|
| 150 |
$year = $_REQUEST['y'];
|
| 151 |
} // if year is set in querystring it takes precedence
|
| 152 |
+
if (!is_archive() && isset( $_REQUEST['m'] ) && $_REQUEST['m'] != '' ) {
|
| 153 |
$month = $_REQUEST['m'];
|
| 154 |
} // if month is set in querystring it takes precedence
|
| 155 |
+
if (!is_archive() && isset( $_REQUEST['d'] ) && $_REQUEST['d'] != '' ) {
|
| 156 |
$day = $_REQUEST['d'];
|
| 157 |
} // if day is set in querystring it takes precedence
|
| 158 |
// make sure we have year/month/day as int
|
includes/ecwd-cpt-class.php
CHANGED
|
@@ -88,9 +88,14 @@ class ECWD_Cpt {
|
|
| 88 |
//category filter
|
| 89 |
add_filter( 'init', array( $this, 'event_restrict_manage' ) );
|
| 90 |
add_action('the_title', array($this, 'is_events_list_page_title'),11,2);
|
|
|
|
| 91 |
|
| 92 |
}
|
| 93 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
|
| 95 |
public function is_events_list_page_title($title,$id=null){
|
| 96 |
if($id != null && !is_admin() && in_the_loop() && is_archive() && get_post_type() == 'ecwd_event'){
|
| 88 |
//category filter
|
| 89 |
add_filter( 'init', array( $this, 'event_restrict_manage' ) );
|
| 90 |
add_action('the_title', array($this, 'is_events_list_page_title'),11,2);
|
| 91 |
+
add_action('after_setup_theme',array($this,'add_thumbnails_for_themes'));
|
| 92 |
|
| 93 |
}
|
| 94 |
|
| 95 |
+
public function add_thumbnails_for_themes(){
|
| 96 |
+
add_theme_support( 'post-thumbnails',array('ecwd_calendar','ecwd_organizer','ecwd_event','ecwd_venue') );
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
|
| 100 |
public function is_events_list_page_title($title,$id=null){
|
| 101 |
if($id != null && !is_admin() && in_the_loop() && is_archive() && get_post_type() == 'ecwd_event'){
|
includes/ecwd_pointers.php
ADDED
|
@@ -0,0 +1,520 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?php
|
| 2 |
+
|
| 3 |
+
/**
|
| 4 |
+
* Description of ecwd_pointers
|
| 5 |
+
*
|
| 6 |
+
* @author mher96
|
| 7 |
+
*/
|
| 8 |
+
class Ecwd_pointers {
|
| 9 |
+
|
| 10 |
+
private $prefix = 'ecwd';
|
| 11 |
+
private $page_url = '';
|
| 12 |
+
private $pointers = array();
|
| 13 |
+
private $page_pointers = array();
|
| 14 |
+
private $pointer_script = array();
|
| 15 |
+
private $meta_key = 'ecwd_calendar_tour';
|
| 16 |
+
private $pointer_text = array();
|
| 17 |
+
|
| 18 |
+
public function __construct() {
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
$user_meta = get_user_meta(get_current_user_id(), $this->meta_key);
|
| 22 |
+
if (is_array($user_meta) && empty($user_meta)) {
|
| 23 |
+
$this->set_urls();
|
| 24 |
+
$this->set_pointer_text();
|
| 25 |
+
$this->set_pointers();
|
| 26 |
+
$this->get_page_pointers();
|
| 27 |
+
add_action('wp_ajax_ecwd_wd_tour', array($this, 'dismiss_pointer'));
|
| 28 |
+
add_action('admin_enqueue_scripts', array($this, 'show_pointer'));
|
| 29 |
+
}
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
public function dismiss_pointer() {
|
| 33 |
+
update_user_meta(get_current_user_id(), $this->meta_key, '1');
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
private function set_urls() {
|
| 37 |
+
$path_info = pathinfo($_SERVER['REQUEST_URI']);
|
| 38 |
+
$file_name = $path_info['filename'];
|
| 39 |
+
if ($file_name === 'plugins') {
|
| 40 |
+
$this->page_url = 'plugins.php';
|
| 41 |
+
} else {
|
| 42 |
+
$this->page_url = basename($_SERVER['REQUEST_URI']);
|
| 43 |
+
}
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
private function get_page_pointers() {
|
| 47 |
+
$post_type = false;
|
| 48 |
+
if (isset($_REQUEST['post']) && intval($_REQUEST['post']) !== 0 && isset($_REQUEST['action']) && $_REQUEST['action'] === 'edit') {
|
| 49 |
+
$post_type = get_post_type($_REQUEST['post']);
|
| 50 |
+
}
|
| 51 |
+
foreach ($this->pointers as $id => $options) {
|
| 52 |
+
$t = false;
|
| 53 |
+
if (!isset($options['post_type']) || (isset($options['post_type']) && $post_type === $options['post_type'])) {
|
| 54 |
+
$t = true;
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
if ($options['page'] === $this->page_url && $t) {
|
| 58 |
+
$this->page_pointers[$id] = $this->set_pointer_options($id, $options);
|
| 59 |
+
}
|
| 60 |
+
}
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
private function set_pointer_options($pointer_id, $options) {
|
| 64 |
+
$container_id = $this->get_conteiner_id($pointer_id);
|
| 65 |
+
$this->pointer_buttons($container_id, $options);
|
| 66 |
+
|
| 67 |
+
$html = '<h3>' . $options['title'] . '</h3>';
|
| 68 |
+
$content = (isset($this->pointer_text [$pointer_id])) ? $this->pointer_text [$pointer_id]: 'No text';
|
| 69 |
+
$html .= '<div style="padding:5px 10px" id="' . $container_id . '">' . $this->pointer_text [$pointer_id] . '</div>';
|
| 70 |
+
return array(
|
| 71 |
+
'selector' => $options['selector'],
|
| 72 |
+
'content' => $html,
|
| 73 |
+
'edge' => $options['edge'],
|
| 74 |
+
'align' => $options['align']
|
| 75 |
+
);
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
+
private function pointer_buttons($container_id, $options) {
|
| 79 |
+
if (isset($options['buttons']) && is_array($options['buttons']) && !empty($options['buttons'])) {
|
| 80 |
+
foreach ($options['buttons'] as $button_class => $button_options) {
|
| 81 |
+
$button = $button_class . '_button';
|
| 82 |
+
$button_class = $this->prefix . '_pointer_' . $button_class;
|
| 83 |
+
$this->add_button_script($button_class, $button_options, $container_id);
|
| 84 |
+
$this->$button($button_class, $button_options, $container_id);
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
if (isset($options['display']) && $options['display'] === false) {
|
| 88 |
+
$this->pointer_script[] = '$("#' . $container_id . '").closest(".wp-pointer").hide();';
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
if (isset($options['scroll'])) {
|
| 92 |
+
$this->pointer_script[] = 'setTimeout(function(){window.scrollTo(0, $("' . $options['scroll'] . '").offset().top)},1000);';
|
| 93 |
+
}
|
| 94 |
+
}
|
| 95 |
+
}
|
| 96 |
+
|
| 97 |
+
//buttons
|
| 98 |
+
|
| 99 |
+
private function next_page_button($button_class, $options, $container_id) {
|
| 100 |
+
$this->pointer_script[] = '$(".' . $button_class . '").on("click",function(){'
|
| 101 |
+
. 'window.location.href="' . $options['url'] . '"'
|
| 102 |
+
. '});';
|
| 103 |
+
}
|
| 104 |
+
|
| 105 |
+
private function next_pointer_button($button_class, $options, $container_id) {
|
| 106 |
+
$pointer_conteiner_id = $this->get_conteiner_id($options['pointer_id']);
|
| 107 |
+
$scroll_srcpt = "";
|
| 108 |
+
if (isset($options['scroll'])) {
|
| 109 |
+
$scroll_srcpt = '$(document).scrollTop($("' . $options['scroll'] . '").offset().top);';
|
| 110 |
+
}
|
| 111 |
+
$this->pointer_script[] = '$("#' . $container_id . '").closest(".wp-pointer").find(".' . $button_class . '").on("click",function(){'
|
| 112 |
+
. '$("#' . $pointer_conteiner_id . '") . closest(".wp-pointer") . show();'
|
| 113 |
+
. '$(this).closest(".wp-pointer").hide();'
|
| 114 |
+
. $scroll_srcpt
|
| 115 |
+
. '});';
|
| 116 |
+
}
|
| 117 |
+
|
| 118 |
+
private function add_button_script($button_class, $options, $container_id) {
|
| 119 |
+
$button_class = 'class="button-secondary ' . $button_class . '"';
|
| 120 |
+
$element = '$("#' . $container_id . '").closest(".wp-pointer-content").find(".wp-pointer-buttons")';
|
| 121 |
+
$script = "$('<button " . $button_class . ">" . $options['title'] . "</button>').appendTo(" . $element . ");";
|
| 122 |
+
$this->pointer_script[] = $script;
|
| 123 |
+
}
|
| 124 |
+
|
| 125 |
+
//show pointers
|
| 126 |
+
public function show_pointer() {
|
| 127 |
+
wp_enqueue_style('wp-pointer');
|
| 128 |
+
wp_enqueue_script('wp-pointer');
|
| 129 |
+
add_action('admin_print_footer_scripts', array($this, 'print_pointer_script'));
|
| 130 |
+
}
|
| 131 |
+
|
| 132 |
+
public function print_pointer_script() {
|
| 133 |
+
?>
|
| 134 |
+
<script type="text/javascript">
|
| 135 |
+
(function ($) {
|
| 136 |
+
var action = 'ecwd_wd_tour';
|
| 137 |
+
<?php
|
| 138 |
+
foreach ($this->page_pointers as $id => $options) {
|
| 139 |
+
?>
|
| 140 |
+
$('<?php echo $options['selector']; ?>').pointer({
|
| 141 |
+
content: '<?php echo $options['content']; ?>',
|
| 142 |
+
position: {
|
| 143 |
+
edge: '<?php echo $options['edge']; ?>',
|
| 144 |
+
align: '<?php echo $options['align']; ?>'
|
| 145 |
+
},
|
| 146 |
+
close: function () {
|
| 147 |
+
jQuery.post(
|
| 148 |
+
ajaxurl, {'action': action},
|
| 149 |
+
function (response) {
|
| 150 |
+
|
| 151 |
+
});
|
| 152 |
+
}
|
| 153 |
+
}).pointer('open');
|
| 154 |
+
<?php
|
| 155 |
+
}
|
| 156 |
+
foreach ($this->pointer_script as $id => $script) {
|
| 157 |
+
echo $script;
|
| 158 |
+
}
|
| 159 |
+
?>
|
| 160 |
+
|
| 161 |
+
})(jQuery);
|
| 162 |
+
|
| 163 |
+
</script>
|
| 164 |
+
<?php
|
| 165 |
+
}
|
| 166 |
+
|
| 167 |
+
private function get_conteiner_id($pointer_id) {
|
| 168 |
+
return $this->prefix . '_' . $pointer_id;
|
| 169 |
+
}
|
| 170 |
+
|
| 171 |
+
public function set_pointer_text(){
|
| 172 |
+
$this->pointer_text = array(
|
| 173 |
+
'plugins1' => 'Press Start Tour to learn how to create your first Event Calendar.',
|
| 174 |
+
'plugins2' => 'As a first step go to Calendar section.',
|
| 175 |
+
'calendar' => 'Press Add New Calendar button to start working on your first calendar.',
|
| 176 |
+
'publish_clendar' => 'Provide a title and description(optional) for your calendar. And press Publish button.',
|
| 177 |
+
'organizer2' => 'Go to Organizers section.',
|
| 178 |
+
'organizer' => 'Go to Organizers section.',
|
| 179 |
+
'add_organizer' => 'Press Add New button to add organizer/event planner.',
|
| 180 |
+
'publish_organizer' => 'Provide a title and description(optional) for your organizer. And press Publish button.',
|
| 181 |
+
'venue' => 'Go to Venues section',
|
| 182 |
+
'venue2' => 'Go to Venues section',
|
| 183 |
+
'add_venue' => 'Press Add New button to add event venue/location.',
|
| 184 |
+
'publish_venue' => 'Provide a title and description(optional) for your venue. And press Publish button.',
|
| 185 |
+
'event2' => 'Go to Events section.',
|
| 186 |
+
'event' => 'Go to Events section.',
|
| 187 |
+
'event3' => 'Press Add New button to add an event.',
|
| 188 |
+
'ecwd-display-options-wrap' => 'Provide event start and end dates(From and To).',
|
| 189 |
+
'event_calendar' => 'Assign event to a calendar. Additionaly select event venue and organizer(optional).',
|
| 190 |
+
'publish_event' => 'Provide a title and description(optional) for your event. And press Publish button.',
|
| 191 |
+
'menu-pages' => 'Go to Pages section.',
|
| 192 |
+
'menu-pages2' => 'Go to Pages section.',
|
| 193 |
+
'add-page' => 'Press Add New button to add a Page.',
|
| 194 |
+
'add-shortcode' => 'Click on a calendar icon in visual editor to insert ECWD shortcode to page. Use the tabs to set up your calendar and press Publish button.',
|
| 195 |
+
'view_calendar' => 'Press view page to view your first calendar.'
|
| 196 |
+
);
|
| 197 |
+
}
|
| 198 |
+
|
| 199 |
+
public function set_pointers() {
|
| 200 |
+
$this->pointers = array(
|
| 201 |
+
'plugins1' => array(
|
| 202 |
+
'page' => 'plugins.php',
|
| 203 |
+
'buttons' => array(
|
| 204 |
+
'next_pointer' => array(
|
| 205 |
+
'title' => 'Start',
|
| 206 |
+
'pointer_id' => 'plugins2'
|
| 207 |
+
)
|
| 208 |
+
),
|
| 209 |
+
'title' => 'Click to Start Tour',
|
| 210 |
+
//'content' => 'description',
|
| 211 |
+
'selector' => '#menu-posts-ecwd_event',
|
| 212 |
+
'edge' => 'left',
|
| 213 |
+
'align' => 'center'
|
| 214 |
+
),
|
| 215 |
+
'plugins2' => array(
|
| 216 |
+
'page' => 'plugins.php',
|
| 217 |
+
'buttons' => array(
|
| 218 |
+
'next_page' => array(
|
| 219 |
+
'title' => 'Next',
|
| 220 |
+
'url' => 'edit.php?post_type=ecwd_calendar'
|
| 221 |
+
)
|
| 222 |
+
),
|
| 223 |
+
'title' => 'Create a Calendar',
|
| 224 |
+
'selector' => '#menu-posts-ecwd_calendar',
|
| 225 |
+
'edge' => 'left',
|
| 226 |
+
'align' => 'center',
|
| 227 |
+
'display'=>false
|
| 228 |
+
),
|
| 229 |
+
'calendar' => array(
|
| 230 |
+
'page' => 'edit.php?post_type=ecwd_calendar',
|
| 231 |
+
'buttons' => array(
|
| 232 |
+
'next_page' => array(
|
| 233 |
+
'title' => 'Next',
|
| 234 |
+
'url' => 'post-new.php?post_type=ecwd_calendar'
|
| 235 |
+
)
|
| 236 |
+
),
|
| 237 |
+
'title' => 'Add new calendar',
|
| 238 |
+
//'content' => '',
|
| 239 |
+
'selector' => '.page-title-action',
|
| 240 |
+
'edge' => 'top',
|
| 241 |
+
'align' => 'left',
|
| 242 |
+
),
|
| 243 |
+
'publish_clendar' => array(
|
| 244 |
+
'page' => 'post-new.php?post_type=ecwd_calendar',
|
| 245 |
+
'buttons' => array(
|
| 246 |
+
'next_pointer' => array(
|
| 247 |
+
'title' => 'Next',
|
| 248 |
+
'pointer_id' => 'organizer'
|
| 249 |
+
)
|
| 250 |
+
),
|
| 251 |
+
'title' => 'Publish Calendar',
|
| 252 |
+
//'content' => 'description',
|
| 253 |
+
'selector' => '#publishing-action',
|
| 254 |
+
'edge' => 'right',
|
| 255 |
+
'align' => 'left',
|
| 256 |
+
),
|
| 257 |
+
'organizer2' => array(
|
| 258 |
+
'page' => $this->page_url,
|
| 259 |
+
'post_type' => 'ecwd_calendar',
|
| 260 |
+
'buttons' => array(
|
| 261 |
+
'next_page' => array(
|
| 262 |
+
'title' => 'Next',
|
| 263 |
+
'url' => 'edit.php?post_type=ecwd_organizer'
|
| 264 |
+
)
|
| 265 |
+
),
|
| 266 |
+
'title' => 'Create an Organizer',
|
| 267 |
+
//'content' => 'description',
|
| 268 |
+
'selector' => '#menu-posts-ecwd_organizer',
|
| 269 |
+
'edge' => 'left',
|
| 270 |
+
'align' => 'left'
|
| 271 |
+
),
|
| 272 |
+
'organizer' => array(
|
| 273 |
+
'page' => 'post-new.php?post_type=ecwd_calendar',
|
| 274 |
+
'buttons' => array(
|
| 275 |
+
'next_page' => array(
|
| 276 |
+
'title' => 'Next',
|
| 277 |
+
'url' => 'edit.php?post_type=ecwd_organizer'
|
| 278 |
+
)
|
| 279 |
+
),
|
| 280 |
+
'title' => 'Create an Organizer',
|
| 281 |
+
//'content' => 'description',
|
| 282 |
+
'selector' => '#menu-posts-ecwd_organizer',
|
| 283 |
+
'edge' => 'left',
|
| 284 |
+
'align' => 'left',
|
| 285 |
+
'display' => false
|
| 286 |
+
),
|
| 287 |
+
'add_organizer' => array(
|
| 288 |
+
'page' => 'edit.php?post_type=ecwd_organizer',
|
| 289 |
+
'buttons' => array(
|
| 290 |
+
'next_page' => array(
|
| 291 |
+
'title' => 'Next',
|
| 292 |
+
'url' => 'post-new.php?post_type=ecwd_organizer'
|
| 293 |
+
)
|
| 294 |
+
),
|
| 295 |
+
'title' => 'Add new organizer',
|
| 296 |
+
//'content' => 'description',
|
| 297 |
+
'selector' => '.page-title-action',
|
| 298 |
+
'edge' => 'top',
|
| 299 |
+
'align' => 'left',
|
| 300 |
+
),
|
| 301 |
+
'publish_organizer' => array(
|
| 302 |
+
'page' => 'post-new.php?post_type=ecwd_organizer',
|
| 303 |
+
'buttons' => array(
|
| 304 |
+
'next_pointer' => array(
|
| 305 |
+
'title' => 'Next',
|
| 306 |
+
'pointer_id' => 'venue'
|
| 307 |
+
)
|
| 308 |
+
),
|
| 309 |
+
'title' => 'Publish Organizer',
|
| 310 |
+
//'content' => 'description',
|
| 311 |
+
'selector' => '#publishing-action',
|
| 312 |
+
'edge' => 'right',
|
| 313 |
+
'align' => 'left',
|
| 314 |
+
),
|
| 315 |
+
'venue' => array(
|
| 316 |
+
'page' => 'post-new.php?post_type=ecwd_organizer',
|
| 317 |
+
'buttons' => array(
|
| 318 |
+
'next_page' => array(
|
| 319 |
+
'title' => 'Next',
|
| 320 |
+
'url' => 'edit.php?post_type=ecwd_venue'
|
| 321 |
+
)
|
| 322 |
+
),
|
| 323 |
+
'title' => 'Create a Venue',
|
| 324 |
+
'content' => 'description',
|
| 325 |
+
'selector' => '#menu-posts-ecwd_venue',
|
| 326 |
+
'edge' => 'left',
|
| 327 |
+
'align' => 'left',
|
| 328 |
+
'display' => false
|
| 329 |
+
),
|
| 330 |
+
'venue2' => array(
|
| 331 |
+
'page' => $this->page_url,
|
| 332 |
+
'post_type' => 'ecwd_organizer',
|
| 333 |
+
'buttons' => array(
|
| 334 |
+
'next_page' => array(
|
| 335 |
+
'title' => 'Next',
|
| 336 |
+
'url' => 'edit.php?post_type=ecwd_venue'
|
| 337 |
+
)
|
| 338 |
+
),
|
| 339 |
+
'title' => 'Create a Venue',
|
| 340 |
+
'content' => 'description',
|
| 341 |
+
'selector' => '#menu-posts-ecwd_venue',
|
| 342 |
+
'edge' => 'left',
|
| 343 |
+
'align' => 'left',
|
| 344 |
+
),
|
| 345 |
+
'add_venue' => array(
|
| 346 |
+
'page' => 'edit.php?post_type=ecwd_venue',
|
| 347 |
+
'buttons' => array(
|
| 348 |
+
'next_page' => array(
|
| 349 |
+
'title' => 'Next',
|
| 350 |
+
'url' => 'post-new.php?post_type=ecwd_venue'
|
| 351 |
+
)
|
| 352 |
+
),
|
| 353 |
+
'title' => 'Add new venue',
|
| 354 |
+
'content' => 'description',
|
| 355 |
+
'selector' => '.page-title-action',
|
| 356 |
+
'edge' => 'top',
|
| 357 |
+
'align' => 'left'
|
| 358 |
+
),
|
| 359 |
+
'publish_venue' => array(
|
| 360 |
+
'page' => 'post-new.php?post_type=ecwd_venue',
|
| 361 |
+
'buttons' => array(
|
| 362 |
+
'next_pointer' => array(
|
| 363 |
+
'title' => 'Next',
|
| 364 |
+
'pointer_id' => 'event'
|
| 365 |
+
)
|
| 366 |
+
),
|
| 367 |
+
'title' => 'Publish Venue',
|
| 368 |
+
'content' => 'description',
|
| 369 |
+
'selector' => '#publishing-action',
|
| 370 |
+
'edge' => 'right',
|
| 371 |
+
'align' => 'left'
|
| 372 |
+
),
|
| 373 |
+
'event2' => array(
|
| 374 |
+
'page' => $this->page_url,
|
| 375 |
+
'buttons' => array(
|
| 376 |
+
'next_page' => array(
|
| 377 |
+
'title' => 'Next',
|
| 378 |
+
'url' => 'edit.php?post_type=ecwd_event'
|
| 379 |
+
)
|
| 380 |
+
),
|
| 381 |
+
'title' => 'Create an Event',
|
| 382 |
+
'content' => 'description',
|
| 383 |
+
'selector' => '#menu-posts-ecwd_event',
|
| 384 |
+
'edge' => 'left',
|
| 385 |
+
'align' => 'left',
|
| 386 |
+
'post_type' => 'ecwd_venue'
|
| 387 |
+
),
|
| 388 |
+
'event' => array(
|
| 389 |
+
'page' => 'post-new.php?post_type=ecwd_venue',
|
| 390 |
+
'buttons' => array(
|
| 391 |
+
'next_page' => array(
|
| 392 |
+
'title' => 'Next',
|
| 393 |
+
'url' => 'edit.php?post_type=ecwd_event'
|
| 394 |
+
)
|
| 395 |
+
),
|
| 396 |
+
'title' => 'Create an Event',
|
| 397 |
+
'content' => 'description',
|
| 398 |
+
'selector' => '#menu-posts-ecwd_event',
|
| 399 |
+
'edge' => 'left',
|
| 400 |
+
'align' => 'left',
|
| 401 |
+
'display' => false
|
| 402 |
+
),
|
| 403 |
+
'event3' => array(
|
| 404 |
+
'page' => 'edit.php?post_type=ecwd_event',
|
| 405 |
+
'buttons' => array(
|
| 406 |
+
'next_page' => array(
|
| 407 |
+
'title' => 'Next',
|
| 408 |
+
'url' => 'post-new.php?post_type=ecwd_event'
|
| 409 |
+
)
|
| 410 |
+
),
|
| 411 |
+
'title' => 'Add new Event',
|
| 412 |
+
'selector' => '.page-title-action',
|
| 413 |
+
'edge' => 'left',
|
| 414 |
+
'align' => 'left'
|
| 415 |
+
),
|
| 416 |
+
'ecwd-display-options-wrap' => array(
|
| 417 |
+
'page' => 'post-new.php?post_type=ecwd_event',
|
| 418 |
+
'buttons' => array(
|
| 419 |
+
'next_pointer' => array(
|
| 420 |
+
'title' => 'Next',
|
| 421 |
+
'pointer_id' => 'event_calendar',
|
| 422 |
+
'scroll' => '#tagsdiv-ecwd_event_tag'
|
| 423 |
+
)
|
| 424 |
+
),
|
| 425 |
+
'title' => 'Pick a Date',
|
| 426 |
+
'selector' => '.ecwd_all_day_event_description',
|
| 427 |
+
'edge' => 'bottom',
|
| 428 |
+
'align' => 'center',
|
| 429 |
+
'scroll' => '#wp-word-count'
|
| 430 |
+
),
|
| 431 |
+
'event_calendar' => array(
|
| 432 |
+
'page' => 'post-new.php?post_type=ecwd_event',
|
| 433 |
+
'buttons' => array(
|
| 434 |
+
'next_pointer' => array(
|
| 435 |
+
'title' => 'Next',
|
| 436 |
+
'pointer_id' => 'publish_event',
|
| 437 |
+
'scroll' => '#submitdiv'
|
| 438 |
+
)
|
| 439 |
+
),
|
| 440 |
+
'title' => 'Assign to Calendar',
|
| 441 |
+
'selector' => '#ecwd_event_calendars_meta',
|
| 442 |
+
'edge' => 'right',
|
| 443 |
+
'align' => 'left',
|
| 444 |
+
'display' => false
|
| 445 |
+
),
|
| 446 |
+
'publish_event' => array(
|
| 447 |
+
'page' => 'post-new.php?post_type=ecwd_event',
|
| 448 |
+
'buttons' => array(
|
| 449 |
+
'next_pointer' => array(
|
| 450 |
+
'title' => 'Next',
|
| 451 |
+
'pointer_id' => 'menu-pages',
|
| 452 |
+
'scroll' => '#wpcontent'
|
| 453 |
+
)
|
| 454 |
+
),
|
| 455 |
+
'title' => 'Publish Event',
|
| 456 |
+
'selector' => '#publishing-action',
|
| 457 |
+
'edge' => 'right',
|
| 458 |
+
'align' => 'left',
|
| 459 |
+
'display' => false
|
| 460 |
+
),
|
| 461 |
+
'menu-pages' => array(
|
| 462 |
+
'page' => 'post-new.php?post_type=ecwd_event',
|
| 463 |
+
'buttons' => array(
|
| 464 |
+
'next_page' => array(
|
| 465 |
+
'title' => 'Next',
|
| 466 |
+
'url' => 'edit.php?post_type=page'
|
| 467 |
+
)
|
| 468 |
+
),
|
| 469 |
+
'title' => 'Create a Page',
|
| 470 |
+
'selector' => '#menu-pages',
|
| 471 |
+
'edge' => 'left',
|
| 472 |
+
'align' => 'left',
|
| 473 |
+
'display' => false
|
| 474 |
+
),
|
| 475 |
+
'menu-pages2' => array(
|
| 476 |
+
'page' => $this->page_url,
|
| 477 |
+
'buttons' => array(
|
| 478 |
+
'next_page' => array(
|
| 479 |
+
'title' => 'Next',
|
| 480 |
+
'url' => 'edit.php?post_type=page'
|
| 481 |
+
)
|
| 482 |
+
),
|
| 483 |
+
'title' => 'Create a Page',
|
| 484 |
+
'selector' => '#menu-pages',
|
| 485 |
+
'edge' => 'left',
|
| 486 |
+
'align' => 'left',
|
| 487 |
+
'post_type' => 'ecwd_event'
|
| 488 |
+
),
|
| 489 |
+
'add-page' => array(
|
| 490 |
+
'page' => 'edit.php?post_type=page',
|
| 491 |
+
'buttons' => array(
|
| 492 |
+
'next_page' => array(
|
| 493 |
+
'title' => 'Next',
|
| 494 |
+
'url' => 'post-new.php?post_type=page'
|
| 495 |
+
)
|
| 496 |
+
),
|
| 497 |
+
'title' => 'Add New',
|
| 498 |
+
'selector' => '.page-title-action',
|
| 499 |
+
'edge' => 'top',
|
| 500 |
+
'align' => 'left',
|
| 501 |
+
),
|
| 502 |
+
'add-shortcode' => array(
|
| 503 |
+
'page' => 'post-new.php?post_type=page',
|
| 504 |
+
'title' => 'Add shortcode',
|
| 505 |
+
'selector' => '#publishing-action',
|
| 506 |
+
'edge' => 'right',
|
| 507 |
+
'align' => 'left',
|
| 508 |
+
),
|
| 509 |
+
'view_calendar' => array(
|
| 510 |
+
'page' => $this->page_url,
|
| 511 |
+
'post_type' => 'page',
|
| 512 |
+
'title' => 'View Page',
|
| 513 |
+
'selector' => '#wp-admin-bar-view',
|
| 514 |
+
'edge' => 'top',
|
| 515 |
+
'align' => 'left',
|
| 516 |
+
),
|
| 517 |
+
);
|
| 518 |
+
}
|
| 519 |
+
|
| 520 |
+
}
|
includes/register-settings.php
CHANGED
|
@@ -21,24 +21,27 @@ if (isset($_GET[ECWD_PLUGIN_PREFIX . '_clear_cache']) && $_GET[ECWD_PLUGIN_PREFI
|
|
| 21 |
}
|
| 22 |
}
|
| 23 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
| 25 |
if (isset($_GET[ECWD_PLUGIN_PREFIX . '_clear_autogen']) && $_GET[ECWD_PLUGIN_PREFIX . '_clear_autogen'] == 1) {
|
| 26 |
$posts = get_option('auto_generated_posts');
|
| 27 |
-
if($posts){
|
| 28 |
$calen_id = $posts[0];
|
| 29 |
$venue_id = $posts[1];
|
| 30 |
$org_ids = $posts[2];
|
| 31 |
$ev_ids = $posts[3];
|
| 32 |
foreach ($ev_ids as $id)
|
| 33 |
-
wp_delete_post($id,true);
|
| 34 |
foreach ($org_ids as $id)
|
| 35 |
-
wp_delete_post($id,true);
|
| 36 |
-
wp_delete_post($venue_id,true);
|
| 37 |
-
wp_delete_post($calen_id,true);
|
| 38 |
delete_option('auto_generated_posts');
|
| 39 |
echo '<div class= "updated" ><p> ' . __('Auto generated data has been deleted.', 'ecwd') . '</p></div>';
|
| 40 |
-
}
|
| 41 |
-
else{
|
| 42 |
echo '<div class= "updated" ><p> ' . __('Auto generated data has already deleted.', 'ecwd') . '</p></div>';
|
| 43 |
}
|
| 44 |
}
|
|
@@ -54,7 +57,7 @@ function ecwd_register_settings() {
|
|
| 54 |
$ecwd_tabs = array(
|
| 55 |
'general' => 'General',
|
| 56 |
'category_archive' => 'Category Page',
|
| 57 |
-
'custom_css'
|
| 58 |
'fb' => 'FB settings',
|
| 59 |
'gcal' => 'Gcal settings',
|
| 60 |
'ical' => 'Ical settings',
|
|
@@ -72,6 +75,14 @@ function ecwd_register_settings() {
|
|
| 72 |
'type' => 'link',
|
| 73 |
'href' => $_SERVER['REQUEST_URI'] . '&ecwd_clear_autogen=1'
|
| 74 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 75 |
'time_zone' => array(
|
| 76 |
'id' => 'time_zone',
|
| 77 |
'name' => __('TimeZone', 'ecwd'),
|
|
@@ -101,12 +112,12 @@ function ecwd_register_settings() {
|
|
| 101 |
'type' => 'time_type_select'
|
| 102 |
),
|
| 103 |
'list_date_format' => array(
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
| 110 |
),
|
| 111 |
'week_starts' => array(
|
| 112 |
'id' => 'week_starts',
|
|
@@ -203,7 +214,7 @@ function ecwd_register_settings() {
|
|
| 203 |
'desc' => __('Define the default text for empty events description.', 'ecwd'),
|
| 204 |
'size' => 'medium-text',
|
| 205 |
'type' => 'text'
|
| 206 |
-
),
|
| 207 |
'events_date' => array(
|
| 208 |
'id' => 'events_date',
|
| 209 |
'name' => __('Show event date in the events list page', 'ecwd'),
|
|
@@ -213,29 +224,29 @@ function ecwd_register_settings() {
|
|
| 213 |
),
|
| 214 |
),
|
| 215 |
'category_archive' => array(
|
| 216 |
-
|
| 217 |
-
|
| 218 |
-
|
| 219 |
-
|
| 220 |
-
|
| 221 |
-
|
| 222 |
-
|
| 223 |
-
|
| 224 |
-
|
| 225 |
-
|
| 226 |
-
|
| 227 |
-
|
| 228 |
-
|
| 229 |
-
|
| 230 |
-
|
| 231 |
-
|
| 232 |
-
|
| 233 |
-
|
| 234 |
-
|
| 235 |
-
|
| 236 |
-
|
| 237 |
-
|
| 238 |
-
|
| 239 |
'custom_css' => array(
|
| 240 |
'custom_css' => array(
|
| 241 |
'id' => 'custom_css',
|
|
@@ -243,7 +254,7 @@ function ecwd_register_settings() {
|
|
| 243 |
'desc' => '',
|
| 244 |
'type' => 'textarea',
|
| 245 |
'cols' => '45',
|
| 246 |
-
'rows' => '15'
|
| 247 |
)
|
| 248 |
)
|
| 249 |
);
|
|
@@ -264,6 +275,15 @@ function ecwd_register_settings() {
|
|
| 264 |
|
| 265 |
/* Add the Settings sections */
|
| 266 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 267 |
foreach ($ecwd_settings as $key => $settings) {
|
| 268 |
|
| 269 |
add_settings_section(
|
|
@@ -276,7 +296,9 @@ function ecwd_register_settings() {
|
|
| 276 |
ECWD_PLUGIN_PREFIX . '_settings_' . $key . '[' . $option['id'] . ']', $option['name'], function_exists(ECWD_PLUGIN_PREFIX . '_' . $option['type'] . '_callback') ? ECWD_PLUGIN_PREFIX . '_' . $option['type'] . '_callback' : ECWD_PLUGIN_PREFIX . '_missing_callback', ECWD_PLUGIN_PREFIX . '_settings_' . $key, ECWD_PLUGIN_PREFIX . '_settings_' . $key, ecwd_get_settings_field_args($option, $key)
|
| 277 |
);
|
| 278 |
}
|
| 279 |
-
|
|
|
|
|
|
|
| 280 |
/* Register all settings or we will get an error when trying to save */
|
| 281 |
register_setting(ECWD_PLUGIN_PREFIX . '_settings_' . $key, ECWD_PLUGIN_PREFIX . '_settings_' . $key, ECWD_PLUGIN_PREFIX . '_settings_sanitize');
|
| 282 |
}
|
|
@@ -498,18 +520,18 @@ function ecwd_text_callback($args) {
|
|
| 498 |
}
|
| 499 |
|
| 500 |
function ecwd_textarea_callback($args) {
|
| 501 |
-
global $ecwd_options;
|
| 502 |
|
| 503 |
if (isset($ecwd_options[$args['id']])) {
|
| 504 |
$value = $ecwd_options[$args['id']];
|
| 505 |
} else {
|
| 506 |
$value = isset($args['default']) ? $args['default'] : '';
|
| 507 |
}
|
| 508 |
-
|
| 509 |
-
$rows = ( isset($args['rows']) && !is_null($args['rows']) ) ? 'rows="'
|
| 510 |
-
$cols = ( isset($args['cols']) && !is_null($args['cols']) ) ? 'cols="'
|
| 511 |
$size = ( isset($args['size']) && !is_null($args['size']) ) ? $args['size'] : '';
|
| 512 |
-
$html = "\n" . '<textarea type="text" '
|
| 513 |
|
| 514 |
// Render and style description text underneath if it exists.
|
| 515 |
if (!empty($args['desc'])) {
|
|
@@ -566,8 +588,8 @@ function ecwd_missing_callback($args) {
|
|
| 566 |
function ecwd_get_settings() {
|
| 567 |
$ecwd_tabs = array(
|
| 568 |
'general' => 'General',
|
| 569 |
-
'category_archive'
|
| 570 |
-
'custom_css'
|
| 571 |
'fb' => 'FB settings',
|
| 572 |
'gcal' => 'Gcal settings',
|
| 573 |
'ical' => 'Ical settings',
|
| 21 |
}
|
| 22 |
}
|
| 23 |
}
|
| 24 |
+
if (isset($_GET['ecwd_start_tour']) && $_GET['ecwd_start_tour'] == 1) {
|
| 25 |
+
delete_user_meta(get_current_user_id(), 'ecwd_calendar_tour');
|
| 26 |
+
wp_redirect('edit.php?post_type=ecwd_calendar');
|
| 27 |
+
}
|
| 28 |
|
| 29 |
if (isset($_GET[ECWD_PLUGIN_PREFIX . '_clear_autogen']) && $_GET[ECWD_PLUGIN_PREFIX . '_clear_autogen'] == 1) {
|
| 30 |
$posts = get_option('auto_generated_posts');
|
| 31 |
+
if ($posts) {
|
| 32 |
$calen_id = $posts[0];
|
| 33 |
$venue_id = $posts[1];
|
| 34 |
$org_ids = $posts[2];
|
| 35 |
$ev_ids = $posts[3];
|
| 36 |
foreach ($ev_ids as $id)
|
| 37 |
+
wp_delete_post($id, true);
|
| 38 |
foreach ($org_ids as $id)
|
| 39 |
+
wp_delete_post($id, true);
|
| 40 |
+
wp_delete_post($venue_id, true);
|
| 41 |
+
wp_delete_post($calen_id, true);
|
| 42 |
delete_option('auto_generated_posts');
|
| 43 |
echo '<div class= "updated" ><p> ' . __('Auto generated data has been deleted.', 'ecwd') . '</p></div>';
|
| 44 |
+
} else {
|
|
|
|
| 45 |
echo '<div class= "updated" ><p> ' . __('Auto generated data has already deleted.', 'ecwd') . '</p></div>';
|
| 46 |
}
|
| 47 |
}
|
| 57 |
$ecwd_tabs = array(
|
| 58 |
'general' => 'General',
|
| 59 |
'category_archive' => 'Category Page',
|
| 60 |
+
'custom_css' => 'Custom CSS',
|
| 61 |
'fb' => 'FB settings',
|
| 62 |
'gcal' => 'Gcal settings',
|
| 63 |
'ical' => 'Ical settings',
|
| 75 |
'type' => 'link',
|
| 76 |
'href' => $_SERVER['REQUEST_URI'] . '&ecwd_clear_autogen=1'
|
| 77 |
),
|
| 78 |
+
'toure_option' => array(
|
| 79 |
+
'id' => 'toure_option',
|
| 80 |
+
'name' => __('Start tour', 'ecwd'),
|
| 81 |
+
'desc' => __('Click to start tour.', 'ecwd'),
|
| 82 |
+
'size' => 'small-text',
|
| 83 |
+
'type' => 'link',
|
| 84 |
+
'href' => $_SERVER['REQUEST_URI'] . '&ecwd_start_tour=1'
|
| 85 |
+
),
|
| 86 |
'time_zone' => array(
|
| 87 |
'id' => 'time_zone',
|
| 88 |
'name' => __('TimeZone', 'ecwd'),
|
| 112 |
'type' => 'time_type_select'
|
| 113 |
),
|
| 114 |
'list_date_format' => array(
|
| 115 |
+
'id' => 'list_date_format',
|
| 116 |
+
'name' => __('List,Week,Day views day format', 'ecwd'),
|
| 117 |
+
'desc' => __('Note: Changed date format will not be translatable', 'ecwd'),
|
| 118 |
+
'default' => 'd.F.l',
|
| 119 |
+
'size' => 'medium-text',
|
| 120 |
+
'type' => 'text'
|
| 121 |
),
|
| 122 |
'week_starts' => array(
|
| 123 |
'id' => 'week_starts',
|
| 214 |
'desc' => __('Define the default text for empty events description.', 'ecwd'),
|
| 215 |
'size' => 'medium-text',
|
| 216 |
'type' => 'text'
|
| 217 |
+
),
|
| 218 |
'events_date' => array(
|
| 219 |
'id' => 'events_date',
|
| 220 |
'name' => __('Show event date in the events list page', 'ecwd'),
|
| 224 |
),
|
| 225 |
),
|
| 226 |
'category_archive' => array(
|
| 227 |
+
'category_archive_slug' => array(
|
| 228 |
+
'id' => 'category_archive_slug',
|
| 229 |
+
'name' => __('Events category slug', 'ecwd'),
|
| 230 |
+
'default' => 'event_category',
|
| 231 |
+
'desc' => 'Note: Please do not use default slugs such as "category"',
|
| 232 |
+
'size' => 'medium-text',
|
| 233 |
+
'type' => 'text'
|
| 234 |
+
),
|
| 235 |
+
'category_archive_description' => array(
|
| 236 |
+
'id' => 'category_archive_description',
|
| 237 |
+
'name' => __('Display Description', 'ecwd'),
|
| 238 |
+
'desc' => '',
|
| 239 |
+
'type' => 'radio',
|
| 240 |
+
'default' => 1
|
| 241 |
+
),
|
| 242 |
+
'category_archive_image' => array(
|
| 243 |
+
'id' => 'category_archive_image',
|
| 244 |
+
'name' => __('Display Image', 'ecwd'),
|
| 245 |
+
'desc' => '',
|
| 246 |
+
'type' => 'radio',
|
| 247 |
+
'default' => 1
|
| 248 |
+
),
|
| 249 |
+
),
|
| 250 |
'custom_css' => array(
|
| 251 |
'custom_css' => array(
|
| 252 |
'id' => 'custom_css',
|
| 254 |
'desc' => '',
|
| 255 |
'type' => 'textarea',
|
| 256 |
'cols' => '45',
|
| 257 |
+
'rows' => '15'
|
| 258 |
)
|
| 259 |
)
|
| 260 |
);
|
| 275 |
|
| 276 |
/* Add the Settings sections */
|
| 277 |
|
| 278 |
+
$calendar = get_posts(array(
|
| 279 |
+
'post_type' => 'ecwd_calendar'
|
| 280 |
+
));
|
| 281 |
+
$settings_init_on_activate = ((empty($calendar) && (get_option("activation_page_option") === false)) || isset($_POST['ecwd_settings_general']['week_starts']));
|
| 282 |
+
if ($settings_init_on_activate) {
|
| 283 |
+
update_option("activation_page_option", "submit");
|
| 284 |
+
include_once "activation_settings_page.php";
|
| 285 |
+
ecwd_settings_init();
|
| 286 |
+
}
|
| 287 |
foreach ($ecwd_settings as $key => $settings) {
|
| 288 |
|
| 289 |
add_settings_section(
|
| 296 |
ECWD_PLUGIN_PREFIX . '_settings_' . $key . '[' . $option['id'] . ']', $option['name'], function_exists(ECWD_PLUGIN_PREFIX . '_' . $option['type'] . '_callback') ? ECWD_PLUGIN_PREFIX . '_' . $option['type'] . '_callback' : ECWD_PLUGIN_PREFIX . '_missing_callback', ECWD_PLUGIN_PREFIX . '_settings_' . $key, ECWD_PLUGIN_PREFIX . '_settings_' . $key, ecwd_get_settings_field_args($option, $key)
|
| 297 |
);
|
| 298 |
}
|
| 299 |
+
if ($settings_init_on_activate) {
|
| 300 |
+
activation_html_view();
|
| 301 |
+
}
|
| 302 |
/* Register all settings or we will get an error when trying to save */
|
| 303 |
register_setting(ECWD_PLUGIN_PREFIX . '_settings_' . $key, ECWD_PLUGIN_PREFIX . '_settings_' . $key, ECWD_PLUGIN_PREFIX . '_settings_sanitize');
|
| 304 |
}
|
| 520 |
}
|
| 521 |
|
| 522 |
function ecwd_textarea_callback($args) {
|
| 523 |
+
global $ecwd_options;
|
| 524 |
|
| 525 |
if (isset($ecwd_options[$args['id']])) {
|
| 526 |
$value = $ecwd_options[$args['id']];
|
| 527 |
} else {
|
| 528 |
$value = isset($args['default']) ? $args['default'] : '';
|
| 529 |
}
|
| 530 |
+
|
| 531 |
+
$rows = ( isset($args['rows']) && !is_null($args['rows']) ) ? 'rows="' . $args['rows'] . '"' : '';
|
| 532 |
+
$cols = ( isset($args['cols']) && !is_null($args['cols']) ) ? 'cols="' . $args['cols'] . '"' : '';
|
| 533 |
$size = ( isset($args['size']) && !is_null($args['size']) ) ? $args['size'] : '';
|
| 534 |
+
$html = "\n" . '<textarea type="text" ' . $rows . ' ' . $cols . ' class="' . $size . '" id="ecwd_settings_' . $args['section'] . '[' . $args['id'] . ']" name="ecwd_settings_' . $args['section'] . '[' . $args['id'] . ']">' . esc_attr($value) . '</textarea>' . "\n";
|
| 535 |
|
| 536 |
// Render and style description text underneath if it exists.
|
| 537 |
if (!empty($args['desc'])) {
|
| 588 |
function ecwd_get_settings() {
|
| 589 |
$ecwd_tabs = array(
|
| 590 |
'general' => 'General',
|
| 591 |
+
'category_archive' => 'Category Page',
|
| 592 |
+
'custom_css' => 'Custom CSS',
|
| 593 |
'fb' => 'FB settings',
|
| 594 |
'gcal' => 'Gcal settings',
|
| 595 |
'ical' => 'Ical settings',
|
js/scripts.js
CHANGED
|
@@ -548,6 +548,7 @@ ecwd_js_init = function () {
|
|
| 548 |
jQuery(this).html(jQuery('.ecwd_hide_filters_text').val());
|
| 549 |
jQuery(this).closest(".calendar_full_content").find(".ecwd_filters").css({
|
| 550 |
"max-width": "27%",
|
|
|
|
| 551 |
"float": "left"
|
| 552 |
});
|
| 553 |
jQuery(this).closest(".calendar_full_content").find(".ecwd_calendar").css({
|
|
@@ -602,7 +603,7 @@ ecwd_js_init = function () {
|
|
| 602 |
if (main_div.find(".ecwd_calendar").hasClass('ecwd-widget-mini') === false) {
|
| 603 |
if (main_div.find(".ecwd_show_filters span").hasClass('open')) {
|
| 604 |
main_div.find(".ecwd_calendar").css({"max-width": "71%", "float": "left"});
|
| 605 |
-
main_div.find(".ecwd_filters").css({"max-width": "27%", "float": "left"});
|
| 606 |
} else {
|
| 607 |
|
| 608 |
main_div.find(".ecwd_filters").css({"max-width": "100%", "width": "100%", "float": "none"});
|
| 548 |
jQuery(this).html(jQuery('.ecwd_hide_filters_text').val());
|
| 549 |
jQuery(this).closest(".calendar_full_content").find(".ecwd_filters").css({
|
| 550 |
"max-width": "27%",
|
| 551 |
+
"width": "27%",
|
| 552 |
"float": "left"
|
| 553 |
});
|
| 554 |
jQuery(this).closest(".calendar_full_content").find(".ecwd_calendar").css({
|
| 603 |
if (main_div.find(".ecwd_calendar").hasClass('ecwd-widget-mini') === false) {
|
| 604 |
if (main_div.find(".ecwd_show_filters span").hasClass('open')) {
|
| 605 |
main_div.find(".ecwd_calendar").css({"max-width": "71%", "float": "left"});
|
| 606 |
+
main_div.find(".ecwd_filters").css({"max-width": "27%","width": "27%", "float": "left"});
|
| 607 |
} else {
|
| 608 |
|
| 609 |
main_div.find(".ecwd_filters").css({"max-width": "100%", "width": "100%", "float": "none"});
|
languages/ecwd-cs_CZ.mo
ADDED
|
Binary file
|
languages/ecwd-cs_CZ.po
ADDED
|
@@ -0,0 +1,385 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
msgid ""
|
| 2 |
+
msgstr ""
|
| 3 |
+
"Project-Id-Version: event_calendar_wd\n"
|
| 4 |
+
"POT-Creation-Date: 2015-07-23 13:04+0400\n"
|
| 5 |
+
"PO-Revision-Date: 2016-02-10 18:27+0400\n"
|
| 6 |
+
"Last-Translator: \n"
|
| 7 |
+
"Language-Team: \n"
|
| 8 |
+
"Language: pt\n"
|
| 9 |
+
"MIME-Version: 1.0\n"
|
| 10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
| 11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
| 12 |
+
"X-Generator: Poedit 1.8.6\n"
|
| 13 |
+
"X-Poedit-Basepath: ..\n"
|
| 14 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
| 15 |
+
"X-Poedit-KeywordsList: _e;__\n"
|
| 16 |
+
"X-Poedit-SearchPath-0: .\n"
|
| 17 |
+
"X-Poedit-SearchPathExcluded-0: views/admin\n"
|
| 18 |
+
"X-Poedit-SearchPathExcluded-1: js\n"
|
| 19 |
+
"X-Poedit-SearchPathExcluded-2: includes/ecwd-cpt-class.php\n"
|
| 20 |
+
"X-Poedit-SearchPathExcluded-3: includes/register-settings.php\n"
|
| 21 |
+
"X-Poedit-SearchPathExcluded-4: includes/ecwd-ical-events-class.php\n"
|
| 22 |
+
"X-Poedit-SearchPathExcluded-5: includes/ecwd-google-events-class.php\n"
|
| 23 |
+
"X-Poedit-SearchPathExcluded-6: includes/ecwd-facebook-events-class.php\n"
|
| 24 |
+
"X-Poedit-SearchPathExcluded-7: ecwd_admin_class.php\n"
|
| 25 |
+
|
| 26 |
+
#: includes/calendar-class.php:175 includes/calendar-class.php:176
|
| 27 |
+
#: views/widgets.php:168
|
| 28 |
+
msgid "Month"
|
| 29 |
+
msgstr "Měsíc"
|
| 30 |
+
|
| 31 |
+
#: includes/calendar-class.php:177 views/widgets.php:169
|
| 32 |
+
msgid "List"
|
| 33 |
+
msgstr "Seznam"
|
| 34 |
+
|
| 35 |
+
#: includes/calendar-class.php:179
|
| 36 |
+
msgid "Week"
|
| 37 |
+
msgstr "Týden"
|
| 38 |
+
|
| 39 |
+
#: includes/calendar-class.php:183
|
| 40 |
+
msgid "Day"
|
| 41 |
+
msgstr "Den"
|
| 42 |
+
|
| 43 |
+
#: includes/calendar-class.php:186
|
| 44 |
+
msgid "Map"
|
| 45 |
+
msgstr "Mapa"
|
| 46 |
+
|
| 47 |
+
#: includes/calendar-class.php:188
|
| 48 |
+
msgid "4 Days"
|
| 49 |
+
msgstr "4 dny"
|
| 50 |
+
|
| 51 |
+
#: includes/calendar-class.php:191
|
| 52 |
+
msgid "Posterboard"
|
| 53 |
+
msgstr "Nástěnka"
|
| 54 |
+
|
| 55 |
+
#: includes/calendar-class.php:383 includes/calendar-class.php:417
|
| 56 |
+
#: includes/calendar-class.php:572 includes/calendar-class.php:1181
|
| 57 |
+
#: includes/calendar-class.php:1330 includes/ecwd-functions.php:360
|
| 58 |
+
#: views/ecwd-event-content.php:76 views/ecwd-event-content.php:158
|
| 59 |
+
#: views/ecwd-organizer-content.php:145 views/ecwd-venue-content.php:178
|
| 60 |
+
#: views/single-event.php:151 views/single-event.php:247
|
| 61 |
+
#: views/single-event.php:487
|
| 62 |
+
msgid "All day"
|
| 63 |
+
msgstr "Celý den"
|
| 64 |
+
|
| 65 |
+
#: includes/calendar-class.php:440 includes/calendar-class.php:520
|
| 66 |
+
#: includes/calendar-class.php:1386
|
| 67 |
+
msgid "No events"
|
| 68 |
+
msgstr "Žádné události"
|
| 69 |
+
|
| 70 |
+
#: includes/calendar-class.php:644
|
| 71 |
+
msgid "No Events"
|
| 72 |
+
msgstr "Žádné události"
|
| 73 |
+
|
| 74 |
+
#: includes/calendar-class.php:1256
|
| 75 |
+
msgid "More events"
|
| 76 |
+
msgstr "Mais eventos"
|
| 77 |
+
|
| 78 |
+
#: includes/ecwd-cpt-filter.php:67
|
| 79 |
+
msgid "From"
|
| 80 |
+
msgstr "Od"
|
| 81 |
+
|
| 82 |
+
#: includes/ecwd-cpt-filter.php:74
|
| 83 |
+
msgid "To"
|
| 84 |
+
msgstr "Do"
|
| 85 |
+
|
| 86 |
+
#: includes/ecwd-display-class.php:876 includes/ecwd-display-class.php:882
|
| 87 |
+
#: includes/ecwd-display-class.php:900 includes/ecwd-display-class.php:917
|
| 88 |
+
#: includes/texts.php:60
|
| 89 |
+
msgid "Repeat every"
|
| 90 |
+
msgstr "Opakovat každý"
|
| 91 |
+
|
| 92 |
+
#: includes/ecwd-display-class.php:876 includes/texts.php:66
|
| 93 |
+
msgid "days"
|
| 94 |
+
msgstr "dny"
|
| 95 |
+
|
| 96 |
+
#: includes/ecwd-display-class.php:878 includes/texts.php:61
|
| 97 |
+
msgid "Repeat every day"
|
| 98 |
+
msgstr "Opakovat každý den"
|
| 99 |
+
|
| 100 |
+
#: includes/ecwd-display-class.php:882 includes/texts.php:67
|
| 101 |
+
msgid "weeks"
|
| 102 |
+
msgstr "týdny"
|
| 103 |
+
|
| 104 |
+
#: includes/ecwd-display-class.php:884 includes/texts.php:62
|
| 105 |
+
msgid "Repeat every week"
|
| 106 |
+
msgstr "Opakovat každý týden"
|
| 107 |
+
|
| 108 |
+
#: includes/ecwd-display-class.php:889
|
| 109 |
+
msgid "on"
|
| 110 |
+
msgstr "zapnuto"
|
| 111 |
+
|
| 112 |
+
#: includes/ecwd-display-class.php:900 includes/texts.php:68
|
| 113 |
+
msgid "months"
|
| 114 |
+
msgstr "měsíce"
|
| 115 |
+
|
| 116 |
+
#: includes/ecwd-display-class.php:902 includes/texts.php:63
|
| 117 |
+
msgid "Repeat every month"
|
| 118 |
+
msgstr "Opakovat každý měsíc"
|
| 119 |
+
|
| 120 |
+
#: includes/ecwd-display-class.php:907 includes/ecwd-display-class.php:931
|
| 121 |
+
msgid "on the same day"
|
| 122 |
+
msgstr "ve stejný den"
|
| 123 |
+
|
| 124 |
+
#: includes/ecwd-display-class.php:912 includes/ecwd-display-class.php:936
|
| 125 |
+
msgid "on the"
|
| 126 |
+
msgstr "ve"
|
| 127 |
+
|
| 128 |
+
#: includes/ecwd-display-class.php:917 includes/texts.php:69
|
| 129 |
+
msgid "years"
|
| 130 |
+
msgstr "roky"
|
| 131 |
+
|
| 132 |
+
#: includes/ecwd-display-class.php:919 includes/texts.php:64
|
| 133 |
+
msgid "Repeat every year"
|
| 134 |
+
msgstr "Opakovat každý rok"
|
| 135 |
+
|
| 136 |
+
#: includes/ecwd-display-class.php:940 includes/texts.php:70
|
| 137 |
+
msgid "until"
|
| 138 |
+
msgstr "do"
|
| 139 |
+
|
| 140 |
+
#: includes/ecwd-functions.php:8
|
| 141 |
+
msgid "Loading..."
|
| 142 |
+
msgstr "Nahrávám …"
|
| 143 |
+
|
| 144 |
+
#: includes/ecwd-functions.php:439 includes/texts.php:53
|
| 145 |
+
msgid "DAYS"
|
| 146 |
+
msgstr "DNY"
|
| 147 |
+
|
| 148 |
+
#: includes/ecwd-functions.php:440 includes/texts.php:54
|
| 149 |
+
msgid "HOURS"
|
| 150 |
+
msgstr "HODINY"
|
| 151 |
+
|
| 152 |
+
#: includes/ecwd-functions.php:441 includes/texts.php:55
|
| 153 |
+
msgid "MINUTES"
|
| 154 |
+
msgstr "MINUTY"
|
| 155 |
+
|
| 156 |
+
#: includes/ecwd-functions.php:442 includes/texts.php:56
|
| 157 |
+
msgid "SECONDS"
|
| 158 |
+
msgstr "SEKUNDY"
|
| 159 |
+
|
| 160 |
+
#: includes/texts.php:2
|
| 161 |
+
msgid "January"
|
| 162 |
+
msgstr "Leden"
|
| 163 |
+
|
| 164 |
+
#: includes/texts.php:3
|
| 165 |
+
msgid "February"
|
| 166 |
+
msgstr "Únor"
|
| 167 |
+
|
| 168 |
+
#: includes/texts.php:4
|
| 169 |
+
msgid "March"
|
| 170 |
+
msgstr "Březen"
|
| 171 |
+
|
| 172 |
+
#: includes/texts.php:5
|
| 173 |
+
msgid "April"
|
| 174 |
+
msgstr "Duben"
|
| 175 |
+
|
| 176 |
+
#: includes/texts.php:6
|
| 177 |
+
msgid "May"
|
| 178 |
+
msgstr "Květen"
|
| 179 |
+
|
| 180 |
+
#: includes/texts.php:7
|
| 181 |
+
msgid "June"
|
| 182 |
+
msgstr "Červen"
|
| 183 |
+
|
| 184 |
+
#: includes/texts.php:8
|
| 185 |
+
msgid "July"
|
| 186 |
+
msgstr "Červenec"
|
| 187 |
+
|
| 188 |
+
#: includes/texts.php:9
|
| 189 |
+
msgid "August"
|
| 190 |
+
msgstr "Srpen"
|
| 191 |
+
|
| 192 |
+
#: includes/texts.php:10
|
| 193 |
+
msgid "September"
|
| 194 |
+
msgstr "Září"
|
| 195 |
+
|
| 196 |
+
#: includes/texts.php:11
|
| 197 |
+
msgid "October"
|
| 198 |
+
msgstr "Říjen"
|
| 199 |
+
|
| 200 |
+
#: includes/texts.php:12
|
| 201 |
+
msgid "November"
|
| 202 |
+
msgstr "Listopad"
|
| 203 |
+
|
| 204 |
+
#: includes/texts.php:13
|
| 205 |
+
msgid "December"
|
| 206 |
+
msgstr "Prosinec"
|
| 207 |
+
|
| 208 |
+
#: includes/texts.php:15
|
| 209 |
+
msgid "Sunday"
|
| 210 |
+
msgstr "Neděle"
|
| 211 |
+
|
| 212 |
+
#: includes/texts.php:16
|
| 213 |
+
msgid "Monday"
|
| 214 |
+
msgstr "Pondělí"
|
| 215 |
+
|
| 216 |
+
#: includes/texts.php:17
|
| 217 |
+
msgid "Tuesday"
|
| 218 |
+
msgstr "Úterý"
|
| 219 |
+
|
| 220 |
+
#: includes/texts.php:18
|
| 221 |
+
msgid "Wednesday"
|
| 222 |
+
msgstr "Středa"
|
| 223 |
+
|
| 224 |
+
#: includes/texts.php:19
|
| 225 |
+
msgid "Thursday"
|
| 226 |
+
msgstr "Čtvrtek"
|
| 227 |
+
|
| 228 |
+
#: includes/texts.php:20
|
| 229 |
+
msgid "Friday"
|
| 230 |
+
msgstr "Pátek"
|
| 231 |
+
|
| 232 |
+
#: includes/texts.php:21
|
| 233 |
+
msgid "Saturday"
|
| 234 |
+
msgstr "Sobota"
|
| 235 |
+
|
| 236 |
+
#: includes/texts.php:25
|
| 237 |
+
msgid "Sun"
|
| 238 |
+
msgstr "Ne"
|
| 239 |
+
|
| 240 |
+
#: includes/texts.php:26
|
| 241 |
+
msgid "Mon"
|
| 242 |
+
msgstr "Po"
|
| 243 |
+
|
| 244 |
+
#: includes/texts.php:27
|
| 245 |
+
msgid "Tue"
|
| 246 |
+
msgstr "Út"
|
| 247 |
+
|
| 248 |
+
#: includes/texts.php:28
|
| 249 |
+
msgid "Wed"
|
| 250 |
+
msgstr "St"
|
| 251 |
+
|
| 252 |
+
#: includes/texts.php:29
|
| 253 |
+
msgid "Thu"
|
| 254 |
+
msgstr "Čt"
|
| 255 |
+
|
| 256 |
+
#: includes/texts.php:30
|
| 257 |
+
msgid "Fri"
|
| 258 |
+
msgstr "Pá"
|
| 259 |
+
|
| 260 |
+
#: includes/texts.php:31
|
| 261 |
+
msgid "Sat"
|
| 262 |
+
msgstr "So"
|
| 263 |
+
|
| 264 |
+
#: includes/texts.php:34
|
| 265 |
+
msgid "Su"
|
| 266 |
+
msgstr "Ne"
|
| 267 |
+
|
| 268 |
+
#: includes/texts.php:35
|
| 269 |
+
msgid "Mo"
|
| 270 |
+
msgstr "Po"
|
| 271 |
+
|
| 272 |
+
#: includes/texts.php:36
|
| 273 |
+
msgid "Tu"
|
| 274 |
+
msgstr "Út"
|
| 275 |
+
|
| 276 |
+
#: includes/texts.php:37
|
| 277 |
+
msgid "We"
|
| 278 |
+
msgstr "St"
|
| 279 |
+
|
| 280 |
+
#: includes/texts.php:38
|
| 281 |
+
msgid "Th"
|
| 282 |
+
msgstr "Čt"
|
| 283 |
+
|
| 284 |
+
#: includes/texts.php:39
|
| 285 |
+
msgid "Fr"
|
| 286 |
+
msgstr "Pá"
|
| 287 |
+
|
| 288 |
+
#: includes/texts.php:40
|
| 289 |
+
msgid "Sa"
|
| 290 |
+
msgstr "So"
|
| 291 |
+
|
| 292 |
+
#: includes/texts.php:44
|
| 293 |
+
msgid "Show Filters"
|
| 294 |
+
msgstr "Rozbalit možnosti"
|
| 295 |
+
|
| 296 |
+
#: includes/texts.php:45
|
| 297 |
+
msgid "Collapse Filters"
|
| 298 |
+
msgstr "Sbalit možnosti"
|
| 299 |
+
|
| 300 |
+
#: includes/texts.php:46
|
| 301 |
+
msgid "Reset Filters"
|
| 302 |
+
msgstr "Vymazat možnosti"
|
| 303 |
+
|
| 304 |
+
#: includes/texts.php:48
|
| 305 |
+
msgid "Days"
|
| 306 |
+
msgstr "Dny"
|
| 307 |
+
|
| 308 |
+
#: includes/texts.php:49
|
| 309 |
+
msgid "Categories"
|
| 310 |
+
msgstr "Kategorie"
|
| 311 |
+
|
| 312 |
+
#: includes/texts.php:50
|
| 313 |
+
msgid "Venues"
|
| 314 |
+
msgstr "Místa"
|
| 315 |
+
|
| 316 |
+
#: includes/texts.php:57
|
| 317 |
+
msgid "The event has just started"
|
| 318 |
+
msgstr "Událost právě začala"
|
| 319 |
+
|
| 320 |
+
#: includes/texts.php:72
|
| 321 |
+
msgid "Sundays"
|
| 322 |
+
msgstr "Neděle"
|
| 323 |
+
|
| 324 |
+
#: includes/texts.php:73
|
| 325 |
+
msgid "Mondays"
|
| 326 |
+
msgstr "Pondělí"
|
| 327 |
+
|
| 328 |
+
#: includes/texts.php:74
|
| 329 |
+
msgid "Tuesdays"
|
| 330 |
+
msgstr "Úterý"
|
| 331 |
+
|
| 332 |
+
#: includes/texts.php:75
|
| 333 |
+
msgid "Wednesdays"
|
| 334 |
+
msgstr "Středy"
|
| 335 |
+
|
| 336 |
+
#: includes/texts.php:76
|
| 337 |
+
msgid "Thursdays"
|
| 338 |
+
msgstr "Čtvrtky"
|
| 339 |
+
|
| 340 |
+
#: includes/texts.php:77
|
| 341 |
+
msgid "Fridays"
|
| 342 |
+
msgstr "Pátky"
|
| 343 |
+
|
| 344 |
+
#: includes/texts.php:78
|
| 345 |
+
msgid "Saturdays"
|
| 346 |
+
msgstr "Soboty"
|
| 347 |
+
|
| 348 |
+
#: views/ecwd-event-content.php:67 views/ecwd-event-content.php:153
|
| 349 |
+
#: views/single-event.php:142 views/single-event.php:242
|
| 350 |
+
msgid "Date"
|
| 351 |
+
msgstr "Datum"
|
| 352 |
+
|
| 353 |
+
#: views/ecwd-event-content.php:91 views/single-event.php:170
|
| 354 |
+
msgid "Url"
|
| 355 |
+
msgstr "Url"
|
| 356 |
+
|
| 357 |
+
#: views/ecwd-event-content.php:97 views/single-event.php:177
|
| 358 |
+
msgid "Organizers"
|
| 359 |
+
msgstr "Organizátoři"
|
| 360 |
+
|
| 361 |
+
#: views/ecwd-organizer-content.php:109
|
| 362 |
+
msgid "upcoming events"
|
| 363 |
+
msgstr "nejbližší události"
|
| 364 |
+
|
| 365 |
+
#: views/ecwd-venue-content.php:141
|
| 366 |
+
msgid "events"
|
| 367 |
+
msgstr "události"
|
| 368 |
+
|
| 369 |
+
#: views/single-event.php:190
|
| 370 |
+
msgid "Venue"
|
| 371 |
+
msgstr "Místo"
|
| 372 |
+
|
| 373 |
+
#: views/single-event.php:200
|
| 374 |
+
msgid "Location"
|
| 375 |
+
msgstr "Umístění"
|
| 376 |
+
|
| 377 |
+
#: views/single-event.php:449
|
| 378 |
+
msgid "Related events"
|
| 379 |
+
msgstr "Související události"
|
| 380 |
+
|
| 381 |
+
#~ msgid "What're we looking for ?"
|
| 382 |
+
#~ msgstr "O que vocę estamos procurando?"
|
| 383 |
+
|
| 384 |
+
#~ msgid "No additional details for this event."
|
| 385 |
+
#~ msgstr "Não há detalhes adicionais para este evento."
|
languages/ecwd-da_DK.mo
ADDED
|
Binary file
|
languages/ecwd-da_DK.po
ADDED
|
@@ -0,0 +1,428 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
msgid ""
|
| 2 |
+
msgstr ""
|
| 3 |
+
"Project-Id-Version: event_calendar_wd\n"
|
| 4 |
+
"POT-Creation-Date: 2016-02-05 15:04+0100\n"
|
| 5 |
+
"PO-Revision-Date: 2016-02-09 14:29+0400\n"
|
| 6 |
+
"Last-Translator: \n"
|
| 7 |
+
"Language-Team: \n"
|
| 8 |
+
"Language: da\n"
|
| 9 |
+
"MIME-Version: 1.0\n"
|
| 10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
| 11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
| 12 |
+
"X-Generator: Poedit 1.8.6\n"
|
| 13 |
+
"X-Poedit-Basepath: ..\n"
|
| 14 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
| 15 |
+
"X-Poedit-KeywordsList: _e;__\n"
|
| 16 |
+
"X-Poedit-SearchPath-0: .\n"
|
| 17 |
+
"X-Poedit-SearchPathExcluded-0: views/admin\n"
|
| 18 |
+
"X-Poedit-SearchPathExcluded-1: js\n"
|
| 19 |
+
"X-Poedit-SearchPathExcluded-2: includes/ecwd-cpt-class.php\n"
|
| 20 |
+
"X-Poedit-SearchPathExcluded-3: includes/register-settings.php\n"
|
| 21 |
+
"X-Poedit-SearchPathExcluded-4: includes/ecwd-ical-events-class.php\n"
|
| 22 |
+
"X-Poedit-SearchPathExcluded-5: includes/ecwd-google-events-class.php\n"
|
| 23 |
+
"X-Poedit-SearchPathExcluded-6: includes/ecwd-facebook-events-class.php\n"
|
| 24 |
+
"X-Poedit-SearchPathExcluded-7: ecwd_admin_class.php\n"
|
| 25 |
+
"X-Poedit-SearchPathExcluded-8: includes/ecwd-event-class.php\n"
|
| 26 |
+
|
| 27 |
+
#: includes/calendar-class.php:175 includes/calendar-class.php:176
|
| 28 |
+
#: views/widgets.php:168
|
| 29 |
+
msgid "Month"
|
| 30 |
+
msgstr "Måned"
|
| 31 |
+
|
| 32 |
+
#: includes/calendar-class.php:177 views/widgets.php:169
|
| 33 |
+
msgid "List"
|
| 34 |
+
msgstr "Liste"
|
| 35 |
+
|
| 36 |
+
#: includes/calendar-class.php:179
|
| 37 |
+
msgid "Week"
|
| 38 |
+
msgstr "Uge"
|
| 39 |
+
|
| 40 |
+
#: includes/calendar-class.php:183
|
| 41 |
+
msgid "Day"
|
| 42 |
+
msgstr "Dag"
|
| 43 |
+
|
| 44 |
+
#: includes/calendar-class.php:186
|
| 45 |
+
msgid "Map"
|
| 46 |
+
msgstr "Kort"
|
| 47 |
+
|
| 48 |
+
#: includes/calendar-class.php:188
|
| 49 |
+
msgid "4 Days"
|
| 50 |
+
msgstr "4 dage"
|
| 51 |
+
|
| 52 |
+
#: includes/calendar-class.php:191
|
| 53 |
+
msgid "Posterboard"
|
| 54 |
+
msgstr "Whiteboard"
|
| 55 |
+
|
| 56 |
+
#: includes/calendar-class.php:383 includes/calendar-class.php:417
|
| 57 |
+
#: includes/calendar-class.php:572 includes/calendar-class.php:1181
|
| 58 |
+
#: includes/calendar-class.php:1330 includes/ecwd-functions.php:360
|
| 59 |
+
#: views/ecwd-event-content.php:76 views/ecwd-event-content.php:158
|
| 60 |
+
#: views/ecwd-organizer-content.php:145 views/ecwd-venue-content.php:178
|
| 61 |
+
#: views/single-event.php:151 views/single-event.php:247
|
| 62 |
+
#: views/single-event.php:487
|
| 63 |
+
msgid "All day"
|
| 64 |
+
msgstr "Hele dagen"
|
| 65 |
+
|
| 66 |
+
#: includes/calendar-class.php:440 includes/calendar-class.php:520
|
| 67 |
+
#: includes/calendar-class.php:1386
|
| 68 |
+
msgid "No events"
|
| 69 |
+
msgstr "Ingen events"
|
| 70 |
+
|
| 71 |
+
#: includes/calendar-class.php:644
|
| 72 |
+
msgid "No Events"
|
| 73 |
+
msgstr "Ingen Events"
|
| 74 |
+
|
| 75 |
+
#: includes/calendar-class.php:1256
|
| 76 |
+
msgid "More events"
|
| 77 |
+
msgstr "Flere events"
|
| 78 |
+
|
| 79 |
+
#: includes/ecwd-cpt-filter.php:67
|
| 80 |
+
msgid "From"
|
| 81 |
+
msgstr "Fra"
|
| 82 |
+
|
| 83 |
+
#: includes/ecwd-cpt-filter.php:74
|
| 84 |
+
msgid "To"
|
| 85 |
+
msgstr "Til"
|
| 86 |
+
|
| 87 |
+
#: includes/ecwd-display-class.php:876 includes/ecwd-display-class.php:882
|
| 88 |
+
#: includes/ecwd-display-class.php:900 includes/ecwd-display-class.php:917
|
| 89 |
+
#: includes/texts.php:60
|
| 90 |
+
msgid "Repeat every"
|
| 91 |
+
msgstr "Gentag hver"
|
| 92 |
+
|
| 93 |
+
#: includes/ecwd-display-class.php:876 includes/texts.php:66
|
| 94 |
+
msgid "days"
|
| 95 |
+
msgstr "dage"
|
| 96 |
+
|
| 97 |
+
#: includes/ecwd-display-class.php:878 includes/texts.php:61
|
| 98 |
+
msgid "Repeat every day"
|
| 99 |
+
msgstr "Gentag hver dag"
|
| 100 |
+
|
| 101 |
+
#: includes/ecwd-display-class.php:882 includes/texts.php:67
|
| 102 |
+
msgid "weeks"
|
| 103 |
+
msgstr "uger"
|
| 104 |
+
|
| 105 |
+
#: includes/ecwd-display-class.php:884 includes/texts.php:62
|
| 106 |
+
msgid "Repeat every week"
|
| 107 |
+
msgstr "Gentag hver uge"
|
| 108 |
+
|
| 109 |
+
#: includes/ecwd-display-class.php:889
|
| 110 |
+
msgid "on"
|
| 111 |
+
msgstr "den"
|
| 112 |
+
|
| 113 |
+
#: includes/ecwd-display-class.php:900 includes/texts.php:68
|
| 114 |
+
msgid "months"
|
| 115 |
+
msgstr "måneder"
|
| 116 |
+
|
| 117 |
+
#: includes/ecwd-display-class.php:902 includes/texts.php:63
|
| 118 |
+
msgid "Repeat every month"
|
| 119 |
+
msgstr "Gentag hver måned"
|
| 120 |
+
|
| 121 |
+
#: includes/ecwd-display-class.php:907 includes/ecwd-display-class.php:931
|
| 122 |
+
msgid "on the same day"
|
| 123 |
+
msgstr "på den samme dag"
|
| 124 |
+
|
| 125 |
+
#: includes/ecwd-display-class.php:912 includes/ecwd-display-class.php:936
|
| 126 |
+
msgid "on the"
|
| 127 |
+
msgstr "på den"
|
| 128 |
+
|
| 129 |
+
#: includes/ecwd-display-class.php:917 includes/texts.php:69
|
| 130 |
+
msgid "years"
|
| 131 |
+
msgstr "år"
|
| 132 |
+
|
| 133 |
+
#: includes/ecwd-display-class.php:919 includes/texts.php:64
|
| 134 |
+
msgid "Repeat every year"
|
| 135 |
+
msgstr "Gentag hvert år"
|
| 136 |
+
|
| 137 |
+
#: includes/ecwd-display-class.php:940 includes/texts.php:70
|
| 138 |
+
msgid "until"
|
| 139 |
+
msgstr "indtil"
|
| 140 |
+
|
| 141 |
+
#: includes/ecwd-functions.php:8
|
| 142 |
+
msgid "Loading..."
|
| 143 |
+
msgstr "Arbejder..."
|
| 144 |
+
|
| 145 |
+
#: includes/ecwd-functions.php:439 includes/texts.php:53
|
| 146 |
+
msgid "DAYS"
|
| 147 |
+
msgstr "DAGE"
|
| 148 |
+
|
| 149 |
+
#: includes/ecwd-functions.php:440 includes/texts.php:54
|
| 150 |
+
msgid "HOURS"
|
| 151 |
+
msgstr "TIMER"
|
| 152 |
+
|
| 153 |
+
#: includes/ecwd-functions.php:441 includes/texts.php:55
|
| 154 |
+
msgid "MINUTES"
|
| 155 |
+
msgstr "MINUTTER"
|
| 156 |
+
|
| 157 |
+
#: includes/ecwd-functions.php:442 includes/texts.php:56
|
| 158 |
+
msgid "SECONDS"
|
| 159 |
+
msgstr "SEKUNDER"
|
| 160 |
+
|
| 161 |
+
#: includes/texts.php:2
|
| 162 |
+
msgid "January"
|
| 163 |
+
msgstr "januar"
|
| 164 |
+
|
| 165 |
+
#: includes/texts.php:3
|
| 166 |
+
msgid "February"
|
| 167 |
+
msgstr "februar"
|
| 168 |
+
|
| 169 |
+
#: includes/texts.php:4
|
| 170 |
+
msgid "March"
|
| 171 |
+
msgstr "marts"
|
| 172 |
+
|
| 173 |
+
#: includes/texts.php:5
|
| 174 |
+
msgid "April"
|
| 175 |
+
msgstr "april"
|
| 176 |
+
|
| 177 |
+
#: includes/texts.php:6
|
| 178 |
+
msgid "May"
|
| 179 |
+
msgstr "maj"
|
| 180 |
+
|
| 181 |
+
#: includes/texts.php:7
|
| 182 |
+
msgid "June"
|
| 183 |
+
msgstr "juni"
|
| 184 |
+
|
| 185 |
+
#: includes/texts.php:8
|
| 186 |
+
msgid "July"
|
| 187 |
+
msgstr "juli"
|
| 188 |
+
|
| 189 |
+
#: includes/texts.php:9
|
| 190 |
+
msgid "August"
|
| 191 |
+
msgstr "august"
|
| 192 |
+
|
| 193 |
+
#: includes/texts.php:10
|
| 194 |
+
msgid "September"
|
| 195 |
+
msgstr "september"
|
| 196 |
+
|
| 197 |
+
#: includes/texts.php:11
|
| 198 |
+
msgid "October"
|
| 199 |
+
msgstr "oktober"
|
| 200 |
+
|
| 201 |
+
#: includes/texts.php:12
|
| 202 |
+
msgid "November"
|
| 203 |
+
msgstr "november"
|
| 204 |
+
|
| 205 |
+
#: includes/texts.php:13
|
| 206 |
+
msgid "December"
|
| 207 |
+
msgstr "december"
|
| 208 |
+
|
| 209 |
+
#: includes/texts.php:15
|
| 210 |
+
msgid "Sunday"
|
| 211 |
+
msgstr "søndag"
|
| 212 |
+
|
| 213 |
+
#: includes/texts.php:16
|
| 214 |
+
msgid "Monday"
|
| 215 |
+
msgstr "mandag"
|
| 216 |
+
|
| 217 |
+
#: includes/texts.php:17
|
| 218 |
+
msgid "Tuesday"
|
| 219 |
+
msgstr "tirsdag"
|
| 220 |
+
|
| 221 |
+
#: includes/texts.php:18
|
| 222 |
+
msgid "Wednesday"
|
| 223 |
+
msgstr "onsdag"
|
| 224 |
+
|
| 225 |
+
#: includes/texts.php:19
|
| 226 |
+
msgid "Thursday"
|
| 227 |
+
msgstr "torsdag"
|
| 228 |
+
|
| 229 |
+
#: includes/texts.php:20
|
| 230 |
+
msgid "Friday"
|
| 231 |
+
msgstr "fredag"
|
| 232 |
+
|
| 233 |
+
#: includes/texts.php:21
|
| 234 |
+
msgid "Saturday"
|
| 235 |
+
msgstr "lørdag"
|
| 236 |
+
|
| 237 |
+
#: includes/texts.php:25
|
| 238 |
+
msgid "Sun"
|
| 239 |
+
msgstr "søn"
|
| 240 |
+
|
| 241 |
+
#: includes/texts.php:26
|
| 242 |
+
msgid "Mon"
|
| 243 |
+
msgstr "man"
|
| 244 |
+
|
| 245 |
+
#: includes/texts.php:27
|
| 246 |
+
msgid "Tue"
|
| 247 |
+
msgstr "tir"
|
| 248 |
+
|
| 249 |
+
#: includes/texts.php:28
|
| 250 |
+
msgid "Wed"
|
| 251 |
+
msgstr "ons"
|
| 252 |
+
|
| 253 |
+
#: includes/texts.php:29
|
| 254 |
+
msgid "Thu"
|
| 255 |
+
msgstr "tor"
|
| 256 |
+
|
| 257 |
+
#: includes/texts.php:30
|
| 258 |
+
msgid "Fri"
|
| 259 |
+
msgstr "fre"
|
| 260 |
+
|
| 261 |
+
#: includes/texts.php:31
|
| 262 |
+
msgid "Sat"
|
| 263 |
+
msgstr "lør"
|
| 264 |
+
|
| 265 |
+
#: includes/texts.php:34
|
| 266 |
+
msgid "Su"
|
| 267 |
+
msgstr "søn"
|
| 268 |
+
|
| 269 |
+
#: includes/texts.php:35
|
| 270 |
+
msgid "Mo"
|
| 271 |
+
msgstr "man"
|
| 272 |
+
|
| 273 |
+
#: includes/texts.php:36
|
| 274 |
+
msgid "Tu"
|
| 275 |
+
msgstr "tir"
|
| 276 |
+
|
| 277 |
+
#: includes/texts.php:37
|
| 278 |
+
msgid "We"
|
| 279 |
+
msgstr "ons"
|
| 280 |
+
|
| 281 |
+
#: includes/texts.php:38
|
| 282 |
+
msgid "Th"
|
| 283 |
+
msgstr "tor"
|
| 284 |
+
|
| 285 |
+
#: includes/texts.php:39
|
| 286 |
+
msgid "Fr"
|
| 287 |
+
msgstr "fre"
|
| 288 |
+
|
| 289 |
+
#: includes/texts.php:40
|
| 290 |
+
msgid "Sa"
|
| 291 |
+
msgstr "lør"
|
| 292 |
+
|
| 293 |
+
#: includes/texts.php:44
|
| 294 |
+
msgid "Show Filters"
|
| 295 |
+
msgstr "Vis filtre"
|
| 296 |
+
|
| 297 |
+
#: includes/texts.php:45
|
| 298 |
+
msgid "Collapse Filters"
|
| 299 |
+
msgstr "skjul filtre"
|
| 300 |
+
|
| 301 |
+
#: includes/texts.php:46
|
| 302 |
+
msgid "Reset Filters"
|
| 303 |
+
msgstr "nulstil filtre"
|
| 304 |
+
|
| 305 |
+
#: includes/texts.php:48
|
| 306 |
+
msgid "Days"
|
| 307 |
+
msgstr "Dage"
|
| 308 |
+
|
| 309 |
+
#: includes/texts.php:49
|
| 310 |
+
msgid "Categories"
|
| 311 |
+
msgstr "Kategorier"
|
| 312 |
+
|
| 313 |
+
#: includes/texts.php:50
|
| 314 |
+
msgid "Venues"
|
| 315 |
+
msgstr "Arrangementer"
|
| 316 |
+
|
| 317 |
+
#: includes/texts.php:57
|
| 318 |
+
msgid "The event has just started"
|
| 319 |
+
msgstr "Denne event er lige startet"
|
| 320 |
+
|
| 321 |
+
#: includes/texts.php:72
|
| 322 |
+
msgid "Sundays"
|
| 323 |
+
msgstr "Søndage"
|
| 324 |
+
|
| 325 |
+
#: includes/texts.php:73
|
| 326 |
+
msgid "Mondays"
|
| 327 |
+
msgstr "Mandage"
|
| 328 |
+
|
| 329 |
+
#: includes/texts.php:74
|
| 330 |
+
msgid "Tuesdays"
|
| 331 |
+
msgstr "Tirsdage"
|
| 332 |
+
|
| 333 |
+
#: includes/texts.php:75
|
| 334 |
+
msgid "Wednesdays"
|
| 335 |
+
msgstr "Onsdage"
|
| 336 |
+
|
| 337 |
+
#: includes/texts.php:76
|
| 338 |
+
msgid "Thursdays"
|
| 339 |
+
msgstr "Torsdage"
|
| 340 |
+
|
| 341 |
+
#: includes/texts.php:77
|
| 342 |
+
msgid "Fridays"
|
| 343 |
+
msgstr "Fredage"
|
| 344 |
+
|
| 345 |
+
#: includes/texts.php:78
|
| 346 |
+
msgid "Saturdays"
|
| 347 |
+
msgstr "Lørdage"
|
| 348 |
+
|
| 349 |
+
#: includes/texts.php:80
|
| 350 |
+
msgid "Jan"
|
| 351 |
+
msgstr "jan"
|
| 352 |
+
|
| 353 |
+
#: includes/texts.php:81
|
| 354 |
+
msgid "Feb"
|
| 355 |
+
msgstr "feb"
|
| 356 |
+
|
| 357 |
+
#: includes/texts.php:82
|
| 358 |
+
msgid "Mar"
|
| 359 |
+
msgstr "mar"
|
| 360 |
+
|
| 361 |
+
#: includes/texts.php:83
|
| 362 |
+
msgid "Apr"
|
| 363 |
+
msgstr "apr"
|
| 364 |
+
|
| 365 |
+
#: includes/texts.php:84
|
| 366 |
+
msgid "may"
|
| 367 |
+
msgstr "maj"
|
| 368 |
+
|
| 369 |
+
#: includes/texts.php:85
|
| 370 |
+
msgid "Jun"
|
| 371 |
+
msgstr "jun"
|
| 372 |
+
|
| 373 |
+
#: includes/texts.php:86
|
| 374 |
+
msgid "Jul"
|
| 375 |
+
msgstr "jul"
|
| 376 |
+
|
| 377 |
+
#: includes/texts.php:87
|
| 378 |
+
msgid "Aug"
|
| 379 |
+
msgstr "aug"
|
| 380 |
+
|
| 381 |
+
#: includes/texts.php:88
|
| 382 |
+
msgid "Sep"
|
| 383 |
+
msgstr "sep"
|
| 384 |
+
|
| 385 |
+
#: includes/texts.php:89
|
| 386 |
+
msgid "Oct"
|
| 387 |
+
msgstr "okt"
|
| 388 |
+
|
| 389 |
+
#: includes/texts.php:90
|
| 390 |
+
msgid "Nov"
|
| 391 |
+
msgstr "nov"
|
| 392 |
+
|
| 393 |
+
#: includes/texts.php:91
|
| 394 |
+
msgid "Dec"
|
| 395 |
+
msgstr "dec"
|
| 396 |
+
|
| 397 |
+
#: views/ecwd-event-content.php:67 views/ecwd-event-content.php:153
|
| 398 |
+
#: views/single-event.php:142 views/single-event.php:242
|
| 399 |
+
msgid "Date"
|
| 400 |
+
msgstr "Dato"
|
| 401 |
+
|
| 402 |
+
#: views/ecwd-event-content.php:91 views/single-event.php:170
|
| 403 |
+
msgid "Url"
|
| 404 |
+
msgstr "URL"
|
| 405 |
+
|
| 406 |
+
#: views/ecwd-event-content.php:97 views/single-event.php:177
|
| 407 |
+
msgid "Organizers"
|
| 408 |
+
msgstr "Organisatorer"
|
| 409 |
+
|
| 410 |
+
#: views/ecwd-organizer-content.php:109
|
| 411 |
+
msgid "upcoming events"
|
| 412 |
+
msgstr "Kommende events"
|
| 413 |
+
|
| 414 |
+
#: views/ecwd-venue-content.php:141
|
| 415 |
+
msgid "events"
|
| 416 |
+
msgstr "events"
|
| 417 |
+
|
| 418 |
+
#: views/single-event.php:190
|
| 419 |
+
msgid "Venue"
|
| 420 |
+
msgstr "Arrangement"
|
| 421 |
+
|
| 422 |
+
#: views/single-event.php:200
|
| 423 |
+
msgid "Location"
|
| 424 |
+
msgstr "Lokation"
|
| 425 |
+
|
| 426 |
+
#: views/single-event.php:449
|
| 427 |
+
msgid "Related events"
|
| 428 |
+
msgstr "Relaterede events"
|
readme.txt
CHANGED
|
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-event-calendar-wd.html
|
|
| 4 |
Tags: calendar, calendars, event, event calendar, event manager, events calendar, calendar widget, event registration, event management,events, agenda, holiday calendar , scheduling, free calendar, Calender, upcoming events , event widget , event list, calendar localization, Organizer, editorial calendar, Interactive Calendar, news calendar, meeting , appointment, event tracking, event organizer, upcoming events widget, event page, event bookings, recurring, recurring events, conference, date, dates, schedule, times, venue, AJAX, responsive, shortcode, seminar, summit, facebook integration, widget
|
| 5 |
Requires at least: 3.9
|
| 6 |
Tested up to: 4.4
|
| 7 |
-
Stable tag: 1.0.
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
|
@@ -91,7 +91,9 @@ If you think you found a bug in Event Calendar WD or have any problem/question
|
|
| 91 |
*If you need language which is not included in this list, please contact us and we will do the translation within 3 days. If you find any mistakes in the translation, please contact us and we will make relevant corrections within 3 days. *
|
| 92 |
|
| 93 |
Catalan (ca) by Vicenc Huguet
|
| 94 |
-
Croatian (hr) by Igor Weidlich
|
|
|
|
|
|
|
| 95 |
Dutch (nl_NL) by F. van Reem and Sabrina Gordijn
|
| 96 |
Finnish (fi) by Håkan Mitts
|
| 97 |
German (de_DE) by Ogi Djuraskovic
|
|
@@ -147,6 +149,11 @@ After downloading the ZIP file of the Event Calendar WD plugin,
|
|
| 147 |
|
| 148 |
== Changelog ==
|
| 149 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 150 |
= 1.0.47 =
|
| 151 |
* Added: Shortcode support on event description
|
| 152 |
|
| 4 |
Tags: calendar, calendars, event, event calendar, event manager, events calendar, calendar widget, event registration, event management,events, agenda, holiday calendar , scheduling, free calendar, Calender, upcoming events , event widget , event list, calendar localization, Organizer, editorial calendar, Interactive Calendar, news calendar, meeting , appointment, event tracking, event organizer, upcoming events widget, event page, event bookings, recurring, recurring events, conference, date, dates, schedule, times, venue, AJAX, responsive, shortcode, seminar, summit, facebook integration, widget
|
| 5 |
Requires at least: 3.9
|
| 6 |
Tested up to: 4.4
|
| 7 |
+
Stable tag: 1.0.48
|
| 8 |
License: GPLv2 or later
|
| 9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 10 |
|
| 91 |
*If you need language which is not included in this list, please contact us and we will do the translation within 3 days. If you find any mistakes in the translation, please contact us and we will make relevant corrections within 3 days. *
|
| 92 |
|
| 93 |
Catalan (ca) by Vicenc Huguet
|
| 94 |
+
Croatian (hr) by Igor Weidlich
|
| 95 |
+
Czech (cs_CZ)
|
| 96 |
+
Danish (da_DK)
|
| 97 |
Dutch (nl_NL) by F. van Reem and Sabrina Gordijn
|
| 98 |
Finnish (fi) by Håkan Mitts
|
| 99 |
German (de_DE) by Ogi Djuraskovic
|
| 149 |
|
| 150 |
== Changelog ==
|
| 151 |
|
| 152 |
+
= 1.0.48 =
|
| 153 |
+
* Added: Wizard
|
| 154 |
+
* Added: Tour
|
| 155 |
+
* Added: Czech and Danish translation
|
| 156 |
+
|
| 157 |
= 1.0.47 =
|
| 158 |
* Added: Shortcode support on event description
|
| 159 |
|
views/admin/ecwd-event-meta.php
CHANGED
|
@@ -50,7 +50,7 @@ $ecwd_event_video = get_post_meta( $post->ID, ECWD_PLUGIN_PREFIX . '_eve
|
|
| 50 |
|
| 51 |
|
| 52 |
<table class="form-table">
|
| 53 |
-
<tr>
|
| 54 |
<th scope="row"><?php _e( 'Event Dates', 'ecwd' ); ?></th>
|
| 55 |
<td>
|
| 56 |
<?php _e( 'From', 'ecwd' ); ?>
|
|
@@ -80,7 +80,7 @@ $ecwd_event_video = get_post_meta( $post->ID, ECWD_PLUGIN_PREFIX . '_eve
|
|
| 80 |
</p>-->
|
| 81 |
|
| 82 |
|
| 83 |
-
<p class="description">
|
| 84 |
<?php _e( 'Fill in the starting and ending dates and time of the event. If the event lasts entire day, check the box on the right.', 'ecwd' ); ?>
|
| 85 |
</p>
|
| 86 |
|
| 50 |
|
| 51 |
|
| 52 |
<table class="form-table">
|
| 53 |
+
<tr id="ecwd_event_dates">
|
| 54 |
<th scope="row"><?php _e( 'Event Dates', 'ecwd' ); ?></th>
|
| 55 |
<td>
|
| 56 |
<?php _e( 'From', 'ecwd' ); ?>
|
| 80 |
</p>-->
|
| 81 |
|
| 82 |
|
| 83 |
+
<p class="description ecwd_all_day_event_description">
|
| 84 |
<?php _e( 'Fill in the starting and ending dates and time of the event. If the event lasts entire day, check the box on the right.', 'ecwd' ); ?>
|
| 85 |
</p>
|
| 86 |
|
