My Calendar - Version 1.7.2

Version Description

  • Bug fix: Fixed import from Calendar feature.
  • Bug fixed: Upcoming events widget default text fixed
  • Italian translation updated to 1.7.0
Download this release

Release Info

Developer joedolson
Plugin Icon 128x128 My Calendar
Version 1.7.2
Comparing to
See all releases

Code changes from version 1.6.3 to 1.7.2

date-utilities.php CHANGED
@@ -90,7 +90,8 @@ function jd_date_diff($start, $end="NOW") {
90
  return $preday[0];
91
  }
92
  }
93
-
 
94
  function week_of_month($date_of_event) {
95
  switch ($date_of_event) {
96
  case ($date_of_event>=1 && $date_of_event <8):
@@ -111,4 +112,25 @@ function week_of_month($date_of_event) {
111
  }
112
  return $week_of_event;
113
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
  ?>
90
  return $preday[0];
91
  }
92
  }
93
+ // @param integer $date_of_event The current month's date;
94
+ // @return integer $week_of_event The week of the month this date falls in;
95
  function week_of_month($date_of_event) {
96
  switch ($date_of_event) {
97
  case ($date_of_event>=1 && $date_of_event <8):
112
  }
113
  return $week_of_event;
114
  }
115
+
116
+ /**
117
+ * Function to find the start date of a week in a year
118
+ * @param integer $week The week number of the year
119
+ * @param integer $year The year of the week we need to calculate on
120
+ * @param string $start_of_week The start day of the week you want returned
121
+ * @return integer The unix timestamp of the date is returned
122
+ */
123
+ function get_week_date( $week, $year, $start_of_week=0 ) {
124
+ // Get the target week of the year with reference to the starting day of
125
+ // the year
126
+ $target_week = strtotime("$week week", strtotime("1 January $year"));
127
+ $date_info = getdate($target_week);
128
+ $day_of_week = $date_info['wday'];
129
+ // normal start day of the week is Monday
130
+ $adjusted_date = $day_of_week - $start_of_week;
131
+ // Get the timestamp of that day
132
+ $first_day = strtotime("-$adjusted_date day",$target_week);
133
+ return $first_day;
134
+ }
135
+
136
  ?>
mc-styles.css CHANGED
@@ -49,11 +49,8 @@ border: 1px solid #aaa;
49
  border-radius: 5px;
50
  margin: 15px 0;
51
  }
52
- .n4 {width: 32px;}
53
- .n5 {width: 130px;}
54
- .n6 {width: 64px;}
55
- .n7 {width: 130px;}
56
- .n8 {width: 256px;}
57
  .category-color {
58
  width: 1.2em;
59
  height: 1.2em;
@@ -74,4 +71,8 @@ ul.links li {
74
  float: left;
75
  margin: 0 5px 10px;
76
  font-size: .9em;
 
 
 
 
77
  }
49
  border-radius: 5px;
50
  margin: 15px 0;
51
  }
52
+ .n4 {width: 42px;}
53
+
 
 
 
54
  .category-color {
55
  width: 1.2em;
56
  height: 1.2em;
71
  float: left;
72
  margin: 0 5px 10px;
73
  font-size: .9em;
74
+ }
75
+ #my_calendar_old_styles {
76
+ float: right;
77
+ margin-left: 660px;
78
  }
my-calendar-behaviors.php CHANGED
@@ -7,7 +7,8 @@ function edit_my_calendar_behaviors() {
7
  check_my_calendar();
8
 
9
  if ( isset($_POST['my_calendar_caljs'] ) ) {
10
-
 
11
  $my_calendar_caljs = $_POST['my_calendar_caljs'];
12
  $my_calendar_listjs = $_POST['my_calendar_listjs'];
13
  $my_calendar_minijs = $_POST['my_calendar_minijs'];
@@ -66,6 +67,7 @@ echo my_calendar_check_db();
66
  <h3><?php _e('Calendar Behavior Settings','my-calendar'); ?></h3>
67
  <div class="inside">
68
  <form name="my-calendar" id="my-calendar" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-behaviors">
 
69
  <p>
70
  <label for="my_calendar_show_js"><?php _e('Apply JavaScript only on these pages (comma separated page IDs)','my-calendar'); ?></label> <input type="text" id="my_calendar_show_js" name="my_calendar_show_js" value="<?php echo $my_calendar_show_js; ?>" />
71
  </p>
@@ -108,7 +110,7 @@ echo my_calendar_check_db();
108
  <fieldset>
109
  <legend><?php _e('Calendar Behaviors: AJAX Navigation','my-calendar'); ?></legend>
110
  <p>
111
- <input type="checkbox" id="reset_ajaxjs" name="reset_ajaxjs" /> <label for="reset_ajaxjs"><?php _e('Reset the My Calendar AJAX Javascript','my-calendar'); ?></label> <input type="checkbox" id="ajax_javascript" name="ajax_javascript" value="1" <?php jd_cal_checkCheckbox('ajax_javascript',1); ?> /> <label for="ajax_javascript"><?php _e('Disable List Javascript Effects','my-calendar'); ?></label>
112
  </p>
113
  <p>
114
  <label for="ajax-javascript"><?php _e('Edit the jQuery scripts for My Calendar AJAX navigation','my-calendar'); ?></label><br /><textarea id="ajax-javascript" name="my_calendar_ajaxjs" rows="8" cols="80"><?php echo $my_calendar_ajaxjs; ?></textarea>
7
  check_my_calendar();
8
 
9
  if ( isset($_POST['my_calendar_caljs'] ) ) {
10
+ $nonce=$_REQUEST['_wpnonce'];
11
+ if (! wp_verify_nonce($nonce,'my-calendar-nonce') ) die("Security check failed");
12
  $my_calendar_caljs = $_POST['my_calendar_caljs'];
13
  $my_calendar_listjs = $_POST['my_calendar_listjs'];
14
  $my_calendar_minijs = $_POST['my_calendar_minijs'];
67
  <h3><?php _e('Calendar Behavior Settings','my-calendar'); ?></h3>
68
  <div class="inside">
69
  <form name="my-calendar" id="my-calendar" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-behaviors">
70
+ <div><input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce('my-calendar-nonce'); ?>" /></div>
71
  <p>
72
  <label for="my_calendar_show_js"><?php _e('Apply JavaScript only on these pages (comma separated page IDs)','my-calendar'); ?></label> <input type="text" id="my_calendar_show_js" name="my_calendar_show_js" value="<?php echo $my_calendar_show_js; ?>" />
73
  </p>
110
  <fieldset>
111
  <legend><?php _e('Calendar Behaviors: AJAX Navigation','my-calendar'); ?></legend>
112
  <p>
113
+ <input type="checkbox" id="reset_ajaxjs" name="reset_ajaxjs" /> <label for="reset_ajaxjs"><?php _e('Reset the My Calendar AJAX Javascript','my-calendar'); ?></label> <input type="checkbox" id="ajax_javascript" name="ajax_javascript" value="1" <?php jd_cal_checkCheckbox('ajax_javascript',1); ?> /> <label for="ajax_javascript"><?php _e('Disable AJAX Effects','my-calendar'); ?></label>
114
  </p>
115
  <p>
116
  <label for="ajax-javascript"><?php _e('Edit the jQuery scripts for My Calendar AJAX navigation','my-calendar'); ?></label><br /><textarea id="ajax-javascript" name="my_calendar_ajaxjs" rows="8" cols="80"><?php echo $my_calendar_ajaxjs; ?></textarea>
my-calendar-categories.php CHANGED
@@ -1,6 +1,16 @@
1
  <?php
2
  // Function to handle the management of categories
3
 
 
 
 
 
 
 
 
 
 
 
4
  function my_dirlist($directory) {
5
  // create an array to hold directory list
6
  $results = array();
@@ -10,8 +20,29 @@ function my_dirlist($directory) {
10
  while ($file = readdir($handler)) {
11
  // if $file isn't this directory or its parent,
12
  // add it to the results array
13
- if ($file != '.' && $file != '..')
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  $results[] = $file;
 
15
  }
16
  // tidy up: close the handler
17
  closedir($handler);
@@ -20,6 +51,19 @@ function my_dirlist($directory) {
20
  return $results;
21
  }
22
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
 
24
  function my_calendar_manage_categories() {
25
  global $wpdb;
@@ -34,6 +78,11 @@ echo my_calendar_check_db();
34
  ?>
35
  <?php
36
  // We do some checking to see what we're doing
 
 
 
 
 
37
  if (isset($_POST['mode']) && $_POST['mode'] == 'add') {
38
  $sql = "INSERT INTO " . MY_CALENDAR_CATEGORIES_TABLE . " SET category_name='".mysql_real_escape_string($_POST['category_name'])."', category_color='".mysql_real_escape_string($_POST['category_color'])."', category_icon='".mysql_real_escape_string($_POST['category_icon'])."'";
39
  $results = $wpdb->query($sql);
@@ -75,14 +124,17 @@ echo my_calendar_check_db();
75
  }
76
 
77
  function mc_edit_category_form($view='edit',$cur_cat='') {
78
- global $path;
79
- if ( file_exists( WP_PLUGIN_DIR . '/my-calendar-custom/' ) ) {
80
- $directory = WP_PLUGIN_DIR . '/my-calendar-custom/';
81
  $path = '/my-calendar-custom';
 
82
  } else {
83
  $directory = dirname(__FILE__).'/icons/';
84
- $path = '/my-calendar/icons';
 
85
  }
 
86
  ?>
87
  <?php if ($view == 'add') { ?>
88
  <h2><?php _e('Add Category','my-calendar'); ?></h2>
@@ -97,6 +149,7 @@ if ( file_exists( WP_PLUGIN_DIR . '/my-calendar-custom/' ) ) {
97
  <h3><?php _e('Category Editor','my-calendar'); ?></h3>
98
  <div class="inside">
99
  <form name="my-calendar" id="my-calendar" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-categories">
 
100
  <?php if ($view == 'add') { ?>
101
  <div>
102
  <input type="hidden" name="mode" value="add" />
@@ -114,14 +167,13 @@ if ( file_exists( WP_PLUGIN_DIR . '/my-calendar-custom/' ) ) {
114
  <label for="category_color"><?php _e('Category Color (Hex format)','my-calendar'); ?>:</label> <input type="text" id="category_color" name="category_color" class="input" size="10" maxlength="7" value="<?php echo $cur_cat->category_color ?>" /><br />
115
  <label for="category_icon"><?php _e('Category Icon','my-calendar'); ?>:</label> <select name="category_icon" id="category_icon">
116
  <?php
117
- $files = my_dirlist($directory);
118
- foreach ($files as $value) {
119
  if ($cur_cat->category_icon == $value) {
120
  $selected = " selected='selected'";
121
  } else {
122
  $selected = "";
123
  }
124
- echo "<option value='$value'$selected style='background: url(".WP_PLUGIN_URL."$path/$value) left 50% no-repeat;'>$value</option>";
125
  }
126
  ?>
127
  </select>
@@ -138,7 +190,7 @@ if ($cur_cat->category_icon == $value) {
138
  }
139
 
140
  function mc_manage_categories() {
141
- global $wpdb, $path;
142
  ?>
143
  <h2><?php _e('Manage Categories','my-calendar'); ?></h2>
144
  <?php
@@ -169,7 +221,7 @@ function mc_manage_categories() {
169
  <th scope="row"><?php echo $category->category_id; ?></th>
170
  <td><?php echo $category->category_name; ?></td>
171
  <td style="background-color:<?php echo $category->category_color; ?>;">&nbsp;</td>
172
- <td style="background-color:<?php echo $category->category_color; ?>;"><img src="<?php echo WP_PLUGIN_URL . $path; ?>/<?php echo $category->category_icon; ?>" alt="" /></td>
173
  <td><a href="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-categories&amp;mode=edit&amp;category_id=<?php echo $category->category_id;?>" class='edit'><?php echo __('Edit','my-calendar'); ?></a></td>
174
  <?php
175
  if ($category->category_id == 1) {
1
  <?php
2
  // Function to handle the management of categories
3
 
4
+ // This is a hack for people who don't have PHP installed with exif_imagetype
5
+ if (!function_exists('exif_imagetype') ) {
6
+ function exif_imagetype ( $filename ) {
7
+ if ( ( list($width, $height, $type, $attr) = getimagesize( $filename ) ) !== false ) {
8
+ return $type;
9
+ }
10
+ return false;
11
+ }
12
+ }
13
+
14
  function my_dirlist($directory) {
15
  // create an array to hold directory list
16
  $results = array();
20
  while ($file = readdir($handler)) {
21
  // if $file isn't this directory or its parent,
22
  // add it to the results array
23
+ if ( $file != '.' && $file != '..' && (exif_imagetype($directory.'/'.$file) == IMAGETYPE_GIF || exif_imagetype($directory.'/'.$file) == IMAGETYPE_PNG || exif_imagetype($directory.'/'.$file) == IMAGETYPE_JPEG ) ) {
24
+ $results[] = $file;
25
+ }
26
+ }
27
+ // tidy up: close the handler
28
+ closedir($handler);
29
+ // done!
30
+ sort($results,SORT_STRING);
31
+ return $results;
32
+ }
33
+
34
+ function my_csslist($directory) {
35
+ // create an array to hold directory list
36
+ $results = array();
37
+ // create a handler for the directory
38
+ $handler = opendir($directory);
39
+ // keep going until all files in directory have been read
40
+ while ($file = readdir($handler)) {
41
+ // if $file isn't this directory or its parent,
42
+ // add it to the results array
43
+ if ( $file != '.' && $file != '..' ) {
44
  $results[] = $file;
45
+ }
46
  }
47
  // tidy up: close the handler
48
  closedir($handler);
51
  return $results;
52
  }
53
 
54
+ function is_custom_icon() {
55
+ global $wp_plugin_dir;
56
+ if (file_exists( $wp_plugin_dir . '/my-calendar-custom/' ) ) {
57
+ $results = my_dirlist( $wp_plugin_dir . '/my-calendar-custom/' );
58
+ if ( empty($results) ) {
59
+ return false;
60
+ } else {
61
+ return true;
62
+ }
63
+ } else {
64
+ return false;
65
+ }
66
+ }
67
 
68
  function my_calendar_manage_categories() {
69
  global $wpdb;
78
  ?>
79
  <?php
80
  // We do some checking to see what we're doing
81
+ if (!empty($_POST) ) {
82
+ $nonce=$_REQUEST['_wpnonce'];
83
+ if (! wp_verify_nonce($nonce,'my-calendar-nonce') ) die("Security check failed");
84
+ }
85
+
86
  if (isset($_POST['mode']) && $_POST['mode'] == 'add') {
87
  $sql = "INSERT INTO " . MY_CALENDAR_CATEGORIES_TABLE . " SET category_name='".mysql_real_escape_string($_POST['category_name'])."', category_color='".mysql_real_escape_string($_POST['category_color'])."', category_icon='".mysql_real_escape_string($_POST['category_icon'])."'";
88
  $results = $wpdb->query($sql);
124
  }
125
 
126
  function mc_edit_category_form($view='edit',$cur_cat='') {
127
+ global $path, $wp_plugin_dir,$wp_plugin_url;
128
+ if ( is_custom_icon() ) {
129
+ $directory = $wp_plugin_dir . '/my-calendar-custom/';
130
  $path = '/my-calendar-custom';
131
+ $iconlist = my_dirlist($directory);
132
  } else {
133
  $directory = dirname(__FILE__).'/icons/';
134
+ $path = '/'.dirname(plugin_basename(__FILE__)).'/icons';
135
+ $iconlist = my_dirlist($directory);
136
  }
137
+
138
  ?>
139
  <?php if ($view == 'add') { ?>
140
  <h2><?php _e('Add Category','my-calendar'); ?></h2>
149
  <h3><?php _e('Category Editor','my-calendar'); ?></h3>
150
  <div class="inside">
151
  <form name="my-calendar" id="my-calendar" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-categories">
152
+ <div><input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce('my-calendar-nonce'); ?>" /></div>
153
  <?php if ($view == 'add') { ?>
154
  <div>
155
  <input type="hidden" name="mode" value="add" />
167
  <label for="category_color"><?php _e('Category Color (Hex format)','my-calendar'); ?>:</label> <input type="text" id="category_color" name="category_color" class="input" size="10" maxlength="7" value="<?php echo $cur_cat->category_color ?>" /><br />
168
  <label for="category_icon"><?php _e('Category Icon','my-calendar'); ?>:</label> <select name="category_icon" id="category_icon">
169
  <?php
170
+ foreach ($iconlist as $value) {
 
171
  if ($cur_cat->category_icon == $value) {
172
  $selected = " selected='selected'";
173
  } else {
174
  $selected = "";
175
  }
176
+ echo "<option value='$value'$selected style='background: url(".$wp_plugin_url."$path/$value) left 50% no-repeat;'>$value</option>";
177
  }
178
  ?>
179
  </select>
190
  }
191
 
192
  function mc_manage_categories() {
193
+ global $wpdb, $path, $wp_plugin_url;
194
  ?>
195
  <h2><?php _e('Manage Categories','my-calendar'); ?></h2>
196
  <?php
221
  <th scope="row"><?php echo $category->category_id; ?></th>
222
  <td><?php echo $category->category_name; ?></td>
223
  <td style="background-color:<?php echo $category->category_color; ?>;">&nbsp;</td>
224
+ <td style="background-color:<?php echo $category->category_color; ?>;"><img src="<?php echo $wp_plugin_url . $path; ?>/<?php echo $category->category_icon; ?>" alt="" /></td>
225
  <td><a href="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-categories&amp;mode=edit&amp;category_id=<?php echo $category->category_id;?>" class='edit'><?php echo __('Edit','my-calendar'); ?></a></td>
226
  <?php
227
  if ($category->category_id == 1) {
my-calendar-cs_CZ.mo ADDED
Binary file
my-calendar-cs_CZ.po ADDED
@@ -0,0 +1,1507 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Translation of the WordPress plugin My Calendar 1.5.0 by Joseph C Dolson.
2
+ # Copyright (C) 2010 Joseph C Dolson
3
+ # This file is distributed under the same license as the My Calendar package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: My Calendar 1.5.0\n"
9
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/my-calendar\n"
10
+ "POT-Creation-Date: 2010-10-05 19:19+0000\n"
11
+ "PO-Revision-Date: 2010-12-22 13:37+0100\n"
12
+ "Last-Translator: Jan Rybařík <rybarikj@seznam.cz>\n"
13
+ "Language-Team: LANGUAGE <LL@li.org>\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=utf-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "X-Poedit-Language: Czech\n"
18
+ "X-Poedit-Country: CZECH REPUBLIC\n"
19
+ "X-Poedit-SourceCharset: utf-8\n"
20
+
21
+ #: my-calendar-categories.php:41
22
+ msgid "Category added successfully"
23
+ msgstr "Kategorie byla úspěšně přidána"
24
+
25
+ #: my-calendar-categories.php:43
26
+ msgid "Category addition failed."
27
+ msgstr "Přidání kategorie selhalo"
28
+
29
+ #: my-calendar-categories.php:53
30
+ msgid "Category deleted successfully. Categories in calendar updated."
31
+ msgstr "Kategorie byla úspěšně smazána. Kategorie v kalendáři byly aktualizovány."
32
+
33
+ #: my-calendar-categories.php:55
34
+ msgid "Category deleted successfully. Categories in calendar not updated."
35
+ msgstr "Kategorie byla úspěšně smazána. Kategorie v kalendáři se neaktualizovaly."
36
+
37
+ #: my-calendar-categories.php:57
38
+ msgid "Category not deleted. Categories in calendar updated."
39
+ msgstr "Kategorie nebyla odstraněna. Kategorie v kalendáři byly aktualizovány."
40
+
41
+ #: my-calendar-categories.php:66
42
+ msgid "Category edited successfully"
43
+ msgstr "Kategorie byla úspěšně upravena."
44
+
45
+ #: my-calendar-categories.php:88
46
+ #: my-calendar-categories.php:112
47
+ #: my-calendar-categories.php:130
48
+ msgid "Add Category"
49
+ msgstr "Přidat kategorii"
50
+
51
+ #: my-calendar-categories.php:90
52
+ #: my-calendar-categories.php:112
53
+ msgid "Edit Category"
54
+ msgstr "Upravit kategorii"
55
+
56
+ #: my-calendar-categories.php:97
57
+ msgid "Category Editor"
58
+ msgstr "Editor kategorií"
59
+
60
+ #: my-calendar-categories.php:113
61
+ #: my-calendar-categories.php:156
62
+ msgid "Category Name"
63
+ msgstr "Název kategorie"
64
+
65
+ #: my-calendar-categories.php:114
66
+ msgid "Category Color (Hex format)"
67
+ msgstr "Barva kategorie (Hex format)"
68
+
69
+ #: my-calendar-categories.php:115
70
+ #: my-calendar-categories.php:158
71
+ msgid "Category Icon"
72
+ msgstr "Ikona kategorie"
73
+
74
+ #: my-calendar-categories.php:130
75
+ #: my-calendar-locations.php:121
76
+ msgid "Save Changes"
77
+ msgstr "Uložit změny"
78
+
79
+ #: my-calendar-categories.php:143
80
+ #: my-calendar.php:179
81
+ msgid "Manage Categories"
82
+ msgstr "Spravovat kategorie"
83
+
84
+ #: my-calendar-categories.php:155
85
+ #: my-calendar-event-manager.php:643
86
+ #: my-calendar-locations.php:147
87
+ msgid "ID"
88
+ msgstr "Id"
89
+
90
+ #: my-calendar-categories.php:157
91
+ msgid "Category Color"
92
+ msgstr "Barva kategorie"
93
+
94
+ #: my-calendar-categories.php:159
95
+ #: my-calendar-categories.php:173
96
+ #: my-calendar-event-manager.php:704
97
+ #: my-calendar-locations.php:149
98
+ #: my-calendar-locations.php:161
99
+ msgid "Edit"
100
+ msgstr "Editovat"
101
+
102
+ #: my-calendar-categories.php:160
103
+ #: my-calendar-categories.php:179
104
+ #: my-calendar-event-manager.php:73
105
+ #: my-calendar-event-manager.php:704
106
+ #: my-calendar-locations.php:150
107
+ #: my-calendar-locations.php:162
108
+ msgid "Delete"
109
+ msgstr "Smazat"
110
+
111
+ #: my-calendar-categories.php:176
112
+ #: my-calendar-event-manager.php:685
113
+ #: my-calendar-settings.php:228
114
+ #: my-calendar.php:652
115
+ msgid "N/A"
116
+ msgstr "N/A"
117
+
118
+ #: my-calendar-categories.php:179
119
+ #: my-calendar-locations.php:162
120
+ msgid "Are you sure you want to delete this category?"
121
+ msgstr "Opravdu chcete smazat tuto kategorii"
122
+
123
+ #: my-calendar-categories.php:190
124
+ msgid "There are no categories in the database - something has gone wrong!"
125
+ msgstr "V databázi nejsou žádné kategorie. Někde je chyba."
126
+
127
+ #: my-calendar-event-manager.php:27
128
+ #: my-calendar-settings.php:351
129
+ msgid "My Calendar has identified that you have the Calendar plugin by Kieran O'Shea installed. You can import those events and categories into the My Calendar database. Would you like to import these events?"
130
+ msgstr "Můj Kalendář zjistil, že máte nainstalován plugin Calendar od Kieran O'Shea. Můžete importovat události a kategorie do Mého kalendáře. Chcete importovat tyto události?"
131
+
132
+ #: my-calendar-event-manager.php:33
133
+ #: my-calendar-settings.php:357
134
+ msgid "Import from Calendar"
135
+ msgstr "Importovat z kalendáře"
136
+
137
+ #: my-calendar-event-manager.php:38
138
+ msgid "Although it is possible that this import could fail to import your events correctly, it should not have any impact on your existing Calendar database. If you encounter any problems, <a href=\"http://www.joedolson.com/contact.php\">please contact me</a>!"
139
+ msgstr "I když je možné, že tento import by nemusel importovat události správně, neměl by mít žádný dopad na stávající databáze kalendáře. Pokud narazíte na nějaké problémy, <a href=\"http://www.joedolson.com/contact.php\">Kontaktujte mě prosím </ a>!"
140
+
141
+ #: my-calendar-event-manager.php:68
142
+ msgid "Delete Event"
143
+ msgstr "Smazat událost"
144
+
145
+ #: my-calendar-event-manager.php:68
146
+ msgid "Are you sure you want to delete this event?"
147
+ msgstr "Opravdu chcete smazat tuto událost?"
148
+
149
+ #: my-calendar-event-manager.php:81
150
+ msgid "You do not have permission to delete that event."
151
+ msgstr "Nemáte oprávnění smazat tuto událost."
152
+
153
+ #: my-calendar-event-manager.php:96
154
+ #: my-calendar-event-manager.php:209
155
+ msgid "You do not have permission to approve that event."
156
+ msgstr "Nemáte oprávnění schválit tuto událost."
157
+
158
+ #: my-calendar-event-manager.php:110
159
+ #: my-calendar-event-manager.php:223
160
+ msgid "You do not have permission to reject that event."
161
+ msgstr "Nemáte oprávnění zamítnout tuto událost."
162
+
163
+ #: my-calendar-event-manager.php:133
164
+ #: my-calendar-event-manager.php:154
165
+ #: my-calendar-event-manager.php:178
166
+ #: my-calendar-event-manager.php:193
167
+ #: my-calendar-event-manager.php:833
168
+ #: my-calendar-event-manager.php:838
169
+ #: my-calendar-event-manager.php:843
170
+ #: my-calendar-event-manager.php:855
171
+ #: my-calendar-event-manager.php:865
172
+ #: my-calendar-event-manager.php:873
173
+ #: my-calendar-event-manager.php:882
174
+ #: my-calendar-event-manager.php:890
175
+ msgid "Error"
176
+ msgstr "Chyba"
177
+
178
+ #: my-calendar-event-manager.php:133
179
+ msgid "I'm sorry! I couldn't add that event to the database."
180
+ msgstr "Omlouvám se! Nemohl jsem přidat událost do databáze."
181
+
182
+ #: my-calendar-event-manager.php:135
183
+ msgid "Event added. It will now show in your calendar."
184
+ msgstr "Událost přidána. Nyní bude zobrazena v kalendáři."
185
+
186
+ #: my-calendar-event-manager.php:154
187
+ msgid "Your event was not updated."
188
+ msgstr "Vaše událost nebyla aktualizována."
189
+
190
+ #: my-calendar-event-manager.php:158
191
+ msgid "Nothing was changed in that update."
192
+ msgstr "Při aktualizaci se nic nezměnilo."
193
+
194
+ #: my-calendar-event-manager.php:162
195
+ msgid "Event updated successfully"
196
+ msgstr "Událost byla úspěšně aktualizována."
197
+
198
+ #: my-calendar-event-manager.php:168
199
+ msgid "You do not have sufficient permissions to edit that event."
200
+ msgstr "Nemáte dostatečná oprávnění pro úpravy události."
201
+
202
+ #: my-calendar-event-manager.php:178
203
+ msgid "You can't delete an event if you haven't submitted an event id"
204
+ msgstr "Nemůžete smazat událost pokud jste neodeslali ID události"
205
+
206
+ #: my-calendar-event-manager.php:189
207
+ msgid "Event deleted successfully"
208
+ msgstr "Událost byla úspěšně smazána"
209
+
210
+ #: my-calendar-event-manager.php:193
211
+ msgid "Despite issuing a request to delete, the event still remains in the database. Please investigate."
212
+ msgstr "I přes požadavek na smazání, zůstala událost stále v databázi. Prosím překontrolujte."
213
+
214
+ #: my-calendar-event-manager.php:240
215
+ #: my-calendar-event-manager.php:343
216
+ msgid "Edit Event"
217
+ msgstr "Upravit událost"
218
+
219
+ #: my-calendar-event-manager.php:244
220
+ #: my-calendar-event-manager.php:253
221
+ msgid "You must provide an event id in order to edit it"
222
+ msgstr "Musíte zadat id události, aby se událost dala editovat"
223
+
224
+ #: my-calendar-event-manager.php:249
225
+ #: my-calendar-event-manager.php:343
226
+ msgid "Copy Event"
227
+ msgstr "Kopírovat událost"
228
+
229
+ #: my-calendar-event-manager.php:259
230
+ msgid "Add Event"
231
+ msgstr "Přidat událost"
232
+
233
+ #: my-calendar-event-manager.php:264
234
+ msgid "Manage Events"
235
+ msgstr "Spravovat události"
236
+
237
+ #: my-calendar-event-manager.php:315
238
+ msgid "Sorry! That's an invalid event key."
239
+ msgstr "Špatná klíč události."
240
+
241
+ #: my-calendar-event-manager.php:320
242
+ msgid "Sorry! We couldn't find an event with that ID."
243
+ msgstr "Omlouváme se! Bohužel jsme nenašli událost s tímto ID."
244
+
245
+ #: my-calendar-event-manager.php:343
246
+ msgid "Add an Event"
247
+ msgstr "Přidat událost."
248
+
249
+ #: my-calendar-event-manager.php:347
250
+ msgid "This event must be approved in order for it to appear on the calendar."
251
+ msgstr "Před tím než se událost zobrazí v kalendáři, musí být schválena."
252
+
253
+ #: my-calendar-event-manager.php:362
254
+ msgid "Enter your Event Information"
255
+ msgstr "Vložte informace o události."
256
+
257
+ #: my-calendar-event-manager.php:364
258
+ msgid "Event Title"
259
+ msgstr "Název události"
260
+
261
+ #: my-calendar-event-manager.php:367
262
+ msgid "Publish"
263
+ msgstr "Publikovat"
264
+
265
+ #: my-calendar-event-manager.php:367
266
+ msgid "You must approve this event to promote it to the calendar."
267
+ msgstr "Musíte schválit událost pro její zobrazení v kalendáři."
268
+
269
+ #: my-calendar-event-manager.php:369
270
+ msgid "An administrator must approve your new event."
271
+ msgstr "Administrátor musí schválit Vaši událost."
272
+
273
+ #: my-calendar-event-manager.php:377
274
+ msgid "Event Description (<abbr title=\"hypertext markup language\">HTML</abbr> allowed)"
275
+ msgstr "Popis události (<abbr title=\"hypertext markup language\">HTML</abbr> povoleno)"
276
+
277
+ #: my-calendar-event-manager.php:382
278
+ msgid "Event Short Description (<abbr title=\"hypertext markup language\">HTML</abbr> allowed)"
279
+ msgstr "Krátký popisek události (<abbr title=\"hypertext markup language\">HTML</abbr> povoleno)"
280
+
281
+ #: my-calendar-event-manager.php:387
282
+ msgid "Event Category"
283
+ msgstr "Kategorie událostí"
284
+
285
+ #: my-calendar-event-manager.php:412
286
+ msgid "Event Link (Optional)"
287
+ msgstr "Odkaz (nepovinný)"
288
+
289
+ #: my-calendar-event-manager.php:412
290
+ msgid "This link will expire when the event passes."
291
+ msgstr "Odkaz nebude platný po uskutučnění události."
292
+
293
+ #: my-calendar-event-manager.php:416
294
+ msgid "Start Date (YYYY-MM-DD)"
295
+ msgstr "Datum začátku (RRRR-MM-DD)"
296
+
297
+ #: my-calendar-event-manager.php:419
298
+ msgid "End Date (YYYY-MM-DD) (Optional)"
299
+ msgstr "Datum ukončení (RRRR-MM-DD)(volitelné)"
300
+
301
+ #: my-calendar-event-manager.php:422
302
+ msgid "Time (hh:mm)"
303
+ msgstr "Čas (hh:mm)"
304
+
305
+ #: my-calendar-event-manager.php:434
306
+ msgid "Optional, set blank if your event is an all-day event or does not happen at a specific time."
307
+ msgstr "Volitelné, nechte prázdné, pokud je událost celodenní, nebo nenastane v určitý čas."
308
+
309
+ #: my-calendar-event-manager.php:434
310
+ msgid "Current time difference from GMT is "
311
+ msgstr "Rozdíl místního času a GMT"
312
+
313
+ #: my-calendar-event-manager.php:434
314
+ msgid " hour(s)"
315
+ msgstr "hodina(y)"
316
+
317
+ #: my-calendar-event-manager.php:437
318
+ msgid "End Time (hh:mm)"
319
+ msgstr "Konec (hh:mm)"
320
+
321
+ #: my-calendar-event-manager.php:447
322
+ msgid "Optional. End times will not be displayed on events where this is not set."
323
+ msgstr "Volitelné. Konec doby nebude zobrazen na akcích, kde to není nastaveno."
324
+
325
+ #: my-calendar-event-manager.php:452
326
+ msgid "Recurring Events"
327
+ msgstr "Opakující se události"
328
+
329
+ #: my-calendar-event-manager.php:455
330
+ msgid "Repeats for"
331
+ msgstr "Opakovaní"
332
+
333
+ #: my-calendar-event-manager.php:456
334
+ msgid "Units"
335
+ msgstr "Jednotky"
336
+
337
+ #: my-calendar-event-manager.php:457
338
+ msgid "Does not recur"
339
+ msgstr "Neopakuje se"
340
+
341
+ #: my-calendar-event-manager.php:458
342
+ #: my-calendar-event-manager.php:677
343
+ msgid "Daily"
344
+ msgstr "Denně"
345
+
346
+ #: my-calendar-event-manager.php:459
347
+ #: my-calendar-event-manager.php:678
348
+ msgid "Weekly"
349
+ msgstr "Týdně"
350
+
351
+ #: my-calendar-event-manager.php:460
352
+ msgid "Bi-weekly"
353
+ msgstr "Ob týden"
354
+
355
+ #: my-calendar-event-manager.php:461
356
+ msgid "Date of Month (e.g., the 24th of each month)"
357
+ msgstr "Datum měsíce (24. každého měsíce)"
358
+
359
+ #: my-calendar-event-manager.php:462
360
+ msgid "Day of Month (e.g., the 3rd Monday of each month)"
361
+ msgstr "Den v měsíci (3. pondělí každého měsíce)"
362
+
363
+ #: my-calendar-event-manager.php:463
364
+ msgid "Annually"
365
+ msgstr "Ročně"
366
+
367
+ #: my-calendar-event-manager.php:465
368
+ msgid "Entering 0 means forever, if a unit is selected. If the recurrence unit is left at \"Does not recur,\" the event will not reoccur."
369
+ msgstr "Hodnota 0 znamená navždy, pokud je jednotka vybrána. Pokud je jednotka opakování ponechána na \"Neopakovat\", událost se nebude opakovat."
370
+
371
+ #: my-calendar-event-manager.php:476
372
+ msgid "Event Registration Status"
373
+ msgstr "Status registrace události"
374
+
375
+ #: my-calendar-event-manager.php:478
376
+ msgid "Open"
377
+ msgstr "Otevřít"
378
+
379
+ #: my-calendar-event-manager.php:479
380
+ msgid "Closed"
381
+ msgstr "Zavřeno"
382
+
383
+ #: my-calendar-event-manager.php:480
384
+ msgid "Does not apply"
385
+ msgstr "Neplatí"
386
+
387
+ #: my-calendar-event-manager.php:483
388
+ msgid "If this event recurs, it can only be registered for as a complete series."
389
+ msgstr "Pokud se událost opakuje, může být registrována pro kompletní sérii "
390
+
391
+ #: my-calendar-event-manager.php:493
392
+ #: my-calendar-locations.php:81
393
+ msgid "Event Location"
394
+ msgstr "Místo události"
395
+
396
+ #: my-calendar-event-manager.php:502
397
+ msgid "Choose a preset location:"
398
+ msgstr "Vybrat přednastavené umístění"
399
+
400
+ #: my-calendar-event-manager.php:516
401
+ msgid "Add recurring locations for later use."
402
+ msgstr "Přidat opakující se umístění pro pozdější použití"
403
+
404
+ #: my-calendar-event-manager.php:525
405
+ #: my-calendar-locations.php:83
406
+ msgid "All location fields are optional: <em>insufficient information may result in an inaccurate map</em>."
407
+ msgstr "Všechny pole jsou volitelná: <em> nedostatečné informace mohou mít za následek nepřesné zobrazení na mapě </ em>."
408
+
409
+ #: my-calendar-event-manager.php:528
410
+ #: my-calendar-locations.php:86
411
+ msgid "Name of Location (e.g. <em>Joe's Bar and Grill</em>)"
412
+ msgstr "Název umístění (Např. <em>Rybajzův bar</em>)"
413
+
414
+ #: my-calendar-event-manager.php:531
415
+ #: my-calendar-locations.php:89
416
+ msgid "Street Address"
417
+ msgstr "Ulice"
418
+
419
+ #: my-calendar-event-manager.php:534
420
+ #: my-calendar-locations.php:92
421
+ msgid "Street Address (2)"
422
+ msgstr "Ulice 2"
423
+
424
+ #: my-calendar-event-manager.php:537
425
+ #: my-calendar-locations.php:95
426
+ msgid "City"
427
+ msgstr "Město"
428
+
429
+ #: my-calendar-event-manager.php:537
430
+ #: my-calendar-locations.php:95
431
+ msgid "State/Province"
432
+ msgstr "Stát / Provincie"
433
+
434
+ #: my-calendar-event-manager.php:537
435
+ #: my-calendar-locations.php:95
436
+ msgid "Postal Code"
437
+ msgstr "PSČ"
438
+
439
+ #: my-calendar-event-manager.php:540
440
+ #: my-calendar-locations.php:98
441
+ msgid "Country"
442
+ msgstr "Země"
443
+
444
+ #: my-calendar-event-manager.php:543
445
+ #: my-calendar-locations.php:101
446
+ msgid "Initial Zoom"
447
+ msgstr "Počáteční zoom"
448
+
449
+ #: my-calendar-event-manager.php:545
450
+ #: my-calendar-locations.php:103
451
+ msgid "Neighborhood"
452
+ msgstr "Sousedství"
453
+
454
+ #: my-calendar-event-manager.php:546
455
+ #: my-calendar-locations.php:104
456
+ msgid "Small City"
457
+ msgstr "Malé město"
458
+
459
+ #: my-calendar-event-manager.php:547
460
+ #: my-calendar-locations.php:105
461
+ msgid "Large City"
462
+ msgstr "Velké město"
463
+
464
+ #: my-calendar-event-manager.php:548
465
+ #: my-calendar-locations.php:106
466
+ msgid "Greater Metro Area"
467
+ msgstr "Větší oblast"
468
+
469
+ #: my-calendar-event-manager.php:549
470
+ #: my-calendar-locations.php:107
471
+ msgid "State"
472
+ msgstr "Stát"
473
+
474
+ #: my-calendar-event-manager.php:550
475
+ #: my-calendar-locations.php:108
476
+ msgid "Region"
477
+ msgstr "Region"
478
+
479
+ #: my-calendar-event-manager.php:554
480
+ #: my-calendar-locations.php:112
481
+ msgid "GPS Coordinates (optional)"
482
+ msgstr "GPS souřadnice (volittelné)"
483
+
484
+ #: my-calendar-event-manager.php:556
485
+ msgid "If you supply GPS coordinates for your location, they will be used in place of any other address information to provide your map link."
486
+ msgstr "Pokud zadáte GPS souřadnice vaší polohy, budou použity místo dalších informací o adrese."
487
+
488
+ #: my-calendar-event-manager.php:559
489
+ #: my-calendar-locations.php:117
490
+ msgid "Longitude"
491
+ msgstr "Zeměpisná délka"
492
+
493
+ #: my-calendar-event-manager.php:559
494
+ #: my-calendar-locations.php:117
495
+ msgid "Latitude"
496
+ msgstr "Zeměpisná šířka"
497
+
498
+ #: my-calendar-event-manager.php:567
499
+ msgid "Save Event"
500
+ msgstr "uložit událost"
501
+
502
+ #: my-calendar-event-manager.php:644
503
+ #: my-calendar-widgets.php:37
504
+ #: my-calendar-widgets.php:122
505
+ msgid "Title"
506
+ msgstr "Název"
507
+
508
+ #: my-calendar-event-manager.php:645
509
+ msgid "Link"
510
+ msgstr "Odkaz"
511
+
512
+ #: my-calendar-event-manager.php:646
513
+ #: my-calendar-locations.php:148
514
+ msgid "Location"
515
+ msgstr "Umístění"
516
+
517
+ #: my-calendar-event-manager.php:647
518
+ msgid "Description"
519
+ msgstr "Popis"
520
+
521
+ #: my-calendar-event-manager.php:648
522
+ msgid "Start Date"
523
+ msgstr "Datum začátku"
524
+
525
+ #: my-calendar-event-manager.php:649
526
+ msgid "Recurs"
527
+ msgstr "Opakuje se"
528
+
529
+ #: my-calendar-event-manager.php:650
530
+ #: my-calendar-settings.php:204
531
+ #: my-calendar-settings.php:213
532
+ msgid "Author"
533
+ msgstr "Autor"
534
+
535
+ #: my-calendar-event-manager.php:651
536
+ msgid "Category"
537
+ msgstr "Kategorie"
538
+
539
+ #: my-calendar-event-manager.php:652
540
+ msgid "Edit / Delete"
541
+ msgstr "Upravit / Smazat"
542
+
543
+ #: my-calendar-event-manager.php:676
544
+ msgid "Never"
545
+ msgstr "Nikdy"
546
+
547
+ #: my-calendar-event-manager.php:679
548
+ msgid "Bi-Weekly"
549
+ msgstr "Dvoutýdenní"
550
+
551
+ #: my-calendar-event-manager.php:680
552
+ msgid "Monthly (by date)"
553
+ msgstr "Měsíčně (podle data)"
554
+
555
+ #: my-calendar-event-manager.php:681
556
+ msgid "Monthly (by day)"
557
+ msgstr "Měsíčně (podle dne)"
558
+
559
+ #: my-calendar-event-manager.php:682
560
+ msgid "Yearly"
561
+ msgstr "Ročně"
562
+
563
+ #: my-calendar-event-manager.php:686
564
+ msgid "Forever"
565
+ msgstr "Navždy"
566
+
567
+ #: my-calendar-event-manager.php:687
568
+ msgid "Times"
569
+ msgstr "Krát"
570
+
571
+ #: my-calendar-event-manager.php:702
572
+ msgid "Copy"
573
+ msgstr "Kopírovat"
574
+
575
+ #: my-calendar-event-manager.php:705
576
+ msgid "Not editable."
577
+ msgstr "Neupravitelné"
578
+
579
+ #: my-calendar-event-manager.php:711
580
+ msgid "Reject"
581
+ msgstr "Zamítnout"
582
+
583
+ #: my-calendar-event-manager.php:713
584
+ msgid "Approve"
585
+ msgstr "Schálit"
586
+
587
+ #: my-calendar-event-manager.php:718
588
+ msgid "Approved"
589
+ msgstr "Schváleno"
590
+
591
+ #: my-calendar-event-manager.php:720
592
+ msgid "Rejected"
593
+ msgstr "Zamítnuto"
594
+
595
+ #: my-calendar-event-manager.php:733
596
+ msgid "There are no events in the database!"
597
+ msgstr "V databázi nejsou žádné události"
598
+
599
+ #: my-calendar-event-manager.php:833
600
+ msgid "Your event end date must be either after or the same as your event begin date"
601
+ msgstr "Vaše datum ukončení události musí být buď po začátku události, nebo stejné jako datum zahájení události"
602
+
603
+ #: my-calendar-event-manager.php:838
604
+ msgid "Your date formatting is correct but one or more of your dates is invalid. Check for number of days in month and leap year related errors."
605
+ msgstr "Vaše formátování data je správné, ale jedno nebo více z vašich dat, je neplatné. Zkontrolujte, zda počet dní v měsíci a přestupný rok neobsahuje chyby."
606
+
607
+ #: my-calendar-event-manager.php:843
608
+ msgid "Both start and end dates must be in the format YYYY-MM-DD"
609
+ msgstr "Formát data začátku a konce musí být ve formátu RRRR-MM-DD"
610
+
611
+ #: my-calendar-event-manager.php:855
612
+ msgid "The time field must either be blank or be entered in the format hh:mm"
613
+ msgstr "Pole Čas musí být buď prázdné, nebo musí být zadáno ve formátu hh: mm"
614
+
615
+ #: my-calendar-event-manager.php:865
616
+ msgid "The end time field must either be blank or be entered in the format hh:mm"
617
+ msgstr "Pole Čas konce musí být buď prázdné, nebo musí být zadáno ve formátu hh: mm"
618
+
619
+ #: my-calendar-event-manager.php:873
620
+ msgid "The URL entered must either be prefixed with http:// or be completely blank"
621
+ msgstr "Vložené URL musí obsahovat http:// nebo musí být úplně prázdné"
622
+
623
+ #: my-calendar-event-manager.php:882
624
+ msgid "The event title must be between 1 and 255 characters in length."
625
+ msgstr "Titulek události může být dlouhý 1 - 255 znaků."
626
+
627
+ #: my-calendar-event-manager.php:890
628
+ msgid "The repetition value must be 0 unless a type of recurrence is selected."
629
+ msgstr "Pokud je vybrán typ opakování, musí být hodnota opakování 0."
630
+
631
+ #: my-calendar-help.php:6
632
+ msgid "How to use My Calendar"
633
+ msgstr "Jak používat Můj kalendář"
634
+
635
+ #: my-calendar-help.php:11
636
+ msgid "Shortcode Syntax"
637
+ msgstr "Syntaxe krátkého kódu"
638
+
639
+ #: my-calendar-help.php:14
640
+ msgid "These shortcodes can be used in Posts, Pages, or in text widgets."
641
+ msgstr "Tento krátký kód může být vložen do stránky, příspěvku nebo widgetu."
642
+
643
+ #: my-calendar-help.php:18
644
+ msgid "This basic shortcode will show the calendar on a post or page including all categories and the category key, in a traditional month-by-month format."
645
+ msgstr "Krátký kód zobrazí kalendář na stránce nebo v příspěvku (bude zahrnovat všechny kategorie a klíč kategorie) v klasickém formátu měsíc po měsíci."
646
+
647
+ #: my-calendar-help.php:21
648
+ msgid "The shortcode supports three attributes, <code>category</code>, <code>format</code> and <code>showkey</code>. There two alternate option for <code>format</code> &mdash; <code>list</code> &mdash; which will show the calendar in a list format, skipping dates without any events, and <code>mini</code>, which will display the calendar in a form more suitable to being displayed in smaller spaces, such as the sidebar. The <code>category</code> attribute requires either the name of or ID number one of your event categories (the name is case-sensitive). This will show a calendar only including events in that category. Multiple categories can be specified by separating the category names or IDs using the pipe character: <code>|</code>. Setting <code>showkey</code> to <code>no</code> will prevent the category key from being displayed &mdash; this can be useful with single-category output."
649
+ msgstr "Krátký kód podporuje tři atributy, <code> kategorie </ code>, <code> formát </ code> a <code> showkey </ code>. Existují dvě alternativní možnosti pro <code> formát </ code> &mdash; <code> seznam </ code>&mdash;, které zobrazí kalendář ve formátu seznam, přeskočí data bez událostí, a <code> mini </ code> , které zobrazí kalendář v podobě vhodnější pro zobrazení v menších prostorech, jako je postranní panel. Atribut <code> kategorie </ code> vyžaduje buď jméno nebo ID jedné z Vašich kategorií (název je case-sensitive). Toto nastavení zobrazí kalendář pouze s událostmi ve vybrané kategorii. Více kategorií může být specifikováno oddělením názvů kategorií, nebo ID pomocí znaku: <code> | </ code>. Nastavení <code> showkey </ code> na <code> no </ code> zabrání zobrazení klíče kategorií - to může být užitečné při výstupu jen jedné kategorie."
650
+
651
+ #: my-calendar-help.php:24
652
+ msgid "This shortcode displays the output of the Upcoming Events widget. Without attributes, it will display using the settings in your widget; the attributes are used to override the widget settings. The <code>before</code> and <code>after</code> attributes should be numbers; the <code>type</code> attribute can be either \"event\" or \"days\", and the <code>category</code> attribute works the same way as the category attribute on the main calendar shortcode. Templates work using the template codes listed below."
653
+ msgstr "Tento krátký kód zobrazuje výstup widgetu Nadcházející události. Bez atributů, zobrazení závisí na nastavení widgetu, atributy jsou použity k přepsání nastavení widgetu. Atributy <code> před </ code> a <code> po atributy </ code> by měla být čísla, <code> typ </ code> atribut může být buď \"událost\" nebo \"dny\", a atribut<code> kategorie </ code> funguje stejným způsobem jako atribut kategorie v krátkém kódu hlavního kalendáře. Šablony jsou zobrazeny níže."
654
+
655
+ #: my-calendar-help.php:27
656
+ msgid "Predictably enough, this shortcode displays the output of the Today's Events widget, with two configurable attributes: category and template."
657
+ msgstr "Krátký kód zobrazuje výstup z widgetu dnešní události se dvěma konfigurovatelné atributy: kategorie a šablony."
658
+
659
+ #: my-calendar-help.php:34
660
+ msgid "Category Icons"
661
+ msgstr "Ikony kategorií"
662
+
663
+ #: my-calendar-help.php:37
664
+ msgid "My Calendar is designed to manage multiple calendars. The basis for these calendars are categories; you can easily setup a calendar page which includes all categories, or you can dedicate separate pages to calendars in each category. For an example, this might be useful for you in managing the tour calendars for multiple bands; event calendars for a variety of locations, etc."
665
+ msgstr "Můj kalendář je určen pro správu více kalendářů. Základem pro tyto kalendáře jsou kategorie, můžete snadno nastavit kalendářovou stránku, která obsahuje všechny kategorie, nebo můžete vytvořit samostatné stránky s kalendáři v každé kategorii. Pro příklad, může to být pro vás užitečné při správě kalendáře pro více pásem, kalendáře akcí na různých místech, atd."
666
+
667
+ #: my-calendar-help.php:40
668
+ msgid "The pre-installed category icons may not be especially useful for your needs or design. I'm assuming that you're going to upload your own icons -- all you need to do is upload them to the plugin's icons folder, and they'll be available for immediate use, or place them in a folder at \"my-calendar-custom\" to avoid having them overwritten by upgrades."
669
+ msgstr "Předinstalované ikony kategorií nemusí být zvláště užitečné pro vaše potřeby, nebo design. Za předpokladu, že se chystáte nahrát vlastní ikony - vše, co potřebujete udělat, je nahrát je do pluginové složky ikon, a oni budou k dispozici pro okamžité použití, nebo je umístěte do složky \"my-calendar-custom \", aby se zabránilo tomu, že budou přepsány při upgrade."
670
+
671
+ #: my-calendar-help.php:40
672
+ msgid "Your icons folder is:"
673
+ msgstr "Složka ikon:"
674
+
675
+ #: my-calendar-help.php:40
676
+ msgid "You can alternately place icons in:"
677
+ msgstr "Alternativně můžete uložit ikony do:"
678
+
679
+ #: my-calendar-help.php:48
680
+ msgid "Widget Templating"
681
+ msgstr "Šablona widgetu"
682
+
683
+ #: my-calendar-help.php:51
684
+ msgid "These codes are available in calendar widgets to create your own custom calendar format."
685
+ msgstr "Tyto kódy jsou dostupné ve widgetu kalendáře. Pomocí nich můžete vytvářet libovolný formát kalendáře."
686
+
687
+ #: my-calendar-help.php:55
688
+ msgid "Displays the name of the category the event is in."
689
+ msgstr "Zobrazí jméno kategorie, do které událost patří."
690
+
691
+ #: my-calendar-help.php:58
692
+ msgid "Displays the title of the event."
693
+ msgstr "Zobrazí titulek události"
694
+
695
+ #: my-calendar-help.php:61
696
+ msgid "Displays the start time for the event."
697
+ msgstr "Zobrazí čas začátku události"
698
+
699
+ #: my-calendar-help.php:64
700
+ msgid "Displays the date on which the event begins."
701
+ msgstr "Zobrazí datum začátku události."
702
+
703
+ #: my-calendar-help.php:67
704
+ msgid "Displays the date on which the event ends."
705
+ msgstr "Zobrazí datum ukončení události."
706
+
707
+ #: my-calendar-help.php:70
708
+ msgid "Displays the time at which the event ends."
709
+ msgstr "Zobrazí čas ukončení události."
710
+
711
+ #: my-calendar-help.php:73
712
+ msgid "Displays the WordPress author who posted the event."
713
+ msgstr "Zobrazí WP autora, který vložil událost."
714
+
715
+ #: my-calendar-help.php:76
716
+ msgid "Displays the URL provided for the event."
717
+ msgstr "Zobrazí URL události "
718
+
719
+ #: my-calendar-help.php:79
720
+ msgid "Displays the description of the event."
721
+ msgstr "Zobrazí popisek události"
722
+
723
+ #: my-calendar-help.php:82
724
+ msgid "Displays title of the event as a link if a URL is present, or the title alone if no URL is available."
725
+ msgstr "Zobrazí titulek události jako odkaz, pokud je vyplněno URL, nebo jako text, pokud vyplněno není. "
726
+
727
+ #: my-calendar-help.php:85
728
+ msgid "Displays the name of the location of the event."
729
+ msgstr "Zobrazí název umístění události."
730
+
731
+ #: my-calendar-help.php:88
732
+ msgid "Displays the first line of the site address."
733
+ msgstr "Zobrazí první řádek adresy."
734
+
735
+ #: my-calendar-help.php:91
736
+ msgid "Displays the second line of the site address."
737
+ msgstr "Zobrazí druhý řádek adresy."
738
+
739
+ #: my-calendar-help.php:94
740
+ msgid "Displays the city for the event."
741
+ msgstr "Zobrazí město události."
742
+
743
+ #: my-calendar-help.php:97
744
+ msgid "Displays the state for the event."
745
+ msgstr "Zobrazí stát události."
746
+
747
+ #: my-calendar-help.php:100
748
+ msgid "Displays the postcode for the event."
749
+ msgstr "Zobrazí PSČ události."
750
+
751
+ #: my-calendar-help.php:103
752
+ msgid "Displays the country for the event location."
753
+ msgstr "Zobrazí zemi události."
754
+
755
+ #: my-calendar-help.php:106
756
+ msgid "Displays the event address in <a href=\"http://microformats.org/wiki/hcard\">hcard</a> format."
757
+ msgstr "Zobrazí adresu události ve formátu <a href=\"http://microformats.org/wiki/hcard\">hcard</a>."
758
+
759
+ #: my-calendar-help.php:109
760
+ msgid "Displays a link to a Google Map of the event, if sufficient address information is available. If not, will be empty."
761
+ msgstr "Zobrazí odkaz na Google Mapy, pokud jsou dostupné dostatečné informace o adrese. Pokud ne, bude prázdné."
762
+
763
+ #: my-calendar-help.php:112
764
+ msgid "Displays text indicating whether registration for the event is currently open or closed; displays nothing if that choice is selected in the event."
765
+ msgstr "Zobrazí textové oznámení, zda je registrace události otevřena nebo uzavřena; nezobrazí nic pokud je volba vybrána v události."
766
+
767
+ #: my-calendar-help.php:115
768
+ msgid "Displays the short version of the event description."
769
+ msgstr "Zobrazí krátkou verzi popisku události."
770
+
771
+ #: my-calendar-help.php:118
772
+ msgid "Displays the current status of the event: either \"Published\" or \"Reserved\" - primary used in email templates."
773
+ msgstr "Zobrazí aktuální stav události: buď \"Publikováno\" nebo \"Rezervováno\" - primárně použité v emailových šablonách."
774
+
775
+ #: my-calendar-locations.php:22
776
+ msgid "Location added successfully"
777
+ msgstr "Umístění bylo úspěšně přidáno"
778
+
779
+ #: my-calendar-locations.php:24
780
+ msgid "Location could not be added to database"
781
+ msgstr "umístění nemohlo být přidáno do databáze"
782
+
783
+ #: my-calendar-locations.php:30
784
+ msgid "Location deleted successfully"
785
+ msgstr "Umístění bylo úspěšně odstraněno"
786
+
787
+ #: my-calendar-locations.php:32
788
+ msgid "Location could not be deleted"
789
+ msgstr "Umístění nemohlo být smazáno."
790
+
791
+ #: my-calendar-locations.php:43
792
+ msgid "Location could not be edited."
793
+ msgstr "Umístění nemohlo být upraveno."
794
+
795
+ #: my-calendar-locations.php:45
796
+ msgid "Location was not changed."
797
+ msgstr "Umístění nebylo změněno"
798
+
799
+ #: my-calendar-locations.php:47
800
+ msgid "Location edited successfully"
801
+ msgstr "Umístění bylo úspěšně aktualizováno."
802
+
803
+ #: my-calendar-locations.php:59
804
+ msgid "Add New Location"
805
+ msgstr "Přidat nové umístění"
806
+
807
+ #: my-calendar-locations.php:61
808
+ msgid "Edit Location"
809
+ msgstr "upravit umístění"
810
+
811
+ #: my-calendar-locations.php:66
812
+ msgid "Location Editor"
813
+ msgstr "Editor umístění"
814
+
815
+ #: my-calendar-locations.php:114
816
+ msgid "If you supply GPS coordinates for your location, they will be used in place of any other address information to pinpoint your location."
817
+ msgstr "Pokud zadáte GPS souřadnice vaší polohy, budou použity místo jakýchkoliv dalších informací pro určení polohy vašeho umístění."
818
+
819
+ #: my-calendar-locations.php:121
820
+ msgid "Add Location"
821
+ msgstr "Přidat umístění"
822
+
823
+ #: my-calendar-locations.php:135
824
+ #: my-calendar.php:180
825
+ msgid "Manage Locations"
826
+ msgstr "Spravovat umístění"
827
+
828
+ #: my-calendar-locations.php:170
829
+ msgid "There are no locations in the database yet!"
830
+ msgstr "V databázi nejsou žádná umístění."
831
+
832
+ #: my-calendar-locations.php:174
833
+ msgid "Please note: editing or deleting locations stored for re-use will have no effect on any event previously scheduled at that location. The location database exists purely as a shorthand method to enter frequently used locations into event records."
834
+ msgstr "Poznámka: úprava nebo smazání umístění nebude mít vliv na žádnou událost, která byla plánována na toto umístění. Databáze umístění existuje čistě jako zkrácená metoda pro ukládání nejčastěji používaných umístění."
835
+
836
+ #: my-calendar-settings.php:67
837
+ msgid "Categories imported successfully."
838
+ msgstr "Kategorie byly úspěšně importovány"
839
+
840
+ #: my-calendar-settings.php:69
841
+ msgid "Categories not imported."
842
+ msgstr "Kategorie nebyly importovány"
843
+
844
+ #: my-calendar-settings.php:72
845
+ msgid "Events imported successfully."
846
+ msgstr "Události byly úspěšně importovány."
847
+
848
+ #: my-calendar-settings.php:74
849
+ msgid "Events not imported."
850
+ msgstr "Události nebyly importovány"
851
+
852
+ #: my-calendar-settings.php:165
853
+ msgid "Settings saved"
854
+ msgstr "Nastavení uloženo"
855
+
856
+ #: my-calendar-settings.php:188
857
+ msgid "My Calendar Options"
858
+ msgstr "Možnosti Mého kalendáře"
859
+
860
+ #: my-calendar-settings.php:195
861
+ msgid "Calendar Settings"
862
+ msgstr "Nastavení kalendáře"
863
+
864
+ #: my-calendar-settings.php:199
865
+ msgid "Calendar Options: Management"
866
+ msgstr "Nastavení kalendáře: Management"
867
+
868
+ #: my-calendar-settings.php:201
869
+ msgid "Choose the lowest user group that may create events"
870
+ msgstr "Zvolte nejnižší uživatelskou úroveň pro vytváření událostí"
871
+
872
+ #: my-calendar-settings.php:202
873
+ #: my-calendar-settings.php:211
874
+ msgid "Subscriber"
875
+ msgstr "Návštěvník"
876
+
877
+ #: my-calendar-settings.php:203
878
+ #: my-calendar-settings.php:212
879
+ msgid "Contributor"
880
+ msgstr "Spolupracovník"
881
+
882
+ #: my-calendar-settings.php:205
883
+ #: my-calendar-settings.php:214
884
+ msgid "Editor"
885
+ msgstr "Šéfredaktor"
886
+
887
+ #: my-calendar-settings.php:206
888
+ #: my-calendar-settings.php:215
889
+ msgid "Administrator"
890
+ msgstr "Administrator"
891
+
892
+ #: my-calendar-settings.php:210
893
+ msgid "Choose the lowest user group that may approve events"
894
+ msgstr "Zvolte nejnižší uživatelskou úroveň pro schvalování událostí"
895
+
896
+ #: my-calendar-settings.php:219
897
+ msgid "Enable approval options."
898
+ msgstr "Povolit schvalovací nastavení"
899
+
900
+ #: my-calendar-settings.php:223
901
+ msgid "Calendar Options: Customize Text"
902
+ msgstr "Možnosti kalendáře: Upravit text"
903
+
904
+ #: my-calendar-settings.php:225
905
+ msgid "Show Heading for Calendar"
906
+ msgstr "Zobrazit hlavičku kalendáře"
907
+
908
+ #: my-calendar-settings.php:228
909
+ msgid "Label for events without a specific time"
910
+ msgstr "Značka pro události bez specifického času"
911
+
912
+ #: my-calendar-settings.php:231
913
+ msgid "Previous events link text"
914
+ msgstr "Text odkazu předchozí událost"
915
+
916
+ #: my-calendar-settings.php:231
917
+ #: my-calendar.php:514
918
+ msgid "Previous Events"
919
+ msgstr "Předchozí"
920
+
921
+ #: my-calendar-settings.php:234
922
+ msgid "Next events link text"
923
+ msgstr "Text odkazu následující událost"
924
+
925
+ #: my-calendar-settings.php:234
926
+ msgid "Next Events"
927
+ msgstr "Následující"
928
+
929
+ #: my-calendar-settings.php:237
930
+ msgid "Text when events are open"
931
+ msgstr "Text u otevžených událostí"
932
+
933
+ #: my-calendar-settings.php:237
934
+ msgid "Registration is open"
935
+ msgstr "Registrace je otevřená"
936
+
937
+ #: my-calendar-settings.php:240
938
+ msgid "Text when events are closed"
939
+ msgstr "Text při uzavřené události"
940
+
941
+ #: my-calendar-settings.php:240
942
+ msgid "Registration is closed"
943
+ msgstr "Registrace je uzavřena"
944
+
945
+ #: my-calendar-settings.php:243
946
+ msgid "Additional caption text"
947
+ msgstr "Text dodatkového titulku"
948
+
949
+ #: my-calendar-settings.php:243
950
+ msgid "The calendar caption is the text containing the displayed month and year in either list or calendar format. This text will be displayed following that existing text."
951
+ msgstr "Titulek kalendáře je text obsahující zobrazený měsíc a rok v kalendářovém formátu. Tento text bude následovat existující text."
952
+
953
+ #: my-calendar-settings.php:247
954
+ msgid "Calendar Options: Output"
955
+ msgstr "Možnosti kalendáře: Výstup"
956
+
957
+ #: my-calendar-settings.php:249
958
+ msgid "In list mode, show how many months of events at a time:"
959
+ msgstr "Seznamové zobrazení: zobrazit počet měsíců události"
960
+
961
+ #: my-calendar-settings.php:252
962
+ msgid "Date format in list mode"
963
+ msgstr "Format data v módu seznam"
964
+
965
+ #: my-calendar-settings.php:253
966
+ msgid "Date format uses the same syntax as the <a href=\"http://php.net/date\">PHP <code>date()</code> function</a>. Save options to update sample output."
967
+ msgstr "Format data používá stejnou syntaxi jako <a href=\"http://php.net/date\">PHP <code>date()</code> funkce</a>. Uložte možnosti pro aktualizování ukázky."
968
+
969
+ #: my-calendar-settings.php:256
970
+ msgid "Do you want to display the author name on events?"
971
+ msgstr "Chcete zobrazit jméno autora v události?"
972
+
973
+ #: my-calendar-settings.php:259
974
+ msgid "Display a jumpbox for changing month and year quickly?"
975
+ msgstr "Zobrazit rozbalovací box pro rychlou změnu měsíce a roku?"
976
+
977
+ #: my-calendar-settings.php:262
978
+ msgid "Hide category icons in output"
979
+ msgstr "Schovat ikony kategorií na výstupu"
980
+
981
+ #: my-calendar-settings.php:265
982
+ msgid "Show Link to Google Map (when sufficient address information is available.)"
983
+ msgstr "Zobrazit odkaz na Google mapy (pokud je zadána dostatečně přesná adresa)"
984
+
985
+ #: my-calendar-settings.php:268
986
+ msgid "Show Event Address in Details"
987
+ msgstr "Zobrazit adresu události v detailech "
988
+
989
+ #: my-calendar-settings.php:271
990
+ msgid "Show short description field on calendar."
991
+ msgstr "Zobrazit pole krátký popisek v kalendáři"
992
+
993
+ #: my-calendar-settings.php:274
994
+ msgid "Show full description field on calendar."
995
+ msgstr "Zobrazit pole dlouhý popisek v kalendáři"
996
+
997
+ #: my-calendar-settings.php:277
998
+ msgid "Links associated with events will automatically expire after the event has passed."
999
+ msgstr "Odkazy spojené s událostí automaticky vyprší po uplynutí události."
1000
+
1001
+ #: my-calendar-settings.php:280
1002
+ msgid "Show current availability status of events."
1003
+ msgstr "Zobrazit dostupné statusy události "
1004
+
1005
+ #: my-calendar-settings.php:283
1006
+ msgid "If a recurring event is scheduled for a date which doesn't exist (such as the 5th Wednesday in February), move it back one week."
1007
+ msgstr "Pokud se opakující událost vztahuje k datu, které neexistuje (5. středa v únoru), bude přesunuta o týden zpět."
1008
+
1009
+ #: my-calendar-settings.php:284
1010
+ msgid "If this option is unchecked, recurring events which fall on dates which don't exist will simply not be shown on the calendar."
1011
+ msgstr "Pokud je tato možnost nezaškrtnutá, opakující se události vztahující se na neexistující data nebudou zobrazeny v kalendáři. "
1012
+
1013
+ #: my-calendar-settings.php:288
1014
+ msgid "Calendar Options: Input"
1015
+ msgstr "Možnosti kalendáře: Vstup"
1016
+
1017
+ #: my-calendar-settings.php:291
1018
+ msgid "Show Event Location Dropdown Menu"
1019
+ msgstr "Zobrazit rozbalovací menu pro umístění události"
1020
+
1021
+ #: my-calendar-settings.php:291
1022
+ msgid "Show Event Short Description field"
1023
+ msgstr "Zobrazit pole krátký popisek události"
1024
+
1025
+ #: my-calendar-settings.php:291
1026
+ msgid "Show Event Description Field"
1027
+ msgstr "zobrazit pole popisek události"
1028
+
1029
+ #: my-calendar-settings.php:291
1030
+ msgid "Show Event Category field"
1031
+ msgstr "Zobrazit pole kategorie"
1032
+
1033
+ #: my-calendar-settings.php:291
1034
+ msgid "Show Event Link field"
1035
+ msgstr "Zobrazit pole odkaz"
1036
+
1037
+ #: my-calendar-settings.php:291
1038
+ msgid "Show Event Recurrence Options"
1039
+ msgstr "Zobrazit možnosti "
1040
+
1041
+ #: my-calendar-settings.php:291
1042
+ msgid "Show event registration options"
1043
+ msgstr "Zobrazit možnosti registrace události"
1044
+
1045
+ #: my-calendar-settings.php:291
1046
+ msgid "Show event location fields"
1047
+ msgstr "Zobrazit pole umístění události"
1048
+
1049
+ #: my-calendar-settings.php:300
1050
+ msgid "Administrators see all input options"
1051
+ msgstr "Administrátoři vidí všechny vstupní nastavení"
1052
+
1053
+ #: my-calendar-settings.php:304
1054
+ msgid "Calendar Options: Style"
1055
+ msgstr "Možnosti kalendáře: Styly"
1056
+
1057
+ #: my-calendar-settings.php:306
1058
+ msgid "Default usage of category colors."
1059
+ msgstr "Výchoz použití barev kategorie "
1060
+
1061
+ #: my-calendar-settings.php:307
1062
+ msgid "Apply category colors to event titles as a font color."
1063
+ msgstr "Použít barvy kategorie na titulky událostí jako barvu fontu."
1064
+
1065
+ #: my-calendar-settings.php:308
1066
+ msgid "Apply category colors to event titles as a background color."
1067
+ msgstr "Použít barvy kategorie na titulky událostí jako barva pozadí."
1068
+
1069
+ #: my-calendar-settings.php:313
1070
+ msgid "Calendar Options: Email Notifications"
1071
+ msgstr "Možnosti kalendáře: Emailové oznamování"
1072
+
1073
+ #: my-calendar-settings.php:317
1074
+ msgid "Send Email Notifications when new events are scheduled or reserved."
1075
+ msgstr "Zaslat oznámení emailem v případě, že je událost plánovaná nebo zarezervovaná."
1076
+
1077
+ #: my-calendar-settings.php:323
1078
+ msgid "Notification messages are sent to: "
1079
+ msgstr "Oznamovací zprávy byly odeslány do:"
1080
+
1081
+ #: my-calendar-settings.php:327
1082
+ msgid "Email subject"
1083
+ msgstr "Předmět emailu"
1084
+
1085
+ #: my-calendar-settings.php:327
1086
+ msgid "New event Added"
1087
+ msgstr "Nová událost přidána"
1088
+
1089
+ #: my-calendar-settings.php:331
1090
+ msgid "Message Body"
1091
+ msgstr "Tělo zprávy"
1092
+
1093
+ #: my-calendar-settings.php:331
1094
+ msgid "New Event:"
1095
+ msgstr "Nová událost"
1096
+
1097
+ #: my-calendar-settings.php:332
1098
+ msgid "Shortcode Help"
1099
+ msgstr "Nápověda pro krátký kód"
1100
+
1101
+ #: my-calendar-settings.php:332
1102
+ msgid "All template shortcodes are available."
1103
+ msgstr "Všechny krátké kódy šablony jsou dostupné."
1104
+
1105
+ #: my-calendar-settings.php:341
1106
+ msgid "Save Settings"
1107
+ msgstr "Uložit nastavení"
1108
+
1109
+ #: my-calendar-styles.php:46
1110
+ msgid "Style Settings saved"
1111
+ msgstr "Nastavení stylu bylo uloženo"
1112
+
1113
+ #: my-calendar-styles.php:70
1114
+ msgid "My Calendar Styles"
1115
+ msgstr "Můj Kalendář styly"
1116
+
1117
+ #: my-calendar-styles.php:74
1118
+ msgid "Calendar Style Settings"
1119
+ msgstr "Nastavení stylů kalendáře"
1120
+
1121
+ #: my-calendar-styles.php:78
1122
+ msgid "Show CSS &amp; JavaScript only on these pages (comma separated page IDs)"
1123
+ msgstr "Zobrazit CSS &amp; JavaScript pouze na těchto stránkách (čárkou oddělená ID)"
1124
+
1125
+ #: my-calendar-styles.php:81
1126
+ msgid "CSS Style Options"
1127
+ msgstr "Možnosti CSS"
1128
+
1129
+ #: my-calendar-styles.php:83
1130
+ msgid "Reset the My Calendar stylesheet to the default"
1131
+ msgstr "Vrátit styly Mého kalendáře na původní hodnoty"
1132
+
1133
+ #: my-calendar-styles.php:83
1134
+ msgid "Disable My Calendar Stylesheet"
1135
+ msgstr "Zakázat šablonu stylů pro Můj kalendář"
1136
+
1137
+ #: my-calendar-styles.php:86
1138
+ msgid "Edit the stylesheet for My Calendar"
1139
+ msgstr "Editovat šablonu stylů pro Můj kalendář "
1140
+
1141
+ #: my-calendar-styles.php:89
1142
+ #: my-calendar-styles.php:101
1143
+ #: my-calendar-styles.php:113
1144
+ #: my-calendar-styles.php:125
1145
+ msgid "Save"
1146
+ msgstr "Uložit"
1147
+
1148
+ #: my-calendar-styles.php:93
1149
+ msgid "Calendar Behaviors: Calendar View"
1150
+ msgstr "Chování kalendáře: Zobrazení kalendáře"
1151
+
1152
+ #: my-calendar-styles.php:95
1153
+ msgid "Reset the My Calendar Calendar Javascript"
1154
+ msgstr "Resetovat Javascript kalendáře"
1155
+
1156
+ #: my-calendar-styles.php:95
1157
+ msgid "Disable Calendar Javascript Effects"
1158
+ msgstr "Zakázat Javascriptové efekty kalendáře"
1159
+
1160
+ #: my-calendar-styles.php:98
1161
+ msgid "Edit the jQuery scripts for My Calendar in Calendar format"
1162
+ msgstr "Upravit jQuery skripty pro Kalendářový mód"
1163
+
1164
+ #: my-calendar-styles.php:105
1165
+ msgid "Calendar Behaviors: List View"
1166
+ msgstr "Chování kalendáře: Seznamové zobrazení"
1167
+
1168
+ #: my-calendar-styles.php:107
1169
+ msgid "Reset the My Calendar List Javascript"
1170
+ msgstr "Resetovat Javascript pro seznam"
1171
+
1172
+ #: my-calendar-styles.php:107
1173
+ msgid "Disable List Javascript Effects"
1174
+ msgstr "Zakázat Javascriptové efekty v seznamu"
1175
+
1176
+ #: my-calendar-styles.php:110
1177
+ msgid "Edit the jQuery scripts for My Calendar in List format"
1178
+ msgstr "Upravit jQuery skripty pro seznam"
1179
+
1180
+ #: my-calendar-styles.php:117
1181
+ msgid "Calendar Behaviors: Mini Calendar View"
1182
+ msgstr "Chovaní kalendáře: Mini zobrazení"
1183
+
1184
+ #: my-calendar-styles.php:119
1185
+ msgid "Reset the My Calendar Mini Format Javascript"
1186
+ msgstr "Resetovat Javascript pro Můj kalendář Mini "
1187
+
1188
+ #: my-calendar-styles.php:119
1189
+ msgid "Disable Mini Javascript Effects"
1190
+ msgstr "Zakázat javascriptové efekty - Mini"
1191
+
1192
+ #: my-calendar-styles.php:122
1193
+ msgid "Edit the jQuery scripts for My Calendar in Mini Calendar format"
1194
+ msgstr "Upravit jQuery skripty pro kalendář v módu Mini"
1195
+
1196
+ #: my-calendar-upgrade-db.php:19
1197
+ msgid "The My Calendar database needs to be updated."
1198
+ msgstr "Databáze mého kalendáře musí být aktualizována "
1199
+
1200
+ #: my-calendar-upgrade-db.php:20
1201
+ #: my-calendar-upgrade-db.php:34
1202
+ msgid "Update now"
1203
+ msgstr "Aktualizovat"
1204
+
1205
+ #: my-calendar-upgrade-db.php:33
1206
+ msgid "You haven't entered any events, so My Calendar can't tell whether your database is up to date. If you can't add events, upgrade your database!"
1207
+ msgstr "Nevytvořili jste žádné události, proto Můj kalendář nemůže zjistit, zda je databáze aktuální. Jestliže nemůžete přidávat události, aktualizujete databázi."
1208
+
1209
+ #: my-calendar-upgrade-db.php:44
1210
+ msgid "My Calendar Database is updated."
1211
+ msgstr "Databáze Mého kalendáře byla aktualizována"
1212
+
1213
+ #: my-calendar-widgets.php:11
1214
+ #: my-calendar-widgets.php:51
1215
+ #: my-calendar-widgets.php:52
1216
+ msgid "Today's Events"
1217
+ msgstr "Dnešní události"
1218
+
1219
+ #: my-calendar-widgets.php:41
1220
+ #: my-calendar-widgets.php:126
1221
+ msgid "Template"
1222
+ msgstr "Šablona"
1223
+
1224
+ #: my-calendar-widgets.php:45
1225
+ msgid "Show this text if there are no events today:"
1226
+ msgstr "Zobrazit tento text, pokud zde nejsou žádné dnešní události"
1227
+
1228
+ #: my-calendar-widgets.php:65
1229
+ #: my-calendar-widgets.php:152
1230
+ #: my-calendar-widgets.php:153
1231
+ msgid "Upcoming Events"
1232
+ msgstr "Nadcházející události"
1233
+
1234
+ #: my-calendar-widgets.php:130
1235
+ msgid "Widget Options"
1236
+ msgstr "Možnosti widgetu"
1237
+
1238
+ #: my-calendar-widgets.php:132
1239
+ msgid "Display upcoming events by:"
1240
+ msgstr "Zobrazit nadcházející události podle:"
1241
+
1242
+ #: my-calendar-widgets.php:133
1243
+ msgid "Events (e.g. 2 past, 3 future)"
1244
+ msgstr "Události"
1245
+
1246
+ #: my-calendar-widgets.php:134
1247
+ msgid "Dates (e.g. 4 days past, 5 forward)"
1248
+ msgstr "Data (např. 4 dny uplynulé, 5 dní budoucích)"
1249
+
1250
+ #: my-calendar-widgets.php:138
1251
+ msgid "events into the future;"
1252
+ msgstr "události v budoucnosti;"
1253
+
1254
+ #: my-calendar-widgets.php:139
1255
+ msgid "events from the past"
1256
+ msgstr "události z minulosti;"
1257
+
1258
+ #: my-calendar-widgets.php:142
1259
+ msgid "days into the future;"
1260
+ msgstr "dny v budoucnosti"
1261
+
1262
+ #: my-calendar-widgets.php:143
1263
+ msgid "days from the past"
1264
+ msgstr "dny z minulosti"
1265
+
1266
+ #: my-calendar-widgets.php:146
1267
+ msgid "Show only this category:"
1268
+ msgstr "Zobrazit pouze tuto kategorii"
1269
+
1270
+ #: my-calendar-widgets.php:285
1271
+ msgid "There are no events currently scheduled."
1272
+ msgstr "Na rozvrhu momentálně nejsou žádné události."
1273
+
1274
+ #: my-calendar-widgets.php:470
1275
+ msgid "Published"
1276
+ msgstr "Publikováno"
1277
+
1278
+ #: my-calendar-widgets.php:472
1279
+ msgid "Reserved"
1280
+ msgstr "Rezervováno"
1281
+
1282
+ #: my-calendar.php:56
1283
+ #: my-calendar.php:181
1284
+ msgid "Settings"
1285
+ msgstr "Nastavení"
1286
+
1287
+ #: my-calendar.php:57
1288
+ #: my-calendar.php:183
1289
+ msgid "Help"
1290
+ msgstr "Nápověda"
1291
+
1292
+ #: my-calendar.php:81
1293
+ msgid "Buy the Beginner's Guide"
1294
+ msgstr "Koupit příručku"
1295
+
1296
+ #: my-calendar.php:82
1297
+ msgid "Get Support"
1298
+ msgstr "Technická podpora"
1299
+
1300
+ #: my-calendar.php:83
1301
+ #: my-calendar.php:183
1302
+ msgid "My Calendar Help"
1303
+ msgstr "Nápověda"
1304
+
1305
+ #: my-calendar.php:84
1306
+ msgid "Make a Donation"
1307
+ msgstr "Přispějte"
1308
+
1309
+ #. #-#-#-#-# plugin.pot (My Calendar 1.5.0) #-#-#-#-#
1310
+ #. Plugin Name of the plugin/theme
1311
+ #: my-calendar.php:172
1312
+ msgid "My Calendar"
1313
+ msgstr "Můj kalendář"
1314
+
1315
+ #: my-calendar.php:175
1316
+ msgid "Add/Edit Events"
1317
+ msgstr "Přidat / upravit událost"
1318
+
1319
+ #: my-calendar.php:182
1320
+ msgid "Style Editor"
1321
+ msgstr "Editor stylů"
1322
+
1323
+ #: my-calendar.php:633
1324
+ msgid "Event Details"
1325
+ msgstr "Detaily události"
1326
+
1327
+ #: my-calendar.php:642
1328
+ msgid "Close"
1329
+ msgstr "Zavřít"
1330
+
1331
+ #: my-calendar.php:652
1332
+ msgid "Not Applicable"
1333
+ msgstr "Není k dispozici"
1334
+
1335
+ #: my-calendar.php:664
1336
+ msgid "Posted by"
1337
+ msgstr "Vytvořeno"
1338
+
1339
+ #: my-calendar.php:710
1340
+ msgid "This class is part of a series. You must register for the first event in this series to attend."
1341
+ msgstr "Třída je součástí série. Pro účast se musíte registrovat k první události. "
1342
+
1343
+ #: my-calendar.php:1340
1344
+ msgid "Month"
1345
+ msgstr "Měsíc"
1346
+
1347
+ #: my-calendar.php:1341
1348
+ #: my-calendar.php:1427
1349
+ msgid "January"
1350
+ msgstr "Leden"
1351
+
1352
+ #: my-calendar.php:1342
1353
+ #: my-calendar.php:1427
1354
+ msgid "February"
1355
+ msgstr "Únor"
1356
+
1357
+ #: my-calendar.php:1343
1358
+ #: my-calendar.php:1427
1359
+ msgid "March"
1360
+ msgstr "Březen"
1361
+
1362
+ #: my-calendar.php:1344
1363
+ #: my-calendar.php:1427
1364
+ msgid "April"
1365
+ msgstr "Duben"
1366
+
1367
+ #: my-calendar.php:1345
1368
+ #: my-calendar.php:1427
1369
+ msgid "May"
1370
+ msgstr "Květen"
1371
+
1372
+ #: my-calendar.php:1346
1373
+ #: my-calendar.php:1427
1374
+ msgid "June"
1375
+ msgstr "Červen"
1376
+
1377
+ #: my-calendar.php:1347
1378
+ #: my-calendar.php:1427
1379
+ msgid "July"
1380
+ msgstr "Červenec"
1381
+
1382
+ #: my-calendar.php:1348
1383
+ #: my-calendar.php:1427
1384
+ msgid "August"
1385
+ msgstr "Srpen"
1386
+
1387
+ #: my-calendar.php:1349
1388
+ #: my-calendar.php:1427
1389
+ msgid "September"
1390
+ msgstr "Září"
1391
+
1392
+ #: my-calendar.php:1350
1393
+ #: my-calendar.php:1427
1394
+ msgid "October"
1395
+ msgstr "Říjen"
1396
+
1397
+ #: my-calendar.php:1351
1398
+ #: my-calendar.php:1427
1399
+ msgid "November"
1400
+ msgstr "Listopad"
1401
+
1402
+ #: my-calendar.php:1352
1403
+ #: my-calendar.php:1427
1404
+ msgid "December"
1405
+ msgstr "Prosinec"
1406
+
1407
+ #: my-calendar.php:1354
1408
+ msgid "Year"
1409
+ msgstr "Rok"
1410
+
1411
+ #: my-calendar.php:1379
1412
+ msgid "Go"
1413
+ msgstr "Jdi"
1414
+
1415
+ #: my-calendar.php:1401
1416
+ msgid "<abbr title=\"Sunday\">Sun</abbr>"
1417
+ msgstr "<abbr title=\"Neděle\">Ne</abbr>"
1418
+
1419
+ #: my-calendar.php:1402
1420
+ msgid "<abbr title=\"Monday\">Mon</abbr>"
1421
+ msgstr "<abbr title=\"Pondělí\">Pon</abbr>"
1422
+
1423
+ #: my-calendar.php:1403
1424
+ msgid "<abbr title=\"Tuesday\">Tues</abbr>"
1425
+ msgstr "<abbr title=\"Úterý\">Úte</abbr>"
1426
+
1427
+ #: my-calendar.php:1404
1428
+ msgid "<abbr title=\"Wednesday\">Wed</abbr>"
1429
+ msgstr "<abbr title=\"Středa\">Stř</abbr>"
1430
+
1431
+ #: my-calendar.php:1405
1432
+ msgid "<abbr title=\"Thursday\">Thur</abbr>"
1433
+ msgstr "<abbr title=\"Čtvrtek\">Čtv</abbr>"
1434
+
1435
+ #: my-calendar.php:1406
1436
+ msgid "<abbr title=\"Friday\">Fri</abbr>"
1437
+ msgstr "<abbr title=\"Pátek\">Pát</abbr>"
1438
+
1439
+ #: my-calendar.php:1407
1440
+ msgid "<abbr title=\"Saturday\">Sat</abbr>"
1441
+ msgstr "<abbr title=\"Sobota\">Sob</abbr>"
1442
+
1443
+ #: my-calendar.php:1412
1444
+ msgid "<abbr title=\"Sunday\">S</abbr>"
1445
+ msgstr "<abbr title=\"Neděle\">N</abbr>"
1446
+
1447
+ #: my-calendar.php:1413
1448
+ msgid "<abbr title=\"Monday\">M</abbr>"
1449
+ msgstr "<abbr title=\"Pondělí\">P</abbr>"
1450
+
1451
+ #: my-calendar.php:1414
1452
+ msgid "<abbr title=\"Tuesday\">T</abbr>"
1453
+ msgstr "<abbr title=\"Úterý\">Ú</abbr>"
1454
+
1455
+ #: my-calendar.php:1415
1456
+ msgid "<abbr title=\"Wednesday\">W</abbr>"
1457
+ msgstr "<abbr title=\"Středa\">S</abbr>"
1458
+
1459
+ #: my-calendar.php:1416
1460
+ msgid "<abbr title=\"Thursday\">T</abbr>"
1461
+ msgstr "<abbr title=\"Čtvrtek\">Č</abbr>"
1462
+
1463
+ #: my-calendar.php:1417
1464
+ msgid "<abbr title=\"Friday\">F</abbr>"
1465
+ msgstr "<abbr title=\"Pátek\">P</abbr>"
1466
+
1467
+ #: my-calendar.php:1418
1468
+ msgid "<abbr title=\"Saturday\">S</abbr>"
1469
+ msgstr "<abbr title=\"Sobota\">S</abbr>"
1470
+
1471
+ #: my-calendar.php:1464
1472
+ msgid "and"
1473
+ msgstr "a"
1474
+
1475
+ #: my-calendar.php:1493
1476
+ #: my-calendar.php:1497
1477
+ msgid "Calendar"
1478
+ msgstr "Kalendář"
1479
+
1480
+ #: my-calendar.php:1500
1481
+ msgid "Events in"
1482
+ msgstr "Události v"
1483
+
1484
+ #: my-calendar.php:1597
1485
+ msgid "There are no events scheduled during this period."
1486
+ msgstr "Na toto období nejsou naplánovány žádné události."
1487
+
1488
+ #: my-calendar.php:1607
1489
+ msgid "Category Key"
1490
+ msgstr "Klíč kategorie"
1491
+
1492
+ #. Plugin URI of the plugin/theme
1493
+ msgid "http://www.joedolson.com/articles/my-calendar/"
1494
+ msgstr "http://www.joedolson.com/articles/my-calendar/"
1495
+
1496
+ #. Description of the plugin/theme
1497
+ msgid "Accessible WordPress event calendar plugin. Show events from multiple calendars on pages, in posts, or in widgets."
1498
+ msgstr "Přístupný kalendář pro Wordpress. Zobrazuje události z mnoha kalendářů na stránkách, v příspěvcích nebo ve widgetech."
1499
+
1500
+ #. Author of the plugin/theme
1501
+ msgid "Joseph C Dolson"
1502
+ msgstr "Joseph C Dolson"
1503
+
1504
+ #. Author URI of the plugin/theme
1505
+ msgid "http://www.joedolson.com"
1506
+ msgstr "http://www.joedolson.com"
1507
+
my-calendar-da_DK.mo CHANGED
Binary file
my-calendar-da_DK.po CHANGED
@@ -7,8 +7,8 @@ msgid ""
7
  msgstr ""
8
  "Project-Id-Version: My Calendar 1.4.3\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/my-calendar\n"
10
- "POT-Creation-Date: 2010-10-05 19:19+0000\n"
11
- "PO-Revision-Date: 2010-11-05 13:56+0100\n"
12
  "Last-Translator: Jakob Smith <jakob@omkalfatring.dk>\n"
13
  "Language-Team: omkalfatring.dk <jakob@omkalfatring.dk>\n"
14
  "MIME-Version: 1.0\n"
@@ -18,119 +18,25 @@ msgstr ""
18
  "X-Poedit-Country: DENMARK\n"
19
  "X-Poedit-SourceCharset: utf-8\n"
20
 
21
- #: my-calendar-categories.php:41
22
- msgid "Category added successfully"
23
- msgstr "Kategori tilføjet med succes"
24
-
25
- #: my-calendar-categories.php:43
26
- msgid "Category addition failed."
27
- msgstr "Tilføjelse af kategori fejlede."
28
-
29
- #: my-calendar-categories.php:53
30
- msgid "Category deleted successfully. Categories in calendar updated."
31
- msgstr "Kategori slettet med succes. Kalenderens kategorier er opdateret."
32
-
33
- #: my-calendar-categories.php:55
34
- msgid "Category deleted successfully. Categories in calendar not updated."
35
- msgstr "Kategori slettet med succes. Kalenderens kategorier er ikke opdateret."
36
-
37
- #: my-calendar-categories.php:57
38
- msgid "Category not deleted. Categories in calendar updated."
39
- msgstr "Kategori ikke slettet. Kalenderens kategorier er opdateret."
40
-
41
- #: my-calendar-categories.php:66
42
- msgid "Category edited successfully"
43
- msgstr "Kategori redigeret med succes"
44
-
45
- #: my-calendar-categories.php:88
46
- #: my-calendar-categories.php:112
47
- #: my-calendar-categories.php:130
48
- msgid "Add Category"
49
- msgstr "Tilføj kategori"
50
-
51
- #: my-calendar-categories.php:90
52
- #: my-calendar-categories.php:112
53
- msgid "Edit Category"
54
- msgstr "Rediger kategori"
55
-
56
- #: my-calendar-categories.php:97
57
- msgid "Category Editor"
58
- msgstr "Kategoriredigering"
59
-
60
- #: my-calendar-categories.php:113
61
- #: my-calendar-categories.php:156
62
- msgid "Category Name"
63
- msgstr "Kategorinavn"
64
-
65
- #: my-calendar-categories.php:114
66
- msgid "Category Color (Hex format)"
67
- msgstr "Kategorifarve (Hex format)"
68
-
69
- #: my-calendar-categories.php:115
70
- #: my-calendar-categories.php:158
71
- msgid "Category Icon"
72
- msgstr "Kategoriikon"
73
-
74
- #: my-calendar-categories.php:130
75
- #: my-calendar-locations.php:121
76
- msgid "Save Changes"
77
- msgstr "Gem ændringer"
78
-
79
- #: my-calendar-categories.php:143
80
- #: my-calendar.php:179
81
- msgid "Manage Categories"
82
- msgstr "Administrer kategorier"
83
-
84
- #: my-calendar-categories.php:155
85
- #: my-calendar-event-manager.php:643
86
- #: my-calendar-locations.php:147
87
- msgid "ID"
88
- msgstr "id"
89
-
90
- #: my-calendar-categories.php:157
91
- msgid "Category Color"
92
- msgstr "Kategorifarve"
93
-
94
- #: my-calendar-categories.php:159
95
- #: my-calendar-categories.php:173
96
- #: my-calendar-event-manager.php:704
97
- #: my-calendar-locations.php:149
98
- #: my-calendar-locations.php:161
99
- msgid "Edit"
100
- msgstr "Rediger"
101
-
102
- #: my-calendar-categories.php:160
103
- #: my-calendar-categories.php:179
104
- #: my-calendar-event-manager.php:73
105
- #: my-calendar-event-manager.php:704
106
- #: my-calendar-locations.php:150
107
- #: my-calendar-locations.php:162
108
- msgid "Delete"
109
- msgstr "Slet"
110
-
111
- #: my-calendar-categories.php:176
112
- #: my-calendar-event-manager.php:685
113
- #: my-calendar-settings.php:228
114
- #: my-calendar.php:652
115
- msgid "N/A"
116
- msgstr "Ikke oplyst"
117
 
118
- #: my-calendar-categories.php:179
119
- #: my-calendar-locations.php:162
120
- msgid "Are you sure you want to delete this category?"
121
- msgstr "Er du sikker på, at du vil slette denne kategori?"
122
 
123
- #: my-calendar-categories.php:190
124
- msgid "There are no categories in the database - something has gone wrong!"
125
- msgstr "Der er ingen kategorier i databasen - noget er gået galt!"
126
 
127
  #: my-calendar-event-manager.php:27
128
- #: my-calendar-settings.php:351
129
  msgid "My Calendar has identified that you have the Calendar plugin by Kieran O'Shea installed. You can import those events and categories into the My Calendar database. Would you like to import these events?"
130
  msgstr "My Calendar har registreret, at du har Kieran O'Sheas Calendar-plugin installeret. Du kan importere begivenheder og kategorier derfra til din My Calendar-database. Ønsker du at gøre dette?"
131
 
132
  #: my-calendar-event-manager.php:33
133
- #: my-calendar-settings.php:357
134
  msgid "Import from Calendar"
135
  msgstr "Importer fra Calendar"
136
 
@@ -146,32 +52,41 @@ msgstr "Slet begivenhed"
146
  msgid "Are you sure you want to delete this event?"
147
  msgstr "Er du sikker på, at du vil slette denne begivenhed?"
148
 
 
 
 
 
 
 
 
 
 
149
  #: my-calendar-event-manager.php:81
150
  msgid "You do not have permission to delete that event."
151
  msgstr "Du har ikke tilladelse til at slette denne begivenhed."
152
 
153
  #: my-calendar-event-manager.php:96
154
- #: my-calendar-event-manager.php:209
155
  msgid "You do not have permission to approve that event."
156
  msgstr "Du har ikke tilladelse til at godkende denne begivenhed."
157
 
158
  #: my-calendar-event-manager.php:110
159
- #: my-calendar-event-manager.php:223
160
  msgid "You do not have permission to reject that event."
161
  msgstr "Du har ikke tilladelse til at afvise denne begivenhed."
162
 
163
  #: my-calendar-event-manager.php:133
164
- #: my-calendar-event-manager.php:154
165
- #: my-calendar-event-manager.php:178
166
- #: my-calendar-event-manager.php:193
167
- #: my-calendar-event-manager.php:833
168
- #: my-calendar-event-manager.php:838
169
- #: my-calendar-event-manager.php:843
170
- #: my-calendar-event-manager.php:855
171
- #: my-calendar-event-manager.php:865
172
- #: my-calendar-event-manager.php:873
173
- #: my-calendar-event-manager.php:882
174
- #: my-calendar-event-manager.php:890
175
  msgid "Error"
176
  msgstr "Fejl"
177
 
@@ -183,1311 +98,1613 @@ msgstr "Beklager! Jeg kunne ikke tilføje den begivenhed til databasen."
183
  msgid "Event added. It will now show in your calendar."
184
  msgstr "Begivenhed tilføjet. Den vises nu i din kalender."
185
 
186
- #: my-calendar-event-manager.php:154
187
  msgid "Your event was not updated."
188
  msgstr "Din begivenhed blev ikke opdateret."
189
 
190
- #: my-calendar-event-manager.php:158
191
  msgid "Nothing was changed in that update."
192
  msgstr "Intet blev ændret i denne opdatering af begivenheden."
193
 
194
- #: my-calendar-event-manager.php:162
195
  msgid "Event updated successfully"
196
  msgstr "Begivenhed opdateret med succes"
197
 
198
- #: my-calendar-event-manager.php:168
199
  msgid "You do not have sufficient permissions to edit that event."
200
  msgstr "Du har ikke tilstrækkelige tilladelser til at redigere denne begivenhed."
201
 
202
- #: my-calendar-event-manager.php:178
203
  msgid "You can't delete an event if you haven't submitted an event id"
204
  msgstr "Du kan ikke redigere en begivenhed, hvis du ikke har sendt et begivenheds-id."
205
 
206
- #: my-calendar-event-manager.php:189
207
  msgid "Event deleted successfully"
208
  msgstr "Begivenhed slettet med succes"
209
 
210
- #: my-calendar-event-manager.php:193
211
  msgid "Despite issuing a request to delete, the event still remains in the database. Please investigate."
212
  msgstr "Selvom der blev sendt en forespørgsel om sletning, eksisterer begivenheden stadig i databasen. Undersøg venligst."
213
 
214
- #: my-calendar-event-manager.php:240
215
- #: my-calendar-event-manager.php:343
216
  msgid "Edit Event"
217
  msgstr "Rediger begivenhed"
218
 
219
- #: my-calendar-event-manager.php:244
220
- #: my-calendar-event-manager.php:253
221
  msgid "You must provide an event id in order to edit it"
222
  msgstr "Du skal angive et begivenheds-id for at kunne redigere den"
223
 
224
- #: my-calendar-event-manager.php:249
225
- #: my-calendar-event-manager.php:343
226
  msgid "Copy Event"
227
  msgstr "Kopier begivenhed"
228
 
229
- #: my-calendar-event-manager.php:259
230
  msgid "Add Event"
231
  msgstr "Tilføj begivenhed"
232
 
233
- #: my-calendar-event-manager.php:264
234
  msgid "Manage Events"
235
  msgstr "Administrer begivenheder"
236
 
237
- #: my-calendar-event-manager.php:315
238
  msgid "Sorry! That's an invalid event key."
239
  msgstr "Beklager! Det er et ugyldigt begivenheds-id."
240
 
241
- #: my-calendar-event-manager.php:320
242
  msgid "Sorry! We couldn't find an event with that ID."
243
  msgstr "Beklager! Vi kunne ikke finde en begivenhed med det id."
244
 
245
- #: my-calendar-event-manager.php:343
246
  msgid "Add an Event"
247
  msgstr "Tilføj en begivenhed"
248
 
249
- #: my-calendar-event-manager.php:347
250
  msgid "This event must be approved in order for it to appear on the calendar."
251
  msgstr "Denne begivenhed skal godkendes for at blive vist i kalenderen."
252
 
253
- #: my-calendar-event-manager.php:362
254
  msgid "Enter your Event Information"
255
  msgstr "Indtast oplysninger om begivenheden"
256
 
257
- #: my-calendar-event-manager.php:364
258
  msgid "Event Title"
259
  msgstr "Begivenhedens titel"
260
 
261
- #: my-calendar-event-manager.php:367
262
  msgid "Publish"
263
  msgstr "Publicer"
264
 
265
- #: my-calendar-event-manager.php:367
266
  msgid "You must approve this event to promote it to the calendar."
267
  msgstr "Du skal godkende denne begivenhed for at den bliver vist i kalenderen."
268
 
269
- #: my-calendar-event-manager.php:369
270
  msgid "An administrator must approve your new event."
271
  msgstr "En administrator skal godkende din nye begivenhed."
272
 
273
- #: my-calendar-event-manager.php:377
274
  msgid "Event Description (<abbr title=\"hypertext markup language\">HTML</abbr> allowed)"
275
  msgstr "Beskrivelse af begivenhed (<abbr title=\"hypertext markup language\">HTML</abbr> tilladt)"
276
 
277
- #: my-calendar-event-manager.php:382
278
  msgid "Event Short Description (<abbr title=\"hypertext markup language\">HTML</abbr> allowed)"
279
  msgstr "Kort beskrivelse af begivenhed (<abbr title=\"hypertext markup language\">HTML</abbr> tilladt)"
280
 
281
- #: my-calendar-event-manager.php:387
 
 
 
 
282
  msgid "Event Category"
283
  msgstr "Begivenheds kategori"
284
 
285
- #: my-calendar-event-manager.php:412
286
  msgid "Event Link (Optional)"
287
  msgstr "Begivenhedslink (valgfri)"
288
 
289
- #: my-calendar-event-manager.php:412
290
  msgid "This link will expire when the event passes."
291
  msgstr "Dette link udløber, når begivenheden er overstået."
292
 
293
- #: my-calendar-event-manager.php:416
294
  msgid "Start Date (YYYY-MM-DD)"
295
  msgstr "Startdato (ÅÅÅÅ-MM-DD)"
296
 
297
- #: my-calendar-event-manager.php:419
298
  msgid "End Date (YYYY-MM-DD) (Optional)"
299
  msgstr "Slutdato (ÅÅÅÅ-MM-DD) (Valgfri)"
300
 
301
- #: my-calendar-event-manager.php:422
302
  msgid "Time (hh:mm)"
303
  msgstr "Tidspunkt (tt:mm)"
304
 
305
- #: my-calendar-event-manager.php:434
306
  msgid "Optional, set blank if your event is an all-day event or does not happen at a specific time."
307
  msgstr "Valgfri, lad feltet være tomt, hvis begivenheden er en heldagsbegivenhed eller ikke foregår på et bestemt tidspunkt."
308
 
309
- #: my-calendar-event-manager.php:434
310
  msgid "Current time difference from GMT is "
311
  msgstr "Nuværende tidsforskel fra GMT er "
312
 
313
- #: my-calendar-event-manager.php:434
314
  msgid " hour(s)"
315
  msgstr " time(r)."
316
 
317
- #: my-calendar-event-manager.php:437
318
  msgid "End Time (hh:mm)"
319
  msgstr "Sluttidspunkt (tt:mm)"
320
 
321
- #: my-calendar-event-manager.php:447
322
  msgid "Optional. End times will not be displayed on events where this is not set."
323
  msgstr "Valgfri. Sluttidspunkter bliver ikke vist på begivenheder, hvor de ikke er valgt."
324
 
325
- #: my-calendar-event-manager.php:452
326
  msgid "Recurring Events"
327
  msgstr "Tilbagevendende begivenheder"
328
 
329
- #: my-calendar-event-manager.php:455
330
  msgid "Repeats for"
331
  msgstr "Gentages"
332
 
333
- #: my-calendar-event-manager.php:456
334
  msgid "Units"
335
  msgstr "gange"
336
 
337
- #: my-calendar-event-manager.php:457
338
  msgid "Does not recur"
339
  msgstr "Gentages ikke"
340
 
341
- #: my-calendar-event-manager.php:458
342
- #: my-calendar-event-manager.php:677
343
  msgid "Daily"
344
  msgstr "Dagligt"
345
 
346
- #: my-calendar-event-manager.php:459
347
- #: my-calendar-event-manager.php:678
348
  msgid "Weekly"
349
  msgstr "Ugentligt"
350
 
351
- #: my-calendar-event-manager.php:460
352
  msgid "Bi-weekly"
353
  msgstr "Hveranden uge"
354
 
355
- #: my-calendar-event-manager.php:461
356
  msgid "Date of Month (e.g., the 24th of each month)"
357
  msgstr "Dato i måneden (f.eks. den 24. i hver måned)"
358
 
359
- #: my-calendar-event-manager.php:462
360
  msgid "Day of Month (e.g., the 3rd Monday of each month)"
361
  msgstr "Dag i måneden (f.eks. den 3. mandag i hver måned)"
362
 
363
- #: my-calendar-event-manager.php:463
364
  msgid "Annually"
365
  msgstr "Årligt"
366
 
367
- #: my-calendar-event-manager.php:465
368
  msgid "Entering 0 means forever, if a unit is selected. If the recurrence unit is left at \"Does not recur,\" the event will not reoccur."
369
  msgstr "Indtastning af 0 betyder \"altid\", hvis en enhed er valgt. Hvis typen af gentagelse er sat til \"Gentages ikke\", vil begivenheden ikke gentages."
370
 
371
- #: my-calendar-event-manager.php:476
372
  msgid "Event Registration Status"
373
  msgstr "Status for tilmelding til begivenhed"
374
 
375
- #: my-calendar-event-manager.php:478
376
  msgid "Open"
377
  msgstr "Åben"
378
 
379
- #: my-calendar-event-manager.php:479
380
  msgid "Closed"
381
  msgstr "Lukket"
382
 
383
- #: my-calendar-event-manager.php:480
384
  msgid "Does not apply"
385
  msgstr "Ikke relevant"
386
 
387
- #: my-calendar-event-manager.php:483
388
  msgid "If this event recurs, it can only be registered for as a complete series."
389
  msgstr "Hvis denne begivenhed gentages, kan tilmelding kun ske til den samlede serie af begivenheder."
390
 
391
- #: my-calendar-event-manager.php:493
392
  #: my-calendar-locations.php:81
393
  msgid "Event Location"
394
  msgstr "Begivenhedens sted"
395
 
396
- #: my-calendar-event-manager.php:502
397
  msgid "Choose a preset location:"
398
  msgstr "Vælg et forudindstillet sted:"
399
 
400
- #: my-calendar-event-manager.php:516
401
  msgid "Add recurring locations for later use."
402
  msgstr "Tilføj tilbagevendende steder til senere brug."
403
 
404
- #: my-calendar-event-manager.php:525
405
  #: my-calendar-locations.php:83
406
  msgid "All location fields are optional: <em>insufficient information may result in an inaccurate map</em>."
407
  msgstr "Alle stedrelaterede felter er valgfri: <em>Utilstrækkelige oplysninger kan resultere i et upræcist kort</em>."
408
 
409
- #: my-calendar-event-manager.php:528
410
  #: my-calendar-locations.php:86
411
  msgid "Name of Location (e.g. <em>Joe's Bar and Grill</em>)"
412
  msgstr "Stednavn (f.eks. <em>Joe's Bar & Grill</em>)"
413
 
414
- #: my-calendar-event-manager.php:531
415
  #: my-calendar-locations.php:89
416
  msgid "Street Address"
417
  msgstr "Gadenavn"
418
 
419
- #: my-calendar-event-manager.php:534
420
  #: my-calendar-locations.php:92
421
  msgid "Street Address (2)"
422
  msgstr "Gadenavn (2)"
423
 
424
- #: my-calendar-event-manager.php:537
 
425
  #: my-calendar-locations.php:95
426
  msgid "City"
427
  msgstr "By"
428
 
429
- #: my-calendar-event-manager.php:537
 
430
  #: my-calendar-locations.php:95
431
  msgid "State/Province"
432
  msgstr "Stat/Provins"
433
 
434
- #: my-calendar-event-manager.php:537
 
435
  #: my-calendar-locations.php:95
436
  msgid "Postal Code"
437
  msgstr "Postnummer"
438
 
439
- #: my-calendar-event-manager.php:540
 
440
  #: my-calendar-locations.php:98
441
  msgid "Country"
442
  msgstr "Land"
443
 
444
- #: my-calendar-event-manager.php:543
445
  #: my-calendar-locations.php:101
446
  msgid "Initial Zoom"
447
  msgstr "Indledende Zoom"
448
 
449
- #: my-calendar-event-manager.php:545
450
  #: my-calendar-locations.php:103
451
  msgid "Neighborhood"
452
  msgstr "Nabolag"
453
 
454
- #: my-calendar-event-manager.php:546
455
  #: my-calendar-locations.php:104
456
  msgid "Small City"
457
  msgstr "Lille By"
458
 
459
- #: my-calendar-event-manager.php:547
460
  #: my-calendar-locations.php:105
461
  msgid "Large City"
462
  msgstr "Stor By"
463
 
464
- #: my-calendar-event-manager.php:548
465
  #: my-calendar-locations.php:106
466
  msgid "Greater Metro Area"
467
  msgstr "Større byområde"
468
 
469
- #: my-calendar-event-manager.php:549
470
  #: my-calendar-locations.php:107
471
  msgid "State"
472
  msgstr "Kommune"
473
 
474
- #: my-calendar-event-manager.php:550
475
  #: my-calendar-locations.php:108
476
  msgid "Region"
477
  msgstr "Region"
478
 
479
- #: my-calendar-event-manager.php:554
480
  #: my-calendar-locations.php:112
481
  msgid "GPS Coordinates (optional)"
482
  msgstr "GPS-koordinater (valgfri)"
483
 
484
- #: my-calendar-event-manager.php:556
485
  msgid "If you supply GPS coordinates for your location, they will be used in place of any other address information to provide your map link."
486
  msgstr "Hvis du oplyser GPS-koordinater for dit sted, bliver de brugt i stedet for alle de andre adresseoplysninger til at oprette dit link til kortet."
487
 
488
- #: my-calendar-event-manager.php:559
489
  #: my-calendar-locations.php:117
490
  msgid "Longitude"
491
  msgstr "Længdegrad"
492
 
493
- #: my-calendar-event-manager.php:559
494
  #: my-calendar-locations.php:117
495
  msgid "Latitude"
496
  msgstr "Breddegrad"
497
 
498
- #: my-calendar-event-manager.php:567
499
  msgid "Save Event"
500
  msgstr "Gem begivenhed"
501
 
502
- #: my-calendar-event-manager.php:644
 
 
 
 
 
 
503
  #: my-calendar-widgets.php:37
504
  #: my-calendar-widgets.php:122
505
  msgid "Title"
506
  msgstr "Titel"
507
 
508
- #: my-calendar-event-manager.php:645
509
  msgid "Link"
510
  msgstr "Link"
511
 
512
- #: my-calendar-event-manager.php:646
513
  #: my-calendar-locations.php:148
514
  msgid "Location"
515
  msgstr "Sted"
516
 
517
- #: my-calendar-event-manager.php:647
518
  msgid "Description"
519
  msgstr "Beskrivelse"
520
 
521
- #: my-calendar-event-manager.php:648
522
  msgid "Start Date"
523
  msgstr "Startdato"
524
 
525
- #: my-calendar-event-manager.php:649
526
  msgid "Recurs"
527
  msgstr "Gentages"
528
 
529
- #: my-calendar-event-manager.php:650
530
- #: my-calendar-settings.php:204
531
- #: my-calendar-settings.php:213
532
  msgid "Author"
533
  msgstr "Forfatter"
534
 
535
- #: my-calendar-event-manager.php:651
536
  msgid "Category"
537
  msgstr "Kategori"
538
 
539
- #: my-calendar-event-manager.php:652
540
  msgid "Edit / Delete"
541
  msgstr "Rediger / Slet"
542
 
543
- #: my-calendar-event-manager.php:676
544
  msgid "Never"
545
  msgstr "Aldrig"
546
 
547
- #: my-calendar-event-manager.php:679
548
  msgid "Bi-Weekly"
549
  msgstr "Hveranden uge"
550
 
551
- #: my-calendar-event-manager.php:680
552
  msgid "Monthly (by date)"
553
  msgstr "Månedlig (efter dato)"
554
 
555
- #: my-calendar-event-manager.php:681
556
  msgid "Monthly (by day)"
557
  msgstr "Månedlig (efter dag)"
558
 
559
- #: my-calendar-event-manager.php:682
560
  msgid "Yearly"
561
  msgstr "Årligt"
562
 
563
- #: my-calendar-event-manager.php:686
 
 
 
 
 
 
 
564
  msgid "Forever"
565
  msgstr "Altid"
566
 
567
- #: my-calendar-event-manager.php:687
568
  msgid "Times"
569
  msgstr "gange"
570
 
571
- #: my-calendar-event-manager.php:702
572
  msgid "Copy"
573
  msgstr "Kopier"
574
 
575
- #: my-calendar-event-manager.php:705
 
 
 
 
 
 
 
 
576
  msgid "Not editable."
577
  msgstr "Ikke redigerbar."
578
 
579
- #: my-calendar-event-manager.php:711
580
  msgid "Reject"
581
  msgstr "Afvis"
582
 
583
- #: my-calendar-event-manager.php:713
584
  msgid "Approve"
585
  msgstr "Godkend"
586
 
587
- #: my-calendar-event-manager.php:718
588
  msgid "Approved"
589
  msgstr "Godkendt"
590
 
591
- #: my-calendar-event-manager.php:720
592
  msgid "Rejected"
593
  msgstr "Afvist"
594
 
595
- #: my-calendar-event-manager.php:733
 
 
 
 
596
  msgid "There are no events in the database!"
597
  msgstr "Der er ingen begivenheder i databasen!"
598
 
599
- #: my-calendar-event-manager.php:833
600
  msgid "Your event end date must be either after or the same as your event begin date"
601
  msgstr "Din begivenheds slutdato må enten ligge efter eller være lig med begivenhedens startdato."
602
 
603
- #: my-calendar-event-manager.php:838
604
  msgid "Your date formatting is correct but one or more of your dates is invalid. Check for number of days in month and leap year related errors."
605
  msgstr "Din datoformattering er korrekt, men en eller flere af dine datoer er ugyldige. Tjek for fejl relateret til enten antal dage i måneden eller skudår."
606
 
607
- #: my-calendar-event-manager.php:843
608
  msgid "Both start and end dates must be in the format YYYY-MM-DD"
609
  msgstr "Både start- og slutdato skal være i formatet ÅÅÅÅ-MM-DD"
610
 
611
- #: my-calendar-event-manager.php:855
612
  msgid "The time field must either be blank or be entered in the format hh:mm"
613
  msgstr "Feltet for tidspunkt skal enten være blankt eller indtastes i formatet tt:mm"
614
 
615
- #: my-calendar-event-manager.php:865
616
  msgid "The end time field must either be blank or be entered in the format hh:mm"
617
  msgstr "Feltet for slutdato skal enten være blankt eller indtastes i formatet tt:mm"
618
 
619
- #: my-calendar-event-manager.php:873
620
  msgid "The URL entered must either be prefixed with http:// or be completely blank"
621
  msgstr "Den indtastede URL skal enten være foranstillet med http:// eller være helt blank"
622
 
623
- #: my-calendar-event-manager.php:882
624
  msgid "The event title must be between 1 and 255 characters in length."
625
  msgstr "Begivenhedens titel skal være mellem 1 og 255 tegn i længde."
626
 
627
- #: my-calendar-event-manager.php:890
628
  msgid "The repetition value must be 0 unless a type of recurrence is selected."
629
  msgstr "Værdien for gentagelse skal være 0, medmindre der er er valgt en type af gentagelse."
630
 
631
- #: my-calendar-help.php:6
632
- msgid "How to use My Calendar"
633
- msgstr "Sådan bruger du My Calendar"
634
 
635
- #: my-calendar-help.php:11
636
- msgid "Shortcode Syntax"
637
- msgstr "Shortcode-syntaks"
638
 
639
- #: my-calendar-help.php:14
640
- msgid "These shortcodes can be used in Posts, Pages, or in text widgets."
641
- msgstr "Disse shortcodes kan bruges i Indlæg, Sider eller i text widgets."
642
 
643
- #: my-calendar-help.php:18
644
- msgid "This basic shortcode will show the calendar on a post or page including all categories and the category key, in a traditional month-by-month format."
645
- msgstr "Denne basale shortcode vil vise kalenderen i et indlæg eller en side, inklusiv alle kategorier og kategorinøglen, i et traditionelt måned-for-måned format."
646
 
647
- #: my-calendar-help.php:21
648
- msgid "The shortcode supports three attributes, <code>category</code>, <code>format</code> and <code>showkey</code>. There two alternate option for <code>format</code> &mdash; <code>list</code> &mdash; which will show the calendar in a list format, skipping dates without any events, and <code>mini</code>, which will display the calendar in a form more suitable to being displayed in smaller spaces, such as the sidebar. The <code>category</code> attribute requires either the name of or ID number one of your event categories (the name is case-sensitive). This will show a calendar only including events in that category. Multiple categories can be specified by separating the category names or IDs using the pipe character: <code>|</code>. Setting <code>showkey</code> to <code>no</code> will prevent the category key from being displayed &mdash; this can be useful with single-category output."
649
- msgstr "Denne shortcode understøtter tre attributter, <code>category</code>, <code>format</code> og <code>showkey</code>. Der er to valgmuligheder for <code>format</code> &mdash; <code>list</code> &mdash; som viser kalenderen i et listeformat, hvor dage uden begivenheder springes over, og <code>mini</code>, som viser kalenderen i en form, der passer bedre ind i små områder, som f.eks. en sidebar. Attributten <code>category</code> kræver en af dine begivenhedskategoriers navn eller ID-nummer (i navnet skelnes der mellem store og små bogstaver). Dette viser en kalender, der kun inkluderer begivenheder i den angivne kategori. Flere kategorier kan specificeres ved at adskille kategorinavnene eller ID-numrene med \"pipe\"-tegnet: <code>|</code>. Sætter man <code>showkey</code> til <code>no</code>, forhindrer man kategorinøglen i at blive vist &mdash; dette kan være brugbart ved enkeltkategorioutput."
650
 
651
- #: my-calendar-help.php:24
652
- msgid "This shortcode displays the output of the Upcoming Events widget. Without attributes, it will display using the settings in your widget; the attributes are used to override the widget settings. The <code>before</code> and <code>after</code> attributes should be numbers; the <code>type</code> attribute can be either \"event\" or \"days\", and the <code>category</code> attribute works the same way as the category attribute on the main calendar shortcode. Templates work using the template codes listed below."
653
- msgstr "Denne shortcode viser outputtet fra widgetten Kommende Begivenheder. Uden attributter vises den med indstillingerne fra widgetten; attributterne bruges til at tilsidesætte widgettens indstillinger. Attributterne <code>before</code> og <code>after</code> skal være tal; attributten <code>type</code> kan være enten \"event\" eller \"days\", og attributten <code>category</code> fungerer på samme måde som kategori-attributten i hovedkalenderens shortcode. Skabeloner fungerer vha. skabelonkoderne listet herunder."
654
 
655
- #: my-calendar-help.php:27
656
- msgid "Predictably enough, this shortcode displays the output of the Today's Events widget, with two configurable attributes: category and template."
657
- msgstr "Forudsigeligt nok viser denne shortcode outputtet fra widgetten Dagens Begivenheder, med to indstillelige attributter: <code>category</code> og <code>template</code>."
658
 
659
- #: my-calendar-help.php:34
660
- msgid "Category Icons"
661
- msgstr "Kategoriikoner"
662
 
663
- #: my-calendar-help.php:37
664
- msgid "My Calendar is designed to manage multiple calendars. The basis for these calendars are categories; you can easily setup a calendar page which includes all categories, or you can dedicate separate pages to calendars in each category. For an example, this might be useful for you in managing the tour calendars for multiple bands; event calendars for a variety of locations, etc."
665
- msgstr "My Calendar er designet til at kunne administrere flere kalendere. Udgangspunktet for dette er kategorier; du kan let opsætte en kalenderside, som inkluderer alle kategorier, eller du kan dedikere separate sider til kalendere i hver kategori. Dette kunne f.eks. være relevant, hvis du skulle administrere tourkalenderne for flere bands eller begivenhedskalenderne for en række forskellige steder."
666
 
667
- #: my-calendar-help.php:40
668
- msgid "The pre-installed category icons may not be especially useful for your needs or design. I'm assuming that you're going to upload your own icons -- all you need to do is upload them to the plugin's icons folder, and they'll be available for immediate use, or place them in a folder at \"my-calendar-custom\" to avoid having them overwritten by upgrades."
669
- msgstr "De præinstallerede kategoriikoner er måske ikke specielt velegnede til dit formål eller design. Jeg går ud fra, at du gerne vil uploade dine egne ikoner &mdash; alt du behøver at gøre er at uploade dem til mappen icons i pluginnets mappe i wp-content/plugins. Derefter er de klar til brug med det samme. Du kan også placere dem i en mappe kaldet \"my-calendar-custom\" for at undgå, at de bliver overskrevet ved opgradering af pluginnet."
670
 
671
- #: my-calendar-help.php:40
672
- msgid "Your icons folder is:"
673
- msgstr "Din mappe til ikoner er:"
674
 
675
- #: my-calendar-help.php:40
676
- msgid "You can alternately place icons in:"
677
- msgstr "Du kan alternativt placere ikoner i:"
678
 
679
- #: my-calendar-help.php:48
680
- msgid "Widget Templating"
681
- msgstr "Widgetskabeloner"
682
 
683
- #: my-calendar-help.php:51
684
- msgid "These codes are available in calendar widgets to create your own custom calendar format."
685
- msgstr "Disse koder er tilgængelige i kalenderwidgets med henblik på at kunne skabe dit eget tilpassede kalenderformat."
686
 
687
- #: my-calendar-help.php:55
688
- msgid "Displays the name of the category the event is in."
689
- msgstr "Viser navnet kategorien, som begivenheden er i."
690
 
691
- #: my-calendar-help.php:58
692
- msgid "Displays the title of the event."
693
- msgstr "Viser begivenhedens titel."
 
694
 
695
- #: my-calendar-help.php:61
696
- msgid "Displays the start time for the event."
697
- msgstr "Viser begivenhedens starttidspunkt."
 
698
 
699
- #: my-calendar-help.php:64
700
- msgid "Displays the date on which the event begins."
701
- msgstr "Viser begivenhedens startdato."
 
702
 
703
- #: my-calendar-help.php:67
704
- msgid "Displays the date on which the event ends."
705
- msgstr "Viser begivenhedens slutdato."
 
706
 
707
- #: my-calendar-help.php:70
708
- msgid "Displays the time at which the event ends."
709
- msgstr "Viser begivenhedens sluttidspunkt."
710
 
711
- #: my-calendar-help.php:73
712
- msgid "Displays the WordPress author who posted the event."
713
- msgstr "Viser den WordPress-forfatter, der publicerede begivenheden."
714
 
715
- #: my-calendar-help.php:76
716
- msgid "Displays the URL provided for the event."
717
- msgstr "Viser URL'en, der er indtastet i begivenhedens oplysninger."
718
 
719
- #: my-calendar-help.php:79
720
- msgid "Displays the description of the event."
721
- msgstr "Viser beskrivelsen af begivenhden."
722
 
723
- #: my-calendar-help.php:82
724
- msgid "Displays title of the event as a link if a URL is present, or the title alone if no URL is available."
725
- msgstr "Viser begivenhedens titel som et link, hvis en URL er tilgængelig, eller titlen alene, hvis en URL ikke er tilgængelig."
726
 
727
- #: my-calendar-help.php:85
728
- msgid "Displays the name of the location of the event."
729
- msgstr "Viser navnet begivenhedens sted."
730
 
731
- #: my-calendar-help.php:88
732
- msgid "Displays the first line of the site address."
733
- msgstr "Viser første linie af stedets gadenavn."
734
 
735
- #: my-calendar-help.php:91
736
- msgid "Displays the second line of the site address."
737
- msgstr "Viser anden linie af stedets gadenavn."
738
 
739
- #: my-calendar-help.php:94
740
- msgid "Displays the city for the event."
741
- msgstr "Viser bynavnet i begivenhedens stedoplysninger."
742
-
743
- #: my-calendar-help.php:97
744
- msgid "Displays the state for the event."
745
- msgstr "Viser kommunen i begivenhedens stedoplysninger."
746
-
747
- #: my-calendar-help.php:100
748
- msgid "Displays the postcode for the event."
749
- msgstr "Viser postnummeret i begivenhedens stedoplysninger."
750
-
751
- #: my-calendar-help.php:103
752
- msgid "Displays the country for the event location."
753
- msgstr "Viser landet i begivenhedens stedoplysninger."
754
-
755
- #: my-calendar-help.php:106
756
- msgid "Displays the event address in <a href=\"http://microformats.org/wiki/hcard\">hcard</a> format."
757
- msgstr "Viser begivenhedens adresse i <a href=\"http://microformats.org/wiki/hcard\">hcard</a> format."
758
-
759
- #: my-calendar-help.php:109
760
- msgid "Displays a link to a Google Map of the event, if sufficient address information is available. If not, will be empty."
761
- msgstr "Viser et link til et Google Kort over begivenhedens sted, hvis tilstrækkelige adresseinformationer er tilgængelig. Hvis ikke, vises der ikke et kort."
762
-
763
- #: my-calendar-help.php:112
764
- msgid "Displays text indicating whether registration for the event is currently open or closed; displays nothing if that choice is selected in the event."
765
- msgstr "Viser tekst, der indikerer om der er åbent eller lukket for tilmelding til begivenheden; viser ikke noget, hvis dette er valgt i indstillingerne for begivenheden."
766
-
767
- #: my-calendar-help.php:115
768
- msgid "Displays the short version of the event description."
769
- msgstr "Viser den korte beskrivelse af begivenheden."
770
-
771
- #: my-calendar-help.php:118
772
- msgid "Displays the current status of the event: either \"Published\" or \"Reserved\" - primary used in email templates."
773
- msgstr "Viser begivenhedens aktuelle status: Enten \"Publiceret\" eller \"Reserveret\" - bruges primært i e-mail-skabeloner."
774
-
775
- #: my-calendar-locations.php:22
776
- msgid "Location added successfully"
777
- msgstr "Sted tilføjet med succes"
778
-
779
- #: my-calendar-locations.php:24
780
- msgid "Location could not be added to database"
781
- msgstr "Stedet kunne ikke føjes til databasen."
782
-
783
- #: my-calendar-locations.php:30
784
- msgid "Location deleted successfully"
785
- msgstr "Sted slettet med succes"
786
-
787
- #: my-calendar-locations.php:32
788
- msgid "Location could not be deleted"
789
- msgstr "Stedet kunne ikke slettes"
790
-
791
- #: my-calendar-locations.php:43
792
- msgid "Location could not be edited."
793
- msgstr "Stedet kunne ikke redigeres."
794
-
795
- #: my-calendar-locations.php:45
796
- msgid "Location was not changed."
797
- msgstr "Stedet blev ikke ændret."
798
-
799
- #: my-calendar-locations.php:47
800
- msgid "Location edited successfully"
801
- msgstr "Sted redigeret med succes"
802
-
803
- #: my-calendar-locations.php:59
804
- msgid "Add New Location"
805
- msgstr "Tilføj nyt sted"
806
-
807
- #: my-calendar-locations.php:61
808
- msgid "Edit Location"
809
- msgstr "Rediger sted"
810
-
811
- #: my-calendar-locations.php:66
812
- msgid "Location Editor"
813
- msgstr "Redigering af steder"
814
-
815
- #: my-calendar-locations.php:114
816
- msgid "If you supply GPS coordinates for your location, they will be used in place of any other address information to pinpoint your location."
817
- msgstr "Hvis du oplyser GPS-koordinater for dit sted, bliver de brugt i stedet for alle de andre adresseoplysninger til at identificere stedet."
818
-
819
- #: my-calendar-locations.php:121
820
- msgid "Add Location"
821
- msgstr "Tilføj sted"
822
-
823
- #: my-calendar-locations.php:135
824
- #: my-calendar.php:180
825
- msgid "Manage Locations"
826
- msgstr "Administrer steder"
827
-
828
- #: my-calendar-locations.php:170
829
- msgid "There are no locations in the database yet!"
830
- msgstr "Der er endnu ingen steder i databasen!"
831
-
832
- #: my-calendar-locations.php:174
833
- msgid "Please note: editing or deleting locations stored for re-use will have no effect on any event previously scheduled at that location. The location database exists purely as a shorthand method to enter frequently used locations into event records."
834
- msgstr "Bemærk: Redigering eller sletning af steder gemt til genbrug, har ikke indvirkning på tidligere planlagte begivenheder på det sted. Steddatabasen eksisterer kun som en hurtig metode til indtastning af ofte brugte steder i begivenhedsoplysninger."
835
-
836
- #: my-calendar-settings.php:67
837
- msgid "Categories imported successfully."
838
- msgstr "Kategorier importeret med succes"
839
-
840
- #: my-calendar-settings.php:69
841
- msgid "Categories not imported."
842
- msgstr "Kategorier blev ikke importeret"
843
-
844
- #: my-calendar-settings.php:72
845
- msgid "Events imported successfully."
846
- msgstr "Begivenheder importeret med succes"
847
-
848
- #: my-calendar-settings.php:74
849
- msgid "Events not imported."
850
- msgstr "Begivenheder blev ikke importeret"
851
-
852
- #: my-calendar-settings.php:165
853
- msgid "Settings saved"
854
- msgstr "Indstillinger gemt"
855
-
856
- #: my-calendar-settings.php:188
857
- msgid "My Calendar Options"
858
- msgstr "My Calendar indstillinger"
859
-
860
- #: my-calendar-settings.php:195
861
- msgid "Calendar Settings"
862
- msgstr "Kalenderindstillinger"
863
-
864
- #: my-calendar-settings.php:199
865
- msgid "Calendar Options: Management"
866
- msgstr "Kalenderindstillinger: Administration"
867
-
868
- #: my-calendar-settings.php:201
869
- msgid "Choose the lowest user group that may create events"
870
- msgstr "Vælg den laveste brugergruppe, der må oprette begivenheder"
871
-
872
- #: my-calendar-settings.php:202
873
- #: my-calendar-settings.php:211
874
- msgid "Subscriber"
875
- msgstr "Abonnent"
876
-
877
- #: my-calendar-settings.php:203
878
- #: my-calendar-settings.php:212
879
- msgid "Contributor"
880
- msgstr "Bidragyder"
881
-
882
- #: my-calendar-settings.php:205
883
- #: my-calendar-settings.php:214
884
- msgid "Editor"
885
- msgstr "Redaktør"
886
-
887
- #: my-calendar-settings.php:206
888
- #: my-calendar-settings.php:215
889
- msgid "Administrator"
890
- msgstr "Administrator"
891
-
892
- #: my-calendar-settings.php:210
893
- msgid "Choose the lowest user group that may approve events"
894
- msgstr "Vælg den laveste brugergruppe, der må godkende begivenheder"
895
-
896
- #: my-calendar-settings.php:219
897
- msgid "Enable approval options."
898
- msgstr "Aktiver indstillinger for godkendelse."
899
-
900
- #: my-calendar-settings.php:223
901
- msgid "Calendar Options: Customize Text"
902
- msgstr "Kalenderindstillinger: Tilret tekst"
903
-
904
- #: my-calendar-settings.php:225
905
- msgid "Show Heading for Calendar"
906
- msgstr "Vis overskrift i kalender"
907
-
908
- #: my-calendar-settings.php:228
909
- msgid "Label for events without a specific time"
910
- msgstr "Etiket for begivenheder uden et specifikt tidspunkt"
911
-
912
- #: my-calendar-settings.php:231
913
- msgid "Previous events link text"
914
- msgstr "Linktekst for tidligere begivenheder"
915
-
916
- #: my-calendar-settings.php:231
917
- msgid "Previous Events"
918
- msgstr "Tidligere begivenheder"
919
-
920
- #: my-calendar-settings.php:234
921
  msgid "Next events link text"
922
  msgstr "Linktekst for kommende begivenheder"
923
 
924
- #: my-calendar-settings.php:234
925
  msgid "Next Events"
926
  msgstr "Kommende begivenheder"
927
 
928
- #: my-calendar-settings.php:237
929
  msgid "Text when events are open"
930
  msgstr "Tekst, der vises når der er åbent for tilmelding"
931
 
932
- #: my-calendar-settings.php:237
933
  msgid "Registration is open"
934
  msgstr "Der er åbent for tilmelding"
935
 
936
- #: my-calendar-settings.php:240
937
  msgid "Text when events are closed"
938
  msgstr "Tekst, der vises, når der er lukket for tilmelding"
939
 
940
- #: my-calendar-settings.php:240
941
  msgid "Registration is closed"
942
  msgstr "Der er lukket for tilmelding"
943
 
944
- #: my-calendar-settings.php:243
945
  msgid "Additional caption text"
946
  msgstr "Yderligere forklarende tekst"
947
 
948
- #: my-calendar-settings.php:243
949
  msgid "The calendar caption is the text containing the displayed month and year in either list or calendar format. This text will be displayed following that existing text."
950
  msgstr "Den forklarende tekst er den tekst, der indeholder den viste måned og år i enten liste- eller kalendervisning. Den her indtastede tekst vises efter den eksisterende tekst."
951
 
952
- #: my-calendar-settings.php:247
 
 
 
 
 
 
 
 
953
  msgid "Calendar Options: Output"
954
  msgstr "Kalenderindstillinger: Output"
955
 
956
- #: my-calendar-settings.php:249
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
957
  msgid "In list mode, show how many months of events at a time:"
958
  msgstr "Hvor mange måneders begivenheder skal vises i listevisning ad gangen:"
959
 
960
- #: my-calendar-settings.php:252
961
  msgid "Date format in list mode"
962
  msgstr "Datoformat i listevisning"
963
 
964
- #: my-calendar-settings.php:253
965
  msgid "Date format uses the same syntax as the <a href=\"http://php.net/date\">PHP <code>date()</code> function</a>. Save options to update sample output."
966
  msgstr "Datoformat bruger samme syntaks som <a href=\"http://php.net/date\">PHP <code>date()</code>-funktionen</a>. Gem indstillinger for at opdatere test-outputtet."
967
 
968
- #: my-calendar-settings.php:256
969
  msgid "Do you want to display the author name on events?"
970
  msgstr "Ønsker du at vise forfatterens navn i begivenheder?"
971
 
972
- #: my-calendar-settings.php:259
973
  msgid "Display a jumpbox for changing month and year quickly?"
974
  msgstr "Vis en popup-boks til hurtig ændring af måned og år?"
975
 
976
- #: my-calendar-settings.php:262
977
  msgid "Hide category icons in output"
978
  msgstr "Skjul kategoriikoner i output"
979
 
980
- #: my-calendar-settings.php:265
981
  msgid "Show Link to Google Map (when sufficient address information is available.)"
982
  msgstr "Vis link til Google Maps (når tilstrækkelige adresseoplysninger er tilgængelige)"
983
 
984
- #: my-calendar-settings.php:268
985
  msgid "Show Event Address in Details"
986
  msgstr "Vis begivenhedsadresse i detaljer"
987
 
988
- #: my-calendar-settings.php:271
989
  msgid "Show short description field on calendar."
990
  msgstr "Vis den korte beskrivelse i kalenderen."
991
 
992
- #: my-calendar-settings.php:274
993
  msgid "Show full description field on calendar."
994
  msgstr "Vis den fulde beskrivelse i kalenderen."
995
 
996
- #: my-calendar-settings.php:277
997
  msgid "Links associated with events will automatically expire after the event has passed."
998
  msgstr "Links associeret med begivenheder vil automatisk udløbe efter en begivenhed er overstået."
999
 
1000
- #: my-calendar-settings.php:280
1001
  msgid "Show current availability status of events."
1002
  msgstr "Vis begivenhedernes aktuelle status for tilgængelighed."
1003
 
1004
- #: my-calendar-settings.php:283
1005
  msgid "If a recurring event is scheduled for a date which doesn't exist (such as the 5th Wednesday in February), move it back one week."
1006
  msgstr "Hvis en tilbagevendende begivenhed er planlagt til en dato, der ikke eksisterer (f.eks. den 5. onsdag i februar), flyt den da én uge tilbage."
1007
 
1008
- #: my-calendar-settings.php:284
1009
  msgid "If this option is unchecked, recurring events which fall on dates which don't exist will simply not be shown on the calendar."
1010
  msgstr "Hvis denne indstilling ikke er markeret, vil tilbagevendende begivenheder, der falder på ikke-eksisterende datoer, ikke blive vist på kalenderen."
1011
 
1012
- #: my-calendar-settings.php:288
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1013
  msgid "Calendar Options: Input"
1014
  msgstr "Kalenderindstillinger: Output"
1015
 
1016
- #: my-calendar-settings.php:291
1017
  msgid "Show Event Location Dropdown Menu"
1018
  msgstr "Vis begivenhedssted i dropdownmenu"
1019
 
1020
- #: my-calendar-settings.php:291
1021
  msgid "Show Event Short Description field"
1022
  msgstr "Vis feltet \"Kort beskrivelse af begivenhed\""
1023
 
1024
- #: my-calendar-settings.php:291
1025
  msgid "Show Event Description Field"
1026
  msgstr "Vis feltet \"Beskrivelse af begivenhed\""
1027
 
1028
- #: my-calendar-settings.php:291
1029
  msgid "Show Event Category field"
1030
  msgstr "Begivenheds kategori"
1031
 
1032
- #: my-calendar-settings.php:291
1033
  msgid "Show Event Link field"
1034
  msgstr "Vis feltet \"Begivenhedslink\""
1035
 
1036
- #: my-calendar-settings.php:291
1037
  msgid "Show Event Recurrence Options"
1038
  msgstr "Vis indstillinger for tilbagevendende begivenheder"
1039
 
1040
- #: my-calendar-settings.php:291
1041
  msgid "Show event registration options"
1042
  msgstr "Vis indstillinger for tilmelding til begivenheder"
1043
 
1044
- #: my-calendar-settings.php:291
1045
  msgid "Show event location fields"
1046
  msgstr "Begivenhedens sted"
1047
 
1048
- #: my-calendar-settings.php:300
1049
  msgid "Administrators see all input options"
1050
  msgstr "Lad administratorer se alle inputmuligheder"
1051
 
1052
- #: my-calendar-settings.php:304
1053
- msgid "Calendar Options: Style"
1054
- msgstr "Kalenderindstillinger: Output"
1055
-
1056
- #: my-calendar-settings.php:306
1057
- msgid "Default usage of category colors."
1058
- msgstr "Standard brug af kategorifarver"
1059
-
1060
- #: my-calendar-settings.php:307
1061
- msgid "Apply category colors to event titles as a font color."
1062
- msgstr "Brug kategorifarver som skriftfarve i begivenhedstitler."
1063
 
1064
- #: my-calendar-settings.php:308
1065
- msgid "Apply category colors to event titles as a background color."
1066
- msgstr "Brug kategorifarver som baggrundsfarve i begivenhedstitler"
1067
 
1068
- #: my-calendar-settings.php:313
1069
  msgid "Calendar Options: Email Notifications"
1070
  msgstr "Kalenderindstillinger: Notifikationer pr. e-mail"
1071
 
1072
- #: my-calendar-settings.php:317
1073
  msgid "Send Email Notifications when new events are scheduled or reserved."
1074
  msgstr "Send notifikationer pr. e-mail, når nye begivenheder publiceres eller reserveres."
1075
 
1076
- #: my-calendar-settings.php:323
1077
  msgid "Notification messages are sent to: "
1078
  msgstr "Notifikationer pr. e-mail sendes til: "
1079
 
1080
- #: my-calendar-settings.php:327
1081
  msgid "Email subject"
1082
  msgstr "E-mail emne"
1083
 
1084
- #: my-calendar-settings.php:327
1085
  msgid "New event Added"
1086
  msgstr "Ny begivenhed tilføjet"
1087
 
1088
- #: my-calendar-settings.php:331
1089
  msgid "Message Body"
1090
  msgstr "E-mail indhold"
1091
 
1092
- #: my-calendar-settings.php:331
1093
  msgid "New Event:"
1094
  msgstr "Ny begivenhed:"
1095
 
1096
- #: my-calendar-settings.php:332
1097
- msgid "Shortcode Help"
1098
- msgstr "Hjælp til shortcodes"
1099
-
1100
- #: my-calendar-settings.php:332
1101
- msgid "All template shortcodes are available."
1102
- msgstr "Alle skabelon-shortcodes er tilgængelige."
1103
-
1104
- #: my-calendar-settings.php:341
1105
- msgid "Save Settings"
1106
- msgstr "Gem indstillinger"
1107
-
1108
- #: my-calendar-styles.php:46
1109
- msgid "Style Settings saved"
1110
- msgstr "Style-indstillinger Gemt"
1111
-
1112
- #: my-calendar-styles.php:70
1113
- msgid "My Calendar Styles"
1114
- msgstr "My Calendar Styles"
1115
-
1116
- #: my-calendar-styles.php:74
1117
- msgid "Calendar Style Settings"
1118
- msgstr "Kalenders style-indstillinger"
1119
-
1120
- #: my-calendar-styles.php:78
1121
- msgid "Show CSS &amp; JavaScript only on these pages (comma separated page IDs)"
1122
- msgstr "Vis kun CSS & Javascript på disse sider (kommaseparerede side-id'er)"
1123
 
1124
- #: my-calendar-styles.php:81
1125
- msgid "CSS Style Options"
1126
- msgstr "CSS (stylesheets)"
1127
 
1128
- #: my-calendar-styles.php:83
1129
- msgid "Reset the My Calendar stylesheet to the default"
1130
- msgstr "Nulstil My Calendar stylesheets til default"
1131
 
1132
- #: my-calendar-styles.php:83
1133
- msgid "Disable My Calendar Stylesheet"
1134
- msgstr "Deaktiver My Calendar stylesheet"
1135
 
1136
- #: my-calendar-styles.php:86
1137
- msgid "Edit the stylesheet for My Calendar"
1138
- msgstr "Rediger My Calendars stylesheet"
1139
 
1140
- #: my-calendar-styles.php:89
1141
- #: my-calendar-styles.php:101
1142
- #: my-calendar-styles.php:113
1143
- #: my-calendar-styles.php:125
1144
- msgid "Save"
1145
- msgstr "Gem"
1146
 
1147
- #: my-calendar-styles.php:93
1148
- msgid "Calendar Behaviors: Calendar View"
1149
- msgstr "Kalenderopførsel: Kalendervisning"
1150
 
1151
- #: my-calendar-styles.php:95
1152
- msgid "Reset the My Calendar Calendar Javascript"
1153
- msgstr "Nulstil My Calendars kalenderjavascript"
1154
 
1155
- #: my-calendar-styles.php:95
1156
- msgid "Disable Calendar Javascript Effects"
1157
- msgstr "Deaktiver Kalenderens javascripteffekter"
1158
 
1159
- #: my-calendar-styles.php:98
1160
- msgid "Edit the jQuery scripts for My Calendar in Calendar format"
1161
- msgstr "Rediger jQuery-scripts til My Calendar i kalendervisning."
 
1162
 
1163
- #: my-calendar-styles.php:105
1164
- msgid "Calendar Behaviors: List View"
1165
- msgstr "Kalenderopførsel: Listevisning"
1166
 
1167
- #: my-calendar-styles.php:107
1168
- msgid "Reset the My Calendar List Javascript"
1169
- msgstr "Nulstil My Calendars listevisningsjavascript"
1170
 
1171
- #: my-calendar-styles.php:107
1172
- msgid "Disable List Javascript Effects"
1173
- msgstr "Deaktiver listevisningens javascripteffekter"
1174
 
1175
- #: my-calendar-styles.php:110
1176
- msgid "Edit the jQuery scripts for My Calendar in List format"
1177
- msgstr "Rediger jQuery-scripts til My Calendar i listevisning"
1178
 
1179
- #: my-calendar-styles.php:117
1180
- msgid "Calendar Behaviors: Mini Calendar View"
1181
- msgstr "Kalenderopførsel: Minikalendervisning"
1182
 
1183
- #: my-calendar-styles.php:119
1184
- msgid "Reset the My Calendar Mini Format Javascript"
1185
- msgstr "Nulstil My Calendars javascript til minikalendervisning"
1186
 
1187
- #: my-calendar-styles.php:119
1188
- msgid "Disable Mini Javascript Effects"
1189
- msgstr "Deaktiver minikalendervisningens javascripteffekter"
1190
 
1191
- #: my-calendar-styles.php:122
1192
- msgid "Edit the jQuery scripts for My Calendar in Mini Calendar format"
1193
- msgstr "Rediger jQuery-scripts til My Calendar i minikalendervisning"
1194
 
1195
- #: my-calendar-upgrade-db.php:19
1196
  msgid "The My Calendar database needs to be updated."
1197
  msgstr "My Calendars database skal opdateres"
1198
 
1199
- #: my-calendar-upgrade-db.php:20
1200
- #: my-calendar-upgrade-db.php:34
1201
  msgid "Update now"
1202
  msgstr "Opdater nu"
1203
 
1204
- #: my-calendar-upgrade-db.php:33
1205
  msgid "You haven't entered any events, so My Calendar can't tell whether your database is up to date. If you can't add events, upgrade your database!"
1206
  msgstr "Du har ikke tilføjet nogen begivenheder, så My Calendar ved ikke om din database har brug for at blive opdateret. Opgrader din database, hvis du ikke kan tilføje begivenheder!"
1207
 
1208
- #: my-calendar-upgrade-db.php:44
1209
  msgid "My Calendar Database is updated."
1210
  msgstr "My Calendars database er opdateret."
1211
 
1212
- #: my-calendar-widgets.php:11
1213
- #: my-calendar-widgets.php:51
1214
- #: my-calendar-widgets.php:52
1215
- msgid "Today's Events"
1216
- msgstr "Dagens begivenheder"
1217
 
1218
- #: my-calendar-widgets.php:41
1219
- #: my-calendar-widgets.php:126
1220
- msgid "Template"
1221
- msgstr "Skabelon"
1222
 
1223
- #: my-calendar-widgets.php:45
1224
- msgid "Show this text if there are no events today:"
1225
- msgstr "Vis denne tekst, hvis der ikke er begivenheder i dag:"
1226
 
1227
- #: my-calendar-widgets.php:65
1228
- #: my-calendar-widgets.php:152
1229
- #: my-calendar-widgets.php:153
1230
- msgid "Upcoming Events"
1231
- msgstr "Kommende begivenheder"
1232
 
1233
- #: my-calendar-widgets.php:130
1234
- msgid "Widget Options"
1235
- msgstr "Widgetindstillinger"
1236
 
1237
- #: my-calendar-widgets.php:132
1238
- msgid "Display upcoming events by:"
1239
- msgstr "Vis kommende begivenheder med:"
1240
 
1241
- #: my-calendar-widgets.php:133
1242
- msgid "Events (e.g. 2 past, 3 future)"
1243
- msgstr "Begivenheder (f.eks. 2 overståede, 3 kommende)"
 
 
1244
 
1245
- #: my-calendar-widgets.php:134
1246
- msgid "Dates (e.g. 4 days past, 5 forward)"
1247
- msgstr "Datoer (f.eks. 4 dage bagud, 5 fremad)"
 
1248
 
1249
- #: my-calendar-widgets.php:138
1250
- msgid "events into the future;"
1251
- msgstr "Begivenheder i den kommende tid;"
1252
 
1253
- #: my-calendar-widgets.php:139
1254
- msgid "events from the past"
1255
- msgstr "Hidtidige begivenheder;"
 
1256
 
1257
- #: my-calendar-widgets.php:142
1258
- msgid "days into the future;"
1259
- msgstr "dage i den kommende tid;"
1260
 
1261
- #: my-calendar-widgets.php:143
1262
- msgid "days from the past"
1263
- msgstr "hidtidige dage"
 
1264
 
1265
- #: my-calendar-widgets.php:146
1266
- msgid "Show only this category:"
1267
- msgstr "Vis kun denne kategori:"
 
1268
 
1269
- #: my-calendar-widgets.php:285
1270
- msgid "There are no events currently scheduled."
1271
- msgstr "Der er ikke planlagt nogen begivenheder p.t."
 
1272
 
1273
- #: my-calendar-widgets.php:470
1274
- msgid "Published"
1275
- msgstr "Publiceret"
1276
 
1277
- #: my-calendar-widgets.php:472
1278
- msgid "Reserved"
1279
- msgstr "Reserveret"
 
1280
 
1281
- #: my-calendar.php:56
1282
- #: my-calendar.php:181
 
 
 
 
 
 
 
 
 
 
 
 
1283
  msgid "Settings"
1284
  msgstr "Indstillinger"
1285
 
1286
- #: my-calendar.php:57
1287
- #: my-calendar.php:183
1288
  msgid "Help"
1289
  msgstr "Hjælp"
1290
 
1291
- #: my-calendar.php:81
1292
  msgid "Buy the Beginner's Guide"
1293
  msgstr "Køb Beginner's Guide"
1294
 
1295
- #: my-calendar.php:82
1296
  msgid "Get Support"
1297
  msgstr "Få support"
1298
 
1299
- #: my-calendar.php:83
1300
- #: my-calendar.php:183
1301
  msgid "My Calendar Help"
1302
  msgstr "My Calendar hjælp"
1303
 
1304
- #: my-calendar.php:84
1305
  msgid "Make a Donation"
1306
  msgstr "Giv en donation"
1307
 
1308
- #. #-#-#-#-# plugin.pot (My Calendar 1.5.0) #-#-#-#-#
1309
  #. Plugin Name of the plugin/theme
1310
- #: my-calendar.php:172
1311
  msgid "My Calendar"
1312
  msgstr "My Calendar"
1313
 
1314
- #: my-calendar.php:175
1315
  msgid "Add/Edit Events"
1316
  msgstr "Tilføj/Rediger begivenheder"
1317
 
1318
- #: my-calendar.php:182
 
 
 
 
 
1319
  msgid "Style Editor"
1320
  msgstr "Style-redigering"
1321
 
1322
- #: my-calendar.php:633
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1323
  msgid "Event Details"
1324
  msgstr "Begivenhedsdetaljer"
1325
 
1326
- #: my-calendar.php:642
1327
  msgid "Close"
1328
  msgstr "Luk"
1329
 
1330
- #: my-calendar.php:652
 
 
 
 
1331
  msgid "Not Applicable"
1332
  msgstr "Ikke relevant"
1333
 
1334
- #: my-calendar.php:664
1335
  msgid "Posted by"
1336
  msgstr "Publiceret af"
1337
 
1338
- #: my-calendar.php:710
1339
  msgid "This class is part of a series. You must register for the first event in this series to attend."
1340
  msgstr "Denne begivenhed er en del af en serie. Du skal melde dig til den første begivenhed i serien for at kunne deltage."
1341
 
1342
- #: my-calendar.php:1340
1343
  msgid "Month"
1344
  msgstr "Måned"
1345
 
1346
- #: my-calendar.php:1341
1347
- #: my-calendar.php:1427
1348
  msgid "January"
1349
  msgstr "Januar"
1350
 
1351
- #: my-calendar.php:1342
1352
- #: my-calendar.php:1427
1353
  msgid "February"
1354
  msgstr "Februar"
1355
 
1356
- #: my-calendar.php:1343
1357
- #: my-calendar.php:1427
1358
  msgid "March"
1359
  msgstr "Marts"
1360
 
1361
- #: my-calendar.php:1344
1362
- #: my-calendar.php:1427
1363
  msgid "April"
1364
  msgstr "April"
1365
 
1366
- #: my-calendar.php:1345
1367
- #: my-calendar.php:1427
1368
  msgid "May"
1369
  msgstr "Maj"
1370
 
1371
- #: my-calendar.php:1346
1372
- #: my-calendar.php:1427
1373
  msgid "June"
1374
  msgstr "Juni"
1375
 
1376
- #: my-calendar.php:1347
1377
- #: my-calendar.php:1427
1378
  msgid "July"
1379
  msgstr "Juli"
1380
 
1381
- #: my-calendar.php:1348
1382
- #: my-calendar.php:1427
1383
  msgid "August"
1384
  msgstr "August"
1385
 
1386
- #: my-calendar.php:1349
1387
- #: my-calendar.php:1427
1388
  msgid "September"
1389
  msgstr "September"
1390
 
1391
- #: my-calendar.php:1350
1392
- #: my-calendar.php:1427
1393
  msgid "October"
1394
  msgstr "Oktober"
1395
 
1396
- #: my-calendar.php:1351
1397
- #: my-calendar.php:1427
1398
  msgid "November"
1399
  msgstr "November"
1400
 
1401
- #: my-calendar.php:1352
1402
- #: my-calendar.php:1427
1403
  msgid "December"
1404
  msgstr "December"
1405
 
1406
- #: my-calendar.php:1354
1407
  msgid "Year"
1408
  msgstr "År"
1409
 
1410
- #: my-calendar.php:1379
1411
  msgid "Go"
1412
  msgstr "Gå"
1413
 
1414
- #: my-calendar.php:1401
1415
  msgid "<abbr title=\"Sunday\">Sun</abbr>"
1416
  msgstr "<abbr title=\"Søndag\">Søn</abbr>"
1417
 
1418
- #: my-calendar.php:1402
1419
  msgid "<abbr title=\"Monday\">Mon</abbr>"
1420
  msgstr "<abbr title=\"Mandag\">Man</abbr>"
1421
 
1422
- #: my-calendar.php:1403
1423
  msgid "<abbr title=\"Tuesday\">Tues</abbr>"
1424
  msgstr "<abbr title=\"Tirsdag\">Tirs</abbr>"
1425
 
1426
- #: my-calendar.php:1404
1427
  msgid "<abbr title=\"Wednesday\">Wed</abbr>"
1428
  msgstr "<abbr title=\"Onsdag\">Ons</abbr>"
1429
 
1430
- #: my-calendar.php:1405
1431
  msgid "<abbr title=\"Thursday\">Thur</abbr>"
1432
  msgstr "<abbr title=\"Torsdag\">Tors</abbr>"
1433
 
1434
- #: my-calendar.php:1406
1435
  msgid "<abbr title=\"Friday\">Fri</abbr>"
1436
  msgstr "<abbr title=\"Fredag\">Fre</abbr>"
1437
 
1438
- #: my-calendar.php:1407
1439
  msgid "<abbr title=\"Saturday\">Sat</abbr>"
1440
  msgstr "<abbr title=\"Lørdag\">Lør</abbr>"
1441
 
1442
- #: my-calendar.php:1412
1443
  msgid "<abbr title=\"Sunday\">S</abbr>"
1444
  msgstr "<abbr title=\"Søndag\">S</abbr>"
1445
 
1446
- #: my-calendar.php:1413
1447
  msgid "<abbr title=\"Monday\">M</abbr>"
1448
  msgstr "<abbr title=\"Mandag\">M</abbr>"
1449
 
1450
- #: my-calendar.php:1414
1451
  msgid "<abbr title=\"Tuesday\">T</abbr>"
1452
  msgstr "<abbr title=\"Tirsdag\">T</abbr>"
1453
 
1454
- #: my-calendar.php:1415
1455
  msgid "<abbr title=\"Wednesday\">W</abbr>"
1456
  msgstr "<abbr title=\"Onsdag\">O</abbr>"
1457
 
1458
- #: my-calendar.php:1416
1459
  msgid "<abbr title=\"Thursday\">T</abbr>"
1460
  msgstr "<abbr title=\"Torsdag\">T</abbr>"
1461
 
1462
- #: my-calendar.php:1417
1463
  msgid "<abbr title=\"Friday\">F</abbr>"
1464
  msgstr "<abbr title=\"Fredag\">F</abbr>"
1465
 
1466
- #: my-calendar.php:1418
1467
  msgid "<abbr title=\"Saturday\">S</abbr>"
1468
  msgstr "<abbr title=\"Lørdag\">S</abbr>"
1469
 
1470
- #: my-calendar.php:1464
1471
  msgid "and"
1472
  msgstr "og"
1473
 
1474
- #: my-calendar.php:1493
1475
- #: my-calendar.php:1497
1476
  msgid "Calendar"
1477
  msgstr "Calendar"
1478
 
1479
- #: my-calendar.php:1500
1480
  msgid "Events in"
1481
  msgstr "Begivenheder i"
1482
 
1483
- #: my-calendar.php:1597
1484
  msgid "There are no events scheduled during this period."
1485
  msgstr "Der er ikke planlagt begivenheder i denne periode."
1486
 
1487
- #: my-calendar.php:1607
1488
  msgid "Category Key"
1489
  msgstr "Kategorinøgle"
1490
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1491
  #. Plugin URI of the plugin/theme
1492
  msgid "http://www.joedolson.com/articles/my-calendar/"
1493
  msgstr "http://www.joedolson.com/articles/my-calendar/"
7
  msgstr ""
8
  "Project-Id-Version: My Calendar 1.4.3\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/my-calendar\n"
10
+ "POT-Creation-Date: 2010-12-23 19:33:22+00:00\n"
11
+ "PO-Revision-Date: 2011-01-06 19:15+0100\n"
12
  "Last-Translator: Jakob Smith <jakob@omkalfatring.dk>\n"
13
  "Language-Team: omkalfatring.dk <jakob@omkalfatring.dk>\n"
14
  "MIME-Version: 1.0\n"
18
  "X-Poedit-Country: DENMARK\n"
19
  "X-Poedit-SourceCharset: utf-8\n"
20
 
21
+ #: my-calendar-templates.php:151
22
+ msgid "Published"
23
+ msgstr "Publiceret"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
 
25
+ #: my-calendar-templates.php:153
26
+ msgid "Reserved"
27
+ msgstr "Reserveret"
 
28
 
29
+ #: my-calendar-user.php:39
30
+ msgid "My Calendar User Settings"
31
+ msgstr "My Calendar brugerindstillinger"
32
 
33
  #: my-calendar-event-manager.php:27
34
+ #: my-calendar-settings.php:511
35
  msgid "My Calendar has identified that you have the Calendar plugin by Kieran O'Shea installed. You can import those events and categories into the My Calendar database. Would you like to import these events?"
36
  msgstr "My Calendar har registreret, at du har Kieran O'Sheas Calendar-plugin installeret. Du kan importere begivenheder og kategorier derfra til din My Calendar-database. Ønsker du at gøre dette?"
37
 
38
  #: my-calendar-event-manager.php:33
39
+ #: my-calendar-settings.php:517
40
  msgid "Import from Calendar"
41
  msgstr "Importer fra Calendar"
42
 
52
  msgid "Are you sure you want to delete this event?"
53
  msgstr "Er du sikker på, at du vil slette denne begivenhed?"
54
 
55
+ #: my-calendar-event-manager.php:73
56
+ #: my-calendar-event-manager.php:743
57
+ #: my-calendar-categories.php:160
58
+ #: my-calendar-categories.php:179
59
+ #: my-calendar-locations.php:150
60
+ #: my-calendar-locations.php:162
61
+ msgid "Delete"
62
+ msgstr "Slet"
63
+
64
  #: my-calendar-event-manager.php:81
65
  msgid "You do not have permission to delete that event."
66
  msgstr "Du har ikke tilladelse til at slette denne begivenhed."
67
 
68
  #: my-calendar-event-manager.php:96
69
+ #: my-calendar-event-manager.php:211
70
  msgid "You do not have permission to approve that event."
71
  msgstr "Du har ikke tilladelse til at godkende denne begivenhed."
72
 
73
  #: my-calendar-event-manager.php:110
74
+ #: my-calendar-event-manager.php:225
75
  msgid "You do not have permission to reject that event."
76
  msgstr "Du har ikke tilladelse til at afvise denne begivenhed."
77
 
78
  #: my-calendar-event-manager.php:133
79
+ #: my-calendar-event-manager.php:156
80
+ #: my-calendar-event-manager.php:180
81
+ #: my-calendar-event-manager.php:195
82
+ #: my-calendar-event-manager.php:875
83
+ #: my-calendar-event-manager.php:880
84
+ #: my-calendar-event-manager.php:885
85
+ #: my-calendar-event-manager.php:897
86
+ #: my-calendar-event-manager.php:907
87
+ #: my-calendar-event-manager.php:915
88
+ #: my-calendar-event-manager.php:924
89
+ #: my-calendar-event-manager.php:932
90
  msgid "Error"
91
  msgstr "Fejl"
92
 
98
  msgid "Event added. It will now show in your calendar."
99
  msgstr "Begivenhed tilføjet. Den vises nu i din kalender."
100
 
101
+ #: my-calendar-event-manager.php:156
102
  msgid "Your event was not updated."
103
  msgstr "Din begivenhed blev ikke opdateret."
104
 
105
+ #: my-calendar-event-manager.php:160
106
  msgid "Nothing was changed in that update."
107
  msgstr "Intet blev ændret i denne opdatering af begivenheden."
108
 
109
+ #: my-calendar-event-manager.php:164
110
  msgid "Event updated successfully"
111
  msgstr "Begivenhed opdateret med succes"
112
 
113
+ #: my-calendar-event-manager.php:170
114
  msgid "You do not have sufficient permissions to edit that event."
115
  msgstr "Du har ikke tilstrækkelige tilladelser til at redigere denne begivenhed."
116
 
117
+ #: my-calendar-event-manager.php:180
118
  msgid "You can't delete an event if you haven't submitted an event id"
119
  msgstr "Du kan ikke redigere en begivenhed, hvis du ikke har sendt et begivenheds-id."
120
 
121
+ #: my-calendar-event-manager.php:191
122
  msgid "Event deleted successfully"
123
  msgstr "Begivenhed slettet med succes"
124
 
125
+ #: my-calendar-event-manager.php:195
126
  msgid "Despite issuing a request to delete, the event still remains in the database. Please investigate."
127
  msgstr "Selvom der blev sendt en forespørgsel om sletning, eksisterer begivenheden stadig i databasen. Undersøg venligst."
128
 
129
+ #: my-calendar-event-manager.php:242
130
+ #: my-calendar-event-manager.php:345
131
  msgid "Edit Event"
132
  msgstr "Rediger begivenhed"
133
 
134
+ #: my-calendar-event-manager.php:246
135
+ #: my-calendar-event-manager.php:255
136
  msgid "You must provide an event id in order to edit it"
137
  msgstr "Du skal angive et begivenheds-id for at kunne redigere den"
138
 
139
+ #: my-calendar-event-manager.php:251
140
+ #: my-calendar-event-manager.php:345
141
  msgid "Copy Event"
142
  msgstr "Kopier begivenhed"
143
 
144
+ #: my-calendar-event-manager.php:261
145
  msgid "Add Event"
146
  msgstr "Tilføj begivenhed"
147
 
148
+ #: my-calendar-event-manager.php:266
149
  msgid "Manage Events"
150
  msgstr "Administrer begivenheder"
151
 
152
+ #: my-calendar-event-manager.php:317
153
  msgid "Sorry! That's an invalid event key."
154
  msgstr "Beklager! Det er et ugyldigt begivenheds-id."
155
 
156
+ #: my-calendar-event-manager.php:322
157
  msgid "Sorry! We couldn't find an event with that ID."
158
  msgstr "Beklager! Vi kunne ikke finde en begivenhed med det id."
159
 
160
+ #: my-calendar-event-manager.php:345
161
  msgid "Add an Event"
162
  msgstr "Tilføj en begivenhed"
163
 
164
+ #: my-calendar-event-manager.php:349
165
  msgid "This event must be approved in order for it to appear on the calendar."
166
  msgstr "Denne begivenhed skal godkendes for at blive vist i kalenderen."
167
 
168
+ #: my-calendar-event-manager.php:364
169
  msgid "Enter your Event Information"
170
  msgstr "Indtast oplysninger om begivenheden"
171
 
172
+ #: my-calendar-event-manager.php:366
173
  msgid "Event Title"
174
  msgstr "Begivenhedens titel"
175
 
176
+ #: my-calendar-event-manager.php:370
177
  msgid "Publish"
178
  msgstr "Publicer"
179
 
180
+ #: my-calendar-event-manager.php:370
181
  msgid "You must approve this event to promote it to the calendar."
182
  msgstr "Du skal godkende denne begivenhed for at den bliver vist i kalenderen."
183
 
184
+ #: my-calendar-event-manager.php:372
185
  msgid "An administrator must approve your new event."
186
  msgstr "En administrator skal godkende din nye begivenhed."
187
 
188
+ #: my-calendar-event-manager.php:384
189
  msgid "Event Description (<abbr title=\"hypertext markup language\">HTML</abbr> allowed)"
190
  msgstr "Beskrivelse af begivenhed (<abbr title=\"hypertext markup language\">HTML</abbr> tilladt)"
191
 
192
+ #: my-calendar-event-manager.php:389
193
  msgid "Event Short Description (<abbr title=\"hypertext markup language\">HTML</abbr> allowed)"
194
  msgstr "Kort beskrivelse af begivenhed (<abbr title=\"hypertext markup language\">HTML</abbr> tilladt)"
195
 
196
+ #: my-calendar-event-manager.php:405
197
+ msgid "Event Host"
198
+ msgstr "Begivenhedens vært"
199
+
200
+ #: my-calendar-event-manager.php:426
201
  msgid "Event Category"
202
  msgstr "Begivenheds kategori"
203
 
204
+ #: my-calendar-event-manager.php:451
205
  msgid "Event Link (Optional)"
206
  msgstr "Begivenhedslink (valgfri)"
207
 
208
+ #: my-calendar-event-manager.php:451
209
  msgid "This link will expire when the event passes."
210
  msgstr "Dette link udløber, når begivenheden er overstået."
211
 
212
+ #: my-calendar-event-manager.php:455
213
  msgid "Start Date (YYYY-MM-DD)"
214
  msgstr "Startdato (ÅÅÅÅ-MM-DD)"
215
 
216
+ #: my-calendar-event-manager.php:458
217
  msgid "End Date (YYYY-MM-DD) (Optional)"
218
  msgstr "Slutdato (ÅÅÅÅ-MM-DD) (Valgfri)"
219
 
220
+ #: my-calendar-event-manager.php:461
221
  msgid "Time (hh:mm)"
222
  msgstr "Tidspunkt (tt:mm)"
223
 
224
+ #: my-calendar-event-manager.php:473
225
  msgid "Optional, set blank if your event is an all-day event or does not happen at a specific time."
226
  msgstr "Valgfri, lad feltet være tomt, hvis begivenheden er en heldagsbegivenhed eller ikke foregår på et bestemt tidspunkt."
227
 
228
+ #: my-calendar-event-manager.php:473
229
  msgid "Current time difference from GMT is "
230
  msgstr "Nuværende tidsforskel fra GMT er "
231
 
232
+ #: my-calendar-event-manager.php:473
233
  msgid " hour(s)"
234
  msgstr " time(r)."
235
 
236
+ #: my-calendar-event-manager.php:476
237
  msgid "End Time (hh:mm)"
238
  msgstr "Sluttidspunkt (tt:mm)"
239
 
240
+ #: my-calendar-event-manager.php:486
241
  msgid "Optional. End times will not be displayed on events where this is not set."
242
  msgstr "Valgfri. Sluttidspunkter bliver ikke vist på begivenheder, hvor de ikke er valgt."
243
 
244
+ #: my-calendar-event-manager.php:491
245
  msgid "Recurring Events"
246
  msgstr "Tilbagevendende begivenheder"
247
 
248
+ #: my-calendar-event-manager.php:494
249
  msgid "Repeats for"
250
  msgstr "Gentages"
251
 
252
+ #: my-calendar-event-manager.php:495
253
  msgid "Units"
254
  msgstr "gange"
255
 
256
+ #: my-calendar-event-manager.php:496
257
  msgid "Does not recur"
258
  msgstr "Gentages ikke"
259
 
260
+ #: my-calendar-event-manager.php:497
261
+ #: my-calendar-event-manager.php:716
262
  msgid "Daily"
263
  msgstr "Dagligt"
264
 
265
+ #: my-calendar-event-manager.php:498
266
+ #: my-calendar-event-manager.php:717
267
  msgid "Weekly"
268
  msgstr "Ugentligt"
269
 
270
+ #: my-calendar-event-manager.php:499
271
  msgid "Bi-weekly"
272
  msgstr "Hveranden uge"
273
 
274
+ #: my-calendar-event-manager.php:500
275
  msgid "Date of Month (e.g., the 24th of each month)"
276
  msgstr "Dato i måneden (f.eks. den 24. i hver måned)"
277
 
278
+ #: my-calendar-event-manager.php:501
279
  msgid "Day of Month (e.g., the 3rd Monday of each month)"
280
  msgstr "Dag i måneden (f.eks. den 3. mandag i hver måned)"
281
 
282
+ #: my-calendar-event-manager.php:502
283
  msgid "Annually"
284
  msgstr "Årligt"
285
 
286
+ #: my-calendar-event-manager.php:504
287
  msgid "Entering 0 means forever, if a unit is selected. If the recurrence unit is left at \"Does not recur,\" the event will not reoccur."
288
  msgstr "Indtastning af 0 betyder \"altid\", hvis en enhed er valgt. Hvis typen af gentagelse er sat til \"Gentages ikke\", vil begivenheden ikke gentages."
289
 
290
+ #: my-calendar-event-manager.php:515
291
  msgid "Event Registration Status"
292
  msgstr "Status for tilmelding til begivenhed"
293
 
294
+ #: my-calendar-event-manager.php:517
295
  msgid "Open"
296
  msgstr "Åben"
297
 
298
+ #: my-calendar-event-manager.php:518
299
  msgid "Closed"
300
  msgstr "Lukket"
301
 
302
+ #: my-calendar-event-manager.php:519
303
  msgid "Does not apply"
304
  msgstr "Ikke relevant"
305
 
306
+ #: my-calendar-event-manager.php:522
307
  msgid "If this event recurs, it can only be registered for as a complete series."
308
  msgstr "Hvis denne begivenhed gentages, kan tilmelding kun ske til den samlede serie af begivenheder."
309
 
310
+ #: my-calendar-event-manager.php:532
311
  #: my-calendar-locations.php:81
312
  msgid "Event Location"
313
  msgstr "Begivenhedens sted"
314
 
315
+ #: my-calendar-event-manager.php:541
316
  msgid "Choose a preset location:"
317
  msgstr "Vælg et forudindstillet sted:"
318
 
319
+ #: my-calendar-event-manager.php:555
320
  msgid "Add recurring locations for later use."
321
  msgstr "Tilføj tilbagevendende steder til senere brug."
322
 
323
+ #: my-calendar-event-manager.php:564
324
  #: my-calendar-locations.php:83
325
  msgid "All location fields are optional: <em>insufficient information may result in an inaccurate map</em>."
326
  msgstr "Alle stedrelaterede felter er valgfri: <em>Utilstrækkelige oplysninger kan resultere i et upræcist kort</em>."
327
 
328
+ #: my-calendar-event-manager.php:567
329
  #: my-calendar-locations.php:86
330
  msgid "Name of Location (e.g. <em>Joe's Bar and Grill</em>)"
331
  msgstr "Stednavn (f.eks. <em>Joe's Bar & Grill</em>)"
332
 
333
+ #: my-calendar-event-manager.php:570
334
  #: my-calendar-locations.php:89
335
  msgid "Street Address"
336
  msgstr "Gadenavn"
337
 
338
+ #: my-calendar-event-manager.php:573
339
  #: my-calendar-locations.php:92
340
  msgid "Street Address (2)"
341
  msgstr "Gadenavn (2)"
342
 
343
+ #: my-calendar-event-manager.php:576
344
+ #: my-calendar-settings.php:490
345
  #: my-calendar-locations.php:95
346
  msgid "City"
347
  msgstr "By"
348
 
349
+ #: my-calendar-event-manager.php:576
350
+ #: my-calendar-settings.php:491
351
  #: my-calendar-locations.php:95
352
  msgid "State/Province"
353
  msgstr "Stat/Provins"
354
 
355
+ #: my-calendar-event-manager.php:576
356
+ #: my-calendar-settings.php:493
357
  #: my-calendar-locations.php:95
358
  msgid "Postal Code"
359
  msgstr "Postnummer"
360
 
361
+ #: my-calendar-event-manager.php:579
362
+ #: my-calendar-settings.php:492
363
  #: my-calendar-locations.php:98
364
  msgid "Country"
365
  msgstr "Land"
366
 
367
+ #: my-calendar-event-manager.php:582
368
  #: my-calendar-locations.php:101
369
  msgid "Initial Zoom"
370
  msgstr "Indledende Zoom"
371
 
372
+ #: my-calendar-event-manager.php:584
373
  #: my-calendar-locations.php:103
374
  msgid "Neighborhood"
375
  msgstr "Nabolag"
376
 
377
+ #: my-calendar-event-manager.php:585
378
  #: my-calendar-locations.php:104
379
  msgid "Small City"
380
  msgstr "Lille By"
381
 
382
+ #: my-calendar-event-manager.php:586
383
  #: my-calendar-locations.php:105
384
  msgid "Large City"
385
  msgstr "Stor By"
386
 
387
+ #: my-calendar-event-manager.php:587
388
  #: my-calendar-locations.php:106
389
  msgid "Greater Metro Area"
390
  msgstr "Større byområde"
391
 
392
+ #: my-calendar-event-manager.php:588
393
  #: my-calendar-locations.php:107
394
  msgid "State"
395
  msgstr "Kommune"
396
 
397
+ #: my-calendar-event-manager.php:589
398
  #: my-calendar-locations.php:108
399
  msgid "Region"
400
  msgstr "Region"
401
 
402
+ #: my-calendar-event-manager.php:593
403
  #: my-calendar-locations.php:112
404
  msgid "GPS Coordinates (optional)"
405
  msgstr "GPS-koordinater (valgfri)"
406
 
407
+ #: my-calendar-event-manager.php:595
408
  msgid "If you supply GPS coordinates for your location, they will be used in place of any other address information to provide your map link."
409
  msgstr "Hvis du oplyser GPS-koordinater for dit sted, bliver de brugt i stedet for alle de andre adresseoplysninger til at oprette dit link til kortet."
410
 
411
+ #: my-calendar-event-manager.php:598
412
  #: my-calendar-locations.php:117
413
  msgid "Longitude"
414
  msgstr "Længdegrad"
415
 
416
+ #: my-calendar-event-manager.php:598
417
  #: my-calendar-locations.php:117
418
  msgid "Latitude"
419
  msgstr "Breddegrad"
420
 
421
+ #: my-calendar-event-manager.php:606
422
  msgid "Save Event"
423
  msgstr "Gem begivenhed"
424
 
425
+ #: my-calendar-event-manager.php:682
426
+ #: my-calendar-categories.php:155
427
+ #: my-calendar-locations.php:147
428
+ msgid "ID"
429
+ msgstr "id"
430
+
431
+ #: my-calendar-event-manager.php:683
432
  #: my-calendar-widgets.php:37
433
  #: my-calendar-widgets.php:122
434
  msgid "Title"
435
  msgstr "Titel"
436
 
437
+ #: my-calendar-event-manager.php:684
438
  msgid "Link"
439
  msgstr "Link"
440
 
441
+ #: my-calendar-event-manager.php:685
442
  #: my-calendar-locations.php:148
443
  msgid "Location"
444
  msgstr "Sted"
445
 
446
+ #: my-calendar-event-manager.php:686
447
  msgid "Description"
448
  msgstr "Beskrivelse"
449
 
450
+ #: my-calendar-event-manager.php:687
451
  msgid "Start Date"
452
  msgstr "Startdato"
453
 
454
+ #: my-calendar-event-manager.php:688
455
  msgid "Recurs"
456
  msgstr "Gentages"
457
 
458
+ #: my-calendar-event-manager.php:689
459
+ #: my-calendar-settings.php:250
460
+ #: my-calendar-settings.php:259
461
  msgid "Author"
462
  msgstr "Forfatter"
463
 
464
+ #: my-calendar-event-manager.php:690
465
  msgid "Category"
466
  msgstr "Kategori"
467
 
468
+ #: my-calendar-event-manager.php:691
469
  msgid "Edit / Delete"
470
  msgstr "Rediger / Slet"
471
 
472
+ #: my-calendar-event-manager.php:715
473
  msgid "Never"
474
  msgstr "Aldrig"
475
 
476
+ #: my-calendar-event-manager.php:718
477
  msgid "Bi-Weekly"
478
  msgstr "Hveranden uge"
479
 
480
+ #: my-calendar-event-manager.php:719
481
  msgid "Monthly (by date)"
482
  msgstr "Månedlig (efter dato)"
483
 
484
+ #: my-calendar-event-manager.php:720
485
  msgid "Monthly (by day)"
486
  msgstr "Månedlig (efter dag)"
487
 
488
+ #: my-calendar-event-manager.php:721
489
  msgid "Yearly"
490
  msgstr "Årligt"
491
 
492
+ #: my-calendar-event-manager.php:724
493
+ #: my-calendar-settings.php:281
494
+ #: my-calendar-categories.php:176
495
+ #: my-calendar-output.php:115
496
+ msgid "N/A"
497
+ msgstr "Ikke oplyst"
498
+
499
+ #: my-calendar-event-manager.php:725
500
  msgid "Forever"
501
  msgstr "Altid"
502
 
503
+ #: my-calendar-event-manager.php:726
504
  msgid "Times"
505
  msgstr "gange"
506
 
507
+ #: my-calendar-event-manager.php:741
508
  msgid "Copy"
509
  msgstr "Kopier"
510
 
511
+ #: my-calendar-event-manager.php:743
512
+ #: my-calendar-categories.php:159
513
+ #: my-calendar-categories.php:173
514
+ #: my-calendar-locations.php:149
515
+ #: my-calendar-locations.php:161
516
+ msgid "Edit"
517
+ msgstr "Rediger"
518
+
519
+ #: my-calendar-event-manager.php:744
520
  msgid "Not editable."
521
  msgstr "Ikke redigerbar."
522
 
523
+ #: my-calendar-event-manager.php:750
524
  msgid "Reject"
525
  msgstr "Afvis"
526
 
527
+ #: my-calendar-event-manager.php:752
528
  msgid "Approve"
529
  msgstr "Godkend"
530
 
531
+ #: my-calendar-event-manager.php:757
532
  msgid "Approved"
533
  msgstr "Godkendt"
534
 
535
+ #: my-calendar-event-manager.php:759
536
  msgid "Rejected"
537
  msgstr "Afvist"
538
 
539
+ #: my-calendar-event-manager.php:761
540
+ msgid "Awaiting Approval"
541
+ msgstr "Afventer godkendelse"
542
+
543
+ #: my-calendar-event-manager.php:774
544
  msgid "There are no events in the database!"
545
  msgstr "Der er ingen begivenheder i databasen!"
546
 
547
+ #: my-calendar-event-manager.php:875
548
  msgid "Your event end date must be either after or the same as your event begin date"
549
  msgstr "Din begivenheds slutdato må enten ligge efter eller være lig med begivenhedens startdato."
550
 
551
+ #: my-calendar-event-manager.php:880
552
  msgid "Your date formatting is correct but one or more of your dates is invalid. Check for number of days in month and leap year related errors."
553
  msgstr "Din datoformattering er korrekt, men en eller flere af dine datoer er ugyldige. Tjek for fejl relateret til enten antal dage i måneden eller skudår."
554
 
555
+ #: my-calendar-event-manager.php:885
556
  msgid "Both start and end dates must be in the format YYYY-MM-DD"
557
  msgstr "Både start- og slutdato skal være i formatet ÅÅÅÅ-MM-DD"
558
 
559
+ #: my-calendar-event-manager.php:897
560
  msgid "The time field must either be blank or be entered in the format hh:mm"
561
  msgstr "Feltet for tidspunkt skal enten være blankt eller indtastes i formatet tt:mm"
562
 
563
+ #: my-calendar-event-manager.php:907
564
  msgid "The end time field must either be blank or be entered in the format hh:mm"
565
  msgstr "Feltet for slutdato skal enten være blankt eller indtastes i formatet tt:mm"
566
 
567
+ #: my-calendar-event-manager.php:915
568
  msgid "The URL entered must either be prefixed with http:// or be completely blank"
569
  msgstr "Den indtastede URL skal enten være foranstillet med http:// eller være helt blank"
570
 
571
+ #: my-calendar-event-manager.php:924
572
  msgid "The event title must be between 1 and 255 characters in length."
573
  msgstr "Begivenhedens titel skal være mellem 1 og 255 tegn i længde."
574
 
575
+ #: my-calendar-event-manager.php:932
576
  msgid "The repetition value must be 0 unless a type of recurrence is selected."
577
  msgstr "Værdien for gentagelse skal være 0, medmindre der er er valgt en type af gentagelse."
578
 
579
+ #: my-calendar-settings.php:80
580
+ msgid "Categories imported successfully."
581
+ msgstr "Kategorier importeret med succes"
582
 
583
+ #: my-calendar-settings.php:82
584
+ msgid "Categories not imported."
585
+ msgstr "Kategorier blev ikke importeret"
586
 
587
+ #: my-calendar-settings.php:85
588
+ msgid "Events imported successfully."
589
+ msgstr "Begivenheder importeret med succes"
590
 
591
+ #: my-calendar-settings.php:87
592
+ msgid "Events not imported."
593
+ msgstr "Begivenheder blev ikke importeret"
594
 
595
+ #: my-calendar-settings.php:112
596
+ msgid "Permissions Settings saved"
597
+ msgstr "Indstillinger for tilladelser gemt"
598
 
599
+ #: my-calendar-settings.php:151
600
+ msgid "Output Settings saved"
601
+ msgstr "Outputindstillinger gemt"
602
 
603
+ #: my-calendar-settings.php:168
604
+ msgid "Input Settings saved"
605
+ msgstr "Inputindstillinger gemt"
606
 
607
+ #: my-calendar-settings.php:184
608
+ msgid "Custom text settings saved"
609
+ msgstr "Indstillinger for tekst gemt"
610
 
611
+ #: my-calendar-settings.php:197
612
+ msgid "Email notice settings saved"
613
+ msgstr "Indstillinger for e-mail-notifikationer gemt"
614
 
615
+ #: my-calendar-settings.php:211
616
+ msgid "User custom settings saved"
617
+ msgstr "Indstillinger for brugere gemt"
618
 
619
+ #: my-calendar-settings.php:236
620
+ msgid "My Calendar Options"
621
+ msgstr "My Calendar indstillinger"
622
 
623
+ #: my-calendar-settings.php:239
624
+ msgid "Calendar Settings"
625
+ msgstr "Kalenderindstillinger"
626
 
627
+ #: my-calendar-settings.php:241
628
+ msgid "Calendar Management Settings"
629
+ msgstr "Indstillinger for kalenderadministration"
630
 
631
+ #: my-calendar-settings.php:245
632
+ msgid "Calendar Options: Management"
633
+ msgstr "Kalenderindstillinger: Administration"
634
 
635
+ #: my-calendar-settings.php:247
636
+ msgid "Choose the lowest user group that may create events"
637
+ msgstr "Vælg den laveste brugergruppe, der oprette begivenheder"
638
 
639
+ #: my-calendar-settings.php:248
640
+ #: my-calendar-settings.php:257
641
+ msgid "Subscriber"
642
+ msgstr "Abonnent"
643
 
644
+ #: my-calendar-settings.php:249
645
+ #: my-calendar-settings.php:258
646
+ msgid "Contributor"
647
+ msgstr "Bidragyder"
648
 
649
+ #: my-calendar-settings.php:251
650
+ #: my-calendar-settings.php:260
651
+ msgid "Editor"
652
+ msgstr "Redaktør"
653
 
654
+ #: my-calendar-settings.php:252
655
+ #: my-calendar-settings.php:261
656
+ msgid "Administrator"
657
+ msgstr "Administrator"
658
 
659
+ #: my-calendar-settings.php:256
660
+ msgid "Choose the lowest user group that may approve events"
661
+ msgstr "Vælg den laveste brugergruppe, der må godkende begivenheder"
662
 
663
+ #: my-calendar-settings.php:265
664
+ msgid "Enable approval options."
665
+ msgstr "Aktiver indstillinger for godkendelse."
666
 
667
+ #: my-calendar-settings.php:269
668
+ msgid "Save Approval Settings"
669
+ msgstr "Gem indstillinger for godkendelse"
670
 
671
+ #: my-calendar-settings.php:275
672
+ msgid "Calendar Text Settings"
673
+ msgstr "Indstillinger for kalenderens tekst"
674
 
675
+ #: my-calendar-settings.php:279
676
+ msgid "Calendar Options: Customize Text"
677
+ msgstr "Kalenderindstillinger: Tilret tekst"
678
 
679
+ #: my-calendar-settings.php:281
680
+ msgid "Label for events without a specific time"
681
+ msgstr "Etiket for begivenheder uden et specifikt tidspunkt"
682
 
683
+ #: my-calendar-settings.php:284
684
+ msgid "Previous events link text"
685
+ msgstr "Linktekst for tidligere begivenheder"
686
 
687
+ #: my-calendar-settings.php:284
688
+ msgid "Previous Events"
689
+ msgstr "Tidligere begivenheder"
690
 
691
+ #: my-calendar-settings.php:287
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
692
  msgid "Next events link text"
693
  msgstr "Linktekst for kommende begivenheder"
694
 
695
+ #: my-calendar-settings.php:287
696
  msgid "Next Events"
697
  msgstr "Kommende begivenheder"
698
 
699
+ #: my-calendar-settings.php:290
700
  msgid "Text when events are open"
701
  msgstr "Tekst, der vises når der er åbent for tilmelding"
702
 
703
+ #: my-calendar-settings.php:290
704
  msgid "Registration is open"
705
  msgstr "Der er åbent for tilmelding"
706
 
707
+ #: my-calendar-settings.php:293
708
  msgid "Text when events are closed"
709
  msgstr "Tekst, der vises, når der er lukket for tilmelding"
710
 
711
+ #: my-calendar-settings.php:293
712
  msgid "Registration is closed"
713
  msgstr "Der er lukket for tilmelding"
714
 
715
+ #: my-calendar-settings.php:296
716
  msgid "Additional caption text"
717
  msgstr "Yderligere forklarende tekst"
718
 
719
+ #: my-calendar-settings.php:296
720
  msgid "The calendar caption is the text containing the displayed month and year in either list or calendar format. This text will be displayed following that existing text."
721
  msgstr "Den forklarende tekst er den tekst, der indeholder den viste måned og år i enten liste- eller kalendervisning. Den her indtastede tekst vises efter den eksisterende tekst."
722
 
723
+ #: my-calendar-settings.php:300
724
+ msgid "Save Custom Text Settings"
725
+ msgstr "Gem indstillinger for tekst"
726
+
727
+ #: my-calendar-settings.php:306
728
+ msgid "Calendar Output Settings"
729
+ msgstr "Indstillinger for output"
730
+
731
+ #: my-calendar-settings.php:310
732
  msgid "Calendar Options: Output"
733
  msgstr "Kalenderindstillinger: Output"
734
 
735
+ #: my-calendar-settings.php:312
736
+ msgid "Event title template"
737
+ msgstr "Skabelon for begivenhedstitel"
738
+
739
+ #: my-calendar-settings.php:314
740
+ #: my-calendar-settings.php:421
741
+ msgid "Shortcode Help"
742
+ msgstr "Hjælp til shortcodes"
743
+
744
+ #: my-calendar-settings.php:314
745
+ #: my-calendar-settings.php:421
746
+ msgid "All template shortcodes are available."
747
+ msgstr "Alle skabelon-shortcodes er tilgængelige."
748
+
749
+ #: my-calendar-settings.php:317
750
+ msgid "Show Heading for Calendar"
751
+ msgstr "Vis overskrift i kalender"
752
+
753
+ #: my-calendar-settings.php:320
754
  msgid "In list mode, show how many months of events at a time:"
755
  msgstr "Hvor mange måneders begivenheder skal vises i listevisning ad gangen:"
756
 
757
+ #: my-calendar-settings.php:323
758
  msgid "Date format in list mode"
759
  msgstr "Datoformat i listevisning"
760
 
761
+ #: my-calendar-settings.php:324
762
  msgid "Date format uses the same syntax as the <a href=\"http://php.net/date\">PHP <code>date()</code> function</a>. Save options to update sample output."
763
  msgstr "Datoformat bruger samme syntaks som <a href=\"http://php.net/date\">PHP <code>date()</code>-funktionen</a>. Gem indstillinger for at opdatere test-outputtet."
764
 
765
+ #: my-calendar-settings.php:327
766
  msgid "Do you want to display the author name on events?"
767
  msgstr "Ønsker du at vise forfatterens navn i begivenheder?"
768
 
769
+ #: my-calendar-settings.php:330
770
  msgid "Display a jumpbox for changing month and year quickly?"
771
  msgstr "Vis en popup-boks til hurtig ændring af måned og år?"
772
 
773
+ #: my-calendar-settings.php:333
774
  msgid "Hide category icons in output"
775
  msgstr "Skjul kategoriikoner i output"
776
 
777
+ #: my-calendar-settings.php:336
778
  msgid "Show Link to Google Map (when sufficient address information is available.)"
779
  msgstr "Vis link til Google Maps (når tilstrækkelige adresseoplysninger er tilgængelige)"
780
 
781
+ #: my-calendar-settings.php:339
782
  msgid "Show Event Address in Details"
783
  msgstr "Vis begivenhedsadresse i detaljer"
784
 
785
+ #: my-calendar-settings.php:342
786
  msgid "Show short description field on calendar."
787
  msgstr "Vis den korte beskrivelse i kalenderen."
788
 
789
+ #: my-calendar-settings.php:345
790
  msgid "Show full description field on calendar."
791
  msgstr "Vis den fulde beskrivelse i kalenderen."
792
 
793
+ #: my-calendar-settings.php:348
794
  msgid "Links associated with events will automatically expire after the event has passed."
795
  msgstr "Links associeret med begivenheder vil automatisk udløbe efter en begivenhed er overstået."
796
 
797
+ #: my-calendar-settings.php:351
798
  msgid "Show current availability status of events."
799
  msgstr "Vis begivenhedernes aktuelle status for tilgængelighed."
800
 
801
+ #: my-calendar-settings.php:354
802
  msgid "If a recurring event is scheduled for a date which doesn't exist (such as the 5th Wednesday in February), move it back one week."
803
  msgstr "Hvis en tilbagevendende begivenhed er planlagt til en dato, der ikke eksisterer (f.eks. den 5. onsdag i februar), flyt den da én uge tilbage."
804
 
805
+ #: my-calendar-settings.php:355
806
  msgid "If this option is unchecked, recurring events which fall on dates which don't exist will simply not be shown on the calendar."
807
  msgstr "Hvis denne indstilling ikke er markeret, vil tilbagevendende begivenheder, der falder på ikke-eksisterende datoer, ikke blive vist på kalenderen."
808
 
809
+ #: my-calendar-settings.php:359
810
+ msgid "Calendar Options: Style"
811
+ msgstr "Kalenderindstillinger: Output"
812
+
813
+ #: my-calendar-settings.php:361
814
+ msgid "Default usage of category colors."
815
+ msgstr "Standard brug af kategorifarver"
816
+
817
+ #: my-calendar-settings.php:362
818
+ msgid "Apply category colors to event titles as a font color."
819
+ msgstr "Brug kategorifarver som skriftfarve i begivenhedstitler."
820
+
821
+ #: my-calendar-settings.php:363
822
+ msgid "Apply category colors to event titles as a background color."
823
+ msgstr "Brug kategorifarver som baggrundsfarve i begivenhedstitler"
824
+
825
+ #: my-calendar-settings.php:367
826
+ msgid "Save Output Settings"
827
+ msgstr "Gem outputindstillinger"
828
+
829
+ #: my-calendar-settings.php:373
830
+ msgid "Calendar Input Settings"
831
+ msgstr "Indstillinger for input"
832
+
833
+ #: my-calendar-settings.php:377
834
  msgid "Calendar Options: Input"
835
  msgstr "Kalenderindstillinger: Output"
836
 
837
+ #: my-calendar-settings.php:382
838
  msgid "Show Event Location Dropdown Menu"
839
  msgstr "Vis begivenhedssted i dropdownmenu"
840
 
841
+ #: my-calendar-settings.php:382
842
  msgid "Show Event Short Description field"
843
  msgstr "Vis feltet \"Kort beskrivelse af begivenhed\""
844
 
845
+ #: my-calendar-settings.php:382
846
  msgid "Show Event Description Field"
847
  msgstr "Vis feltet \"Beskrivelse af begivenhed\""
848
 
849
+ #: my-calendar-settings.php:382
850
  msgid "Show Event Category field"
851
  msgstr "Begivenheds kategori"
852
 
853
+ #: my-calendar-settings.php:382
854
  msgid "Show Event Link field"
855
  msgstr "Vis feltet \"Begivenhedslink\""
856
 
857
+ #: my-calendar-settings.php:382
858
  msgid "Show Event Recurrence Options"
859
  msgstr "Vis indstillinger for tilbagevendende begivenheder"
860
 
861
+ #: my-calendar-settings.php:382
862
  msgid "Show event registration options"
863
  msgstr "Vis indstillinger for tilmelding til begivenheder"
864
 
865
+ #: my-calendar-settings.php:382
866
  msgid "Show event location fields"
867
  msgstr "Begivenhedens sted"
868
 
869
+ #: my-calendar-settings.php:391
870
  msgid "Administrators see all input options"
871
  msgstr "Lad administratorer se alle inputmuligheder"
872
 
873
+ #: my-calendar-settings.php:395
874
+ msgid "Save Input Settings"
875
+ msgstr "Gem indstillinger for input"
 
 
 
 
 
 
 
 
876
 
877
+ #: my-calendar-settings.php:401
878
+ msgid "Calendar Email Settings"
879
+ msgstr "Indstillinger for e-mail-notifikationer"
880
 
881
+ #: my-calendar-settings.php:405
882
  msgid "Calendar Options: Email Notifications"
883
  msgstr "Kalenderindstillinger: Notifikationer pr. e-mail"
884
 
885
+ #: my-calendar-settings.php:409
886
  msgid "Send Email Notifications when new events are scheduled or reserved."
887
  msgstr "Send notifikationer pr. e-mail, når nye begivenheder publiceres eller reserveres."
888
 
889
+ #: my-calendar-settings.php:412
890
  msgid "Notification messages are sent to: "
891
  msgstr "Notifikationer pr. e-mail sendes til: "
892
 
893
+ #: my-calendar-settings.php:416
894
  msgid "Email subject"
895
  msgstr "E-mail emne"
896
 
897
+ #: my-calendar-settings.php:416
898
  msgid "New event Added"
899
  msgstr "Ny begivenhed tilføjet"
900
 
901
+ #: my-calendar-settings.php:420
902
  msgid "Message Body"
903
  msgstr "E-mail indhold"
904
 
905
+ #: my-calendar-settings.php:420
906
  msgid "New Event:"
907
  msgstr "Ny begivenhed:"
908
 
909
+ #: my-calendar-settings.php:425
910
+ msgid "Save Email Settings"
911
+ msgstr "Gem indstillinger for e-mail-notifikationer"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
912
 
913
+ #: my-calendar-settings.php:431
914
+ msgid "Calendar User Settings"
915
+ msgstr "Indstillinger for brugere"
916
 
917
+ #: my-calendar-settings.php:437
918
+ msgid "My Calendar: User Settings"
919
+ msgstr "My Calendar: Brugerindstillinger"
920
 
921
+ #: my-calendar-settings.php:440
922
+ msgid "Allow registered users to provide timezone or location presets in their user profiles."
923
+ msgstr "Tillad registrerede brugere at forudindstille værdier for tidszone eller sted i deres brugerprofiler."
924
 
925
+ #: my-calendar-settings.php:447
926
+ msgid "Timezone Settings"
927
+ msgstr "Indstillinger for tidszone"
928
 
929
+ #: my-calendar-settings.php:448
930
+ msgid "These settings provide registered users with the ability to select a time zone in their user profile. When they view your calendar, the times for events will display the time the event happens in their time zone as well as the entered value."
931
+ msgstr "Disse indstillinger giver registrerede brugere muligheden for at vælge en tidszone i deres brugerprofil. Når brugeren ser din kalender, bliver begivenhedernes tidspunkt vist i brugerens tidszone såvel som den indtastede værdi."
 
 
 
932
 
933
+ #: my-calendar-settings.php:450
934
+ msgid "Enable Timezone"
935
+ msgstr "Brug tidszone"
936
 
937
+ #: my-calendar-settings.php:453
938
+ msgid "Select Timezone Label"
939
+ msgstr "Vælg tidszoneetiket"
940
 
941
+ #: my-calendar-settings.php:456
942
+ msgid "Timezone Options"
943
+ msgstr "Tidszone valgmuligheder"
944
 
945
+ #: my-calendar-settings.php:456
946
+ #: my-calendar-settings.php:477
947
+ msgid "Value, Label; one per line"
948
+ msgstr "Værdi; Etiket; én per linie"
949
 
950
+ #: my-calendar-settings.php:468
951
+ msgid "Location Settings"
952
+ msgstr "Indstillinger for steder"
953
 
954
+ #: my-calendar-settings.php:469
955
+ msgid "These settings provide registered users with the ability to select a location in their user profile. When they view your calendar, their initial view will be limited to locations which include that location parameter."
956
+ msgstr "Disse indstillinger giver registrerede brugere muligheden for at vælge et sted i deres brugerprofil. Når brugeren ser din kalender, er visningen som udgangspunkt begrænset til steder, der inkluderer det indtastede sted."
957
 
958
+ #: my-calendar-settings.php:471
959
+ msgid "Enable Location"
960
+ msgstr "Brug sted"
961
 
962
+ #: my-calendar-settings.php:474
963
+ msgid "Select Location Label"
964
+ msgstr "Vælg etiket for sted"
965
 
966
+ #: my-calendar-settings.php:477
967
+ msgid "Location Options"
968
+ msgstr "Sted valgmuligheder"
969
 
970
+ #: my-calendar-settings.php:487
971
+ msgid "Location Type"
972
+ msgstr "Stedtype"
973
 
974
+ #: my-calendar-settings.php:489
975
+ msgid "Location Name"
976
+ msgstr "Stednavn"
977
 
978
+ #: my-calendar-settings.php:501
979
+ msgid "Save User Settings"
980
+ msgstr "Gem indstillinger for brugere"
981
 
982
+ #: my-calendar-upgrade-db.php:20
983
  msgid "The My Calendar database needs to be updated."
984
  msgstr "My Calendars database skal opdateres"
985
 
986
+ #: my-calendar-upgrade-db.php:21
987
+ #: my-calendar-upgrade-db.php:35
988
  msgid "Update now"
989
  msgstr "Opdater nu"
990
 
991
+ #: my-calendar-upgrade-db.php:34
992
  msgid "You haven't entered any events, so My Calendar can't tell whether your database is up to date. If you can't add events, upgrade your database!"
993
  msgstr "Du har ikke tilføjet nogen begivenheder, så My Calendar ved ikke om din database har brug for at blive opdateret. Opgrader din database, hvis du ikke kan tilføje begivenheder!"
994
 
995
+ #: my-calendar-upgrade-db.php:45
996
  msgid "My Calendar Database is updated."
997
  msgstr "My Calendars database er opdateret."
998
 
999
+ #: my-calendar-categories.php:41
1000
+ msgid "Category added successfully"
1001
+ msgstr "Kategori tilføjet med succes"
 
 
1002
 
1003
+ #: my-calendar-categories.php:43
1004
+ msgid "Category addition failed."
1005
+ msgstr "Tilføjelse af kategori fejlede."
 
1006
 
1007
+ #: my-calendar-categories.php:53
1008
+ msgid "Category deleted successfully. Categories in calendar updated."
1009
+ msgstr "Kategori slettet med succes. Kalenderens kategorier er opdateret."
1010
 
1011
+ #: my-calendar-categories.php:55
1012
+ msgid "Category deleted successfully. Categories in calendar not updated."
1013
+ msgstr "Kategori slettet med succes. Kalenderens kategorier er ikke opdateret."
 
 
1014
 
1015
+ #: my-calendar-categories.php:57
1016
+ msgid "Category not deleted. Categories in calendar updated."
1017
+ msgstr "Kategori ikke slettet. Kalenderens kategorier er opdateret."
1018
 
1019
+ #: my-calendar-categories.php:66
1020
+ msgid "Category edited successfully"
1021
+ msgstr "Kategori redigeret med succes"
1022
 
1023
+ #: my-calendar-categories.php:88
1024
+ #: my-calendar-categories.php:112
1025
+ #: my-calendar-categories.php:130
1026
+ msgid "Add Category"
1027
+ msgstr "Tilføj kategori"
1028
 
1029
+ #: my-calendar-categories.php:90
1030
+ #: my-calendar-categories.php:112
1031
+ msgid "Edit Category"
1032
+ msgstr "Rediger kategori"
1033
 
1034
+ #: my-calendar-categories.php:97
1035
+ msgid "Category Editor"
1036
+ msgstr "Kategoriredigering"
1037
 
1038
+ #: my-calendar-categories.php:113
1039
+ #: my-calendar-categories.php:156
1040
+ msgid "Category Name"
1041
+ msgstr "Kategorinavn"
1042
 
1043
+ #: my-calendar-categories.php:114
1044
+ msgid "Category Color (Hex format)"
1045
+ msgstr "Kategorifarve (Hex format)"
1046
 
1047
+ #: my-calendar-categories.php:115
1048
+ #: my-calendar-categories.php:158
1049
+ msgid "Category Icon"
1050
+ msgstr "Kategoriikon"
1051
 
1052
+ #: my-calendar-categories.php:130
1053
+ #: my-calendar-locations.php:121
1054
+ msgid "Save Changes"
1055
+ msgstr "Gem ændringer"
1056
 
1057
+ #: my-calendar-categories.php:143
1058
+ #: my-calendar.php:202
1059
+ msgid "Manage Categories"
1060
+ msgstr "Administrer kategorier"
1061
 
1062
+ #: my-calendar-categories.php:157
1063
+ msgid "Category Color"
1064
+ msgstr "Kategorifarve"
1065
 
1066
+ #: my-calendar-categories.php:179
1067
+ #: my-calendar-locations.php:162
1068
+ msgid "Are you sure you want to delete this category?"
1069
+ msgstr "Er du sikker på, at du vil slette denne kategori?"
1070
 
1071
+ #: my-calendar-categories.php:190
1072
+ msgid "There are no categories in the database - something has gone wrong!"
1073
+ msgstr "Der er ingen kategorier i databasen - noget er gået galt!"
1074
+
1075
+ #: my-calendar-install.php:561
1076
+ msgid "My Calendar Default Timezone"
1077
+ msgstr "My Calendar default tidszone"
1078
+
1079
+ #: my-calendar-install.php:606
1080
+ msgid "My Calendar Default Location"
1081
+ msgstr "My Calendar default sted"
1082
+
1083
+ #: my-calendar.php:60
1084
+ #: my-calendar.php:204
1085
  msgid "Settings"
1086
  msgstr "Indstillinger"
1087
 
1088
+ #: my-calendar.php:61
1089
+ #: my-calendar.php:207
1090
  msgid "Help"
1091
  msgstr "Hjælp"
1092
 
1093
+ #: my-calendar.php:100
1094
  msgid "Buy the Beginner's Guide"
1095
  msgstr "Køb Beginner's Guide"
1096
 
1097
+ #: my-calendar.php:101
1098
  msgid "Get Support"
1099
  msgstr "Få support"
1100
 
1101
+ #: my-calendar.php:102
1102
+ #: my-calendar.php:207
1103
  msgid "My Calendar Help"
1104
  msgstr "My Calendar hjælp"
1105
 
1106
+ #: my-calendar.php:103
1107
  msgid "Make a Donation"
1108
  msgstr "Giv en donation"
1109
 
1110
+ #. #-#-#-#-# plugin.pot (My Calendar 1.6.3) #-#-#-#-#
1111
  #. Plugin Name of the plugin/theme
1112
+ #: my-calendar.php:195
1113
  msgid "My Calendar"
1114
  msgstr "My Calendar"
1115
 
1116
+ #: my-calendar.php:198
1117
  msgid "Add/Edit Events"
1118
  msgstr "Tilføj/Rediger begivenheder"
1119
 
1120
+ #: my-calendar.php:203
1121
+ #: my-calendar-locations.php:135
1122
+ msgid "Manage Locations"
1123
+ msgstr "Administrer steder"
1124
+
1125
+ #: my-calendar.php:205
1126
  msgid "Style Editor"
1127
  msgstr "Style-redigering"
1128
 
1129
+ #: my-calendar.php:206
1130
+ msgid "Behavior Editor"
1131
+ msgstr "Rediger kalenderopførsel"
1132
+
1133
+ #: my-calendar-behaviors.php:39
1134
+ msgid "Behavior Settings saved"
1135
+ msgstr "Indstillinger for kalenderopførsel gemt"
1136
+
1137
+ #: my-calendar-behaviors.php:62
1138
+ msgid "My Calendar Behaviors"
1139
+ msgstr "My Calendar opførsel"
1140
+
1141
+ #: my-calendar-behaviors.php:66
1142
+ msgid "Calendar Behavior Settings"
1143
+ msgstr "Indstillinger for kalenderopførsel"
1144
+
1145
+ #: my-calendar-behaviors.php:70
1146
+ msgid "Apply JavaScript only on these pages (comma separated page IDs)"
1147
+ msgstr "Vis kun Javascript på disse sider (kommaseparerede side-id'er)"
1148
+
1149
+ #: my-calendar-behaviors.php:73
1150
+ msgid "Calendar Behaviors: Calendar View"
1151
+ msgstr "Kalenderopførsel: Kalendervisning"
1152
+
1153
+ #: my-calendar-behaviors.php:75
1154
+ msgid "Reset the My Calendar Calendar Javascript"
1155
+ msgstr "Nulstil My Calendars kalenderjavascript"
1156
+
1157
+ #: my-calendar-behaviors.php:75
1158
+ msgid "Disable Calendar Javascript Effects"
1159
+ msgstr "Deaktiver Kalenderens javascripteffekter"
1160
+
1161
+ #: my-calendar-behaviors.php:78
1162
+ msgid "Edit the jQuery scripts for My Calendar in Calendar format"
1163
+ msgstr "Rediger jQuery-scripts til My Calendar i kalendervisning."
1164
+
1165
+ #: my-calendar-behaviors.php:81
1166
+ #: my-calendar-behaviors.php:93
1167
+ #: my-calendar-behaviors.php:105
1168
+ #: my-calendar-behaviors.php:117
1169
+ #: my-calendar-styles.php:54
1170
+ msgid "Save"
1171
+ msgstr "Gem"
1172
+
1173
+ #: my-calendar-behaviors.php:85
1174
+ msgid "Calendar Behaviors: List View"
1175
+ msgstr "Kalenderopførsel: Listevisning"
1176
+
1177
+ #: my-calendar-behaviors.php:87
1178
+ msgid "Reset the My Calendar List Javascript"
1179
+ msgstr "Nulstil My Calendars listevisningsjavascript"
1180
+
1181
+ #: my-calendar-behaviors.php:87
1182
+ #: my-calendar-behaviors.php:111
1183
+ msgid "Disable List Javascript Effects"
1184
+ msgstr "Deaktiver listevisningens javascripteffekter"
1185
+
1186
+ #: my-calendar-behaviors.php:90
1187
+ msgid "Edit the jQuery scripts for My Calendar in List format"
1188
+ msgstr "Rediger jQuery-scripts til My Calendar i listevisning"
1189
+
1190
+ #: my-calendar-behaviors.php:97
1191
+ msgid "Calendar Behaviors: Mini Calendar View"
1192
+ msgstr "Kalenderopførsel: Minikalendervisning"
1193
+
1194
+ #: my-calendar-behaviors.php:99
1195
+ msgid "Reset the My Calendar Mini Format Javascript"
1196
+ msgstr "Nulstil My Calendars javascript til minikalendervisning"
1197
+
1198
+ #: my-calendar-behaviors.php:99
1199
+ msgid "Disable Mini Javascript Effects"
1200
+ msgstr "Deaktiver minikalendervisningens javascripteffekter"
1201
+
1202
+ #: my-calendar-behaviors.php:102
1203
+ msgid "Edit the jQuery scripts for My Calendar in Mini Calendar format"
1204
+ msgstr "Rediger jQuery-scripts til My Calendar i minikalendervisning"
1205
+
1206
+ #: my-calendar-behaviors.php:109
1207
+ msgid "Calendar Behaviors: AJAX Navigation"
1208
+ msgstr "Kalenderopførsel: AJAX-navigation"
1209
+
1210
+ #: my-calendar-behaviors.php:111
1211
+ msgid "Reset the My Calendar AJAX Javascript"
1212
+ msgstr "Nulstil My Calendar AJAX-javascript"
1213
+
1214
+ #: my-calendar-behaviors.php:114
1215
+ msgid "Edit the jQuery scripts for My Calendar AJAX navigation"
1216
+ msgstr "Rediger jQuery-scripts til My Calendar AJAX-javascript"
1217
+
1218
+ #: my-calendar-locations.php:22
1219
+ msgid "Location added successfully"
1220
+ msgstr "Sted tilføjet med succes"
1221
+
1222
+ #: my-calendar-locations.php:24
1223
+ msgid "Location could not be added to database"
1224
+ msgstr "Stedet kunne ikke føjes til databasen."
1225
+
1226
+ #: my-calendar-locations.php:30
1227
+ msgid "Location deleted successfully"
1228
+ msgstr "Sted slettet med succes"
1229
+
1230
+ #: my-calendar-locations.php:32
1231
+ msgid "Location could not be deleted"
1232
+ msgstr "Stedet kunne ikke slettes"
1233
+
1234
+ #: my-calendar-locations.php:43
1235
+ msgid "Location could not be edited."
1236
+ msgstr "Stedet kunne ikke redigeres."
1237
+
1238
+ #: my-calendar-locations.php:45
1239
+ msgid "Location was not changed."
1240
+ msgstr "Stedet blev ikke ændret."
1241
+
1242
+ #: my-calendar-locations.php:47
1243
+ msgid "Location edited successfully"
1244
+ msgstr "Sted redigeret med succes"
1245
+
1246
+ #: my-calendar-locations.php:59
1247
+ msgid "Add New Location"
1248
+ msgstr "Tilføj nyt sted"
1249
+
1250
+ #: my-calendar-locations.php:61
1251
+ msgid "Edit Location"
1252
+ msgstr "Rediger sted"
1253
+
1254
+ #: my-calendar-locations.php:66
1255
+ msgid "Location Editor"
1256
+ msgstr "Redigering af steder"
1257
+
1258
+ #: my-calendar-locations.php:114
1259
+ msgid "If you supply GPS coordinates for your location, they will be used in place of any other address information to pinpoint your location."
1260
+ msgstr "Hvis du oplyser GPS-koordinater for dit sted, bliver de brugt i stedet for alle de andre adresseoplysninger til at identificere stedet."
1261
+
1262
+ #: my-calendar-locations.php:121
1263
+ msgid "Add Location"
1264
+ msgstr "Tilføj sted"
1265
+
1266
+ #: my-calendar-locations.php:170
1267
+ msgid "There are no locations in the database yet!"
1268
+ msgstr "Der er endnu ingen steder i databasen!"
1269
+
1270
+ #: my-calendar-locations.php:174
1271
+ msgid "Please note: editing or deleting locations stored for re-use will have no effect on any event previously scheduled at that location. The location database exists purely as a shorthand method to enter frequently used locations into event records."
1272
+ msgstr "Bemærk: Redigering eller sletning af steder gemt til genbrug, har ikke indvirkning på tidligere planlagte begivenheder på det sted. Steddatabasen eksisterer kun som en hurtig metode til indtastning af ofte brugte steder i begivenhedsoplysninger."
1273
+
1274
+ #: my-calendar-output.php:90
1275
  msgid "Event Details"
1276
  msgstr "Begivenhedsdetaljer"
1277
 
1278
+ #: my-calendar-output.php:99
1279
  msgid "Close"
1280
  msgstr "Luk"
1281
 
1282
+ #: my-calendar-output.php:109
1283
+ msgid "in your time zone"
1284
+ msgstr "i din tidszone"
1285
+
1286
+ #: my-calendar-output.php:115
1287
  msgid "Not Applicable"
1288
  msgstr "Ikke relevant"
1289
 
1290
+ #: my-calendar-output.php:127
1291
  msgid "Posted by"
1292
  msgstr "Publiceret af"
1293
 
1294
+ #: my-calendar-output.php:173
1295
  msgid "This class is part of a series. You must register for the first event in this series to attend."
1296
  msgstr "Denne begivenhed er en del af en serie. Du skal melde dig til den første begivenhed i serien for at kunne deltage."
1297
 
1298
+ #: my-calendar-output.php:206
1299
  msgid "Month"
1300
  msgstr "Måned"
1301
 
1302
+ #: my-calendar-output.php:207
1303
+ #: my-calendar-output.php:289
1304
  msgid "January"
1305
  msgstr "Januar"
1306
 
1307
+ #: my-calendar-output.php:208
1308
+ #: my-calendar-output.php:289
1309
  msgid "February"
1310
  msgstr "Februar"
1311
 
1312
+ #: my-calendar-output.php:209
1313
+ #: my-calendar-output.php:289
1314
  msgid "March"
1315
  msgstr "Marts"
1316
 
1317
+ #: my-calendar-output.php:210
1318
+ #: my-calendar-output.php:289
1319
  msgid "April"
1320
  msgstr "April"
1321
 
1322
+ #: my-calendar-output.php:211
1323
+ #: my-calendar-output.php:289
1324
  msgid "May"
1325
  msgstr "Maj"
1326
 
1327
+ #: my-calendar-output.php:212
1328
+ #: my-calendar-output.php:289
1329
  msgid "June"
1330
  msgstr "Juni"
1331
 
1332
+ #: my-calendar-output.php:213
1333
+ #: my-calendar-output.php:289
1334
  msgid "July"
1335
  msgstr "Juli"
1336
 
1337
+ #: my-calendar-output.php:214
1338
+ #: my-calendar-output.php:289
1339
  msgid "August"
1340
  msgstr "August"
1341
 
1342
+ #: my-calendar-output.php:215
1343
+ #: my-calendar-output.php:289
1344
  msgid "September"
1345
  msgstr "September"
1346
 
1347
+ #: my-calendar-output.php:216
1348
+ #: my-calendar-output.php:289
1349
  msgid "October"
1350
  msgstr "Oktober"
1351
 
1352
+ #: my-calendar-output.php:217
1353
+ #: my-calendar-output.php:289
1354
  msgid "November"
1355
  msgstr "November"
1356
 
1357
+ #: my-calendar-output.php:218
1358
+ #: my-calendar-output.php:289
1359
  msgid "December"
1360
  msgstr "December"
1361
 
1362
+ #: my-calendar-output.php:220
1363
  msgid "Year"
1364
  msgstr "År"
1365
 
1366
+ #: my-calendar-output.php:245
1367
  msgid "Go"
1368
  msgstr "Gå"
1369
 
1370
+ #: my-calendar-output.php:263
1371
  msgid "<abbr title=\"Sunday\">Sun</abbr>"
1372
  msgstr "<abbr title=\"Søndag\">Søn</abbr>"
1373
 
1374
+ #: my-calendar-output.php:264
1375
  msgid "<abbr title=\"Monday\">Mon</abbr>"
1376
  msgstr "<abbr title=\"Mandag\">Man</abbr>"
1377
 
1378
+ #: my-calendar-output.php:265
1379
  msgid "<abbr title=\"Tuesday\">Tues</abbr>"
1380
  msgstr "<abbr title=\"Tirsdag\">Tirs</abbr>"
1381
 
1382
+ #: my-calendar-output.php:266
1383
  msgid "<abbr title=\"Wednesday\">Wed</abbr>"
1384
  msgstr "<abbr title=\"Onsdag\">Ons</abbr>"
1385
 
1386
+ #: my-calendar-output.php:267
1387
  msgid "<abbr title=\"Thursday\">Thur</abbr>"
1388
  msgstr "<abbr title=\"Torsdag\">Tors</abbr>"
1389
 
1390
+ #: my-calendar-output.php:268
1391
  msgid "<abbr title=\"Friday\">Fri</abbr>"
1392
  msgstr "<abbr title=\"Fredag\">Fre</abbr>"
1393
 
1394
+ #: my-calendar-output.php:269
1395
  msgid "<abbr title=\"Saturday\">Sat</abbr>"
1396
  msgstr "<abbr title=\"Lørdag\">Lør</abbr>"
1397
 
1398
+ #: my-calendar-output.php:274
1399
  msgid "<abbr title=\"Sunday\">S</abbr>"
1400
  msgstr "<abbr title=\"Søndag\">S</abbr>"
1401
 
1402
+ #: my-calendar-output.php:275
1403
  msgid "<abbr title=\"Monday\">M</abbr>"
1404
  msgstr "<abbr title=\"Mandag\">M</abbr>"
1405
 
1406
+ #: my-calendar-output.php:276
1407
  msgid "<abbr title=\"Tuesday\">T</abbr>"
1408
  msgstr "<abbr title=\"Tirsdag\">T</abbr>"
1409
 
1410
+ #: my-calendar-output.php:277
1411
  msgid "<abbr title=\"Wednesday\">W</abbr>"
1412
  msgstr "<abbr title=\"Onsdag\">O</abbr>"
1413
 
1414
+ #: my-calendar-output.php:278
1415
  msgid "<abbr title=\"Thursday\">T</abbr>"
1416
  msgstr "<abbr title=\"Torsdag\">T</abbr>"
1417
 
1418
+ #: my-calendar-output.php:279
1419
  msgid "<abbr title=\"Friday\">F</abbr>"
1420
  msgstr "<abbr title=\"Fredag\">F</abbr>"
1421
 
1422
+ #: my-calendar-output.php:280
1423
  msgid "<abbr title=\"Saturday\">S</abbr>"
1424
  msgstr "<abbr title=\"Lørdag\">S</abbr>"
1425
 
1426
+ #: my-calendar-output.php:323
1427
  msgid "and"
1428
  msgstr "og"
1429
 
1430
+ #: my-calendar-output.php:358
1431
+ #: my-calendar-output.php:362
1432
  msgid "Calendar"
1433
  msgstr "Calendar"
1434
 
1435
+ #: my-calendar-output.php:366
1436
  msgid "Events in"
1437
  msgstr "Begivenheder i"
1438
 
1439
+ #: my-calendar-output.php:470
1440
  msgid "There are no events scheduled during this period."
1441
  msgstr "Der er ikke planlagt begivenheder i denne periode."
1442
 
1443
+ #: my-calendar-output.php:480
1444
  msgid "Category Key"
1445
  msgstr "Kategorinøgle"
1446
 
1447
+ #: my-calendar-output.php:626
1448
+ msgid "Show events in:"
1449
+ msgstr "Vis begivenheder i:"
1450
+
1451
+ #: my-calendar-output.php:653
1452
+ msgid "Submit"
1453
+ msgstr "Send"
1454
+
1455
+ #: my-calendar-styles.php:28
1456
+ msgid "Style Settings saved"
1457
+ msgstr "Style-indstillinger Gemt"
1458
+
1459
+ #: my-calendar-styles.php:35
1460
+ msgid "My Calendar Styles"
1461
+ msgstr "My Calendar Styles"
1462
+
1463
+ #: my-calendar-styles.php:39
1464
+ msgid "Calendar Style Settings"
1465
+ msgstr "Kalenders style-indstillinger"
1466
+
1467
+ #: my-calendar-styles.php:43
1468
+ msgid "Apply CSS only on these pages (comma separated page IDs)"
1469
+ msgstr "Vis kun CSS på disse sider (kommaseparerede side-id'er)"
1470
+
1471
+ #: my-calendar-styles.php:46
1472
+ msgid "CSS Style Options"
1473
+ msgstr "CSS (stylesheets)"
1474
+
1475
+ #: my-calendar-styles.php:48
1476
+ msgid "Reset the My Calendar stylesheet to the default"
1477
+ msgstr "Nulstil My Calendar stylesheets til default"
1478
+
1479
+ #: my-calendar-styles.php:48
1480
+ msgid "Disable My Calendar Stylesheet"
1481
+ msgstr "Deaktiver My Calendar stylesheet"
1482
+
1483
+ #: my-calendar-styles.php:51
1484
+ msgid "Edit the stylesheet for My Calendar"
1485
+ msgstr "Rediger My Calendars stylesheet"
1486
+
1487
+ #: my-calendar-help.php:6
1488
+ msgid "How to use My Calendar"
1489
+ msgstr "Sådan bruger du My Calendar"
1490
+
1491
+ #: my-calendar-help.php:11
1492
+ msgid "Shortcode Syntax"
1493
+ msgstr "Shortcode-syntaks"
1494
+
1495
+ #: my-calendar-help.php:14
1496
+ msgid "These shortcodes can be used in Posts, Pages, or in text widgets."
1497
+ msgstr "Disse shortcodes kan bruges i Indlæg, Sider eller i text widgets."
1498
+
1499
+ #: my-calendar-help.php:18
1500
+ msgid "This basic shortcode will show the calendar on a post or page including all categories and the category key, in a traditional month-by-month format."
1501
+ msgstr "Denne basale shortcode vil vise kalenderen i et indlæg eller en side, inklusiv alle kategorier og kategorinøglen, i et traditionelt måned-for-måned format."
1502
+
1503
+ #: my-calendar-help.php:22
1504
+ msgid "The shortcode supports three attributes, <code>category</code>, <code>format</code> and <code>showkey</code>. There two alternate options for <code>format</code>: <code>list</code>, which will show the calendar in a list format, skipping dates without any events, and <code>mini</code>, which will display the calendar in a form more suitable to being displayed in smaller spaces, such as the sidebar. The <code>category</code> attribute requires either the name of or ID number one of your event categories (the name is case-sensitive). This will show a calendar only including events in that category. Multiple categories can be specified by separating the category names or IDs using the pipe character: <code>|</code>. Setting <code>showkey</code> to <code>no</code> will prevent the category key from being displayed &mdash; this can be useful with single-category output. Setting <code>shownav</code> to <code>no</code> will disable the Previous/Next links."
1505
+ msgstr "Denne shortcode understøtter tre attributter, <code>category</code>, <code>format</code> og <code>showkey</code>. Der er to valgmuligheder for <code>format</code>: <code>list</code>, som viser kalenderen i et listeformat, hvor dage uden begivenheder springes over, og <code>mini</code>, som viser kalenderen i en form, der passer bedre ind i små områder, som f.eks. en sidebar. Attributten <code>category</code> kræver en af dine begivenhedskategoriers navn eller ID-nummer (i navnet skelnes der mellem store og små bogstaver). Dette viser en kalender, der kun inkluderer begivenheder i den angivne kategori. Flere kategorier kan specificeres ved at adskille kategorinavnene eller ID-numrene med \"pipe\"-tegnet: <code>|</code>. Sættes <code>showkey</code> til <code>no</code>, forhindrer man kategorinøglen i at blive vist &mdash; dette kan være brugbart ved enkeltkategorioutput. Sættes <code>shownav</code> til <code>no</code> bliver Tidligere/Kommende-linksene ikke vist."
1506
+
1507
+ #: my-calendar-help.php:26
1508
+ msgid "This shortcode displays the output of the Upcoming Events widget. Without attributes, it will display using the settings in your widget; the attributes are used to override the widget settings. The <code>before</code> and <code>after</code> attributes should be numbers; the <code>type</code> attribute can be either \"event\" or \"days\", and the <code>category</code> attribute works the same way as the category attribute on the main calendar shortcode. Templates work using the template codes listed below."
1509
+ msgstr "Denne shortcode viser outputtet fra widgetten Kommende Begivenheder. Uden attributter vises den med indstillingerne fra widgetten; attributterne bruges til at tilsidesætte widgettens indstillinger. Attributterne <code>before</code> og <code>after</code> skal være tal; attributten <code>type</code> kan være enten \"event\" eller \"days\", og attributten <code>category</code> fungerer på samme måde som kategori-attributten i hovedkalenderens shortcode. Skabeloner fungerer vha. skabelonkoderne listet herunder."
1510
+
1511
+ #: my-calendar-help.php:29
1512
+ msgid "Predictably enough, this shortcode displays the output of the Today's Events widget, with two configurable attributes: category and template."
1513
+ msgstr "Forudsigeligt nok viser denne shortcode outputtet fra widgetten Dagens Begivenheder, med to indstillelige attributter: <code>category</code> og <code>template</code>."
1514
+
1515
+ #: my-calendar-help.php:32
1516
+ msgid "This shortcode produces a list of event locations, either as a list of links or as a select dropdown form. The <code>show</code> attribute can either be <code>list</code> or <code>form</code>, <code>type</code> is either <code>saved</code> (to show items from your stored locations), or <code>custom</code> (to show the options configured in your user settings). <code>datatype</code> must be the type of data your limits are choosing from: <code>name</code> (business name), <code>city</code>, <code>state</code>, <code>country</code>, or <code>zip</code> (postal code)."
1517
+ msgstr "Denne shortcode giver som output en liste over begivenhedssteder, enten som en liste af links eller som en dropdown-menu. Attributten <code>show</code> kan enten sættes til <code>list</code> eller <code>form</code>. Attributten <code>type</code> kan enten være <code>saved</code> (henter data fra dine gemte steder) eller <code>custom</code> (henter data ud fra de indstillinger, der er valgt i hver brugerprofil). Attributten <code>datatype</code> sættes til den datatype, som der begrænses ud fra: <code>name</code> (stednavn), <code>city</code>, <code>country</code> eller <code>zip</code> (postnummer)."
1518
+
1519
+ #: my-calendar-help.php:38
1520
+ msgid "Category Icons"
1521
+ msgstr "Kategoriikoner"
1522
+
1523
+ #: my-calendar-help.php:41
1524
+ msgid "My Calendar is designed to manage multiple calendars. The basis for these calendars are categories; you can easily setup a calendar page which includes all categories, or you can dedicate separate pages to calendars in each category. For an example, this might be useful for you in managing the tour calendars for multiple bands; event calendars for a variety of locations, etc."
1525
+ msgstr "My Calendar er designet til at kunne administrere flere kalendere. Udgangspunktet for dette er kategorier; du kan let opsætte en kalenderside, som inkluderer alle kategorier, eller du kan dedikere separate sider til kalendere i hver kategori. Dette kunne f.eks. være relevant, hvis du skulle administrere tourkalenderne for flere bands eller begivenhedskalenderne for en række forskellige steder."
1526
+
1527
+ #: my-calendar-help.php:44
1528
+ msgid "The pre-installed category icons may not be especially useful for your needs or design. I'm assuming that you're going to upload your own icons -- all you need to do is upload them to the plugin's icons folder, and they'll be available for immediate use, or place them in a folder at \"my-calendar-custom\" to avoid having them overwritten by upgrades."
1529
+ msgstr "De præinstallerede kategoriikoner er måske ikke specielt velegnede til dit formål eller design. Jeg går ud fra, at du gerne vil uploade dine egne ikoner &mdash; alt du behøver at gøre er at uploade dem til mappen icons i pluginnets mappe i wp-content/plugins. Derefter er de klar til brug med det samme. Du kan også placere dem i en mappe kaldet \"my-calendar-custom\" for at undgå, at de bliver overskrevet ved opgradering af pluginnet."
1530
+
1531
+ #: my-calendar-help.php:44
1532
+ msgid "Your icons folder is:"
1533
+ msgstr "Din mappe til ikoner er:"
1534
+
1535
+ #: my-calendar-help.php:44
1536
+ msgid "You can alternately place icons in:"
1537
+ msgstr "Du kan alternativt placere ikoner i:"
1538
+
1539
+ #: my-calendar-help.php:52
1540
+ msgid "Widget Templating"
1541
+ msgstr "Widgetskabeloner"
1542
+
1543
+ #: my-calendar-help.php:55
1544
+ msgid "These codes are available in calendar widgets to create your own custom calendar format."
1545
+ msgstr "Disse koder er tilgængelige i kalenderwidgets med henblik på at kunne skabe dit eget tilpassede kalenderformat."
1546
+
1547
+ #: my-calendar-help.php:59
1548
+ msgid "Displays the name of the category the event is in."
1549
+ msgstr "Viser navnet på kategorien, som begivenheden er i."
1550
+
1551
+ #: my-calendar-help.php:62
1552
+ msgid "Displays the title of the event."
1553
+ msgstr "Viser begivenhedens titel."
1554
+
1555
+ #: my-calendar-help.php:65
1556
+ msgid "Displays the start time for the event."
1557
+ msgstr "Viser begivenhedens starttidspunkt."
1558
+
1559
+ #: my-calendar-help.php:68
1560
+ msgid "Displays the start time for the event adjusted to the current user's time zone settings. Blank output if user settings are disabled or the user has not selected a preferred time zone."
1561
+ msgstr "Viser begivenhedens starttidspunkt justeret efter den aktuelle brugers indstillinger for tidszone. Giver tomt output, hvis brugerindstillingerne er slået fra eller brugeren ikke har valgt en foretrukken tidszone."
1562
+
1563
+ #: my-calendar-help.php:71
1564
+ msgid "Displays the date on which the event begins."
1565
+ msgstr "Viser begivenhedens startdato."
1566
+
1567
+ #: my-calendar-help.php:74
1568
+ msgid "Displays the date on which the event ends."
1569
+ msgstr "Viser begivenhedens slutdato."
1570
+
1571
+ #: my-calendar-help.php:77
1572
+ msgid "Displays the time at which the event ends."
1573
+ msgstr "Viser begivenhedens sluttidspunkt."
1574
+
1575
+ #: my-calendar-help.php:80
1576
+ msgid "Displays the WordPress author who posted the event."
1577
+ msgstr "Viser den WordPress-forfatter, der publicerede begivenheden."
1578
+
1579
+ #: my-calendar-help.php:83
1580
+ msgid "Displays the URL provided for the event."
1581
+ msgstr "Viser URL'en, der er indtastet i begivenhedens oplysninger."
1582
+
1583
+ #: my-calendar-help.php:86
1584
+ msgid "Displays the description of the event."
1585
+ msgstr "Viser beskrivelsen af begivenhden."
1586
+
1587
+ #: my-calendar-help.php:89
1588
+ msgid "Displays title of the event as a link if a URL is present, or the title alone if no URL is available."
1589
+ msgstr "Viser begivenhedens titel som et link, hvis en URL er tilgængelig, eller titlen alene, hvis en URL ikke er tilgængelig."
1590
+
1591
+ #: my-calendar-help.php:92
1592
+ msgid "Displays the name of the location of the event."
1593
+ msgstr "Viser navnet på begivenhedens sted."
1594
+
1595
+ #: my-calendar-help.php:95
1596
+ msgid "Displays the first line of the site address."
1597
+ msgstr "Viser første linie af stedets gadenavn."
1598
+
1599
+ #: my-calendar-help.php:98
1600
+ msgid "Displays the second line of the site address."
1601
+ msgstr "Viser anden linie af stedets gadenavn."
1602
+
1603
+ #: my-calendar-help.php:101
1604
+ msgid "Displays the city for the event."
1605
+ msgstr "Viser bynavnet i begivenhedens stedoplysninger."
1606
+
1607
+ #: my-calendar-help.php:104
1608
+ msgid "Displays the state for the event."
1609
+ msgstr "Viser kommunen i begivenhedens stedoplysninger."
1610
+
1611
+ #: my-calendar-help.php:107
1612
+ msgid "Displays the postcode for the event."
1613
+ msgstr "Viser postnummeret i begivenhedens stedoplysninger."
1614
+
1615
+ #: my-calendar-help.php:110
1616
+ msgid "Displays the country for the event location."
1617
+ msgstr "Viser landet i begivenhedens stedoplysninger."
1618
+
1619
+ #: my-calendar-help.php:113
1620
+ msgid "Displays the event address in <a href=\"http://microformats.org/wiki/hcard\">hcard</a> format."
1621
+ msgstr "Viser begivenhedens adresse i <a href=\"http://microformats.org/wiki/hcard\">hcard</a> format."
1622
+
1623
+ #: my-calendar-help.php:116
1624
+ msgid "Displays a link to a Google Map of the event, if sufficient address information is available. If not, will be empty."
1625
+ msgstr "Viser et link til et Google Kort over begivenhedens sted, hvis tilstrækkelige adresseinformationer er tilgængelig. Hvis ikke, vises der ikke et kort."
1626
+
1627
+ #: my-calendar-help.php:119
1628
+ msgid "Displays text indicating whether registration for the event is currently open or closed; displays nothing if that choice is selected in the event."
1629
+ msgstr "Viser tekst, der indikerer om der er åbent eller lukket for tilmelding til begivenheden; viser ikke noget, hvis dette er valgt i indstillingerne for begivenheden."
1630
+
1631
+ #: my-calendar-help.php:122
1632
+ msgid "Displays the short version of the event description."
1633
+ msgstr "Viser den korte beskrivelse af begivenheden."
1634
+
1635
+ #: my-calendar-help.php:125
1636
+ msgid "Displays the current status of the event: either \"Published\" or \"Reserved\" - primary used in email templates."
1637
+ msgstr "Viser begivenhedens aktuelle status: Enten \"Publiceret\" eller \"Reserveret\" - bruges primært i e-mail-skabeloner."
1638
+
1639
+ #: my-calendar-help.php:128
1640
+ msgid "Produces the address of the current event's category icon."
1641
+ msgstr "Giver adressen til den aktuelle begivenheds kategoriikon."
1642
+
1643
+ #: my-calendar-help.php:131
1644
+ msgid "Produces the hex code for the current event's category color."
1645
+ msgstr "Giver hexkoden til den aktuelle begivenheds kategorifarve."
1646
+
1647
+ #: my-calendar-widgets.php:11
1648
+ #: my-calendar-widgets.php:51
1649
+ #: my-calendar-widgets.php:52
1650
+ msgid "Today's Events"
1651
+ msgstr "Dagens begivenheder"
1652
+
1653
+ #: my-calendar-widgets.php:41
1654
+ #: my-calendar-widgets.php:126
1655
+ msgid "Template"
1656
+ msgstr "Skabelon"
1657
+
1658
+ #: my-calendar-widgets.php:45
1659
+ msgid "Show this text if there are no events today:"
1660
+ msgstr "Vis denne tekst, hvis der ikke er begivenheder i dag:"
1661
+
1662
+ #: my-calendar-widgets.php:65
1663
+ #: my-calendar-widgets.php:152
1664
+ #: my-calendar-widgets.php:153
1665
+ msgid "Upcoming Events"
1666
+ msgstr "Kommende begivenheder"
1667
+
1668
+ #: my-calendar-widgets.php:130
1669
+ msgid "Widget Options"
1670
+ msgstr "Widgetindstillinger"
1671
+
1672
+ #: my-calendar-widgets.php:132
1673
+ msgid "Display upcoming events by:"
1674
+ msgstr "Vis kommende begivenheder med:"
1675
+
1676
+ #: my-calendar-widgets.php:133
1677
+ msgid "Events (e.g. 2 past, 3 future)"
1678
+ msgstr "Begivenheder (f.eks. 2 overståede, 3 kommende)"
1679
+
1680
+ #: my-calendar-widgets.php:134
1681
+ msgid "Dates (e.g. 4 days past, 5 forward)"
1682
+ msgstr "Datoer (f.eks. 4 dage bagud, 5 fremad)"
1683
+
1684
+ #: my-calendar-widgets.php:138
1685
+ msgid "events into the future;"
1686
+ msgstr "Begivenheder i den kommende tid;"
1687
+
1688
+ #: my-calendar-widgets.php:139
1689
+ msgid "events from the past"
1690
+ msgstr "Hidtidige begivenheder;"
1691
+
1692
+ #: my-calendar-widgets.php:142
1693
+ msgid "days into the future;"
1694
+ msgstr "dage i den kommende tid;"
1695
+
1696
+ #: my-calendar-widgets.php:143
1697
+ msgid "days from the past"
1698
+ msgstr "hidtidige dage"
1699
+
1700
+ #: my-calendar-widgets.php:146
1701
+ msgid "Show only this category:"
1702
+ msgstr "Vis kun denne kategori:"
1703
+
1704
+ #: my-calendar-widgets.php:285
1705
+ msgid "There are no events currently scheduled."
1706
+ msgstr "Der er ikke planlagt nogen begivenheder p.t."
1707
+
1708
  #. Plugin URI of the plugin/theme
1709
  msgid "http://www.joedolson.com/articles/my-calendar/"
1710
  msgstr "http://www.joedolson.com/articles/my-calendar/"
my-calendar-event-manager.php CHANGED
@@ -1,4 +1,5 @@
1
  <?php
 
2
  function jd_option_selected($field,$value,$type='checkbox') {
3
  switch ($type) {
4
  case 'radio':
@@ -28,7 +29,8 @@ function edit_my_calendar() {
28
  echo "</p>";
29
  ?>
30
  <form method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-config">
31
- <div>
 
32
  <input type="hidden" name="import" value="true" />
33
  <input type="submit" value="<?php _e('Import from Calendar','my-calendar'); ?>" name="import-calendar" class="button-primary" />
34
  </div>
@@ -44,7 +46,7 @@ function edit_my_calendar() {
44
  // First some quick cleaning up
45
  $edit = $create = $save = $delete = false;
46
 
47
- $action = !empty($_POST['action']) ? $_POST['action'] : '';
48
  $event_id = !empty($_POST['event_id']) ? $_POST['event_id'] : '';
49
 
50
  if ($_GET['mode'] == 'edit') {
@@ -59,6 +61,34 @@ if ($_GET['mode'] == 'copy') {
59
  // Lets see if this is first run and create us a table if it is!
60
  check_my_calendar();
61
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  if ($_GET['mode'] == 'delete') {
63
  $sql = "SELECT event_title, event_author FROM " . MY_CALENDAR_TABLE . " WHERE event_id=" . (int) $_GET['event_id'];
64
  $result = $wpdb->get_results( $sql, ARRAY_A );
@@ -68,7 +98,8 @@ if ($_GET['mode'] == 'delete') {
68
  <p><strong><?php _e('Delete Event','my-calendar'); ?>:</strong> <?php _e('Are you sure you want to delete this event?','my-calendar'); ?></p>
69
  <form action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar" method="post">
70
  <div>
71
- <input type="hidden" value="delete" name="action" />
 
72
  <input type="hidden" value="<?php echo (int) $_GET['event_id']; ?>" name="event_id" />
73
  <input type="submit" name="submit" class="button-primary" value="<?php _e('Delete','my-calendar'); echo " &quot;".$result[0]['event_title']."&quot;"; ?>" />
74
  </div>
@@ -113,123 +144,20 @@ if ($_GET['mode'] == 'reject') {
113
  }
114
  }
115
 
116
- if ( isset( $_POST['action'] ) ) {
117
- $proceed = false;
118
- // Deal with adding an event to the database
119
- $event_author = (int) ($action == 'add' || $action == 'copy')?($current_user->ID):($_POST['event_author']);
120
-
121
- $output = mc_check_data($action,$_POST);
122
- $proceed = $output[0];
123
- // end data checking and gathering
124
- if ( ( $action == 'add' || $action == 'copy' ) && $proceed == true ) {
125
- $add = $output[2];
126
- $formats = array( '%s','%s','%s','%s','%s','%s','%d','%d','%d','%s','%s','%s','%s','%s','%s','%s','%s','%s','%d','%f','%f','%d','%s','%d','%d','%d','%d' );
127
- $result = $wpdb->insert(
128
- MY_CALENDAR_TABLE,
129
- $add,
130
- $formats
131
- );
132
- if ( !$result ) {
133
- echo "<div class='error'><p><strong>". __('Error','my-calendar') .":</strong>". _e('I\'m sorry! I couldn\'t add that event to the database.','my-calendar') . "</p></div>";
134
- } else {
135
- echo "<div class='updated'><p>". __('Event added. It will now show in your calendar.','my-calendar') . "</p></div>";
136
- // Call mail function
137
- $sql = "SELECT * FROM ". MY_CALENDAR_TABLE." WHERE event_id = ".$wpdb->insert_id;
138
- $event = $wpdb->get_results($sql);
139
- my_calendar_send_email( $event[0] );
140
- }
141
- }
142
- if ( $action == 'edit' && $proceed == true ) {
143
- if ( mc_can_edit_event( $event_author ) ) {
144
- $update = $output[2];
145
- $formats = array('%s','%s','%s','%s','%s','%s','%d','%d','%s','%s','%s','%s','%s','%s','%s','%s','%s','%d','%f','%f','%d','%s','%d','%d','%d','%d' );
146
- $wpdb->show_errors();
147
- $result = $wpdb->update(
148
- MY_CALENDAR_TABLE,
149
- $update,
150
- array( 'event_id'=>$event_id ),
151
- $formats,
152
- '%d' );
153
- //$wpdb->print_error();
154
- if ( $result === false ) {
155
- ?>
156
- <div class="error"><p><strong><?php _e('Error','my-calendar'); ?>:</strong> <?php _e('Your event was not updated.','my-calendar'); ?></p></div>
157
- <?php
158
- } else if ( $result === 0 ) {
159
- ?>
160
- <div class="updated"><p><?php _e('Nothing was changed in that update.','my-calendar'); ?></p></div>
161
- <?php
162
- } else {
163
- ?>
164
- <div class="updated"><p><?php _e('Event updated successfully','my-calendar'); ?></p></div>
165
- <?php
166
- }
167
- } else {
168
- ?>
169
- <div class="error">
170
- <p><strong><?php _e('You do not have sufficient permissions to edit that event.','my-calendar'); ?></strong></p>
171
- </div>
172
- <?php
173
- }
174
- }
175
-
176
- if ( $action == 'delete' ) {
177
- // Deal with deleting an event from the database
178
- if ( empty($event_id) ) {
179
- ?>
180
- <div class="error"><p><strong><?php _e('Error','my-calendar'); ?>:</strong> <?php _e("You can't delete an event if you haven't submitted an event id",'my-calendar'); ?></p></div>
181
- <?php
182
- } else {
183
- $sql = "DELETE FROM " . MY_CALENDAR_TABLE . " WHERE event_id='" . mysql_real_escape_string($event_id) . "'";
184
- $wpdb->get_results($sql);
185
-
186
- $sql = "SELECT event_id FROM " . MY_CALENDAR_TABLE . " WHERE event_id='" . mysql_real_escape_string($event_id) . "'";
187
- $result = $wpdb->get_results($sql);
188
-
189
- if ( empty($result) || empty($result[0]->event_id) ) {
190
- ?>
191
- <div class="updated"><p><?php _e('Event deleted successfully','my-calendar'); ?></p></div>
192
- <?php
193
- } else {
194
- ?>
195
- <div class="error"><p><strong><?php _e('Error','my-calendar'); ?>:</strong> <?php _e('Despite issuing a request to delete, the event still remains in the database. Please investigate.','my-calendar'); ?></p></div>
196
- <?php
197
-
198
- }
199
- }
200
- }
201
-
202
-
203
- // Approve and show an Event ...by Roland
204
- if ($_GET['mode'] == 'approve') {
205
- if ( current_user_can( get_option('mc_event_approve_perms') ) ) {
206
- $sql = "UPDATE " . MY_CALENDAR_TABLE . " SET event_approved = 1 WHERE event_id=" . (int) $_GET['event_id'];
207
- $result = $wpdb->get_results( $sql, ARRAY_A );
208
  } else {
209
- ?>
210
- <div class="error">
211
- <p><strong><?php _e('You do not have permission to approve that event.','my-calendar'); ?></strong></p>
212
- </div>
213
- <?php
214
  }
 
215
  }
216
 
217
- // Reject and hide an Event ...by Roland
218
- if ($_GET['mode'] == 'reject') {
219
- if ( current_user_can( get_option('mc_event_approve_perms') ) ) {
220
- $sql = "UPDATE " . MY_CALENDAR_TABLE . " SET event_approved = 0 WHERE event_id=" . (int) $_GET['event_id'];
221
- $result = $wpdb->get_results( $sql, ARRAY_A );
222
- } else {
223
- ?>
224
- <div class="error">
225
- <p><strong><?php _e('You do not have permission to reject that event.','my-calendar'); ?></strong></p>
226
- </div>
227
- <?php
228
- }
229
- }
230
- }
231
- // Now follows a little bit of code that pulls in the main
232
- // components of this page; the edit form and the list of events
233
  ?>
234
 
235
  <div class="wrap">
@@ -260,9 +188,8 @@ my_calendar_check_db();
260
  ?>
261
  <h2><?php _e('Add Event','my-calendar'); ?></h2>
262
  <?php jd_show_support_box(); ?>
263
-
264
  <?php jd_events_edit_form(); ?>
265
-
266
  <h2><?php _e('Manage Events','my-calendar'); ?></h2>
267
  <?php if ( get_option('mc_event_approve') == 'true' ) { ?>
268
  <ul class="links">
@@ -273,33 +200,23 @@ my_calendar_check_db();
273
  <?php } ?>
274
  <?php
275
 
276
- if ( isset( $_GET['sort'] ) ) {
277
- $sortby = (int) $_GET['sort'];
278
- } else {
279
- $sortby = 'default';
280
- }
281
-
282
  if ( isset( $_GET['order'] ) ) {
283
- if ( $_GET['order'] == 'ASC' ) {
284
- $sortdir = 'ASC';
285
- } else {
286
- $sortdir = 'default';
287
- }
288
  } else {
289
  $sortdir = 'default';
290
  }
291
  if ( isset( $_GET['limit'] ) ) {
292
  switch ($_GET['limit']) {
293
- case 'reserved':
294
- $limit = 'reserved';
295
  break;
296
- case 'published':
297
- $limit ='published';
298
  break;
299
  }
300
  } else {
301
  $limit = 'all';
302
- }
303
  jd_events_display_list($sortby,$sortdir,$limit);
304
  }
305
  ?>
@@ -307,94 +224,172 @@ my_calendar_check_db();
307
  <?php
308
  }
309
 
310
- // The event edit form for the manage events admin page
311
- function jd_events_edit_form($mode='add', $event_id=false) {
312
- global $wpdb,$users_entries,$user_ID;
313
- $data = false;
314
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
315
  if ( $event_id !== false ) {
316
  if ( intval($event_id) != $event_id ) {
317
- echo "<div class=\"error\"><p>".__('Sorry! That\'s an invalid event key.','my-calendar')."</p></div>";
318
- return;
319
  } else {
320
  $data = $wpdb->get_results("SELECT * FROM " . MY_CALENDAR_TABLE . " WHERE event_id='" . mysql_real_escape_string($event_id) . "' LIMIT 1");
321
  if ( empty($data) ) {
322
- echo "<div class=\"error\"><p>".__("Sorry! We couldn't find an event with that ID.",'my-calendar')."</p></div>";
323
- return;
324
  }
325
  $data = $data[0];
326
  }
327
  // Recover users entries if they exist; in other words if editing an event went wrong
328
  if (!empty($users_entries)) {
329
  $data = $users_entries;
330
- }
331
  } else {
332
  // Deal with possibility that form was submitted but not saved due to error - recover user's entries here
333
  $data = $users_entries;
334
  }
335
- global $user_ID;
336
- get_currentuserinfo();
337
- $user = get_userdata($user_ID);
338
- $mc_input_administrator = (get_option('mc_input_options_administrators')=='true' && current_user_can('manage_options'))?true:false;
339
- $mc_input = get_option('mc_input_options');
340
-
341
- ?>
342
-
343
- <div id="poststuff" class="jd-my-calendar">
344
- <div class="postbox">
345
- <h3><?php if ($mode == "add") { _e('Add an Event','my-calendar'); } else if ($mode == "copy") { _e('Copy Event','my-calendar'); } else { _e('Edit Event'); } ?></h3>
346
- <div class="inside">
 
347
  <?php
348
  if ($data->event_approved != 1 && $mode == 'edit' ) {
349
  $message = __('This event must be approved in order for it to appear on the calendar.','my-calendar');
350
  } else {
351
  $message = "";
352
  }
353
- if ($message != '') {
354
- echo "<div class='error'><p>$message</p></div>";
355
- }
356
  ?>
357
  <form name="my-calendar" id="my-calendar" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar">
358
- <div>
359
- <input type="hidden" name="action" value="<?php echo $mode; ?>" />
360
- <input type="hidden" name="event_id" value="<?php echo $event_id; ?>" />
361
- <input type="hidden" name="event_author" value="<?php echo $user_ID; ?>" />
362
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
363
  <fieldset>
364
  <legend><?php _e('Enter your Event Information','my-calendar'); ?></legend>
365
  <p>
366
- <label for="event_title"><?php _e('Event Title','my-calendar'); ?></label> <input type="text" id="event_title" name="event_title" class="input" size="60" value="<?php if ( !empty($data) ) echo htmlspecialchars(stripslashes($data->event_title)); ?>" />
367
  <?php if ( $mode == 'edit' ) { ?>
368
  <?php if ( get_option( 'mc_event_approve' ) == 'true' ) { ?>
369
  <?php if ( current_user_can( get_option('mc_event_approve_perms') ) ) { // (Added by Roland P. ?>
370
  <input type="checkbox" value="1" id="event_approved" name="event_approved"<?php if ( !empty($data) && $data->event_approved == '1' ) { echo " checked=\"checked\""; } else if ( !empty($data) && $data->event_approved == '0' ) { echo ""; } else if ( get_option( 'mc_event_approve' ) == 'true' ) { echo "checked=\"checked\""; } ?> /> <label for="event_approved"><?php _e('Publish','my-calendar'); ?><?php if ($event->event_approved != 1) { ?> <small>[<?php _e('You must approve this event to promote it to the calendar.','my-calendar'); ?>]</small> <?php } ?></label>
371
  <?php } else { // case: editing, approval enabled, user cannot approve ?>
372
- <p><input type="hidden" value="0" name="event_approved" /><?php _e('An administrator must approve your new event.','my-calendar'); ?></p>
373
  <?php } ?>
374
  <?php } else { // Case: editing, approval system is disabled - auto approve ?>
375
- <p><input type="hidden" value="1" name="event_approved" /></p>
376
  <?php } ?>
377
  <?php } else { // case: adding new event (if use can, then 1, else 0) ?>
378
  <?php if ( current_user_can( get_option('mc_event_approve_perms') ) ) { $dvalue = 1; } else { $dvalue = 0; } ?>
379
- <div><input type="hidden" value="<?php echo $dvalue; ?>" name="event_approved" /></div>
380
  <?php } ?>
381
  </p>
382
  <?php if ($mc_input['event_desc'] == 'on' || $mc_input_administrator ) { ?>
 
383
  <p>
384
  <label for="event_desc"><?php _e('Event Description (<abbr title="hypertext markup language">HTML</abbr> allowed)','my-calendar'); ?></label><br /><textarea id="event_desc" name="event_desc" class="input" rows="5" cols="80"><?php if ( !empty($data) ) echo htmlspecialchars(stripslashes($data->event_desc)); ?></textarea>
385
  </p>
386
  <?php } ?>
 
387
  <?php if ($mc_input['event_short'] == 'on') { ?>
388
  <p>
389
  <label for="event_short"><?php _e('Event Short Description (<abbr title="hypertext markup language">HTML</abbr> allowed)','my-calendar'); ?></label><br /><textarea id="event_short" name="event_short" class="input" rows="2" cols="80"><?php if ( !empty($data) ) echo htmlspecialchars(stripslashes($data->event_short)); ?></textarea>
390
  </p>
391
  <?php } ?>
392
-
393
- <?php //Event host field added by Jeff Allen - http://jdadesign.net ?>
394
- <?php
395
- /*Function to get all users
396
- * Author: Jeff Allen
397
- */
398
  function my_calendar_getUsers() {
399
  global $wpdb;
400
  $authors = $wpdb->get_results( "SELECT ID, user_nicename, display_name from $wpdb->users ORDER BY display_name" );
@@ -418,22 +413,20 @@ function jd_events_edit_form($mode='add', $event_id=false) {
418
  }
419
  ?>
420
  </select>
421
- </p>
422
-
423
-
424
  <?php if ($mc_input['event_category'] == 'on') { ?>
425
  <p>
426
  <label for="event_category"><?php _e('Event Category','my-calendar'); ?></label>
427
  <select id="event_category" name="event_category">
428
  <?php
429
- // Grab all the categories and list them
430
- $sql = "SELECT * FROM " . MY_CALENDAR_CATEGORIES_TABLE;
431
- $cats = $wpdb->get_results($sql);
432
  foreach($cats as $cat) {
433
- echo '<option value="'.$cat->category_id.'"';
434
  if (!empty($data)) {
435
  if ($data->event_category == $cat->category_id){
436
- echo ' selected="selected"';
437
  }
438
  }
439
  echo '>'.$cat->category_name.'</option>';
@@ -448,92 +441,101 @@ function jd_events_edit_form($mode='add', $event_id=false) {
448
  <?php } ?>
449
  <?php if ($mc_input['event_link'] == 'on') { ?>
450
  <p>
451
- <label for="event_link"><?php _e('Event Link (Optional)','my-calendar'); ?></label> <input type="text" id="event_link" name="event_link" class="input" size="40" value="<?php if ( !empty($data) ) echo htmlspecialchars($data->event_link); ?>" /> <input type="checkbox" value="1" id="event_link_expires" name="event_link_expires"<?php if ( !empty($data) && $data->event_link_expires == '1' ) { echo " checked=\"checked\""; } else if ( !empty($data) && $data->event_link_expires == '0' ) { echo ""; } else if ( get_option( 'mc_event_link_expires' ) == 'true' ) { echo " checked=\"checked\""; } ?> /> <label for="event_link_expires"><?php _e('This link will expire when the event passes.','my-calendar'); ?></label>
452
  </p>
453
  <?php } ?>
 
 
 
 
 
 
454
  <p>
455
- <label for="event_begin"><?php _e('Start Date (YYYY-MM-DD)','my-calendar'); ?></label> <input type="text" id="event_begin" name="event_begin" class="calendar_input" size="12" value="<?php if ( !empty($data) ) { echo htmlspecialchars($data->event_begin);} else {echo date_i18n("Y-m-d");} ?>" />
456
- </p>
457
- <p>
458
- <label for="event_end"><?php _e('End Date (YYYY-MM-DD) (Optional)','my-calendar'); ?></label> <input type="text" name="event_end" id="event_end" class="calendar_input" size="12" value="<?php if ( !empty($data) ) {echo htmlspecialchars($data->event_end);} ?>" />
459
- </p>
460
- <p>
461
- <label for="event_time"><?php _e('Time (hh:mm)','my-calendar'); ?></label> <input type="text" id="event_time" name="event_time" class="input" size="12"
462
- value="<?php
463
- $offset = (60*60*get_option('gmt_offset'));
464
  if ( !empty($data) ) {
465
- if ($data->event_time == "00:00:00") {
466
- echo '';
467
- } else {
468
- echo date("H:i",strtotime($data->event_time));
469
- }
470
  } else {
471
  echo date_i18n("H:i",time()+$offset);
472
- }
473
- ?>" /> <?php _e('Optional, set blank if your event is an all-day event or does not happen at a specific time.','my-calendar'); ?> <?php _e('Current time difference from GMT is ','my-calendar'); echo get_option('gmt_offset'); _e(' hour(s)', 'my-calendar'); ?>
474
- </p>
475
  <p>
476
- <label for="event_endtime"><?php _e('End Time (hh:mm)','my-calendar'); ?></label> <input type="text" id="event_endtime" name="event_endtime" class="input" size="12"
477
- value="<?php
478
  if ( !empty($data) ) {
479
- if ($data->event_endtime == "00:00:00") {
480
- echo '';
481
- } else {
482
- echo date("H:i",strtotime($data->event_endtime));
483
- }
484
  } else {
485
  echo '';
486
- }?>" /> <?php _e('Optional. End times will not be displayed on events where this is not set.','my-calendar'); ?>
487
- </p>
 
 
 
488
  </fieldset>
 
 
489
  <?php if ($mc_input['event_recurs'] == 'on') { ?>
 
 
490
  <fieldset>
491
  <legend><?php _e('Recurring Events','my-calendar'); ?></legend>
492
  <?php if ( $data->event_repeats != NULL ) { $repeats = $data->event_repeats; } else { $repeats = 0; } ?>
493
  <p>
494
  <label for="event_repeats"><?php _e('Repeats for','my-calendar'); ?></label> <input type="text" name="event_repeats" id="event_repeats" class="input" size="1" value="<?php echo $repeats; ?>" />
495
  <label for="event_recur"><?php _e('Units','my-calendar'); ?></label> <select name="event_recur" class="input" id="event_recur">
496
- <option class="input" <?php echo jd_option_selected( $data->event_recur,'S','option'); ?> value="S"><?php _e('Does not recur','my-calendar'); ?></option>
497
- <option class="input" <?php echo jd_option_selected( $data->event_recur,'D','option'); ?> value="D"><?php _e('Daily','my-calendar'); ?></option>
498
- <option class="input" <?php echo jd_option_selected( $data->event_recur,'W','option'); ?> value="W"><?php _e('Weekly','my-calendar'); ?></option>
499
- <option class="input" <?php echo jd_option_selected( $data->event_recur,'B','option'); ?> value="B"><?php _e('Bi-weekly','my-calendar'); ?></option>
500
- <option class="input" <?php echo jd_option_selected( $data->event_recur,'M','option'); ?> value="M"><?php _e('Date of Month (e.g., the 24th of each month)','my-calendar'); ?></option>
501
- <option class="input" <?php echo jd_option_selected( $data->event_recur,'U','option'); ?> value="U"><?php _e('Day of Month (e.g., the 3rd Monday of each month)','my-calendar'); ?></option>
502
- <option class="input" <?php echo jd_option_selected( $data->event_recur,'Y','option'); ?> value="Y"><?php _e('Annually','my-calendar'); ?></option>
503
  </select><br />
504
- <?php _e('Entering 0 means forever, if a unit is selected. If the recurrence unit is left at "Does not recur," the event will not reoccur.','my-calendar'); ?>
505
  </p>
506
  </fieldset>
 
 
507
  <?php } else { ?>
508
  <div>
509
  <input type="hidden" name="event_repeats" value="0" />
510
  <input type="hidden" name="event_recur" value="S" />
511
  </div>
 
512
  <?php } ?>
 
513
  <?php if ($mc_input['event_open'] == 'on') { ?>
 
 
514
  <fieldset>
515
  <legend><?php _e('Event Registration Status','my-calendar'); ?></legend>
516
- <p>
517
- <input type="radio" id="event_open" name="event_open" value="1" <?php if (!empty($data)) { echo jd_option_selected( $data->event_open,'1'); } else { echo " checked='checked'"; } ?> /> <label for="event_open"><?php _e('Open','my-calendar'); ?></label>
518
- <input type="radio" id="event_closed" name="event_open" value="0" <?php if (!empty($data)) { echo jd_option_selected( $data->event_open,'0'); } ?> /> <label for="event_closed"><?php _e('Closed','my-calendar'); ?></label>
519
- <input type="radio" id="event_none" name="event_open" value="2" <?php if (!empty($data)) { echo jd_option_selected( $data->event_open, '2' ); } ?> /> <label for="event_none"><?php _e('Does not apply','my-calendar'); ?></label>
520
- </p>
 
521
  <p>
522
  <input type="checkbox" name="event_group" id="event_group" <?php echo jd_option_selected( $data->event_group,'1'); ?> /> <label for="event_group"><?php _e('If this event recurs, it can only be registered for as a complete series.','my-calendar'); ?></label>
523
  </p>
524
  </fieldset>
 
 
525
  <?php } else { ?>
526
  <div>
527
  <input type="hidden" name="event_open" value="2" />
528
  </div>
 
529
  <?php } ?>
 
530
  <?php if ($mc_input['event_location'] == 'on' || $mc_input['event_location_dropdown'] == 'on') { ?>
 
 
 
531
  <fieldset>
532
  <legend><?php _e('Event Location','my-calendar'); ?></legend>
533
  <?php } ?>
534
- <?php if ($mc_input['event_location_dropdown'] == 'on') { ?>
535
-
536
-
537
  <?php $locations = $wpdb->get_results("SELECT location_id,location_label FROM " . MY_CALENDAR_LOCATIONS_TABLE . " ORDER BY location_id ASC");
538
  if ( !empty($locations) ) {
539
  ?>
@@ -544,11 +546,10 @@ function jd_events_edit_form($mode='add', $event_id=false) {
544
  foreach ( $locations as $location ) {
545
  echo "<option value=\"".$location->location_id."\">".stripslashes($location->location_label)."</option>";
546
  }
547
- ?>
548
-
549
  </select>
550
  </p>
551
- <?php
552
  } else {
553
  ?>
554
  <input type="hidden" name="location_preset" value="none" />
@@ -564,19 +565,19 @@ function jd_events_edit_form($mode='add', $event_id=false) {
564
  <?php _e('All location fields are optional: <em>insufficient information may result in an inaccurate map</em>.','my-calendar'); ?>
565
  </p>
566
  <p>
567
- <label for="event_label"><?php _e('Name of Location (e.g. <em>Joe\'s Bar and Grill</em>)','my-calendar'); ?></label> <input type="text" id="event_label" name="event_label" class="input" size="40" value="<?php if ( !empty($data) ) echo htmlspecialchars(stripslashes($data->event_label)); ?>" />
568
  </p>
569
  <p>
570
- <label for="event_street"><?php _e('Street Address','my-calendar'); ?></label> <input type="text" id="event_street" name="event_street" class="input" size="40" value="<?php if ( !empty($data) ) echo htmlspecialchars(stripslashes($data->event_street)); ?>" />
571
  </p>
572
  <p>
573
- <label for="event_street2"><?php _e('Street Address (2)','my-calendar'); ?></label> <input type="text" id="event_street2" name="event_street2" class="input" size="40" value="<?php if ( !empty($data) ) echo htmlspecialchars(stripslashes($data->event_street2)); ?>" />
574
  </p>
575
  <p>
576
- <label for="event_city"><?php _e('City','my-calendar'); ?></label> <input type="text" id="event_city" name="event_city" class="input" size="40" value="<?php if ( !empty($data) ) echo htmlspecialchars(stripslashes($data->event_city)); ?>" /> <label for="event_state"><?php _e('State/Province','my-calendar'); ?></label> <input type="text" id="event_state" name="event_state" class="input" size="10" value="<?php if ( !empty($data) ) echo htmlspecialchars(stripslashes($data->event_state)); ?>" /> <label for="event_postcode"><?php _e('Postal Code','my-calendar'); ?></label> <input type="text" id="event_postcode" name="event_postcode" class="input" size="10" value="<?php if ( !empty($data) ) echo htmlspecialchars(stripslashes($data->event_postcode)); ?>" />
577
  </p>
578
  <p>
579
- <label for="event_country"><?php _e('Country','my-calendar'); ?></label> <input type="text" id="event_country" name="event_country" class="input" size="10" value="<?php if ( !empty($data) ) echo htmlspecialchars(stripslashes($data->event_country)); ?>" />
580
  </p>
581
  <p>
582
  <label for="event_zoom"><?php _e('Initial Zoom','my-calendar'); ?></label>
@@ -595,55 +596,40 @@ function jd_events_edit_form($mode='add', $event_id=false) {
595
  <small><?php _e('If you supply GPS coordinates for your location, they will be used in place of any other address information to provide your map link.','my-calendar'); ?></small>
596
  </p>
597
  <p>
598
- <label for="event_longitude"><?php _e('Longitude','my-calendar'); ?></label> <input type="text" id="event_longitude" name="event_longitude" class="input" size="10" value="<?php if ( !empty( $data ) ) echo htmlspecialchars(stripslashes($data->event_longitude)); ?>" /> <label for="event_latitude"><?php _e('Latitude','my-calendar'); ?></label> <input type="text" id="event_latitude" name="event_latitude" class="input" size="10" value="<?php if ( !empty( $data ) ) echo htmlspecialchars(stripslashes($data->event_latitude)); ?>" />
599
  </p>
600
  </fieldset>
601
  <?php } ?>
602
  <?php if ($mc_input['event_location'] == 'on' || $mc_input['event_location_dropdown'] == 'on') { ?>
603
  </fieldset>
604
- <?php } ?>
605
- <p>
606
- <input type="submit" name="save" class="button-primary" value="<?php _e('Save Event','my-calendar'); ?> &raquo;" />
607
- </p>
608
-
609
- </form>
610
- </div>
611
- </div>
612
  </div>
613
- <?php
614
  }
615
 
616
-
617
  // Used on the manage events admin page to display a list of events
618
- function jd_events_display_list($sortby='default',$sortdir='default',$status='all') {
619
  global $wpdb;
620
  if ($sortby == 'default') {
621
  $sortbyvalue = 'event_begin';
622
  } else {
623
  switch ($sortby) {
624
- case 1:
625
- $sortbyvalue = 'event_ID';
626
  break;
627
- case 2:
628
- $sortbyvalue = 'event_title';
629
  break;
630
- case 3:
631
- $sortbyvalue = 'event_desc';
632
  break;
633
- case 4:
634
- $sortbyvalue = 'event_begin';
635
  break;
636
- case 5 :
637
- $sortbyvalue = 'event_author';
638
  break;
639
- case 6:
640
- $sortbyvalue = 'event_category';
641
  break;
642
- case 7:
643
- $sortbyvalue = 'event_label';
644
  break;
645
- default:
646
- $sortbyvalue = 'event_begin';
647
  }
648
  }
649
  if ($sortdir == 'default') {
@@ -653,17 +639,13 @@ function jd_events_display_list($sortby='default',$sortdir='default',$status='al
653
  }
654
 
655
  switch ($status) {
656
- case 'all':
657
- $limit = '';
658
  break;
659
- case 'reserved':
660
- $limit = 'WHERE event_approved = 0';
661
  break;
662
- case 'published':
663
- $limit = 'WHERE event_approved = 1';
664
  break;
665
- default:
666
- $limit = '';
667
  }
668
 
669
  $events = $wpdb->get_results("SELECT * FROM " . MY_CALENDAR_TABLE . " $limit ORDER BY $sortbyvalue $sortbydirection");
@@ -676,21 +658,24 @@ function jd_events_display_list($sortby='default',$sortdir='default',$status='al
676
 
677
  if ( !empty($events) ) {
678
  ?>
679
- <table class="widefat page fixed" id="my-calendar-admin-table" summary="Table of Calendar Events">
680
- <thead>
681
- <tr>
682
- <th class="manage-column n4" scope="col"><a href="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar&amp;sort=1<?php echo $sorting; ?>"><?php _e('ID','my-calendar') ?></a></th>
683
- <th class="manage-column" scope="col"><a href="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar&amp;sort=2<?php echo $sorting; ?>"><?php _e('Title','my-calendar') ?></a></th>
684
- <th class="manage-column" scope="col"><?php _e('Link','my-calendar') ?></th>
685
- <th class="manage-column" scope="col"><a href="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar&amp;sort=7<?php echo $sorting; ?>"><?php _e('Location','my-calendar') ?></a></th>
686
- <th class="manage-column n8" scope="col"><a href="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar&amp;sort=3<?php echo $sorting; ?>"><?php _e('Description','my-calendar') ?></a></th>
687
- <th class="manage-column n5" scope="col"><a href="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar&amp;sort=4<?php echo $sorting; ?>"><?php _e('Start Date','my-calendar') ?></a></th>
688
- <th class="manage-column n6" scope="col"><?php _e('Recurs','my-calendar') ?></th>
689
- <th class="manage-column" scope="col"><a href="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar&amp;sort=5<?php echo $sorting; ?>"><?php _e('Author','my-calendar') ?></a></th>
690
- <th class="manage-column" scope="col"><a href="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar&amp;sort=6<?php echo $sorting; ?>"><?php _e('Category','my-calendar') ?></a></th>
691
- <th class="manage-column n7" scope="col"><?php _e('Edit / Delete','my-calendar') ?></th>
692
- </tr>
693
- </thead>
 
 
 
694
  <?php
695
  $class = '';
696
  $sql = "SELECT * FROM " . MY_CALENDAR_CATEGORIES_TABLE ;
@@ -699,11 +684,15 @@ function jd_events_display_list($sortby='default',$sortdir='default',$status='al
699
  foreach ( $events as $event ) {
700
  $class = ($class == 'alternate') ? '' : 'alternate';
701
  $author = get_userdata($event->event_author);
 
 
 
 
 
702
  ?>
703
  <tr class="<?php echo $class; ?>">
704
- <th scope="row"><?php echo $event->event_id; ?></th>
705
- <td><?php echo stripslashes($event->event_title); ?></td>
706
- <td><?php echo stripslashes($event->event_link); ?></td>
707
  <td><?php echo stripslashes($event->event_label); ?></td>
708
  <td><?php echo substr(strip_tags(stripslashes($event->event_desc)),0,60); ?>&hellip;</td>
709
  <?php if ($event->event_time != "00:00:00") { $eventTime = date_i18n(get_option('time_format'), strtotime($event->event_time)); } else { $eventTime = get_option('my_calendar_notime_text'); } ?>
@@ -720,7 +709,6 @@ function jd_events_display_list($sortby='default',$sortdir='default',$status='al
720
  else if ($event->event_recur == 'U') { _e('Monthly (by day)','my-calendar'); }
721
  else if ($event->event_recur == 'Y') { _e('Yearly','my-calendar'); }
722
  ?>&thinsp;&ndash;&thinsp;<?php
723
- // Interpret the DB values into something human readable
724
  if ($event->event_recur == 'S') { echo __('N/A','my-calendar'); }
725
  else if ($event->event_repeats == 0) { echo __('Forever','my-calendar'); }
726
  else if ($event->event_repeats > 0) { echo $event->event_repeats.' '.__('Times','my-calendar'); }
@@ -764,19 +752,29 @@ function jd_events_display_list($sortby='default',$sortdir='default',$status='al
764
  <?php } ?>
765
  </td>
766
  </tr>
767
- <?php
768
  }
769
- ?>
770
  </table>
771
- <?php
 
 
 
 
772
  } else {
773
- ?>
774
- <p><?php _e("There are no events in the database!",'my-calendar') ?></p>
775
- <?php
776
  }
777
  }
778
  function mc_check_data($action,$_POST) {
779
  global $wpdb, $current_user, $users_entries;
 
 
 
 
 
 
780
  if ( $action == 'add' || $action == 'edit' || $action == 'copy' ) {
781
  $title = !empty($_POST['event_title']) ? trim($_POST['event_title']) : '';
782
  $desc = !empty($_POST['event_desc']) ? trim($_POST['event_desc']) : '';
@@ -811,16 +809,16 @@ if ( $action == 'add' || $action == 'edit' || $action == 'copy' ) {
811
  $event_latitude = $location->location_latitude;
812
  $event_zoom = $location->location_zoom;
813
  } else {
814
- $event_label = !empty($_POST['event_label']) ? $_POST['event_label'] : '';
815
- $event_street = !empty($_POST['event_street']) ? $_POST['event_street'] : '';
816
- $event_street2 = !empty($_POST['event_street2']) ? $_POST['event_street2'] : '';
817
- $event_city = !empty($_POST['event_city']) ? $_POST['event_city'] : '';
818
- $event_state = !empty($_POST['event_state']) ? $_POST['event_state'] : '';
819
- $event_postcode = !empty($_POST['event_postcode']) ? $_POST['event_postcode'] : '';
820
- $event_country = !empty($_POST['event_country']) ? $_POST['event_country'] : '';
821
- $event_longitude = !empty($_POST['event_longitude']) ? $_POST['event_longitude'] : '';
822
- $event_latitude = !empty($_POST['event_latitude']) ? $_POST['event_latitude'] : '';
823
- $event_zoom = !empty($_POST['event_zoom']) ? $_POST['event_zoom'] : '';
824
  }
825
  // Deal with those who have magic quotes turned on
826
  if ( ini_get('magic_quotes_gpc') ) {
@@ -832,6 +830,7 @@ if ( $action == 'add' || $action == 'edit' || $action == 'copy' ) {
832
  $time = stripslashes($time);
833
  $endtime = stripslashes($endtime);
834
  $recur = stripslashes($recur);
 
835
  $repeats = stripslashes($repeats);
836
  $category = stripslashes($category);
837
  $linky = stripslashes($linky);
@@ -849,9 +848,7 @@ if ( $action == 'add' || $action == 'edit' || $action == 'copy' ) {
849
  $event_zoom = stripslashes($event_zoom);
850
  $event_group = stripslashes($event_group);
851
  $approved = stripslashes($approved);
852
-
853
- }
854
-
855
  // Perform some validation on the submitted dates - this checks for valid years and months
856
  $date_format_one = '/^([0-9]{4})-([0][1-9])-([0-3][0-9])$/';
857
  $date_format_two = '/^([0-9]{4})-([1][0-2])-([0-3][0-9])$/';
@@ -865,26 +862,20 @@ if ( $action == 'add' || $action == 'edit' || $action == 'copy' ) {
865
  $end_y = $end_split[0];
866
  $end_m = $end_split[1];
867
  $end_d = $end_split[2];
868
- if (checkdate($begin_m,$begin_d,$begin_y) && checkdate($end_m,$end_d,$end_y)) {
869
- // Ok, now we know we have valid dates, we want to make sure that they are either equal or that the end date is later than the start date
870
- if (strtotime($end) >= strtotime($begin)) {
871
- $start_date_ok = 1;
872
- $end_date_ok = 1;
873
- } else {
874
- ?>
875
- <div class="error"><p><strong><?php _e('Error','my-calendar'); ?>:</strong> <?php _e('Your event end date must be either after or the same as your event begin date','my-calendar'); ?></p></div>
876
- <?php
877
- }
878
- } else {
879
- ?>
880
- <div class="error"><p><strong><?php _e('Error','my-calendar'); ?>:</strong> <?php _e('Your date formatting is correct but one or more of your dates is invalid. Check for number of days in month and leap year related errors.','my-calendar'); ?></p></div>
881
- <?php
882
- }
883
- } else {
884
- ?>
885
- <div class="error"><p><strong><?php _e('Error','my-calendar'); ?>:</strong> <?php _e('Both start and end dates must be in the format YYYY-MM-DD','my-calendar'); ?></p></div>
886
- <?php
887
- }
888
  // We check for a valid time, or an empty one
889
  $time_format_one = '/^([0-1][0-9]):([0-5][0-9])$/';
890
  $time_format_two = '/^([2][0-3]):([0-5][0-9])$/';
@@ -893,9 +884,7 @@ if ( $action == 'add' || $action == 'edit' || $action == 'copy' ) {
893
  if ( strlen($time) == 5 ) { $time = $time . ":00"; }
894
  if ( strlen($time) == 0 ) { $time = "00:00:00"; }
895
  } else {
896
- ?>
897
- <div class="error"><p><strong><?php _e('Error','my-calendar'); ?>:</strong> <?php _e('The time field must either be blank or be entered in the format hh:mm','my-calendar'); ?></p></div>
898
- <?php
899
  }
900
  // We check for a valid end time, or an empty one
901
  if (preg_match($time_format_one,$endtime) || preg_match($time_format_two,$endtime) || $endtime == '') {
@@ -903,35 +892,30 @@ if ( $action == 'add' || $action == 'edit' || $action == 'copy' ) {
903
  if ( strlen($endtime) == 5 ) { $endtime = $endtime . ":00"; }
904
  if ( strlen($endtime) == 0 ) { $endtime = "00:00:00"; }
905
  } else {
906
- ?>
907
- <div class="error"><p><strong><?php _e('Error','my-calendar'); ?>:</strong> <?php _e('The end time field must either be blank or be entered in the format hh:mm','my-calendar'); ?></p></div>
908
- <?php
909
  }
910
- // We check to make sure the URL is alright
911
- if (preg_match('/^(http)(s?)(:)\/\//',$linky) || $linky == '') {
912
- $url_ok = 1;
913
- } else {
914
- ?>
915
- <div class="error"><p><strong><?php _e('Error','my-calendar'); ?>:</strong> <?php _e('The URL entered must either be prefixed with http:// or be completely blank','my-calendar'); ?></p></div>
916
- <?php
917
- }
 
918
  // The title must be at least one character in length and no more than 255 - only basic punctuation is allowed
919
  $title_length = strlen($title);
920
  if ( $title_length > 1 && $title_length <= 255 ) {
921
  $title_ok =1;
922
- } else {
923
- ?>
924
- <div class="error"><p><strong><?php _e('Error','my-calendar'); ?>:</strong> <?php _e('The event title must be between 1 and 255 characters in length.','my-calendar'); ?></p></div>
925
- <?php
926
- }
927
  // We run some checks on recurrance
928
  if (($repeats == 0 && $recur == 'S') || (($repeats >= 0) && ($recur == 'W' || $recur == 'B' || $recur == 'M' || $recur == 'U' || $recur == 'Y' || $recur == 'D'))) {
929
  $recurring_ok = 1;
930
- } else {
931
- ?>
932
- <div class="error"><p><strong><?php _e('Error','my-calendar'); ?>:</strong> <?php _e('The repetition value must be 0 unless a type of recurrence is selected.','my-calendar'); ?></p></div>
933
- <?php
934
- }
935
  if ($start_date_ok == 1 && $end_date_ok == 1 && $time_ok == 1 && $endtime_ok == 1 && $url_ok == 1 && $title_ok == 1 && $recurring_ok == 1) {
936
  $proceed = true;
937
  if ($action == 'add' || $action == 'copy' ) {
@@ -962,7 +946,7 @@ if ( $action == 'add' || $action == 'edit' || $action == 'copy' ) {
962
  'event_open'=>$event_open,
963
  'event_group'=>$event_group,
964
  'event_approved'=>$approved,
965
- 'event_host'=>$host
966
  );
967
 
968
  } else if ($action == 'edit') {
@@ -992,42 +976,42 @@ if ( $action == 'add' || $action == 'edit' || $action == 'copy' ) {
992
  'event_open'=>$event_open,
993
  'event_group'=>$event_group,
994
  'event_approved'=>$approved,
995
- 'event_host'=>$host
996
  );
997
- }
 
998
  } else {
999
  // The form is going to be rejected due to field validation issues, so we preserve the users entries here
1000
- $users_entries->event_title = $title;
1001
- $users_entries->event_desc = $desc;
1002
- $users_entries->event_begin = $begin;
1003
- $users_entries->event_end = $end;
1004
- $users_entries->event_time = $time;
1005
- $users_entries->event_endtime = $endtime;
1006
- $users_entries->event_recur = $recur;
1007
- $users_entries->event_repeats = $repeats;
1008
- $users_entries->event_host = $host;
1009
- $users_entries->event_category = $category;
1010
- $users_entries->event_link = $linky;
1011
- $users_entries->event_link_expires = $expires;
1012
- $users_entries->event_label = $event_label;
1013
- $users_entries->event_street = $event_street;
1014
- $users_entries->event_street2 = $event_street2;
1015
- $users_entries->event_city = $event_city;
1016
- $users_entries->event_state = $event_state;
1017
- $users_entries->event_postcode = $event_postcode;
1018
- $users_entries->event_country = $event_country;
1019
- $users_entries->event_longitude = $event_longitude;
1020
- $users_entries->event_latitude = $event_latitude;
1021
- $users_entries->event_zoom = $event_zoom;
1022
- $users_entries->event_author = $event_author;
1023
- $users_entries->event_open = $event_open;
1024
- $users_entries->event_short = $short;
1025
- $users_entries->event_group = $event_group;
1026
- $users_entries->event_approved = $approved;
1027
- $proceed = false;
1028
- }
1029
  }
1030
- $data = array($proceed, $users_entries, $submit);
1031
  return $data;
1032
  }
1033
  ?>
1
  <?php
2
+
3
  function jd_option_selected($field,$value,$type='checkbox') {
4
  switch ($type) {
5
  case 'radio':
29
  echo "</p>";
30
  ?>
31
  <form method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-config">
32
+ <div><input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce('my-calendar-nonce'); ?>" /></div>
33
+ <div>
34
  <input type="hidden" name="import" value="true" />
35
  <input type="submit" value="<?php _e('Import from Calendar','my-calendar'); ?>" name="import-calendar" class="button-primary" />
36
  </div>
46
  // First some quick cleaning up
47
  $edit = $create = $save = $delete = false;
48
 
49
+ $action = !empty($_POST['event_action']) ? $_POST['event_action'] : '';
50
  $event_id = !empty($_POST['event_id']) ? $_POST['event_id'] : '';
51
 
52
  if ($_GET['mode'] == 'edit') {
61
  // Lets see if this is first run and create us a table if it is!
62
  check_my_calendar();
63
 
64
+ if ( !empty($_POST['mass_delete']) ) {
65
+ $nonce=$_REQUEST['_wpnonce'];
66
+ if (! wp_verify_nonce($nonce,'my-calendar-nonce') ) die("Security check failed");
67
+ $events = $_POST['mass_delete'];
68
+ $sql = 'DELETE FROM ' . MY_CALENDAR_TABLE . ' WHERE event_id IN (';
69
+ $i=0;
70
+ foreach ($events as $value) {
71
+ $value = (int) $value;
72
+ $ea = "SELECT event_author FROM " . MY_CALENDAR_TABLE . " WHERE event_id = $value";
73
+ $result = $wpdb->get_results( $ea, ARRAY_A );
74
+ $total = count($events);
75
+
76
+ if ( mc_can_edit_event( $result[0]['event_author'] ) ) {
77
+ $sql .= mysql_real_escape_string($value).',';
78
+ $i++;
79
+ }
80
+ }
81
+ $sql = substr( $sql, 0, -1 );
82
+ $sql .= ')';
83
+ $result = $wpdb->query($sql);
84
+ if ( $result !== 0 && $result !== false ) {
85
+ $message = "<div class='updated'><p>".sprintf(__('%1$d events deleted successfully out of %2$d selected','my-calendar'), $i, $total )."</p></div>";
86
+ } else {
87
+ $message = "<div class='error'><p><strong>".__('Error','my-calendar').":</strong>".__('Your events have not been deleted. Please investigate.','my-calendar')."</p></div>";
88
+ }
89
+ echo $message;
90
+ }
91
+
92
  if ($_GET['mode'] == 'delete') {
93
  $sql = "SELECT event_title, event_author FROM " . MY_CALENDAR_TABLE . " WHERE event_id=" . (int) $_GET['event_id'];
94
  $result = $wpdb->get_results( $sql, ARRAY_A );
98
  <p><strong><?php _e('Delete Event','my-calendar'); ?>:</strong> <?php _e('Are you sure you want to delete this event?','my-calendar'); ?></p>
99
  <form action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar" method="post">
100
  <div>
101
+ <input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce('my-calendar-nonce'); ?>" />
102
+ <input type="hidden" value="delete" name="event_action" />
103
  <input type="hidden" value="<?php echo (int) $_GET['event_id']; ?>" name="event_id" />
104
  <input type="submit" name="submit" class="button-primary" value="<?php _e('Delete','my-calendar'); echo " &quot;".$result[0]['event_title']."&quot;"; ?>" />
105
  </div>
144
  }
145
  }
146
 
147
+ if ( isset( $_POST['event_action'] ) ) {
148
+ $nonce=$_REQUEST['_wpnonce'];
149
+ if (! wp_verify_nonce($nonce,'my-calendar-nonce') ) die("Security check failed");
150
+ $proceed = false;
151
+ $event_author = (int) ($action == 'add' || $action == 'copy')?($current_user->ID):($_POST['event_author']);
152
+ $output = mc_check_data($action,$_POST);
153
+ if ($action == 'add' || $action == 'copy' ) {
154
+ $response = my_calendar_save($action,$output);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
155
  } else {
156
+ $response = my_calendar_save($action,$output,$event_id);
 
 
 
 
157
  }
158
+ echo $response;
159
  }
160
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
161
  ?>
162
 
163
  <div class="wrap">
188
  ?>
189
  <h2><?php _e('Add Event','my-calendar'); ?></h2>
190
  <?php jd_show_support_box(); ?>
 
191
  <?php jd_events_edit_form(); ?>
192
+
193
  <h2><?php _e('Manage Events','my-calendar'); ?></h2>
194
  <?php if ( get_option('mc_event_approve') == 'true' ) { ?>
195
  <ul class="links">
200
  <?php } ?>
201
  <?php
202
 
203
+ $sortby = ( isset( $_GET['sort'] ) )?(int) $_GET['sort']:$sortby = 'default';
204
+
 
 
 
 
205
  if ( isset( $_GET['order'] ) ) {
206
+ $sortdir = ( $_GET['order'] == 'ASC' )?'ASC':'default';
 
 
 
 
207
  } else {
208
  $sortdir = 'default';
209
  }
210
  if ( isset( $_GET['limit'] ) ) {
211
  switch ($_GET['limit']) {
212
+ case 'reserved':$limit = 'reserved';
 
213
  break;
214
+ case 'published':$limit ='published';
 
215
  break;
216
  }
217
  } else {
218
  $limit = 'all';
219
+ }
220
  jd_events_display_list($sortby,$sortdir,$limit);
221
  }
222
  ?>
224
  <?php
225
  }
226
 
227
+
228
+ function my_calendar_save( $action,$output,$event_id=false ) {
229
+ global $wpdb;
230
+ $proceed = $output[0];
231
+
232
+ if ( ( $action == 'add' || $action == 'copy' ) && $proceed == true ) {
233
+ $add = $output[2];
234
+ $formats = array( '%s','%s','%s','%s','%s','%s','%d','%d','%d','%s','%s','%s','%s','%s','%s','%s','%s','%s','%d','%f','%f','%d','%s','%d','%d','%d','%d' );
235
+ $result = $wpdb->insert(
236
+ MY_CALENDAR_TABLE,
237
+ $add,
238
+ $formats
239
+ );
240
+ if ( !$result ) {
241
+ $message = "<div class='error'><p><strong>". __('Error','my-calendar') .":</strong>". _e('I\'m sorry! I couldn\'t add that event to the database.','my-calendar') . "</p></div>";
242
+ } else {
243
+ // Call mail function
244
+ $sql = "SELECT * FROM ". MY_CALENDAR_TABLE." WHERE event_id = ".$wpdb->insert_id;
245
+ $event = $wpdb->get_results($sql);
246
+ my_calendar_send_email( $event[0] );
247
+ $message = "<div class='updated'><p>". __('Event added. It will now show in your calendar.','my-calendar') . "</p></div>";
248
+ }
249
+ }
250
+ if ( $action == 'edit' && $proceed == true ) {
251
+ if ( mc_can_edit_event( $event_author ) ) {
252
+ $update = $output[2];
253
+ $formats = array('%s','%s','%s','%s','%s','%s','%d','%d','%s','%s','%s','%s','%s','%s','%s','%s','%s','%d','%f','%f','%d','%s','%d','%d','%d','%d' );
254
+ //$wpdb->show_errors();
255
+ $result = $wpdb->update(
256
+ MY_CALENDAR_TABLE,
257
+ $update,
258
+ array( 'event_id'=>$event_id ),
259
+ $formats,
260
+ '%d' );
261
+ //$wpdb->print_error();
262
+ if ( $result === false ) {
263
+ $message = "<div class='error'><p><strong>".__('Error','my-calendar').":</strong>".__('Your event was not updated.','my-calendar')."</p></div>";
264
+ } else if ( $result === 0 ) {
265
+ $message = "<div class='updated'><p>".__('Nothing was changed in that update.','my-calendar')."</p></div>";
266
+ } else {
267
+ $message = "<div class='updated'><p>".__('Event updated successfully','my-calendar')."</p></div>";
268
+ }
269
+ } else {
270
+ $message = "<div class='error'><p><strong>".__('You do not have sufficient permissions to edit that event.','my-calendar')."</strong></p></div>";
271
+ }
272
+ }
273
+
274
+ if ( $action == 'delete' ) {
275
+ // Deal with deleting an event from the database
276
+ if ( empty($event_id) ) {
277
+ $message = "<div class='error'><p><strong>".__('Error','my-calendar').":</strong>".__("You can't delete an event if you haven't submitted an event id",'my-calendar')."</p></div>";
278
+ } else {
279
+ $sql = "DELETE FROM " . MY_CALENDAR_TABLE . " WHERE event_id='" . mysql_real_escape_string($event_id) . "'";
280
+ $wpdb->query($sql);
281
+ $sql = "SELECT event_id FROM " . MY_CALENDAR_TABLE . " WHERE event_id='" . mysql_real_escape_string($event_id) . "'";
282
+ $result = $wpdb->get_results($sql);
283
+ if ( empty($result) || empty($result[0]->event_id) ) {
284
+ return "<div class='updated'><p>".__('Event deleted successfully','my-calendar')."</p></div>";
285
+ } else {
286
+ $message = "<div class='error'><p><strong>".__('Error','my-calendar').":</strong>".__('Despite issuing a request to delete, the event still remains in the database. Please investigate.','my-calendar')."</p></div>";
287
+ }
288
+ }
289
+ }
290
+ $message = $message ."\n". $output[3];
291
+ return $message;
292
+ }
293
+
294
+ function jd_acquire_form_data($event_id=false) {
295
+ global $wpdb,$users_entries;
296
  if ( $event_id !== false ) {
297
  if ( intval($event_id) != $event_id ) {
298
+ return "<div class=\"error\"><p>".__('Sorry! That\'s an invalid event key.','my-calendar')."</p></div>";
 
299
  } else {
300
  $data = $wpdb->get_results("SELECT * FROM " . MY_CALENDAR_TABLE . " WHERE event_id='" . mysql_real_escape_string($event_id) . "' LIMIT 1");
301
  if ( empty($data) ) {
302
+ return "<div class=\"error\"><p>".__("Sorry! We couldn't find an event with that ID.",'my-calendar')."</p></div>";
 
303
  }
304
  $data = $data[0];
305
  }
306
  // Recover users entries if they exist; in other words if editing an event went wrong
307
  if (!empty($users_entries)) {
308
  $data = $users_entries;
309
+ }
310
  } else {
311
  // Deal with possibility that form was submitted but not saved due to error - recover user's entries here
312
  $data = $users_entries;
313
  }
314
+ return $data;
315
+
316
+ }
317
+
318
+ // The event edit form for the manage events admin page
319
+ function jd_events_edit_form($mode='add', $event_id=false) {
320
+ global $wpdb,$users_entries,$user_ID;
321
+ if ($event_id != false) {
322
+ $data = jd_acquire_form_data($event_id);
323
+ }
324
+ ?>
325
+
326
+ <h2><?php if ($mode == "add") { _e('Add an Event','my-calendar'); } else if ($mode == "copy") { _e('Copy Event','my-calendar'); } else { _e('Edit Event'); } ?></h2>
327
  <?php
328
  if ($data->event_approved != 1 && $mode == 'edit' ) {
329
  $message = __('This event must be approved in order for it to appear on the calendar.','my-calendar');
330
  } else {
331
  $message = "";
332
  }
333
+ echo ($message != '')?"<div class='error'><p>$message</p></div>":'';
 
 
334
  ?>
335
  <form name="my-calendar" id="my-calendar" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar">
336
+ <?php my_calendar_print_form_fields($data,$mode,$event_id); ?>
337
+ <p>
338
+ <input type="submit" name="save" class="button-primary" value="<?php _e('Save Event','my-calendar'); ?> &raquo;" />
339
+ </p>
340
+ </form>
341
+
342
+ <?php
343
+ }
344
+ function my_calendar_print_form_fields( $data,$mode,$event_id,$context='' ) {
345
+ global $user_ID,$wpdb;
346
+ get_currentuserinfo();
347
+ $user = get_userdata($user_ID);
348
+ $mc_input_administrator = (get_option('mc_input_options_administrators')=='true' && current_user_can('manage_options'))?true:false;
349
+ $mc_input = get_option('mc_input_options');
350
+ ?>
351
+ <div>
352
+ <input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce('my-calendar-nonce'); ?>" />
353
+ <input type="hidden" name="event_action" value="<?php echo $mode; ?>" />
354
+ <input type="hidden" name="event_id" value="<?php echo $event_id; ?>" />
355
+ <input type="hidden" name="event_author" value="<?php echo $user_ID; ?>" />
356
+ <input type="hidden" name="event_nonce_name" value="<?php echo wp_create_nonce('event_nonce'); ?>" />
357
+ </div>
358
+ <div id="poststuff" class="jd-my-calendar">
359
+ <div class="postbox">
360
+ <div class="inside">
361
  <fieldset>
362
  <legend><?php _e('Enter your Event Information','my-calendar'); ?></legend>
363
  <p>
364
+ <label for="event_title"><?php _e('Event Title','my-calendar'); ?><span><?php _e('(required)','my-calendar'); ?></span></label> <input type="text" id="event_title" name="event_title" class="input" size="60" value="<?php if ( !empty($data) ) echo htmlspecialchars(stripslashes($data->event_title)); ?>" />
365
  <?php if ( $mode == 'edit' ) { ?>
366
  <?php if ( get_option( 'mc_event_approve' ) == 'true' ) { ?>
367
  <?php if ( current_user_can( get_option('mc_event_approve_perms') ) ) { // (Added by Roland P. ?>
368
  <input type="checkbox" value="1" id="event_approved" name="event_approved"<?php if ( !empty($data) && $data->event_approved == '1' ) { echo " checked=\"checked\""; } else if ( !empty($data) && $data->event_approved == '0' ) { echo ""; } else if ( get_option( 'mc_event_approve' ) == 'true' ) { echo "checked=\"checked\""; } ?> /> <label for="event_approved"><?php _e('Publish','my-calendar'); ?><?php if ($event->event_approved != 1) { ?> <small>[<?php _e('You must approve this event to promote it to the calendar.','my-calendar'); ?>]</small> <?php } ?></label>
369
  <?php } else { // case: editing, approval enabled, user cannot approve ?>
370
+ <input type="hidden" value="0" name="event_approved" /><?php _e('An administrator must approve your new event.','my-calendar'); ?>
371
  <?php } ?>
372
  <?php } else { // Case: editing, approval system is disabled - auto approve ?>
373
+ <input type="hidden" value="1" name="event_approved" />
374
  <?php } ?>
375
  <?php } else { // case: adding new event (if use can, then 1, else 0) ?>
376
  <?php if ( current_user_can( get_option('mc_event_approve_perms') ) ) { $dvalue = 1; } else { $dvalue = 0; } ?>
377
+ <input type="hidden" value="<?php echo $dvalue; ?>" name="event_approved" />
378
  <?php } ?>
379
  </p>
380
  <?php if ($mc_input['event_desc'] == 'on' || $mc_input_administrator ) { ?>
381
+ <?php if ($context != 'post') { ?>
382
  <p>
383
  <label for="event_desc"><?php _e('Event Description (<abbr title="hypertext markup language">HTML</abbr> allowed)','my-calendar'); ?></label><br /><textarea id="event_desc" name="event_desc" class="input" rows="5" cols="80"><?php if ( !empty($data) ) echo htmlspecialchars(stripslashes($data->event_desc)); ?></textarea>
384
  </p>
385
  <?php } ?>
386
+ <?php } ?>
387
  <?php if ($mc_input['event_short'] == 'on') { ?>
388
  <p>
389
  <label for="event_short"><?php _e('Event Short Description (<abbr title="hypertext markup language">HTML</abbr> allowed)','my-calendar'); ?></label><br /><textarea id="event_short" name="event_short" class="input" rows="2" cols="80"><?php if ( !empty($data) ) echo htmlspecialchars(stripslashes($data->event_short)); ?></textarea>
390
  </p>
391
  <?php } ?>
392
+ <?php //Event host field added by Jeff Allen - http://jdadesign.net
 
 
 
 
 
393
  function my_calendar_getUsers() {
394
  global $wpdb;
395
  $authors = $wpdb->get_results( "SELECT ID, user_nicename, display_name from $wpdb->users ORDER BY display_name" );
413
  }
414
  ?>
415
  </select>
416
+ </p>
 
 
417
  <?php if ($mc_input['event_category'] == 'on') { ?>
418
  <p>
419
  <label for="event_category"><?php _e('Event Category','my-calendar'); ?></label>
420
  <select id="event_category" name="event_category">
421
  <?php
422
+ // Grab all the categories and list them
423
+ $sql = "SELECT * FROM " . MY_CALENDAR_CATEGORIES_TABLE;
424
+ $cats = $wpdb->get_results($sql);
425
  foreach($cats as $cat) {
426
+ echo '<option value="'.$cat->category_id.'"';
427
  if (!empty($data)) {
428
  if ($data->event_category == $cat->category_id){
429
+ echo 'selected="selected"';
430
  }
431
  }
432
  echo '>'.$cat->category_name.'</option>';
441
  <?php } ?>
442
  <?php if ($mc_input['event_link'] == 'on') { ?>
443
  <p>
444
+ <?php if ($context != 'post') { ?><label for="event_link"><?php _e('Event Link (Optional)','my-calendar'); ?></label> <input type="text" id="event_link" name="event_link" class="input" size="40" value="<?php if ( !empty($data) ) { echo htmlspecialchars($data->event_link); } ?>" /> <?php } ?><input type="checkbox" value="1" id="event_link_expires" name="event_link_expires"<?php if ( !empty($data) && $data->event_link_expires == '1' ) { echo " checked=\"checked\""; } else if ( !empty($data) && $data->event_link_expires == '0' ) { echo ""; } else if ( get_option( 'mc_event_link_expires' ) == 'true' ) { echo " checked=\"checked\""; } ?> /> <label for="event_link_expires"><?php _e('This link will expire when the event passes.','my-calendar'); ?></label>
445
  </p>
446
  <?php } ?>
447
+ </fieldset>
448
+ </div>
449
+ </div>
450
+ <div class="postbox">
451
+ <div class="inside">
452
+ <fieldset><legend><?php _e('Event Date and Time','my-calendar'); ?></legend>
453
  <p>
454
+ <?php _e('Enter the beginning and ending information for the first occurrence of this event.','my-calendar'); ?><br />
455
+ <label for="event_begin"><?php _e('Start Date (YYYY-MM-DD)','my-calendar'); ?> <span><?php _e('(required)','my-calendar'); ?></span></label> <input type="text" id="event_begin" name="event_begin" class="calendar_input" size="12" value="<?php if ( !empty($data) ) { esc_attr_e($data->event_begin);} else { echo date_i18n("Y-m-d");} ?>" /> <label for="event_time"><?php _e('Time (hh:mm)','my-calendar'); ?></label> <input type="text" id="event_time" name="event_time" class="input" size="12" value="<?php
456
+ $offset = (60*60*get_option('gmt_offset'));
 
 
 
 
 
 
457
  if ( !empty($data) ) {
458
+ echo ($data->event_time == "00:00:00")?'':date("H:i",strtotime($data->event_time));
 
 
 
 
459
  } else {
460
  echo date_i18n("H:i",time()+$offset);
461
+ }?>" />
462
+ </p>
 
463
  <p>
464
+ <label for="event_end"><?php _e('End Date (YYYY-MM-DD)','my-calendar'); ?></label> <input type="text" name="event_end" id="event_end" class="calendar_input" size="12" value="<?php if ( !empty($data) ) {esc_attr_e($data->event_end);} ?>" /> <label for="event_endtime"><?php _e('End Time (hh:mm)','my-calendar'); ?></label> <input type="text" id="event_endtime" name="event_endtime" class="input" size="12" value="<?php
 
465
  if ( !empty($data) ) {
466
+ echo ($data->event_endtime == "00:00:00")?'':date("H:i",strtotime($data->event_endtime));
 
 
 
 
467
  } else {
468
  echo '';
469
+ }?>" />
470
+ </p>
471
+ <p>
472
+ <?php _e('Current time difference from GMT is ','my-calendar'); echo get_option('gmt_offset'); _e(' hour(s)', 'my-calendar'); ?>
473
+ </p>
474
  </fieldset>
475
+ </div>
476
+ </div>
477
  <?php if ($mc_input['event_recurs'] == 'on') { ?>
478
+ <div class="postbox">
479
+ <div class="inside">
480
  <fieldset>
481
  <legend><?php _e('Recurring Events','my-calendar'); ?></legend>
482
  <?php if ( $data->event_repeats != NULL ) { $repeats = $data->event_repeats; } else { $repeats = 0; } ?>
483
  <p>
484
  <label for="event_repeats"><?php _e('Repeats for','my-calendar'); ?></label> <input type="text" name="event_repeats" id="event_repeats" class="input" size="1" value="<?php echo $repeats; ?>" />
485
  <label for="event_recur"><?php _e('Units','my-calendar'); ?></label> <select name="event_recur" class="input" id="event_recur">
486
+ <option class="input" <?php echo jd_option_selected( $data->event_recur,'S','option'); ?> value="S"><?php _e('Does not recur','my-calendar'); ?></option>
487
+ <option class="input" <?php echo jd_option_selected( $data->event_recur,'D','option'); ?> value="D"><?php _e('Daily','my-calendar'); ?></option>
488
+ <option class="input" <?php echo jd_option_selected( $data->event_recur,'W','option'); ?> value="W"><?php _e('Weekly','my-calendar'); ?></option>
489
+ <option class="input" <?php echo jd_option_selected( $data->event_recur,'B','option'); ?> value="B"><?php _e('Bi-weekly','my-calendar'); ?></option>
490
+ <option class="input" <?php echo jd_option_selected( $data->event_recur,'M','option'); ?> value="M"><?php _e('Date of Month (e.g., the 24th of each month)','my-calendar'); ?></option>
491
+ <option class="input" <?php echo jd_option_selected( $data->event_recur,'U','option'); ?> value="U"><?php _e('Day of Month (e.g., the 3rd Monday of each month)','my-calendar'); ?></option>
492
+ <option class="input" <?php echo jd_option_selected( $data->event_recur,'Y','option'); ?> value="Y"><?php _e('Annually','my-calendar'); ?></option>
493
  </select><br />
494
+ <?php _e('Enter "0" if the event should recur indefinitely.','my-calendar'); ?>
495
  </p>
496
  </fieldset>
497
+ </div>
498
+ </div>
499
  <?php } else { ?>
500
  <div>
501
  <input type="hidden" name="event_repeats" value="0" />
502
  <input type="hidden" name="event_recur" value="S" />
503
  </div>
504
+
505
  <?php } ?>
506
+
507
  <?php if ($mc_input['event_open'] == 'on') { ?>
508
+ <div class="postbox">
509
+ <div class="inside">
510
  <fieldset>
511
  <legend><?php _e('Event Registration Status','my-calendar'); ?></legend>
512
+ <p><em><?php _e('My Calendar does not manage event registrations. Use this for information only.','my-calendar'); ?></em></p>
513
+ <p>
514
+ <input type="radio" id="event_open" name="event_open" value="1" <?php if (!empty($data)) { echo jd_option_selected( $data->event_open,'1'); } else { echo " checked='checked'"; } ?> /> <label for="event_open"><?php _e('Open','my-calendar'); ?></label>
515
+ <input type="radio" id="event_closed" name="event_open" value="0" <?php if (!empty($data)) { echo jd_option_selected( $data->event_open,'0'); } ?> /> <label for="event_closed"><?php _e('Closed','my-calendar'); ?></label>
516
+ <input type="radio" id="event_none" name="event_open" value="2" <?php if (!empty($data)) { echo jd_option_selected( $data->event_open, '2' ); } ?> /> <label for="event_none"><?php _e('Does not apply','my-calendar'); ?></label>
517
+ </p>
518
  <p>
519
  <input type="checkbox" name="event_group" id="event_group" <?php echo jd_option_selected( $data->event_group,'1'); ?> /> <label for="event_group"><?php _e('If this event recurs, it can only be registered for as a complete series.','my-calendar'); ?></label>
520
  </p>
521
  </fieldset>
522
+ </div>
523
+ </div>
524
  <?php } else { ?>
525
  <div>
526
  <input type="hidden" name="event_open" value="2" />
527
  </div>
528
+
529
  <?php } ?>
530
+
531
  <?php if ($mc_input['event_location'] == 'on' || $mc_input['event_location_dropdown'] == 'on') { ?>
532
+
533
+ <div class="postbox">
534
+ <div class="inside">
535
  <fieldset>
536
  <legend><?php _e('Event Location','my-calendar'); ?></legend>
537
  <?php } ?>
538
+ <?php if ($mc_input['event_location_dropdown'] == 'on') { ?>
 
 
539
  <?php $locations = $wpdb->get_results("SELECT location_id,location_label FROM " . MY_CALENDAR_LOCATIONS_TABLE . " ORDER BY location_id ASC");
540
  if ( !empty($locations) ) {
541
  ?>
546
  foreach ( $locations as $location ) {
547
  echo "<option value=\"".$location->location_id."\">".stripslashes($location->location_label)."</option>";
548
  }
549
+ ?>
 
550
  </select>
551
  </p>
552
+ <?php
553
  } else {
554
  ?>
555
  <input type="hidden" name="location_preset" value="none" />
565
  <?php _e('All location fields are optional: <em>insufficient information may result in an inaccurate map</em>.','my-calendar'); ?>
566
  </p>
567
  <p>
568
+ <label for="event_label"><?php _e('Name of Location (e.g. <em>Joe\'s Bar and Grill</em>)','my-calendar'); ?></label> <input type="text" id="event_label" name="event_label" class="input" size="40" value="<?php if ( !empty($data) ) esc_attr_e(stripslashes($data->event_label)); ?>" />
569
  </p>
570
  <p>
571
+ <label for="event_street"><?php _e('Street Address','my-calendar'); ?></label> <input type="text" id="event_street" name="event_street" class="input" size="40" value="<?php if ( !empty($data) ) esc_attr_e(stripslashes($data->event_street)); ?>" />
572
  </p>
573
  <p>
574
+ <label for="event_street2"><?php _e('Street Address (2)','my-calendar'); ?></label> <input type="text" id="event_street2" name="event_street2" class="input" size="40" value="<?php if ( !empty($data) ) esc_attr_e(stripslashes($data->event_street2)); ?>" />
575
  </p>
576
  <p>
577
+ <label for="event_city"><?php _e('City','my-calendar'); ?></label> <input type="text" id="event_city" name="event_city" class="input" size="40" value="<?php if ( !empty($data) ) esc_attr_e(stripslashes($data->event_city)); ?>" /> <label for="event_state"><?php _e('State/Province','my-calendar'); ?></label> <input type="text" id="event_state" name="event_state" class="input" size="10" value="<?php if ( !empty($data) ) esc_attr_e(stripslashes($data->event_state)); ?>" /> <label for="event_postcode"><?php _e('Postal Code','my-calendar'); ?></label> <input type="text" id="event_postcode" name="event_postcode" class="input" size="10" value="<?php if ( !empty($data) ) esc_attr_e(stripslashes($data->event_postcode)); ?>" />
578
  </p>
579
  <p>
580
+ <label for="event_country"><?php _e('Country','my-calendar'); ?></label> <input type="text" id="event_country" name="event_country" class="input" size="10" value="<?php if ( !empty($data) ) esc_attr_e(stripslashes($data->event_country)); ?>" />
581
  </p>
582
  <p>
583
  <label for="event_zoom"><?php _e('Initial Zoom','my-calendar'); ?></label>
596
  <small><?php _e('If you supply GPS coordinates for your location, they will be used in place of any other address information to provide your map link.','my-calendar'); ?></small>
597
  </p>
598
  <p>
599
+ <label for="event_longitude"><?php _e('Longitude','my-calendar'); ?></label> <input type="text" id="event_longitude" name="event_longitude" class="input" size="10" value="<?php if ( !empty( $data ) ) esc_attr_e(stripslashes($data->event_longitude)); ?>" /> <label for="event_latitude"><?php _e('Latitude','my-calendar'); ?></label> <input type="text" id="event_latitude" name="event_latitude" class="input" size="10" value="<?php if ( !empty( $data ) ) esc_attr_e(stripslashes($data->event_latitude)); ?>" />
600
  </p>
601
  </fieldset>
602
  <?php } ?>
603
  <?php if ($mc_input['event_location'] == 'on' || $mc_input['event_location_dropdown'] == 'on') { ?>
604
  </fieldset>
605
+ </div>
606
+ </div>
 
 
 
 
 
 
607
  </div>
608
+ <?php }
609
  }
610
 
 
611
  // Used on the manage events admin page to display a list of events
612
+ function jd_events_display_list($sortby='default',$sortdir='default',$status='all',$type='normal') {
613
  global $wpdb;
614
  if ($sortby == 'default') {
615
  $sortbyvalue = 'event_begin';
616
  } else {
617
  switch ($sortby) {
618
+ case 1:$sortbyvalue = 'event_ID';
 
619
  break;
620
+ case 2:$sortbyvalue = 'event_title';
 
621
  break;
622
+ case 3:$sortbyvalue = 'event_desc';
 
623
  break;
624
+ case 4:$sortbyvalue = 'event_begin';
 
625
  break;
626
+ case 5:$sortbyvalue = 'event_author';
 
627
  break;
628
+ case 6:$sortbyvalue = 'event_category';
 
629
  break;
630
+ case 7:$sortbyvalue = 'event_label';
 
631
  break;
632
+ default:$sortbyvalue = 'event_begin';
 
633
  }
634
  }
635
  if ($sortdir == 'default') {
639
  }
640
 
641
  switch ($status) {
642
+ case 'all':$limit = '';
 
643
  break;
644
+ case 'reserved':$limit = 'WHERE event_approved = 0';
 
645
  break;
646
+ case 'published':$limit = 'WHERE event_approved = 1';
 
647
  break;
648
+ default:$limit = '';
 
649
  }
650
 
651
  $events = $wpdb->get_results("SELECT * FROM " . MY_CALENDAR_TABLE . " $limit ORDER BY $sortbyvalue $sortbydirection");
658
 
659
  if ( !empty($events) ) {
660
  ?>
661
+ <form action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar" method="post">
662
+ <div>
663
+ <input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce('my-calendar-nonce'); ?>" />
664
+ </div>
665
+ <table class="widefat page fixed" id="my-calendar-admin-table" summary="<?php _e('Table of Calendar Events','my-calendar'); ?>">
666
+ <thead>
667
+ <tr>
668
+ <th class="manage-column n4" scope="col"><a href="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar&amp;sort=1<?php echo $sorting; ?>"><?php _e('ID','my-calendar') ?></a></th>
669
+ <th class="manage-column" scope="col"><a href="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar&amp;sort=2<?php echo $sorting; ?>"><?php _e('Title','my-calendar') ?></a></th>
670
+ <th class="manage-column n1" scope="col"><a href="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar&amp;sort=7<?php echo $sorting; ?>"><?php _e('Location','my-calendar') ?></a></th>
671
+ <th class="manage-column n8" scope="col"><a href="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar&amp;sort=3<?php echo $sorting; ?>"><?php _e('Description','my-calendar') ?></a></th>
672
+ <th class="manage-column n5" scope="col"><a href="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar&amp;sort=4<?php echo $sorting; ?>"><?php _e('Start Date','my-calendar') ?></a></th>
673
+ <th class="manage-column n6" scope="col"><?php _e('Recurs','my-calendar') ?></th>
674
+ <th class="manage-column n3" scope="col"><a href="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar&amp;sort=5<?php echo $sorting; ?>"><?php _e('Author','my-calendar') ?></a></th>
675
+ <th class="manage-column n2" scope="col"><a href="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar&amp;sort=6<?php echo $sorting; ?>"><?php _e('Category','my-calendar') ?></a></th>
676
+ <th class="manage-column n7" scope="col"><?php _e('Edit / Delete','my-calendar') ?></th>
677
+ </tr>
678
+ </thead>
679
  <?php
680
  $class = '';
681
  $sql = "SELECT * FROM " . MY_CALENDAR_CATEGORIES_TABLE ;
684
  foreach ( $events as $event ) {
685
  $class = ($class == 'alternate') ? '' : 'alternate';
686
  $author = get_userdata($event->event_author);
687
+ if ($event->event_link != '') {
688
+ $title = "<a href='$event->event_link'>$event->event_title</a>";
689
+ } else {
690
+ $title = $event->event_title;
691
+ }
692
  ?>
693
  <tr class="<?php echo $class; ?>">
694
+ <th scope="row"><input type="checkbox" value="<?php echo $event->event_id; ?>" name="mass_delete[]" id="mc<?php echo $event->event_id; ?>" /> <label for="mc<?php echo $event->event_id; ?>"><?php echo $event->event_id; ?></label></th>
695
+ <td><?php echo stripslashes($title); ?></td>
 
696
  <td><?php echo stripslashes($event->event_label); ?></td>
697
  <td><?php echo substr(strip_tags(stripslashes($event->event_desc)),0,60); ?>&hellip;</td>
698
  <?php if ($event->event_time != "00:00:00") { $eventTime = date_i18n(get_option('time_format'), strtotime($event->event_time)); } else { $eventTime = get_option('my_calendar_notime_text'); } ?>
709
  else if ($event->event_recur == 'U') { _e('Monthly (by day)','my-calendar'); }
710
  else if ($event->event_recur == 'Y') { _e('Yearly','my-calendar'); }
711
  ?>&thinsp;&ndash;&thinsp;<?php
 
712
  if ($event->event_recur == 'S') { echo __('N/A','my-calendar'); }
713
  else if ($event->event_repeats == 0) { echo __('Forever','my-calendar'); }
714
  else if ($event->event_repeats > 0) { echo $event->event_repeats.' '.__('Times','my-calendar'); }
752
  <?php } ?>
753
  </td>
754
  </tr>
755
+ <?php
756
  }
757
+ ?>
758
  </table>
759
+ <p>
760
+ <input type="submit" class="button-primary delete" value="Delete checked events" />
761
+ </p>
762
+ </form>
763
+ <?php
764
  } else {
765
+ ?>
766
+ <p><?php _e("There are no events in the database!",'my-calendar') ?></p>
767
+ <?php
768
  }
769
  }
770
  function mc_check_data($action,$_POST) {
771
  global $wpdb, $current_user, $users_entries;
772
+
773
+ if (!wp_verify_nonce($_POST['event_nonce_name'],'event_nonce')) {
774
+ return;
775
+ }
776
+
777
+ $errors = "";
778
  if ( $action == 'add' || $action == 'edit' || $action == 'copy' ) {
779
  $title = !empty($_POST['event_title']) ? trim($_POST['event_title']) : '';
780
  $desc = !empty($_POST['event_desc']) ? trim($_POST['event_desc']) : '';
809
  $event_latitude = $location->location_latitude;
810
  $event_zoom = $location->location_zoom;
811
  } else {
812
+ $event_label = !empty($_POST['event_label']) ? $_POST['event_label'] : '';
813
+ $event_street = !empty($_POST['event_street']) ? $_POST['event_street'] : '';
814
+ $event_street2 = !empty($_POST['event_street2']) ? $_POST['event_street2'] : '';
815
+ $event_city = !empty($_POST['event_city']) ? $_POST['event_city'] : '';
816
+ $event_state = !empty($_POST['event_state']) ? $_POST['event_state'] : '';
817
+ $event_postcode = !empty($_POST['event_postcode']) ? $_POST['event_postcode'] : '';
818
+ $event_country = !empty($_POST['event_country']) ? $_POST['event_country'] : '';
819
+ $event_longitude = !empty($_POST['event_longitude']) ? $_POST['event_longitude'] : '';
820
+ $event_latitude = !empty($_POST['event_latitude']) ? $_POST['event_latitude'] : '';
821
+ $event_zoom = !empty($_POST['event_zoom']) ? $_POST['event_zoom'] : '';
822
  }
823
  // Deal with those who have magic quotes turned on
824
  if ( ini_get('magic_quotes_gpc') ) {
830
  $time = stripslashes($time);
831
  $endtime = stripslashes($endtime);
832
  $recur = stripslashes($recur);
833
+ $host = stripslashes($host);
834
  $repeats = stripslashes($repeats);
835
  $category = stripslashes($category);
836
  $linky = stripslashes($linky);
848
  $event_zoom = stripslashes($event_zoom);
849
  $event_group = stripslashes($event_group);
850
  $approved = stripslashes($approved);
851
+ }
 
 
852
  // Perform some validation on the submitted dates - this checks for valid years and months
853
  $date_format_one = '/^([0-9]{4})-([0][1-9])-([0-3][0-9])$/';
854
  $date_format_two = '/^([0-9]{4})-([1][0-2])-([0-3][0-9])$/';
862
  $end_y = $end_split[0];
863
  $end_m = $end_split[1];
864
  $end_d = $end_split[2];
865
+ if (checkdate($begin_m,$begin_d,$begin_y) && checkdate($end_m,$end_d,$end_y)) {
866
+ // Ok, now we know we have valid dates, we want to make sure that they are either equal or that the end date is later than the start date
867
+ if (strtotime($end) >= strtotime($begin)) {
868
+ $start_date_ok = 1;
869
+ $end_date_ok = 1;
870
+ } else {
871
+ $errors .= "<div class='error'><p><strong>".__('Error','my-calendar').":</strong> ".__('Your event end date must be either after or the same as your event begin date','my-calendar')."</p></div>";
872
+ }
873
+ } else {
874
+ $errors .= "<div class='error'><p><strong>".__('Error','my-calendar').":</strong> ".__('Your date formatting is correct but one or more of your dates is invalid. Check for number of days in month and leap year related errors.','my-calendar')."</p></div>";
875
+ }
876
+ } else {
877
+ $errors .= "<div class='error'><p><strong>".__('Error','my-calendar').":</strong> ".__('Both start and end dates must be in the format YYYY-MM-DD','my-calendar')."</p></div>";
878
+ }
 
 
 
 
 
 
879
  // We check for a valid time, or an empty one
880
  $time_format_one = '/^([0-1][0-9]):([0-5][0-9])$/';
881
  $time_format_two = '/^([2][0-3]):([0-5][0-9])$/';
884
  if ( strlen($time) == 5 ) { $time = $time . ":00"; }
885
  if ( strlen($time) == 0 ) { $time = "00:00:00"; }
886
  } else {
887
+ $errors .= "<div class='error'><p><strong>".__('Error','my-calendar').":</strong> ".__('The time field must either be blank or be entered in the format hh:mm','my-calendar')."</p></div>";
 
 
888
  }
889
  // We check for a valid end time, or an empty one
890
  if (preg_match($time_format_one,$endtime) || preg_match($time_format_two,$endtime) || $endtime == '') {
892
  if ( strlen($endtime) == 5 ) { $endtime = $endtime . ":00"; }
893
  if ( strlen($endtime) == 0 ) { $endtime = "00:00:00"; }
894
  } else {
895
+ $errors .= "<div class='error'><p><strong>".__('Error','my-calendar').":</strong> ".__('The end time field must either be blank or be entered in the format hh:mm','my-calendar')."</p></div>";
 
 
896
  }
897
+ // We check to make sure the URL is acceptable (blank or starting with http://)
898
+ if ($linky == '') {
899
+ $url_ok = 1;
900
+ } else if ( preg_match('/^(http)(s?)(:)\/\//',$linky) ) {
901
+ $url_ok = 1;
902
+ } else {
903
+ $linky = "http://" . $linky;
904
+ }
905
+ }
906
  // The title must be at least one character in length and no more than 255 - only basic punctuation is allowed
907
  $title_length = strlen($title);
908
  if ( $title_length > 1 && $title_length <= 255 ) {
909
  $title_ok =1;
910
+ } else {
911
+ $errors .= "<div class='error'><p><strong>".__('Error','my-calendar').":</strong> ".__('The event title must be between 1 and 255 characters in length.','my-calendar')."</p></div>";
912
+ }
 
 
913
  // We run some checks on recurrance
914
  if (($repeats == 0 && $recur == 'S') || (($repeats >= 0) && ($recur == 'W' || $recur == 'B' || $recur == 'M' || $recur == 'U' || $recur == 'Y' || $recur == 'D'))) {
915
  $recurring_ok = 1;
916
+ } else {
917
+ $errors .= "<div class='error'><p><strong>".__('Error','my-calendar').":</strong> ".__('The repetition value must be 0 unless a type of recurrence is selected.','my-calendar')."</p></div>";
918
+ }
 
 
919
  if ($start_date_ok == 1 && $end_date_ok == 1 && $time_ok == 1 && $endtime_ok == 1 && $url_ok == 1 && $title_ok == 1 && $recurring_ok == 1) {
920
  $proceed = true;
921
  if ($action == 'add' || $action == 'copy' ) {
946
  'event_open'=>$event_open,
947
  'event_group'=>$event_group,
948
  'event_approved'=>$approved,
949
+ 'event_host'=>$host
950
  );
951
 
952
  } else if ($action == 'edit') {
976
  'event_open'=>$event_open,
977
  'event_group'=>$event_group,
978
  'event_approved'=>$approved,
979
+ 'event_host'=>$host
980
  );
981
+ }
982
+
983
  } else {
984
  // The form is going to be rejected due to field validation issues, so we preserve the users entries here
985
+ $users_entries->event_title = $title;
986
+ $users_entries->event_desc = $desc;
987
+ $users_entries->event_begin = $begin;
988
+ $users_entries->event_end = $end;
989
+ $users_entries->event_time = $time;
990
+ $users_entries->event_endtime = $endtime;
991
+ $users_entries->event_recur = $recur;
992
+ $users_entries->event_repeats = $repeats;
993
+ $users_entries->event_host = $host;
994
+ $users_entries->event_category = $category;
995
+ $users_entries->event_link = $linky;
996
+ $users_entries->event_link_expires = $expires;
997
+ $users_entries->event_label = $event_label;
998
+ $users_entries->event_street = $event_street;
999
+ $users_entries->event_street2 = $event_street2;
1000
+ $users_entries->event_city = $event_city;
1001
+ $users_entries->event_state = $event_state;
1002
+ $users_entries->event_postcode = $event_postcode;
1003
+ $users_entries->event_country = $event_country;
1004
+ $users_entries->event_longitude = $event_longitude;
1005
+ $users_entries->event_latitude = $event_latitude;
1006
+ $users_entries->event_zoom = $event_zoom;
1007
+ $users_entries->event_author = $event_author;
1008
+ $users_entries->event_open = $event_open;
1009
+ $users_entries->event_short = $short;
1010
+ $users_entries->event_group = $event_group;
1011
+ $users_entries->event_approved = $approved;
1012
+ $proceed = false;
 
1013
  }
1014
+ $data = array($proceed, $users_entries, $submit,$errors);
1015
  return $data;
1016
  }
1017
  ?>
my-calendar-help.php CHANGED
@@ -1,5 +1,6 @@
1
  <?php
2
  function my_calendar_help() {
 
3
  ?>
4
 
5
  <div class="wrap">
@@ -18,22 +19,22 @@ function my_calendar_help() {
18
  <?php _e('This basic shortcode will show the calendar on a post or page including all categories and the category key, in a traditional month-by-month format.','my-calendar'); ?>
19
  </p>
20
  <p>
21
- <code>[my_calendar category="General|Other" format="list" showkey="yes" shownav="yes"]</code><br />
22
- <?php _e('The shortcode supports three attributes, <code>category</code>, <code>format</code> and <code>showkey</code>. There two alternate options for <code>format</code>: <code>list</code>, which will show the calendar in a list format, skipping dates without any events, and <code>mini</code>, which will display the calendar in a form more suitable to being displayed in smaller spaces, such as the sidebar. The <code>category</code> attribute requires either the name of or ID number one of your event categories (the name is case-sensitive). This will show a calendar only including events in that category. Multiple categories can be specified by separating the category names or IDs using the pipe character: <code>|</code>. Setting <code>showkey</code> to <code>no</code> will prevent the category key from being displayed &mdash; this can be useful with single-category output. Setting <code>shownav</code> to <code>no</code> will disable the Previous/Next links.','my-calendar'); ?>
23
  </p>
24
  <p>
25
- <code>[my_calendar_upcoming before="3" after="3" type="event" category="General" template="{title} {date}"]</code><br />
26
- <?php _e('This shortcode displays the output of the Upcoming Events widget. Without attributes, it will display using the settings in your widget; the attributes are used to override the widget settings. The <code>before</code> and <code>after</code> attributes should be numbers; the <code>type</code> attribute can be either "event" or "days", and the <code>category</code> attribute works the same way as the category attribute on the main calendar shortcode. Templates work using the template codes listed below.','my-calendar'); ?>
27
  </p>
28
- <p><code>[my_calendar_today category="" template="{title} {date}"]</code><br />
29
- <?php _e('Predictably enough, this shortcode displays the output of the Today\'s Events widget, with two configurable attributes: category and template.','my-calendar'); ?>
30
  </p>
31
  <p><code>[my_calendar_locations show="list" type="saved" datatype="name"]</code><br />
32
  <?php _e('This shortcode produces a list of event locations, either as a list of links or as a select dropdown form. The <code>show</code> attribute can either be <code>list</code> or <code>form</code>, <code>type</code> is either <code>saved</code> (to show items from your stored locations), or <code>custom</code> (to show the options configured in your user settings). <code>datatype</code> must be the type of data your limits are choosing from: <code>name</code> (business name), <code>city</code>, <code>state</code>, <code>country</code>, or <code>zip</code> (postal code).','my-calendar'); ?>
33
  </p>
34
  </div>
35
  </div>
36
- <div id="icons" class="jd-my-calendar">
37
  <div class="postbox">
38
  <h3><?php _e('Category Icons','my-calendar'); ?></h3>
39
  <div class="inside">
@@ -41,18 +42,31 @@ function my_calendar_help() {
41
  <?php _e('My Calendar is designed to manage multiple calendars. The basis for these calendars are categories; you can easily setup a calendar page which includes all categories, or you can dedicate separate pages to calendars in each category. For an example, this might be useful for you in managing the tour calendars for multiple bands; event calendars for a variety of locations, etc.','my-calendar'); ?>
42
  </p>
43
  <p>
44
- <?php _e('The pre-installed category icons may not be especially useful for your needs or design. I\'m assuming that you\'re going to upload your own icons -- all you need to do is upload them to the plugin\'s icons folder, and they\'ll be available for immediate use, or place them in a folder at "my-calendar-custom" to avoid having them overwritten by upgrades.','my-calendar'); ?> <?php _e('Your icons folder is:','my-calendar'); ?> <code><?php echo WP_PLUGIN_DIR; ?>/my-calendar/icons/</code> <?php _e('You can alternately place icons in:','my-calendar'); ?> <code><?php echo WP_PLUGIN_DIR; ?>/my-calendar-custom/</code>
45
  </p>
46
  </div>
47
  </div>
48
  </div>
49
 
50
- <div id="templates" class="jd-my-calendar">
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  <div class="postbox">
52
  <h3 id="template"><?php _e('Widget Templating','my-calendar'); ?></h3>
53
  <div class="inside">
54
  <p>
55
- <?php _e('These codes are available in calendar widgets to create your own custom calendar format.'); ?>
56
  </p>
57
  <dl>
58
  <dt><code>{category}</code></dt>
@@ -79,6 +93,9 @@ function my_calendar_help() {
79
  <dt><code>{author}</code></dt>
80
  <dd><?php _e('Displays the WordPress author who posted the event.','my-calendar'); ?></dd>
81
 
 
 
 
82
  <dt><code>{link}</code></dt>
83
  <dd><?php _e('Displays the URL provided for the event.','my-calendar'); ?></dd>
84
 
1
  <?php
2
  function my_calendar_help() {
3
+ global $wp_plugin_dir;
4
  ?>
5
 
6
  <div class="wrap">
19
  <?php _e('This basic shortcode will show the calendar on a post or page including all categories and the category key, in a traditional month-by-month format.','my-calendar'); ?>
20
  </p>
21
  <p>
22
+ <code>[my_calendar category="General|Other" format="list" showkey="yes" shownav="yes" time="week"]</code><br />
23
+ <?php _e('The shortcode supports five attributes, <code>category</code>, <code>format</code>, <code>showkey</code>, <code>shownav</code> and <code>time</code>. There two alternate options for <code>format</code>: <code>list</code>, which will show the calendar in a list format, skipping dates without any events, and <code>mini</code>, which will display the calendar in a form more suitable to being displayed in smaller spaces, such as the sidebar. The <code>category</code> attribute requires either the name of or ID number one of your event categories (the name is case-sensitive). This will show a calendar only including events in that category. Multiple categories can be specified by separating the category names or IDs using the pipe character: <code>|</code>. Setting <code>showkey</code> to <code>no</code> will prevent the category key from being displayed &mdash; this can be useful with single-category output. Setting <code>shownav</code> to <code>no</code> will disable the Previous/Next links. The <code>time</code> shortcode switches between a weekly view and the default monthly view.','my-calendar'); ?>
24
  </p>
25
  <p>
26
+ <code>[my_calendar_upcoming before="3" after="3" type="event" fallback="No events coming up!" category="General" template="{title} {date}"]</code><br />
27
+ <?php _e('This shortcode displays the output of the Upcoming Events widget. The <code>before</code> and <code>after</code> attributes should be numbers; the <code>type</code> attribute can be either "event" or "days", and the <code>category</code> attribute works the same way as the category attribute on the main calendar shortcode. Templates work using the template codes listed below. <code>fallback</code> provides text in case there are no events meeting your criteria.','my-calendar'); ?>
28
  </p>
29
+ <p><code>[my_calendar_today category="" fallback="Nothing today!" template="{title} {date}"]</code><br />
30
+ <?php _e('Predictably enough, this shortcode displays the output of the Today\'s Events widget, with three configurable attributes: category, template and fallback text.','my-calendar'); ?>
31
  </p>
32
  <p><code>[my_calendar_locations show="list" type="saved" datatype="name"]</code><br />
33
  <?php _e('This shortcode produces a list of event locations, either as a list of links or as a select dropdown form. The <code>show</code> attribute can either be <code>list</code> or <code>form</code>, <code>type</code> is either <code>saved</code> (to show items from your stored locations), or <code>custom</code> (to show the options configured in your user settings). <code>datatype</code> must be the type of data your limits are choosing from: <code>name</code> (business name), <code>city</code>, <code>state</code>, <code>country</code>, or <code>zip</code> (postal code).','my-calendar'); ?>
34
  </p>
35
  </div>
36
  </div>
37
+ <div id="icons">
38
  <div class="postbox">
39
  <h3><?php _e('Category Icons','my-calendar'); ?></h3>
40
  <div class="inside">
42
  <?php _e('My Calendar is designed to manage multiple calendars. The basis for these calendars are categories; you can easily setup a calendar page which includes all categories, or you can dedicate separate pages to calendars in each category. For an example, this might be useful for you in managing the tour calendars for multiple bands; event calendars for a variety of locations, etc.','my-calendar'); ?>
43
  </p>
44
  <p>
45
+ <?php _e('The pre-installed category icons may not be especially useful for your needs or design. I\'m assuming that you\'re going to upload your own icons -- all you need to do is upload them to the plugin\'s icons folder, and they\'ll be available for immediate use, or place them in a folder at "my-calendar-custom" to avoid having them overwritten by upgrades.','my-calendar'); ?> <?php _e('Your icons folder is:','my-calendar'); ?> <code><?php echo $wp_plugin_dir; ?>/my-calendar/icons/</code> <?php _e('You can alternately place icons in:','my-calendar'); ?> <code><?php echo $wp_plugin_dir; ?>/my-calendar-custom/</code>
46
  </p>
47
  </div>
48
  </div>
49
  </div>
50
 
51
+ <div id="customstyles">
52
+ <div class="postbox">
53
+ <h3><?php _e('Custom Styles','my-calendar'); ?></h3>
54
+ <div class="inside">
55
+ <p>
56
+ <?php _e('My Calendar comes with four basic stylesheets. My Calendar will retain changes to these basic stylesheets on upgrade, but if you want to add an entirely new stylesheet, you may wish to store it in the My Calendar custom styles directory.','my-calendar'); ?></p>
57
+ <ul>
58
+ <li><?php _e('Your stylesheet directory is','my-calendar'); ?> <code><?php echo $wp_plugin_dir; ?>/my-calendar/styles/</code></li><li><?php _e('Your custom stylesheets directory is','my-calendar'); ?> <code><?php echo $wp_plugin_dir; ?>/my-calendar-custom/styles/</code></li>
59
+ </ul>
60
+ </div>
61
+ </div>
62
+ </div>
63
+
64
+ <div id="templates">
65
  <div class="postbox">
66
  <h3 id="template"><?php _e('Widget Templating','my-calendar'); ?></h3>
67
  <div class="inside">
68
  <p>
69
+ <?php _e('These codes are available in calendar widgets, email notifications, and event titles.'); ?>
70
  </p>
71
  <dl>
72
  <dt><code>{category}</code></dt>
93
  <dt><code>{author}</code></dt>
94
  <dd><?php _e('Displays the WordPress author who posted the event.','my-calendar'); ?></dd>
95
 
96
+ <dt><code>{host}</code></dt>
97
+ <dd><?php _e('Displays the name of the person assigned as host for the event.','my-calendar'); ?></dd>
98
+
99
  <dt><code>{link}</code></dt>
100
  <dd><?php _e('Displays the URL provided for the event.','my-calendar'); ?></dd>
101
 
my-calendar-ical.php ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function my_calendar_ical() {
3
+ global $mc_version;
4
+ // establish template
5
+ $template = "\nBEGIN:VEVENT
6
+ UID:{guid}
7
+ LOCATION:{ical_location}
8
+ SUMMARY:{title}
9
+ DTSTAMP:{ical_start}
10
+ ORGANIZER;CN={host}:MAILTO:{host_email}
11
+ DTSTART:{ical_start}
12
+ DTEND:{ical_end}
13
+ URL;VALUE=URI:{link}
14
+ DESCRIPTION;ENCODING=QUOTED-PRINTABLE:{ical_desc}
15
+ END:VEVENT";
16
+ // add ICAL headers
17
+ $output = 'BEGIN:VCALENDAR
18
+ VERSION:2.0
19
+ METHOD:PUBLISH
20
+ X-WR-CALNAME: '. get_bloginfo('name') .' Calendar
21
+ PRODID:-//Accessible Web Design//My Calendar//http://www.mywpcal.com//v'.$mc_version.'//EN';
22
+
23
+ $events = mc_get_all_events($category);
24
+ $before = 0;
25
+ $after = 15;
26
+ $output .= mc_produce_upcoming_events( $events,$template,$before,$after,'ical' );
27
+ $output .= "\nEND:VCALENDAR";
28
+ $output = preg_replace("~(?<!\r)\n~","\r\n",$output);
29
+ header("Content-Type: text/x-vCalendar");
30
+ header("Content-Disposition: inline; filename=my-calendar.ics");
31
+ echo $output;
32
+ }
33
+ ?>
my-calendar-install.php CHANGED
@@ -1,7 +1,6 @@
1
  <?php
2
-
3
  // define global variables;
4
- global $initial_listjs, $initial_caljs, $initial_minijs, $initial_ajaxjs, $initial_style, $initial_db, $initial_loc_db, $initial_cat_db, $default_template, $mini_styles;
5
 
6
  $initial_ajaxjs = "jQuery(document).ready(function(){
7
 
@@ -45,112 +44,440 @@ $initial_ajaxjs = "jQuery(document).ready(function(){
45
  });";
46
 
47
  // defaults will go into the options table on a new install
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  $initial_listjs = 'jQuery(document).ready(function($) {
49
  $("#calendar-list li").children().not(".event-date").hide();
50
  $("#calendar-list li.current-day").children().show();
51
  $(".event-date").live("click",
52
- function() {
53
- $(this).parent().children().not(".event-date").toggleClass("mc-event-visible");
 
54
  });
55
  });';
56
-
57
- $initial_caljs = 'jQuery(document).ready(function($) {
58
- $(".calendar-event").children().not("h3").hide();
59
- $(".calendar-event h3").live("click",
60
- function() {
61
- $(this).parent().children().not("h3").toggleClass("mc-event-visible");
62
- });
63
- });';
64
 
65
  $initial_minijs = 'jQuery(document).ready(function($) {
66
  $(".mini .has-events").children().not(".trigger").hide();
67
  $(".mini .has-events .trigger").live("click",
68
- function() {
69
- $(this).parent().children().not(".trigger").toggleClass("mc-event-visible");
 
70
  });
71
  });';
72
-
73
- $initial_style = "
74
- #jd-calendar * {
75
- margin: 0;
76
- padding: 0;
77
- line-height: 1.5;
78
- color: #000;
79
- background: #fff;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  }
81
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82
  #jd-calendar,#calendar-list {
83
- background: #fff; // general background color
84
  }
85
 
86
  #jd-calendar caption, #jd-calendar .my-calendar-date-switcher,
87
  #jd-calendar .category-key, #jd-calendar .calendar-event .details,
88
  #jd-calendar .calendar-events {
89
- background: #edf7ff; // very light blue background
90
  }
91
 
92
  #jd-calendar .category-key .no-icon {
93
- border: 1px solid #555; // border on category color if no icon
94
  }
95
 
96
  #jd-calendar caption, #jd-calendar .my-calendar-date-switcher, #jd-calendar .my-calendar-nav li a:hover, #jd-calendar .category-key {
97
- border: 1px solid #a9e3ff; // light blue border color
98
  }
99
  #jd-calendar .list-event .details, #jd-calendar td {
100
- border:1px solid #eee; // light gray border
101
  }
102
  #jd-calendar .calendar-event .details, #jd-calendar .calendar-events {
103
- color:#000; // event details text color
104
  }
105
 
106
  #jd-calendar .my-calendar-nav li a, #jd-calendar .calendar-event .details, #jd-calendar .calendar-events {
107
- border:1px solid #9b5; // light green border color
108
  }
109
 
110
  #jd-calendar .list-event .details, #jd-calendar .day-without-date {
111
- background:#fafafa; // light gray background
112
  }
113
 
114
  #jd-calendar #calendar-list .odd {
115
- background:#d3e3e3; // list format, odd event listings
116
  }
117
 
118
  #jd-calendar .odd .list-event .details {
119
- background:#e3f3f3; // details on odd event listings
120
- border:1px solid #c3d3d3; // border on odd event listings
121
  }
122
 
123
  #jd-calendar .current-day {
124
- background:#ffb; // current day highlight
125
  }
126
  #jd-calendar .current-day .mc-date {
127
- color: #000; // text color current date
128
- background: #eee; // background current date
129
  }
130
  #jd-calendar .weekend {
131
- background:#bd7; // weekend label background
132
- color: #000; // weekend label color
133
  }
134
  #jd-calendar .mc-date {
135
- background:#f6f6f6; // non-weekend date label background
136
  }
137
  #jd-calendar .my-calendar-nav li a {
138
- color: #243f82; // previous/next link color
139
- background:#fff; // previous/next link background
140
 
141
  }
142
  #jd-calendar .my-calendar-nav li a:hover {
143
- color:#000; // previous/next link hover color
144
- border: 1px solid #243f82; // previous/next link hover border color
145
  }
146
  #upcoming-events .past-event {
147
- color: #777; // text color, past events in upcoming events widget
148
  }
149
  #upcoming-events .today {
150
- color: #111; // text color, todays events in upcoming events widget
151
  }
152
  #upcoming-events .future-event {
153
- color: #555; // text color, future events in upcoming events widget
154
  }
155
 
156
  #jd-calendar caption, #jd-calendar .my-calendar-date-switcher {
@@ -303,15 +630,6 @@ padding:0;
303
  #jd-calendar .sub-details {
304
  margin-left:6em;
305
  }
306
-
307
- #jd-calendar .vcard {
308
- font-size:.9em;
309
- margin:10px 0;
310
- }
311
-
312
- #jd-calendar .calendar-event .vcard {
313
- margin:0 0 10px;
314
- }
315
  #jd-calendar {
316
  position: relative;
317
  }
@@ -340,7 +658,7 @@ list-style-type: none;
340
  }
341
 
342
  #jd-calendar .my-calendar-nav li:before {
343
- content:'';
344
  }
345
  #jd-calendar .my-calendar-nav li a {
346
  display:block;
@@ -447,238 +765,831 @@ display: block;
447
  margin: -2px;
448
  font-weight: 700;
449
  text-decoration: underline;
450
- }";
 
451
 
452
- $default_template = "<strong>{date}</strong> &#8211; {link_title}<br /><span>{time}, {category}</span>";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
453
 
454
- $initial_db = "CREATE TABLE " . MY_CALENDAR_TABLE . " (
455
- event_id INT(11) NOT NULL AUTO_INCREMENT,
456
- event_begin DATE NOT NULL,
457
- event_end DATE NOT NULL,
458
- event_title VARCHAR(255) NOT NULL,
459
- event_desc TEXT NOT NULL,
460
- event_short TEXT NOT NULL,
461
- event_open INT(3) DEFAULT '2',
462
- event_time TIME,
463
- event_endtime TIME,
464
- event_recur CHAR(1),
465
- event_repeats INT(3),
466
- event_author BIGINT(20) UNSIGNED,
467
- event_host BIGINT(20) UNSIGNED,
468
- event_category BIGINT(20) UNSIGNED,
469
- event_link TEXT,
470
- event_link_expires TINYINT(1) NOT NULL,
471
- event_label VARCHAR(60) NOT NULL,
472
- event_street VARCHAR(60) NOT NULL,
473
- event_street2 VARCHAR(60) NOT NULL,
474
- event_city VARCHAR(60) NOT NULL,
475
- event_state VARCHAR(60) NOT NULL,
476
- event_postcode VARCHAR(10) NOT NULL,
477
- event_country VARCHAR(60) NOT NULL,
478
- event_longitude FLOAT(10,6) NOT NULL DEFAULT '0',
479
- event_latitude FLOAT(10,6) NOT NULL DEFAULT '0',
480
- event_zoom INT(2) NOT NULL DEFAULT '14',
481
- event_group INT(1) NOT NULL DEFAULT '0',
482
- event_approved INT(1) NOT NULL DEFAULT '1',
483
- PRIMARY KEY (event_id),
484
- KEY event_recur (event_recur)
485
- );";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
486
 
487
- $initial_cat_db = "CREATE TABLE " . MY_CALENDAR_CATEGORIES_TABLE . " (
488
- category_id INT(11) NOT NULL AUTO_INCREMENT,
489
- category_name VARCHAR(255) NOT NULL,
490
- category_color VARCHAR(7) NOT NULL,
491
- category_icon VARCHAR(128) NOT NULL,
492
- PRIMARY KEY (category_id)
493
- );";
494
-
495
- $initial_loc_db = "CREATE TABLE " . MY_CALENDAR_LOCATIONS_TABLE . " (
496
- location_id INT(11) NOT NULL AUTO_INCREMENT,
497
- location_label VARCHAR(60) NOT NULL,
498
- location_street VARCHAR(60) NOT NULL,
499
- location_street2 VARCHAR(60) NOT NULL,
500
- location_city VARCHAR(60) NOT NULL,
501
- location_state VARCHAR(60) NOT NULL,
502
- location_postcode VARCHAR(10) NOT NULL,
503
- location_country VARCHAR(60) NOT NULL,
504
- location_longitude FLOAT(10,6) NOT NULL DEFAULT '0',
505
- location_latitude FLOAT(10,6) NOT NULL DEFAULT '0',
506
- location_zoom INT(2) NOT NULL DEFAULT '14',
507
- PRIMARY KEY (location_id)
508
- );";
509
 
510
-
511
-
512
- function mc_default_settings( ) {
513
- global $initial_style, $default_template, $initial_listjs, $initial_caljs, $initial_minijs, $initial_ajaxjs, $initial_db, $initial_loc_db, $initial_cat_db;
514
- // no arguments
515
- add_option('can_manage_events','edit_posts');
516
- add_option('my_calendar_style',"$initial_style");
517
- add_option('display_author','false');
518
- add_option('display_jump','false');
519
- add_option('display_todays','true');
520
- add_option('display_upcoming','true');
521
- add_option('display_upcoming_days',7);
522
- add_option('my_calendar_version','1.4.0');
523
- add_option('display_upcoming_type','false');
524
- add_option('display_upcoming_events',3);
525
- add_option('display_past_days',0);
526
- add_option('display_past_events',2);
527
- add_option('my_calendar_use_styles','false');
528
- add_option('my_calendar_show_months',1);
529
- add_option('my_calendar_show_map','true');
530
- add_option('my_calendar_show_address','false');
531
- add_option('my_calendar_today_template',$default_template);
532
- add_option('my_calendar_upcoming_template',$default_template);
533
- add_option('my_calendar_today_title','Today\'s Events');
534
- add_option('my_calendar_upcoming_title','Upcoming Events');
535
- add_option('calendar_javascript',0);
536
- add_option('list_javascript',0);
537
- add_option('mini_javascript',0);
538
- add_option('ajax_javascript',1);
539
- add_option('my_calendar_minijs',$initial_minijs);
540
- add_option('my_calendar_listjs',$initial_listjs);
541
- add_option('my_calendar_caljs',$initial_caljs);
542
- add_option('my_calendar_ajaxjs',$initial_ajaxjs);
543
- add_option('my_calendar_notime_text','N/A');
544
- add_option('my_calendar_hide_icons','false');
545
- add_option('mc_event_link_expires','no');
546
- add_option('mc_apply_color','default');
547
- add_option('mc_input_options',array('event_short'=>'on','event_desc'=>'on','event_category'=>'on','event_link'=>'on','event_recurs'=>'on','event_open'=>'on','event_location'=>'on','event_location_dropdown'=>'on') );
548
- add_option('mc_input_options_administrators','false');
549
- add_option('mc_event_mail','false');
550
- add_option('mc_desc','true');
551
- add_option('mc_short','false');
552
- add_option('mc_event_mail_subject','');
553
- add_option('mc_event_mail_to','');
554
- add_option('mc_event_mail_message','');
555
- add_option('mc_event_approve','false');
556
- add_option('mc_event_approve_perms','manage_options');
557
- add_option('mc_no_fifth_week','true');
558
- $mc_user_settings = array(
559
- 'my_calendar_tz_default'=>array(
560
- 'enabled'=>'on',
561
- 'label'=>__('My Calendar Default Timezone','my-calendar'),
562
- 'values'=>array(
563
- "-12" => "(GMT -12:00) Eniwetok, Kwajalein",
564
- "-11" => "(GMT -11:00) Midway Island, Samoa",
565
- "-10" => "(GMT -10:00) Hawaii",
566
- "-9.5" => "(GMT -9:30) Marquesas Islands",
567
- "-9" => "(GMT -9:00) Alaska",
568
- "-8" => "(GMT -8:00) Pacific Time (US &amp; Canada)",
569
- "-7" => "(GMT -7:00) Mountain Time (US &amp; Canada)",
570
- "-6" => "(GMT -6:00) Central Time (US &amp; Canada), Mexico City",
571
- "-5" => "(GMT -5:00) Eastern Time (US &amp; Canada), Bogota, Lima",
572
- "-4.5" => "(GMT -4:30) Venezuela",
573
- "-4" => "(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz",
574
- "-3.5" => "(GMT -3:30) Newfoundland",
575
- "-3" => "(GMT -3:00) Brazil, Buenos Aires, Georgetown",
576
- "-2" => "(GMT -2:00) Mid-Atlantic",
577
- "-1" => "(GMT -1:00 hour) Azores, Cape Verde Islands",
578
- "0" => "(GMT) Western Europe Time, London, Lisbon, Casablanca",
579
- "1" => "(GMT +1:00 hour) Brussels, Copenhagen, Madrid, Paris",
580
- "2" => "(GMT +2:00) Kaliningrad, South Africa",
581
- "3" => "(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg",
582
- "3.5" => "(GMT +3:30) Tehran",
583
- "4" => "(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi",
584
- "4.5" => "(GMT +4:30) Afghanistan",
585
- "5" => "(GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent",
586
- "5.5" => "(GMT +5:30) Bombay, Calcutta, Madras, New Delhi",
587
- "5.75" => "(GMT +5:45) Nepal",
588
- "6" => "(GMT +6:00) Almaty, Dhaka, Colombo",
589
- "6.5" => "(GMT +6:30) Myanmar, Cocos Islands",
590
- "7" => "(GMT +7:00) Bangkok, Hanoi, Jakarta",
591
- "8" => "(GMT +8:00) Beijing, Perth, Singapore, Hong Kong",
592
- "9" => "(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk",
593
- "9.5" => "(GMT +9:30) Adelaide, Darwin",
594
- "10" => "(GMT +10:00) Eastern Australia, Guam, Vladivostok",
595
- "10.5" => "(GMT +10:30) Lord Howe Island",
596
- "11" => "(GMT +11:00) Magadan, Solomon Islands, New Caledonia",
597
- "11.5" => "(GMT +11:30) Norfolk Island",
598
- "12" => "(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka",
599
- "12.75" => "(GMT +12:45) Chatham Islands",
600
- "13" => "(GMT +13:00) Tonga",
601
- "14" => "(GMT +14:00) Line Islands"
602
- ),
603
- ),
604
- 'my_calendar_location_default'=>array(
605
- 'enabled'=>'on',
606
- 'label'=>__('My Calendar Default Location','my-calendar'),
607
- 'values'=>array(
608
- 'AL'=>"Alabama",
609
- 'AK'=>"Alaska",
610
- 'AZ'=>"Arizona",
611
- 'AR'=>"Arkansas",
612
- 'CA'=>"California",
613
- 'CO'=>"Colorado",
614
- 'CT'=>"Connecticut",
615
- 'DE'=>"Delaware",
616
- 'DC'=>"District Of Columbia",
617
- 'FL'=>"Florida",
618
- 'GA'=>"Georgia",
619
- 'HI'=>"Hawaii",
620
- 'ID'=>"Idaho",
621
- 'IL'=>"Illinois",
622
- 'IN'=>"Indiana",
623
- 'IA'=>"Iowa",
624
- 'KS'=>"Kansas",
625
- 'KY'=>"Kentucky",
626
- 'LA'=>"Louisiana",
627
- 'ME'=>"Maine",
628
- 'MD'=>"Maryland",
629
- 'MA'=>"Massachusetts",
630
- 'MI'=>"Michigan",
631
- 'MN'=>"Minnesota",
632
- 'MS'=>"Mississippi",
633
- 'MO'=>"Missouri",
634
- 'MT'=>"Montana",
635
- 'NE'=>"Nebraska",
636
- 'NV'=>"Nevada",
637
- 'NH'=>"New Hampshire",
638
- 'NJ'=>"New Jersey",
639
- 'NM'=>"New Mexico",
640
- 'NY'=>"New York",
641
- 'NC'=>"North Carolina",
642
- 'ND'=>"North Dakota",
643
- 'OH'=>"Ohio",
644
- 'OK'=>"Oklahoma",
645
- 'OR'=>"Oregon",
646
- 'PA'=>"Pennsylvania",
647
- 'RI'=>"Rhode Island",
648
- 'SC'=>"South Carolina",
649
- 'SD'=>"South Dakota",
650
- 'TN'=>"Tennessee",
651
- 'TX'=>"Texas",
652
- 'UT'=>"Utah",
653
- 'VT'=>"Vermont",
654
- 'VA'=>"Virginia",
655
- 'WA'=>"Washington",
656
- 'WV'=>"West Virginia",
657
- 'WI'=>"Wisconsin",
658
- 'WY'=>"Wyoming"),
659
- )
660
- );
661
- add_option('mc_user_settings',$mc_user_settings);
662
- add_option('mc_user_settings_enabled',false);
663
- add_option('mc_user_location_type','state');
664
- add_option( 'my_calendar_show_js','' );
665
- add_option( 'my_calendar_show_css','' );
666
- add_option( 'my_calendar_templates', array(
667
- 'title'=>'{title}'
668
- ));
669
-
670
- require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
671
- dbDelta($initial_db);
672
- dbDelta($initial_cat_db);
673
- dbDelta($initial_loc_db);
674
-
675
  }
676
 
677
- function upgrade_db() {
678
- global $initial_db, $initial_loc_db, $initial_cat_db;
679
- require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
680
- dbDelta($initial_db);
681
- dbDelta($initial_cat_db);
682
- dbDelta($initial_loc_db);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
683
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
684
  ?>
1
  <?php
 
2
  // define global variables;
3
+ global $initial_listjs, $initial_caljs, $initial_minijs, $initial_ajaxjs, $initial_db, $initial_loc_db, $initial_cat_db, $default_template,$default_user_settings;
4
 
5
  $initial_ajaxjs = "jQuery(document).ready(function(){
6
 
44
  });";
45
 
46
  // defaults will go into the options table on a new install
47
+ $initial_caljs = 'jQuery(document).ready(function($) {
48
+ $(".calendar-event").children().not(".event-title").hide();
49
+ $(".calendar-event .event-title").live("click",
50
+ function(e) {
51
+ e.preventDefault(); // remove this line if you are using a link in the event title
52
+ $(this).parent().children().not(".event-title").toggle();
53
+ });
54
+ $(".calendar-event .close").live("click",
55
+ function(e) {
56
+ e.preventDefault();
57
+ $(this).parent().toggle();
58
+ });
59
+ });';
60
+
61
  $initial_listjs = 'jQuery(document).ready(function($) {
62
  $("#calendar-list li").children().not(".event-date").hide();
63
  $("#calendar-list li.current-day").children().show();
64
  $(".event-date").live("click",
65
+ function(e) {
66
+ e.preventDefault();
67
+ $(this).parent().children().not(".event-date").toggle();
68
  });
69
  });';
 
 
 
 
 
 
 
 
70
 
71
  $initial_minijs = 'jQuery(document).ready(function($) {
72
  $(".mini .has-events").children().not(".trigger").hide();
73
  $(".mini .has-events .trigger").live("click",
74
+ function(e) {
75
+ e.preventDefault();
76
+ $(this).parent().children().not(".trigger").toggle();
77
  });
78
  });';
79
+
80
+ $default_template = "<strong>{date}</strong> &#8211; {link_title}<br /><span>{time}, {category}</span>";
81
+
82
+ $initial_db = "CREATE TABLE " . MY_CALENDAR_TABLE . " (
83
+ event_id INT(11) NOT NULL AUTO_INCREMENT,
84
+ event_begin DATE NOT NULL,
85
+ event_end DATE NOT NULL,
86
+ event_title VARCHAR(255) NOT NULL,
87
+ event_desc TEXT NOT NULL,
88
+ event_short TEXT NOT NULL,
89
+ event_open INT(3) DEFAULT '2',
90
+ event_time TIME,
91
+ event_endtime TIME,
92
+ event_recur CHAR(1),
93
+ event_repeats INT(3),
94
+ event_status INT(1) NOT NULL DEFAULT '1',
95
+ event_author BIGINT(20) UNSIGNED,
96
+ event_host BIGINT(20) UNSIGNED,
97
+ event_category BIGINT(20) UNSIGNED NOT NULL DEFAULT '1',
98
+ event_link TEXT,
99
+ event_link_expires TINYINT(1) NOT NULL,
100
+ event_label VARCHAR(60) NOT NULL,
101
+ event_street VARCHAR(60) NOT NULL,
102
+ event_street2 VARCHAR(60) NOT NULL,
103
+ event_city VARCHAR(60) NOT NULL,
104
+ event_state VARCHAR(60) NOT NULL,
105
+ event_postcode VARCHAR(10) NOT NULL,
106
+ event_country VARCHAR(60) NOT NULL,
107
+ event_longitude FLOAT(10,6) NOT NULL DEFAULT '0',
108
+ event_latitude FLOAT(10,6) NOT NULL DEFAULT '0',
109
+ event_zoom INT(2) NOT NULL DEFAULT '14',
110
+ event_group INT(1) NOT NULL DEFAULT '0',
111
+ event_approved INT(1) NOT NULL DEFAULT '1',
112
+ PRIMARY KEY (event_id),
113
+ KEY event_recur (event_recur)
114
+ );";
115
+
116
+ $initial_cat_db = "CREATE TABLE " . MY_CALENDAR_CATEGORIES_TABLE . " (
117
+ category_id INT(11) NOT NULL AUTO_INCREMENT,
118
+ category_name VARCHAR(255) NOT NULL,
119
+ category_color VARCHAR(7) NOT NULL,
120
+ category_icon VARCHAR(128) NOT NULL,
121
+ PRIMARY KEY (category_id)
122
+ );";
123
+
124
+ $initial_loc_db = "CREATE TABLE " . MY_CALENDAR_LOCATIONS_TABLE . " (
125
+ location_id INT(11) NOT NULL AUTO_INCREMENT,
126
+ location_label VARCHAR(60) NOT NULL,
127
+ location_street VARCHAR(60) NOT NULL,
128
+ location_street2 VARCHAR(60) NOT NULL,
129
+ location_city VARCHAR(60) NOT NULL,
130
+ location_state VARCHAR(60) NOT NULL,
131
+ location_postcode VARCHAR(10) NOT NULL,
132
+ location_country VARCHAR(60) NOT NULL,
133
+ location_longitude FLOAT(10,6) NOT NULL DEFAULT '0',
134
+ location_latitude FLOAT(10,6) NOT NULL DEFAULT '0',
135
+ location_zoom INT(2) NOT NULL DEFAULT '14',
136
+ PRIMARY KEY (location_id)
137
+ );";
138
+
139
+ $default_user_settings = array(
140
+ 'my_calendar_tz_default'=>array(
141
+ 'enabled'=>'off',
142
+ 'label'=>__('My Calendar Default Timezone','my-calendar'),
143
+ 'values'=>array(
144
+ "-12" => "(GMT -12:00) Eniwetok, Kwajalein",
145
+ "-11" => "(GMT -11:00) Midway Island, Samoa",
146
+ "-10" => "(GMT -10:00) Hawaii",
147
+ "-9.5" => "(GMT -9:30) Marquesas Islands",
148
+ "-9" => "(GMT -9:00) Alaska",
149
+ "-8" => "(GMT -8:00) Pacific Time (US &amp; Canada)",
150
+ "-7" => "(GMT -7:00) Mountain Time (US &amp; Canada)",
151
+ "-6" => "(GMT -6:00) Central Time (US &amp; Canada), Mexico City",
152
+ "-5" => "(GMT -5:00) Eastern Time (US &amp; Canada), Bogota, Lima",
153
+ "-4.5" => "(GMT -4:30) Venezuela",
154
+ "-4" => "(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz",
155
+ "-3.5" => "(GMT -3:30) Newfoundland",
156
+ "-3" => "(GMT -3:00) Brazil, Buenos Aires, Georgetown",
157
+ "-2" => "(GMT -2:00) Mid-Atlantic",
158
+ "-1" => "(GMT -1:00 hour) Azores, Cape Verde Islands",
159
+ "0" => "(GMT) Western Europe Time, London, Lisbon, Casablanca",
160
+ "1" => "(GMT +1:00 hour) Brussels, Copenhagen, Madrid, Paris",
161
+ "2" => "(GMT +2:00) Kaliningrad, South Africa",
162
+ "3" => "(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg",
163
+ "3.5" => "(GMT +3:30) Tehran",
164
+ "4" => "(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi",
165
+ "4.5" => "(GMT +4:30) Afghanistan",
166
+ "5" => "(GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent",
167
+ "5.5" => "(GMT +5:30) Bombay, Calcutta, Madras, New Delhi",
168
+ "5.75" => "(GMT +5:45) Nepal",
169
+ "6" => "(GMT +6:00) Almaty, Dhaka, Colombo",
170
+ "6.5" => "(GMT +6:30) Myanmar, Cocos Islands",
171
+ "7" => "(GMT +7:00) Bangkok, Hanoi, Jakarta",
172
+ "8" => "(GMT +8:00) Beijing, Perth, Singapore, Hong Kong",
173
+ "9" => "(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk",
174
+ "9.5" => "(GMT +9:30) Adelaide, Darwin",
175
+ "10" => "(GMT +10:00) Eastern Australia, Guam, Vladivostok",
176
+ "10.5" => "(GMT +10:30) Lord Howe Island",
177
+ "11" => "(GMT +11:00) Magadan, Solomon Islands, New Caledonia",
178
+ "11.5" => "(GMT +11:30) Norfolk Island",
179
+ "12" => "(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka",
180
+ "12.75" => "(GMT +12:45) Chatham Islands",
181
+ "13" => "(GMT +13:00) Tonga",
182
+ "14" => "(GMT +14:00) Line Islands"
183
+ ),
184
+ ),
185
+ 'my_calendar_location_default'=>array(
186
+ 'enabled'=>'off',
187
+ 'label'=>__('My Calendar Default Location','my-calendar'),
188
+ 'values'=>array(
189
+ 'AL'=>"Alabama",
190
+ 'AK'=>"Alaska",
191
+ 'AZ'=>"Arizona",
192
+ 'AR'=>"Arkansas",
193
+ 'CA'=>"California",
194
+ 'CO'=>"Colorado",
195
+ 'CT'=>"Connecticut",
196
+ 'DE'=>"Delaware",
197
+ 'DC'=>"District Of Columbia",
198
+ 'FL'=>"Florida",
199
+ 'GA'=>"Georgia",
200
+ 'HI'=>"Hawaii",
201
+ 'ID'=>"Idaho",
202
+ 'IL'=>"Illinois",
203
+ 'IN'=>"Indiana",
204
+ 'IA'=>"Iowa",
205
+ 'KS'=>"Kansas",
206
+ 'KY'=>"Kentucky",
207
+ 'LA'=>"Louisiana",
208
+ 'ME'=>"Maine",
209
+ 'MD'=>"Maryland",
210
+ 'MA'=>"Massachusetts",
211
+ 'MI'=>"Michigan",
212
+ 'MN'=>"Minnesota",
213
+ 'MS'=>"Mississippi",
214
+ 'MO'=>"Missouri",
215
+ 'MT'=>"Montana",
216
+ 'NE'=>"Nebraska",
217
+ 'NV'=>"Nevada",
218
+ 'NH'=>"New Hampshire",
219
+ 'NJ'=>"New Jersey",
220
+ 'NM'=>"New Mexico",
221
+ 'NY'=>"New York",
222
+ 'NC'=>"North Carolina",
223
+ 'ND'=>"North Dakota",
224
+ 'OH'=>"Ohio",
225
+ 'OK'=>"Oklahoma",
226
+ 'OR'=>"Oregon",
227
+ 'PA'=>"Pennsylvania",
228
+ 'RI'=>"Rhode Island",
229
+ 'SC'=>"South Carolina",
230
+ 'SD'=>"South Dakota",
231
+ 'TN'=>"Tennessee",
232
+ 'TX'=>"Texas",
233
+ 'UT'=>"Utah",
234
+ 'VT'=>"Vermont",
235
+ 'VA'=>"Virginia",
236
+ 'WA'=>"Washington",
237
+ 'WV'=>"West Virginia",
238
+ 'WI'=>"Wisconsin",
239
+ 'WY'=>"Wyoming"),
240
+ )
241
+ );
242
+
243
+ function mc_default_settings( ) {
244
+ global $default_template, $initial_listjs, $initial_caljs, $initial_minijs, $initial_ajaxjs, $initial_db, $initial_loc_db, $initial_cat_db, $default_user_settings,$stored_styles;
245
+ // no arguments
246
+ add_option('my_calendar_stored_styles',$stored_styles);
247
+ add_option('can_manage_events','edit_posts');
248
+ add_option('display_author','false');
249
+ add_option('display_jump','false');
250
+ add_option('my_calendar_version','1.4.0');
251
+ add_option('my_calendar_use_styles','false');
252
+ add_option('my_calendar_show_months',1);
253
+ add_option('my_calendar_show_map','true');
254
+ add_option('my_calendar_show_address','false');
255
+ add_option('my_calendar_today_template',$default_template);
256
+ add_option('my_calendar_upcoming_template',$default_template);
257
+ add_option('my_calendar_today_title','Today\'s Events');
258
+ add_option('my_calendar_upcoming_title','Upcoming Events');
259
+ add_option('calendar_javascript',0);
260
+ add_option('list_javascript',0);
261
+ add_option('mini_javascript',0);
262
+ add_option('ajax_javascript',1);
263
+ add_option('my_calendar_minijs',$initial_minijs);
264
+ add_option('my_calendar_listjs',$initial_listjs);
265
+ add_option('my_calendar_caljs',$initial_caljs);
266
+ add_option('my_calendar_ajaxjs',$initial_ajaxjs);
267
+ add_option('my_calendar_notime_text','N/A');
268
+ add_option('my_calendar_hide_icons','false');
269
+ add_option('mc_event_link_expires','no');
270
+ add_option('mc_apply_color','default');
271
+ add_option('mc_input_options',array('event_short'=>'on','event_desc'=>'on','event_category'=>'on','event_link'=>'on','event_recurs'=>'on','event_open'=>'on','event_location'=>'on','event_location_dropdown'=>'on') );
272
+ add_option('mc_input_options_administrators','false');
273
+ add_option('mc_event_mail','false');
274
+ add_option('mc_desc','true');
275
+ add_option('mc_short','false');
276
+ add_option('mc_event_mail_subject','');
277
+ add_option('mc_event_mail_to','');
278
+ add_option('mc_event_mail_message','');
279
+ add_option('mc_event_approve','false');
280
+ add_option('mc_event_approve_perms','manage_options');
281
+ add_option('mc_no_fifth_week','true');
282
+ $mc_user_settings = $default_user_settings;
283
+ add_option('mc_user_settings',$mc_user_settings);
284
+ add_option('mc_location_type','event_state');
285
+ add_option('mc_user_settings_enabled',false);
286
+ add_option('mc_user_location_type','state');
287
+ add_option('my_calendar_show_js','' );
288
+ add_option('my_calendar_show_css','' );
289
+ add_option('my_calendar_templates', array(
290
+ 'title'=>'{title}'
291
+ ));
292
+ add_option('mc_skip_holidays','false');
293
+ add_option('mc_event_edit_perms','manage_options');
294
+ add_option('my_calendar_css_file','my-calendar.css');
295
+ add_option('mc_show_rss','false');
296
+ add_option('mc_show_ical','false');
297
+ $defaults = array(
298
+ 'upcoming'=>array(
299
+ 'type'=>'event',
300
+ 'before'=>3,
301
+ 'after'=>3,
302
+ 'template'=>$default_template,
303
+ 'category'=>'',
304
+ 'text'=>'',
305
+ 'title'=>'Upcoming Events'
306
+ ),
307
+ 'today'=>array(
308
+ 'template'=>$default_template,
309
+ 'category'=>'',
310
+ 'title'=>'Today\'s Events',
311
+ 'text'=>''
312
+ )
313
+ );
314
+ add_option('my_calendar_widget_defaults',$defaults);
315
+ require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
316
+ dbDelta($initial_db);
317
+ dbDelta($initial_cat_db);
318
+ dbDelta($initial_loc_db);
319
+
320
+ }
321
+
322
+ function upgrade_db() {
323
+ global $initial_db, $initial_loc_db, $initial_cat_db;
324
+ require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
325
+ dbDelta($initial_db);
326
+ dbDelta($initial_cat_db);
327
+ dbDelta($initial_loc_db);
328
  }
329
 
330
+ function my_calendar_copyr($source, $dest) {
331
+ // Check for symlinks
332
+ if (is_link($source)) {
333
+ return symlink(readlink($source), $dest);
334
+ }
335
+ // Simple copy for a file
336
+ if (is_file($source)) {
337
+ return @copy($source, $dest);
338
+ }
339
+ // Make destination directory
340
+ if (!is_dir($dest)) {
341
+ @mkdir($dest);
342
+ }
343
+ // Loop through the folder
344
+ $dir = dir($source);
345
+ while (false !== $entry = $dir->read()) {
346
+ // Skip pointers
347
+ if ($entry == '.' || $entry == '..') {
348
+ continue;
349
+ }
350
+ // Deep copy directories
351
+ my_calendar_copyr("$source/$entry", "$dest/$entry");
352
+ }
353
+ // Clean up
354
+ $dir->close();
355
+ return true;
356
+ }
357
+ function my_calendar_rmdirr($dirname) {
358
+ // Sanity check
359
+ if (!file_exists($dirname)) {
360
+ return false;
361
+ }
362
+ // Simple delete for a file
363
+ if (is_file($dirname)) {
364
+ return unlink($dirname);
365
+ }
366
+ // Loop through the folder
367
+ $dir = dir($dirname);
368
+ while (false !== $entry = $dir->read()) {
369
+ // Skip pointers
370
+ if ($entry == '.' || $entry == '..') {
371
+ continue;
372
+ }
373
+ // Recurse
374
+ my_calendar_rmdirr("$dirname/$entry");
375
+ }
376
+ // Clean up
377
+ $dir->close();
378
+ return @rmdir($dirname);
379
+ }
380
+ function my_calendar_backup() {
381
+ $to = dirname(__FILE__)."/../styles_backup/";
382
+ $from = dirname(__FILE__)."/styles/";
383
+ my_calendar_copyr($from, $to);
384
+
385
+ $to = dirname(__FILE__)."/../icons_backup/";
386
+ $from = dirname(__FILE__)."/icons/";
387
+ my_calendar_copyr($from, $to);
388
+ }
389
+ function my_calendar_recover() {
390
+ $from = dirname(__FILE__)."/../styles_backup/";
391
+ $to = dirname(__FILE__)."/styles/";
392
+ my_calendar_copyr($from, $to);
393
+ if (is_dir($from)) {
394
+ my_calendar_rmdirr($from);
395
+ }
396
+
397
+ $from = dirname(__FILE__)."/../icons_backup/";
398
+ $to = dirname(__FILE__)."/icons/";
399
+ my_calendar_copyr($from, $to);
400
+ if (is_dir($from)) {
401
+ my_calendar_rmdirr($from);
402
+ }
403
+ }
404
+ add_filter('upgrader_pre_install', 'my_calendar_backup', 10, 2);
405
+ add_filter('upgrader_post_install', 'my_calendar_recover', 10, 2);
406
+
407
+ $stored_styles = array(
408
+ 'my-calendar.css'=>'
409
  #jd-calendar,#calendar-list {
410
+ background: #fff;
411
  }
412
 
413
  #jd-calendar caption, #jd-calendar .my-calendar-date-switcher,
414
  #jd-calendar .category-key, #jd-calendar .calendar-event .details,
415
  #jd-calendar .calendar-events {
416
+ background: #edf7ff;
417
  }
418
 
419
  #jd-calendar .category-key .no-icon {
420
+ border: 1px solid #555;
421
  }
422
 
423
  #jd-calendar caption, #jd-calendar .my-calendar-date-switcher, #jd-calendar .my-calendar-nav li a:hover, #jd-calendar .category-key {
424
+ border: 1px solid #a9e3ff;
425
  }
426
  #jd-calendar .list-event .details, #jd-calendar td {
427
+ border:1px solid #eee;
428
  }
429
  #jd-calendar .calendar-event .details, #jd-calendar .calendar-events {
430
+ color:#000;
431
  }
432
 
433
  #jd-calendar .my-calendar-nav li a, #jd-calendar .calendar-event .details, #jd-calendar .calendar-events {
434
+ border:1px solid #9b5;
435
  }
436
 
437
  #jd-calendar .list-event .details, #jd-calendar .day-without-date {
438
+ background:#fafafa;
439
  }
440
 
441
  #jd-calendar #calendar-list .odd {
442
+ background:#d3e3e3;
443
  }
444
 
445
  #jd-calendar .odd .list-event .details {
446
+ background:#e3f3f3;
447
+ border:1px solid #c3d3d3;
448
  }
449
 
450
  #jd-calendar .current-day {
451
+ background:#ffb;
452
  }
453
  #jd-calendar .current-day .mc-date {
454
+ color: #000;
455
+ background: #eee;
456
  }
457
  #jd-calendar .weekend {
458
+ background:#bd7;
459
+ color: #000;
460
  }
461
  #jd-calendar .mc-date {
462
+ background:#f6f6f6;
463
  }
464
  #jd-calendar .my-calendar-nav li a {
465
+ color: #243f82;
466
+ background:#fff;
467
 
468
  }
469
  #jd-calendar .my-calendar-nav li a:hover {
470
+ color:#000;
471
+ border: 1px solid #243f82;
472
  }
473
  #upcoming-events .past-event {
474
+ color: #777;
475
  }
476
  #upcoming-events .today {
477
+ color: #111;
478
  }
479
  #upcoming-events .future-event {
480
+ color: #555;
481
  }
482
 
483
  #jd-calendar caption, #jd-calendar .my-calendar-date-switcher {
630
  #jd-calendar .sub-details {
631
  margin-left:6em;
632
  }
 
 
 
 
 
 
 
 
 
633
  #jd-calendar {
634
  position: relative;
635
  }
658
  }
659
 
660
  #jd-calendar .my-calendar-nav li:before {
661
+ content:\'\';
662
  }
663
  #jd-calendar .my-calendar-nav li a {
664
  display:block;
765
  margin: -2px;
766
  font-weight: 700;
767
  text-decoration: underline;
768
+ }',
769
+ 'dark.css'=>'/* A theme in dark grays and blacks with light text and dark blue highlighting. */
770
 
771
+ #jd-calendar .event-title {
772
+ color: #fff;
773
+ }
774
+ #jd-calendar,#calendar-list {
775
+ background: #333;
776
+ color: #fff;
777
+ }
778
+ #jd-calendar a {
779
+ color: #9cf;
780
+ text-decoration: none;
781
+ }
782
+ #jd-calendar a:hover {
783
+ text-decoration: underline;
784
+ color: #fff;
785
+ }
786
+ #jd-calendar caption, #jd-calendar .my-calendar-date-switcher,
787
+ #jd-calendar .category-key, #jd-calendar .calendar-event .details,
788
+ #jd-calendar .calendar-events {
789
+ background: #222;
790
+ color: #fff;
791
+ }
792
 
793
+ #jd-calendar .category-key .no-icon {
794
+ border: 1px solid #bbb;
795
+ }
796
+
797
+ #jd-calendar caption, #jd-calendar .my-calendar-date-switcher, #jd-calendar .my-calendar-nav li a:hover, #jd-calendar .category-key {
798
+ border: 1px solid #222;
799
+ }
800
+ #jd-calendar .list-event .details, #jd-calendar td {
801
+ border:1px solid #222;
802
+ }
803
+ #jd-calendar .calendar-event .details, #jd-calendar .calendar-events {
804
+ background: #444;
805
+ border: 1px solid #222;
806
+ color:#fff;
807
+ }
808
+
809
+ #jd-calendar .my-calendar-nav li a, #jd-calendar .calendar-event .details, #jd-calendar .calendar-events {
810
+ border:1px solid #444;
811
+ }
812
+
813
+ #jd-calendar .list-event .details, #jd-calendar .day-without-date {
814
+ background:#252525;
815
+ color: #eee;
816
+ }
817
+
818
+ #jd-calendar #calendar-list .odd {
819
+ background:#353535;
820
+ }
821
+
822
+ #jd-calendar .odd .list-event .details {
823
+ background:#151515;
824
+ border:1px solid #353535;
825
+ }
826
+
827
+ #jd-calendar .current-day {
828
+ background:#224;
829
+ }
830
+ #jd-calendar .current-day .mc-date {
831
+ color: #fff;
832
+ background: #111;
833
+ }
834
+ #jd-calendar .weekend {
835
+ background:#555!important;
836
+ color: #fff!important;
837
+ }
838
+ #jd-calendar .mc-date {
839
+ background:#080808;
840
+ color: #fff;
841
+ }
842
+ #jd-calendar .my-calendar-nav li a {
843
+ color: #aaf;
844
+ background:#000;
845
+
846
+ }
847
+ #jd-calendar .my-calendar-nav li a:hover {
848
+ color:#fff;
849
+ border: 1px solid #aaf;
850
+ }
851
+ #upcoming-events .past-event {
852
+ color: #aaa;
853
+ }
854
+ #upcoming-events .today {
855
+ color: #eee;
856
+ }
857
+ #upcoming-events .future-event {
858
+ color: #bbb;
859
+ }
860
+
861
+ #jd-calendar caption, #jd-calendar .my-calendar-date-switcher {
862
+ margin: 2px 0;
863
+ font-weight:700;
864
+ padding:2px 0;
865
+ }
866
+
867
+ #jd-calendar table {
868
+ width:100%;
869
+ line-height:1.2;
870
+ border-collapse:collapse;
871
+ }
872
+
873
+ #jd-calendar td {
874
+ vertical-align:top;
875
+ text-align:left;
876
+ width:13%;
877
+ height:70px;
878
+ padding:2px!important;
879
+ }
880
+ .mini td {
881
+ height: auto!important;
882
+ }
883
+ #jd-calendar th {
884
+ text-align: center;
885
+ padding: 5px 0!important;
886
+ letter-spacing: 1px;
887
+ }
888
+ #jd-calendar th abbr {
889
+ border-bottom: none;
890
+ }
891
+ #jd-calendar h3 {
892
+ font: 700 .8em Arial, Verdana, sans-serif;
893
+ margin:3px 0;
894
+ padding:0;
895
+ width: 100%;
896
+ color: #fff;
897
+ }
898
+ #jd-calendar h2 {
899
+ color: #fff;
900
+ }
901
+ #jd-calendar h3 img {
902
+ vertical-align: middle;
903
+ margin: 0 3px 0 0!important;
904
+ }
905
+ #jd-calendar #calendar-list h3 img {
906
+ vertical-align: middle;
907
+ }
908
+
909
+ #jd-calendar .list-event h3 {
910
+ font-size:1.2em;
911
+ margin:0;
912
+ }
913
+ #jd-calendar .calendar-event .details, #jd-calendar .calendar-events {
914
+ position:absolute;
915
+ left: 15%;
916
+ width:70%;
917
+ padding:5px;
918
+ z-index: 3;
919
+ border: 1px solid #222;
920
+ -moz-box-shadow: 3px 3px 10px #000;
921
+ -webkit-box-shadow: 3px 3px 10px #000;
922
+ box-shadow: 3px 3px 10px #000;
923
+ }
924
+
925
+ #jd-calendar .details .close a img {
926
+ float: right;
927
+ background: #aaa;
928
+ text-align: center;
929
+ padding: 2px;
930
+ -moz-border-radius: 3px;
931
+ -webkit-border-radius: 3px;
932
+ border-radius: 3px;
933
+ }
934
+ #jd-calendar .calendar-events {
935
+ width: 200px!important;
936
+ left: 0px;
937
+ }
938
+ #jd-calendar .list-event .details {
939
+ margin:5px 0;
940
+ padding:5px 5px 0;
941
+ }
942
+ #jd-calendar #calendar-list {
943
+ margin: 0;
944
+ padding: 0;
945
+ }
946
+ #jd-calendar #calendar-list li {
947
+ padding:5px;
948
+ list-style-type: none;
949
+ margin: 0;
950
+ }
951
+
952
+ #jd-calendar .mc-date {
953
+ display:block;
954
+ margin:-2px -2px 2px;
955
+ padding:2px 4px;
956
+ }
957
+ #jd-calendar th {
958
+ font-size:.8em;
959
+ text-transform:uppercase;
960
+ padding:2px 4px 2px 0;
961
+ }
962
+ #jd-calendar .category-key {
963
+ padding: 5px;
964
+ margin: 5px 0;
965
+ }
966
+ #jd-calendar .category-key ul {
967
+ list-style-type: none;
968
+ margin: 0;
969
+ padding: 0;
970
+ }
971
+ #jd-calendar .category-key li {
972
+ margin: 2px 10px;
973
+ }
974
+ #jd-calendar .category-key span {
975
+ margin-right:5px;
976
+ vertical-align:middle;
977
+ }
978
+ #jd-calendar .category-key .no-icon {
979
+ width: 10px;
980
+ height: 10px;
981
+ display: inline-block;
982
+ }
983
+
984
+ #calendar-list li {
985
+ text-indent:0;
986
+ margin:0;
987
+ padding:0;
988
+ }
989
+
990
+ #jd-calendar .calendar-event .event-time, #jd-calendar .list-event .event-time {
991
+ display:block;
992
+ height:100%;
993
+ margin-right:10px;
994
+ margin-bottom:10px;
995
+ font-weight:700;
996
+ font-size:.9em;
997
+ }
998
+
999
+ #jd-calendar p {
1000
+ line-height:1.5;
1001
+ margin:0 0 1em;
1002
+ padding:0;
1003
+ }
1004
+ #jd-calendar {
1005
+ position: relative;
1006
+ }
1007
+ #jd-calendar img {
1008
+ border: none;
1009
+ }
1010
+ .category-color-sample img {
1011
+ margin-right: 5px;
1012
+ vertical-align: top;
1013
+ }
1014
+
1015
+ #jd-calendar .my-calendar-nav ul {
1016
+ height: 2em;
1017
+ list-style-type:none;
1018
+ margin:0 5px;
1019
+ padding:0;
1020
+ }
1021
+
1022
+ .mini .my-calendar-nav ul {
1023
+ height: 2em!important;
1024
+ }
1025
+
1026
+ #jd-calendar .my-calendar-nav li {
1027
+ float:left;
1028
+ list-style-type: none;
1029
+ }
1030
+
1031
+ #jd-calendar .my-calendar-nav li:before {
1032
+ content:\'\';
1033
+ }
1034
+ #jd-calendar .my-calendar-nav li a {
1035
+ display:block;
1036
+ text-align:center;
1037
+ padding:1px 20px;
1038
+ }
1039
+ .mini .my-calendar-nav li a {
1040
+ padding: 1px 3px!important;
1041
+ font-size: .7em;
1042
+ }
1043
+ #jd-calendar .my-calendar-next {
1044
+ margin-left: 4px;
1045
+ text-align:right;
1046
+ }
1047
+
1048
+ #jd-calendar.mini .my-calendar-date-switcher label {
1049
+ display: block;
1050
+ float: left;
1051
+ width: 6em;
1052
+ }
1053
+ #jd-calendar.mini .my-calendar-date-switcher {
1054
+ padding: 4px;
1055
+ }
1056
+ #jd-calendar.mini td .category-icon {
1057
+ display: none;
1058
+ }
1059
+ #jd-calendar.mini h3 {
1060
+ font-size: 1.1em;
1061
+ }
1062
+
1063
+ #jd-calendar.mini .day-with-date span, #jd-calendar.mini .day-with-date a {
1064
+ font: .9em Arial, Verdana, sans-serif;
1065
+ padding:1px;
1066
+ color: #fff;
1067
+ }
1068
+ #jd-calendar .mini-event .sub-details {
1069
+ margin: 0;
1070
+ border-bottom: 1px solid #ccc;
1071
+ padding: 2px 0 0;
1072
+ margin-bottom: 5px;
1073
+ }
1074
+ #jd-calendar.mini .day-with-date a {
1075
+ display: block;
1076
+ margin: -2px;
1077
+ font-weight: 700;
1078
+ text-decoration: underline;
1079
+ }
1080
+
1081
+ .mini td {
1082
+ height: auto!important;
1083
+ }
1084
+
1085
+ .mini .my-calendar-nav ul {
1086
+ height: 2em!important;
1087
+ }
1088
+ .mini .my-calendar-nav li a {
1089
+ padding: 1px 3px!important;
1090
+ font-size: .7em;
1091
+ }',
1092
+ 'light.css'=>'/* A light-colored theme almost entirely in whites and light grays with black text. */
1093
+
1094
+ #jd-calendar,#calendar-list {
1095
+ background: #fff;
1096
+ }
1097
+
1098
+ #jd-calendar caption, #jd-calendar .my-calendar-date-switcher,
1099
+ #jd-calendar .category-key, #jd-calendar .calendar-event .details,
1100
+ #jd-calendar .calendar-events {
1101
+ background: #fff;
1102
+ }
1103
+
1104
+ #jd-calendar .category-key .no-icon {
1105
+ border: 1px solid #555;
1106
+ }
1107
+
1108
+ #jd-calendar caption, #jd-calendar .my-calendar-date-switcher, #jd-calendar .my-calendar-nav li a:hover, #jd-calendar .category-key {
1109
+ border: 1px solid #ddd;
1110
+ }
1111
+ #jd-calendar .list-event .details, #jd-calendar td {
1112
+ border:1px solid #eee;
1113
+ }
1114
+ #jd-calendar .calendar-event .details, #jd-calendar .calendar-events {
1115
+ color:#000;
1116
+ }
1117
+
1118
+ #jd-calendar .my-calendar-nav li a, #jd-calendar .calendar-event .details, #jd-calendar .calendar-events {
1119
+ border:1px solid #bbb;
1120
+ }
1121
+
1122
+ #jd-calendar .list-event .details, #jd-calendar .day-without-date {
1123
+ background:#fafafa;
1124
+ }
1125
+
1126
+ #jd-calendar #calendar-list .odd {
1127
+ background:#e3e3e3;
1128
+ }
1129
+
1130
+ #jd-calendar .odd .list-event .details {
1131
+ background:#f3f3f3;
1132
+ border:1px solid #d3d3d3;
1133
+ }
1134
+
1135
+ #jd-calendar .current-day {
1136
+ background:#ffd;
1137
+ }
1138
+ #jd-calendar .current-day .mc-date {
1139
+ color: #000;
1140
+ background: #eee;
1141
+ }
1142
+ #jd-calendar .weekend {
1143
+ background:#bbb;
1144
+ color: #000;
1145
+ }
1146
+ #jd-calendar .mc-date {
1147
+ background:#f6f6f6;
1148
+ }
1149
+ #jd-calendar .my-calendar-nav li a {
1150
+ color: #00a;
1151
+ background:#fff;
1152
+
1153
+ }
1154
+ #jd-calendar .my-calendar-nav li a:hover {
1155
+ color:#000;
1156
+ border: 1px solid #00a;
1157
+ }
1158
+ #upcoming-events .past-event {
1159
+ color: #777;
1160
+ }
1161
+ #upcoming-events .today {
1162
+ color: #111;
1163
+ }
1164
+ #upcoming-events .future-event {
1165
+ color: #555;
1166
+ }
1167
+
1168
+ #jd-calendar caption, #jd-calendar .my-calendar-date-switcher {
1169
+ margin: 2px 0;
1170
+ font-weight:700;
1171
+ padding:2px 0;
1172
+ }
1173
+
1174
+ #jd-calendar table {
1175
+ width:100%;
1176
+ line-height:1.2;
1177
+ border-collapse:collapse;
1178
+ }
1179
+
1180
+ #jd-calendar td {
1181
+ vertical-align:top;
1182
+ text-align:left;
1183
+ width:13%;
1184
+ height:70px;
1185
+ padding:2px!important;
1186
+ }
1187
+ .mini td {
1188
+ height: auto!important;
1189
+ }
1190
+ #jd-calendar th {
1191
+ text-align: center;
1192
+ padding: 5px 0!important;
1193
+ letter-spacing: 1px;
1194
+ }
1195
+ #jd-calendar th abbr {
1196
+ border-bottom: none;
1197
+ }
1198
+ #jd-calendar h3 {
1199
+ font: 700 .8em Arial, Verdana, sans-serif;
1200
+ margin:3px 0;
1201
+ padding:0;
1202
+ width: 100%;
1203
+ }
1204
+ #jd-calendar h3 img {
1205
+ vertical-align: middle;
1206
+ margin: 0 3px 0 0!important;
1207
+ }
1208
+ #jd-calendar #calendar-list h3 img {
1209
+ vertical-align: middle;
1210
+ }
1211
+
1212
+ #jd-calendar .list-event h3 {
1213
+ font-size:1.2em;
1214
+ margin:0;
1215
+ }
1216
+ #jd-calendar .calendar-event .details, #jd-calendar .calendar-events {
1217
+ position:absolute;
1218
+ left: 15%;
1219
+ width:70%;
1220
+ padding:5px;
1221
+ z-index: 3;
1222
+ }
1223
+ #jd-calendar .details .close {
1224
+ float: right;
1225
+ width: 12px!important;
1226
+ margin-top: -2px!important;
1227
+ }
1228
+ #jd-calendar .calendar-events {
1229
+ width: 200px!important;
1230
+ left: 0px;
1231
+ }
1232
+ #jd-calendar .list-event .details {
1233
+ margin:5px 0;
1234
+ padding:5px 5px 0;
1235
+ }
1236
+ #jd-calendar #calendar-list {
1237
+ margin: 0;
1238
+ padding: 0;
1239
+ }
1240
+ #jd-calendar #calendar-list li {
1241
+ padding:5px;
1242
+ list-style-type: none;
1243
+ margin: 0;
1244
+ }
1245
+
1246
+ #jd-calendar .mc-date {
1247
+ display:block;
1248
+ margin:-2px -2px 2px;
1249
+ padding:2px 4px;
1250
+ }
1251
+ #jd-calendar th {
1252
+ font-size:.8em;
1253
+ text-transform:uppercase;
1254
+ padding:2px 4px 2px 0;
1255
+ }
1256
+ #jd-calendar .category-key {
1257
+ padding: 5px;
1258
+ margin: 5px 0;
1259
+ }
1260
+ #jd-calendar .category-key ul {
1261
+ list-style-type: none;
1262
+ margin: 0;
1263
+ padding: 0;
1264
+ }
1265
+ #jd-calendar .category-key li {
1266
+ margin: 2px 10px;
1267
+ }
1268
+ #jd-calendar .category-key span {
1269
+ margin-right:5px;
1270
+ vertical-align:middle;
1271
+ }
1272
+ #jd-calendar .category-key .no-icon {
1273
+ width: 10px;
1274
+ height: 10px;
1275
+ display: inline-block;
1276
+ }
1277
+
1278
+ #calendar-list li {
1279
+ text-indent:0;
1280
+ margin:0;
1281
+ padding:0;
1282
+ }
1283
+
1284
+ #jd-calendar .calendar-event .event-time, #jd-calendar .list-event .event-time {
1285
+ display:block;
1286
+ height:100%;
1287
+ margin-right:10px;
1288
+ margin-bottom:10px;
1289
+ font-weight:700;
1290
+ font-size:.9em;
1291
+ }
1292
+
1293
+ #jd-calendar p {
1294
+ line-height:1.5;
1295
+ margin:0 0 1em;
1296
+ padding:0;
1297
+ }
1298
+ #jd-calendar {
1299
+ position: relative;
1300
+ }
1301
+ #jd-calendar img {
1302
+ border: none;
1303
+ }
1304
+ .category-color-sample img {
1305
+ margin-right: 5px;
1306
+ vertical-align: top;
1307
+ }
1308
+
1309
+ #jd-calendar .my-calendar-nav ul {
1310
+ height: 2.95em;
1311
+ list-style-type:none;
1312
+ margin:0;
1313
+ padding:0;
1314
+ }
1315
+
1316
+ .mini .my-calendar-nav ul {
1317
+ height: 2em!important;
1318
+ }
1319
+
1320
+ #jd-calendar .my-calendar-nav li {
1321
+ float:left;
1322
+ list-style-type: none;
1323
+ }
1324
+
1325
+ #jd-calendar .my-calendar-nav li:before {
1326
+ content:\'\';
1327
+ }
1328
+ #jd-calendar .my-calendar-nav li a {
1329
+ display:block;
1330
+ text-align:center;
1331
+ padding:1px 20px;
1332
+ }
1333
+ .mini .my-calendar-nav li a {
1334
+ padding: 1px 3px!important;
1335
+ font-size: .7em;
1336
+ }
1337
+ #jd-calendar .my-calendar-next {
1338
+ margin-left: 4px;
1339
+ text-align:right;
1340
+ }
1341
+
1342
+ #jd-calendar.mini .my-calendar-date-switcher label {
1343
+ display: block;
1344
+ float: left;
1345
+ width: 6em;
1346
+ }
1347
+ #jd-calendar.mini .my-calendar-date-switcher {
1348
+ padding: 4px;
1349
+ }
1350
+ #jd-calendar.mini td .category-icon {
1351
+ display: none;
1352
+ }
1353
+ #jd-calendar.mini h3 {
1354
+ font-size: 1.1em;
1355
+ }
1356
+
1357
+ #jd-calendar.mini .day-with-date span, #jd-calendar.mini .day-with-date a {
1358
+ font: .9em Arial, Verdana, sans-serif;
1359
+ padding:1px;
1360
+ }
1361
+ #jd-calendar .mini-event .sub-details {
1362
+ margin: 0;
1363
+ border-bottom: 1px solid #ccc;
1364
+ padding: 2px 0 0;
1365
+ margin-bottom: 5px;
1366
+ }
1367
+ #jd-calendar.mini .day-with-date a {
1368
+ display: block;
1369
+ margin: -2px;
1370
+ font-weight: 700;
1371
+ text-decoration: underline;
1372
+ }
1373
+ .mini td {
1374
+ height: auto!important;
1375
+ }
1376
+
1377
+ .mini .my-calendar-nav ul {
1378
+ height: 2em!important;
1379
+ }
1380
+ .mini .my-calendar-nav li a {
1381
+ padding: 1px 3px!important;
1382
+ font-size: .7em;
1383
+ }',
1384
+ 'inherit.css'=>'/* These styles provide a minimal degree of styling, allowing most theme defaults to be dominant. */
1385
+ #jd-calendar .details {
1386
+ background: #fff;
1387
+ border: 1px solid #000;
1388
+ }
1389
+ #jd-calendar.mini .mini-event {
1390
+ background: #fff;
1391
+ border: 1px solid #000;
1392
+ padding: 5px;
1393
+ }
1394
+ #jd-calendar.mini .mini-event .details {
1395
+ background: none;
1396
+ border: none;
1397
+ }
1398
+ /* The end of all colors set (or set and removed) in this style sheet. */
1399
+ #jd-calendar caption, #jd-calendar .my-calendar-date-switcher {
1400
+ margin: 2px 0;
1401
+ font-weight:700;
1402
+ padding:2px 0;
1403
+ }
1404
+ #jd-calendar table {
1405
+ width:100%;
1406
+ line-height:1.2;
1407
+ border-collapse:collapse;
1408
+ }
1409
+
1410
+ #jd-calendar td {
1411
+ vertical-align:top;
1412
+ text-align:left;
1413
+ width:13%;
1414
+ height:70px;
1415
+ padding:2px!important;
1416
+ }
1417
+ .mini td {
1418
+ height: auto!important;
1419
+ }
1420
+ #jd-calendar th {
1421
+ text-align: center;
1422
+ padding: 5px 0!important;
1423
+ letter-spacing: 1px;
1424
+ }
1425
+ #jd-calendar th abbr {
1426
+ border-bottom: none;
1427
+ }
1428
+ #jd-calendar h3 {
1429
+ font: 700 .8em Arial, Verdana, sans-serif;
1430
+ margin:3px 0;
1431
+ padding:0;
1432
+ width: 100%;
1433
+ }
1434
+ #jd-calendar h3 img {
1435
+ vertical-align: middle;
1436
+ margin: 0 3px 0 0!important;
1437
+ }
1438
+ #jd-calendar #calendar-list h3 img {
1439
+ vertical-align: middle;
1440
+ }
1441
+
1442
+ #jd-calendar .list-event h3 {
1443
+ font-size:1.2em;
1444
+ margin:0;
1445
+ }
1446
+ #jd-calendar .calendar-event .details, #jd-calendar .calendar-events {
1447
+ position:absolute;
1448
+ left: 15%;
1449
+ width:70%;
1450
+ padding:5px;
1451
+ z-index: 3;
1452
+ }
1453
+ #jd-calendar .details .close {
1454
+ float: right;
1455
+ width: 12px!important;
1456
+ margin-top: -2px!important;
1457
+ }
1458
+ #jd-calendar .calendar-events {
1459
+ width: 200px!important;
1460
+ left: 0px;
1461
+ }
1462
+ #jd-calendar .list-event .details {
1463
+ margin:5px 0;
1464
+ padding:5px 5px 0;
1465
+ }
1466
+ #jd-calendar #calendar-list {
1467
+ margin: 0;
1468
+ padding: 0;
1469
+ }
1470
+ #jd-calendar #calendar-list li {
1471
+ padding:5px;
1472
+ list-style-type: none;
1473
+ margin: 0;
1474
+ }
1475
+
1476
+ #jd-calendar .mc-date {
1477
+ display:block;
1478
+ margin:-2px -2px 2px;
1479
+ padding:2px 4px;
1480
+ }
1481
+ #jd-calendar th {
1482
+ font-size:.8em;
1483
+ text-transform:uppercase;
1484
+ padding:2px 4px 2px 0;
1485
+ }
1486
+ #jd-calendar .category-key {
1487
+ padding: 5px;
1488
+ margin: 5px 0;
1489
+ }
1490
+ #jd-calendar .category-key ul {
1491
+ list-style-type: none;
1492
+ margin: 0;
1493
+ padding: 0;
1494
+ }
1495
+ #jd-calendar .category-key li {
1496
+ margin: 2px 10px;
1497
+ }
1498
+ #jd-calendar .category-key span {
1499
+ margin-right:5px;
1500
+ vertical-align:middle;
1501
+ }
1502
+ #jd-calendar .category-key .no-icon {
1503
+ width: 10px;
1504
+ height: 10px;
1505
+ display: inline-block;
1506
+ }
1507
 
1508
+ #calendar-list li {
1509
+ text-indent:0;
1510
+ margin:0;
1511
+ padding:0;
1512
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1513
 
1514
+ #jd-calendar .calendar-event .event-time, #jd-calendar .list-event .event-time {
1515
+ display:block;
1516
+ height:100%;
1517
+ margin-right:10px;
1518
+ margin-bottom:10px;
1519
+ font-weight:700;
1520
+ font-size:.9em;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1521
  }
1522
 
1523
+ #jd-calendar p {
1524
+ line-height:1.5;
1525
+ margin:0 0 1em;
1526
+ padding:0;
1527
+ }
1528
+ #jd-calendar { position: relative; }
1529
+ #jd-calendar img { border: none; }
1530
+ .category-color-sample img {
1531
+ margin-right: 5px;
1532
+ vertical-align: top;
1533
+ }
1534
+
1535
+ #jd-calendar .my-calendar-nav ul {
1536
+ height: 2.95em;
1537
+ list-style-type:none;
1538
+ margin:0;
1539
+ padding:0;
1540
+ }
1541
+
1542
+ .mini .my-calendar-nav ul { height: 2em!important; }
1543
+
1544
+ #jd-calendar .my-calendar-nav li {
1545
+ float:left;
1546
+ list-style-type: none;
1547
+ }
1548
+ #jd-calendar .my-calendar-nav li:before { content:\'\'; }
1549
+ #jd-calendar .my-calendar-nav li a {
1550
+ display:block;
1551
+ text-align:center;
1552
+ padding:1px 20px;
1553
+ }
1554
+ .mini .my-calendar-nav li a {
1555
+ padding: 1px 3px!important;
1556
+ font-size: .7em;
1557
+ }
1558
+ #jd-calendar .my-calendar-next {
1559
+ margin-left: 4px;
1560
+ text-align:right;
1561
+ }
1562
+
1563
+ #jd-calendar.mini .my-calendar-date-switcher label {
1564
+ display: block;
1565
+ float: left;
1566
+ width: 6em;
1567
+ }
1568
+ #jd-calendar.mini .my-calendar-date-switcher { padding: 4px; }
1569
+ #jd-calendar.mini td .category-icon { display: none; }
1570
+ #jd-calendar.mini h3 { font-size: 1.1em; }
1571
+ #jd-calendar.mini .day-with-date span, #jd-calendar.mini .day-with-date a {
1572
+ font: .9em Arial, Verdana, sans-serif;
1573
+ padding:1px;
1574
  }
1575
+ #jd-calendar .mini-event .sub-details {
1576
+ margin: 0;
1577
+ border-bottom: 1px solid #ccc;
1578
+ padding: 2px 0 0;
1579
+ margin-bottom: 5px;
1580
+ }
1581
+ #jd-calendar.mini .day-with-date a {
1582
+ display: block;
1583
+ margin: -2px;
1584
+ font-weight: 700;
1585
+ text-decoration: underline;
1586
+ }
1587
+ .mini td { height: auto!important; }
1588
+ .mini .my-calendar-nav ul { height: 2em!important; }
1589
+ .mini .my-calendar-nav li a {
1590
+ padding: 1px 3px!important;
1591
+ font-size: .7em;
1592
+ }'
1593
+ )
1594
+
1595
  ?>
my-calendar-it_IT.mo CHANGED
Binary file
my-calendar-it_IT.po CHANGED
@@ -5,250 +5,176 @@
5
  #
6
  msgid ""
7
  msgstr ""
8
- "Project-Id-Version: My Calendar 1.0.0\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/my-calendar\n"
10
- "POT-Creation-Date: 2010-10-05 19:19+0000\n"
11
- "PO-Revision-Date: 2010-12-06 12:50+0100\n"
12
  "Last-Translator: Mustapha Sabir <sabir.musta@gmail.com>\n"
13
- "Language-Team: www.netmdp.com <esteban@netmdp.com>\n"
 
14
  "MIME-Version: 1.0\n"
15
  "Content-Type: text/plain; charset=UTF-8\n"
16
  "Content-Transfer-Encoding: 8bit\n"
17
- "X-Poedit-Language: Spanish\n"
18
- "X-Poedit-Country: ARGENTINA\n"
19
 
20
- #: my-calendar-categories.php:41
21
- msgid "Category added successfully"
22
- msgstr "Categoria aggiunta con successo"
23
-
24
- #: my-calendar-categories.php:43
25
- msgid "Category addition failed."
26
- msgstr "L'aggiunta Categoria fallito."
27
-
28
- #: my-calendar-categories.php:53
29
- msgid "Category deleted successfully. Categories in calendar updated."
30
- msgstr "Categoria cancellata con successo. Categorie in calendario aggiornati."
31
-
32
- #: my-calendar-categories.php:55
33
- msgid "Category deleted successfully. Categories in calendar not updated."
34
- msgstr "Categoria cancellata con successo. Categorie in calendario non aggiornati."
35
-
36
- #: my-calendar-categories.php:57
37
- msgid "Category not deleted. Categories in calendar updated."
38
- msgstr "La categoria non è stata eliminata. Categorie in calendario aggiornati."
39
-
40
- #: my-calendar-categories.php:66
41
- msgid "Category edited successfully"
42
- msgstr "Categoria modificata con successo"
43
-
44
- #: my-calendar-categories.php:88
45
- #: my-calendar-categories.php:112
46
- #: my-calendar-categories.php:130
47
- msgid "Add Category"
48
- msgstr "Aggiungi Categoria"
49
-
50
- #: my-calendar-categories.php:90
51
- #: my-calendar-categories.php:112
52
- msgid "Edit Category"
53
- msgstr "Modifica Categoria"
54
-
55
- #: my-calendar-categories.php:97
56
- msgid "Category Editor"
57
- msgstr "Editore di Categoria"
58
-
59
- #: my-calendar-categories.php:113
60
- #: my-calendar-categories.php:156
61
- msgid "Category Name"
62
- msgstr "Nome della categoria"
63
-
64
- #: my-calendar-categories.php:114
65
- msgid "Category Color (Hex format)"
66
- msgstr "Colore Categoria (Formato Hex)"
67
-
68
- #: my-calendar-categories.php:115
69
- #: my-calendar-categories.php:158
70
- msgid "Category Icon"
71
- msgstr "Icona Categoria"
72
-
73
- #: my-calendar-categories.php:130
74
- #: my-calendar-locations.php:121
75
- msgid "Save Changes"
76
- msgstr "Salva le modifiche"
77
-
78
- #: my-calendar-categories.php:143
79
- #: my-calendar.php:179
80
- msgid "Manage Categories"
81
- msgstr "Gestione categorie"
82
-
83
- #: my-calendar-categories.php:155
84
- #: my-calendar-event-manager.php:643
85
- #: my-calendar-locations.php:147
86
- msgid "ID"
87
- msgstr "ID"
88
-
89
- #: my-calendar-categories.php:157
90
- msgid "Category Color"
91
- msgstr "Colore Categoria"
92
-
93
- #: my-calendar-categories.php:159
94
- #: my-calendar-categories.php:173
95
- #: my-calendar-event-manager.php:704
96
- #: my-calendar-locations.php:149
97
- #: my-calendar-locations.php:161
98
- msgid "Edit"
99
- msgstr "Modifica"
100
-
101
- #: my-calendar-categories.php:160
102
- #: my-calendar-categories.php:179
103
- #: my-calendar-event-manager.php:73
104
- #: my-calendar-event-manager.php:704
105
- #: my-calendar-locations.php:150
106
- #: my-calendar-locations.php:162
107
- msgid "Delete"
108
- msgstr "Cancellare"
109
-
110
- #: my-calendar-categories.php:176
111
- #: my-calendar-event-manager.php:685
112
- #: my-calendar-settings.php:228
113
- #: my-calendar.php:652
114
- msgid "N/A"
115
- msgstr "N/A"
116
 
117
- #: my-calendar-categories.php:179
118
- #: my-calendar-locations.php:162
119
- msgid "Are you sure you want to delete this category?"
120
- msgstr "Sei sicuro di voler cancellare questa categoria?"
121
 
122
- #: my-calendar-categories.php:190
123
- msgid "There are no categories in the database - something has gone wrong!"
124
- msgstr "Non esistono categorie nel database - qualcosa non ha funzionato!"
125
 
126
- #: my-calendar-event-manager.php:27
127
- #: my-calendar-settings.php:351
128
  msgid "My Calendar has identified that you have the Calendar plugin by Kieran O'Shea installed. You can import those events and categories into the My Calendar database. Would you like to import these events?"
129
  msgstr "My calendar ha identificato che hai il plugin the calendar di Kieran O'Shea installato. È possibile importare gli eventi e le categorie nel database di My calendar. Ti piacerebbe importare questi eventi?"
130
 
131
- #: my-calendar-event-manager.php:33
132
- #: my-calendar-settings.php:357
133
  msgid "Import from Calendar"
134
  msgstr "Importa da calendario"
135
 
136
- #: my-calendar-event-manager.php:38
137
  msgid "Although it is possible that this import could fail to import your events correctly, it should not have any impact on your existing Calendar database. If you encounter any problems, <a href=\"http://www.joedolson.com/contact.php\">please contact me</a>!"
138
  msgstr "Anche se è possibile che questa importazione non riesca a importare i tuoi eventi correttamente, non dovrebbe avere alcun impatto sul tuo database esistente Calendario. Se si incontrano problemi, <a href=\"http://www.joedolson.com/contact.php\">si prega di contattare me</ a>!"
139
 
140
- #: my-calendar-event-manager.php:68
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
141
  msgid "Delete Event"
142
  msgstr "Cancellare evento"
143
 
144
- #: my-calendar-event-manager.php:68
145
  msgid "Are you sure you want to delete this event?"
146
  msgstr "Sei sicuro di voler cancellare questo evento?"
147
 
148
- #: my-calendar-event-manager.php:81
 
 
 
 
 
 
 
 
 
149
  msgid "You do not have permission to delete that event."
150
  msgstr "Non hai il permesso per cancellare l'evento."
151
 
152
- #: my-calendar-event-manager.php:96
153
- #: my-calendar-event-manager.php:209
154
  msgid "You do not have permission to approve that event."
155
  msgstr "Non hai il permesso per approvare questo evento."
156
 
157
- #: my-calendar-event-manager.php:110
158
- #: my-calendar-event-manager.php:223
159
  msgid "You do not have permission to reject that event."
160
  msgstr "Non hai il permesso per rifiutare questo evento."
161
 
162
- #: my-calendar-event-manager.php:133
163
- #: my-calendar-event-manager.php:154
164
- #: my-calendar-event-manager.php:178
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
165
  #: my-calendar-event-manager.php:193
166
- #: my-calendar-event-manager.php:833
167
- #: my-calendar-event-manager.php:838
168
- #: my-calendar-event-manager.php:843
169
- #: my-calendar-event-manager.php:855
170
- #: my-calendar-event-manager.php:865
171
- #: my-calendar-event-manager.php:873
172
- #: my-calendar-event-manager.php:882
173
- #: my-calendar-event-manager.php:890
174
- msgid "Error"
175
- msgstr "Errore"
176
 
177
- #: my-calendar-event-manager.php:133
178
  msgid "I'm sorry! I couldn't add that event to the database."
179
  msgstr "spiacente! Non ho potuto aggiungere l'evento al database."
180
 
181
- #: my-calendar-event-manager.php:135
182
  msgid "Event added. It will now show in your calendar."
183
  msgstr "Evento aggiunto. adesso sarà visibile nel tuo calendario."
184
 
185
- #: my-calendar-event-manager.php:154
186
  msgid "Your event was not updated."
187
  msgstr "L'evento non è stato aggiornato."
188
 
189
- #: my-calendar-event-manager.php:158
190
  msgid "Nothing was changed in that update."
191
  msgstr "Niente è stato modificato in questo aggiornamento."
192
 
193
- #: my-calendar-event-manager.php:162
194
  msgid "Event updated successfully"
195
  msgstr "Evento aggiornato con successo"
196
 
197
- #: my-calendar-event-manager.php:168
198
  msgid "You do not have sufficient permissions to edit that event."
199
  msgstr "Non si dispone di permessi sufficienti per modificare tale evento."
200
 
201
- #: my-calendar-event-manager.php:178
202
  msgid "You can't delete an event if you haven't submitted an event id"
203
  msgstr "Non è possibile eliminare un evento se non viene emessa una ID evento"
204
 
205
- #: my-calendar-event-manager.php:189
206
  msgid "Event deleted successfully"
207
  msgstr "Evento cancellato con successo"
208
 
209
- #: my-calendar-event-manager.php:193
210
  msgid "Despite issuing a request to delete, the event still remains in the database. Please investigate."
211
  msgstr "Despite issuing a request to delete, the event still remains in the database. Please investigate."
212
 
213
- #: my-calendar-event-manager.php:240
214
- #: my-calendar-event-manager.php:343
215
- msgid "Edit Event"
216
- msgstr "Modifica evento"
217
-
218
- #: my-calendar-event-manager.php:244
219
- #: my-calendar-event-manager.php:253
220
- msgid "You must provide an event id in order to edit it"
221
- msgstr "È necessario fornire un ID evento al fine di modificarlo"
222
-
223
- #: my-calendar-event-manager.php:249
224
- #: my-calendar-event-manager.php:343
225
- msgid "Copy Event"
226
- msgstr "Coppia Evento"
227
-
228
- #: my-calendar-event-manager.php:259
229
- msgid "Add Event"
230
- msgstr "Aggiungi Evento"
231
-
232
- #: my-calendar-event-manager.php:264
233
- msgid "Manage Events"
234
- msgstr "Gestione Eventi"
235
-
236
- #: my-calendar-event-manager.php:315
237
  msgid "Sorry! That's an invalid event key."
238
  msgstr "spiacente! Questa chiave di evento non è valida."
239
 
240
- #: my-calendar-event-manager.php:320
241
  msgid "Sorry! We couldn't find an event with that ID."
242
  msgstr "spiacente! Non riusciamo a trovare un evento di tale ID."
243
 
244
- #: my-calendar-event-manager.php:343
245
  msgid "Add an Event"
246
  msgstr "Aggiungere un Evento"
247
 
248
- #: my-calendar-event-manager.php:347
249
  msgid "This event must be approved in order for it to appear on the calendar."
250
  msgstr "Questo evento deve essere approvato in modo che venga visualizzato sul calendario."
251
 
 
 
 
 
252
  #: my-calendar-event-manager.php:362
253
  msgid "Enter your Event Information"
254
  msgstr "Inserisci gli informazione del tuo evento"
@@ -257,1236 +183,1644 @@ msgstr "Inserisci gli informazione del tuo evento"
257
  msgid "Event Title"
258
  msgstr "Titolo del Evento"
259
 
260
- #: my-calendar-event-manager.php:367
 
 
 
 
 
261
  msgid "Publish"
262
  msgstr "Pubblica"
263
 
264
- #: my-calendar-event-manager.php:367
265
  msgid "You must approve this event to promote it to the calendar."
266
  msgstr "È necessario approvare questo evento per promuovere al calendario."
267
 
268
- #: my-calendar-event-manager.php:369
269
  msgid "An administrator must approve your new event."
270
  msgstr "Un amministratore deve approvare il nuovo evento."
271
 
272
- #: my-calendar-event-manager.php:377
273
  msgid "Event Description (<abbr title=\"hypertext markup language\">HTML</abbr> allowed)"
274
  msgstr "Descrizione Evento (<abbr title=\"hypertext markup language\">HTML</abbr> permesso)"
275
 
276
- #: my-calendar-event-manager.php:382
277
  msgid "Event Short Description (<abbr title=\"hypertext markup language\">HTML</abbr> allowed)"
278
  msgstr "Descrizione breve Evento (<abbr title=\"hypertext markup language\">HTML</abbr> permesso)"
279
 
280
- #: my-calendar-event-manager.php:387
 
 
 
 
281
  msgid "Event Category"
282
  msgstr "Categoria del Evento "
283
 
284
- #: my-calendar-event-manager.php:412
285
  msgid "Event Link (Optional)"
286
  msgstr "Link del evento (Opzionale)"
287
 
288
- #: my-calendar-event-manager.php:412
289
  msgid "This link will expire when the event passes."
290
  msgstr "Questo link scade quando l'evento passa."
291
 
292
- #: my-calendar-event-manager.php:416
 
 
 
 
 
 
 
 
293
  msgid "Start Date (YYYY-MM-DD)"
294
  msgstr "Data Inizio (YYYY-MM-DD)"
295
 
296
- #: my-calendar-event-manager.php:419
297
- msgid "End Date (YYYY-MM-DD) (Optional)"
298
- msgstr "Data di fine (YYYY-MM-DD) (Opzionale)"
299
-
300
- #: my-calendar-event-manager.php:422
301
  msgid "Time (hh:mm)"
302
  msgstr "ora (hh:mm)"
303
 
304
- #: my-calendar-event-manager.php:434
305
- msgid "Optional, set blank if your event is an all-day event or does not happen at a specific time."
306
- msgstr "Opzionale, lascia vuoto se l'evento è per tutto il giorno o non accade in un momento specifico."
 
 
 
 
307
 
308
- #: my-calendar-event-manager.php:434
309
  msgid "Current time difference from GMT is "
310
  msgstr "differenza di tempo corrente da GMT è"
311
 
312
- #: my-calendar-event-manager.php:434
313
  msgid " hour(s)"
314
  msgstr " ora (e)"
315
 
316
- #: my-calendar-event-manager.php:437
317
- msgid "End Time (hh:mm)"
318
- msgstr "Ora di Fine (hh:mm)"
319
-
320
- #: my-calendar-event-manager.php:447
321
- msgid "Optional. End times will not be displayed on events where this is not set."
322
- msgstr "Opzionale. l'ora di fine non verra visualizzata sugli eventi in cui questa non è impostata."
323
-
324
- #: my-calendar-event-manager.php:452
325
  msgid "Recurring Events"
326
  msgstr "Ricorrenza Eventi"
327
 
328
- #: my-calendar-event-manager.php:455
329
  msgid "Repeats for"
330
  msgstr "Ripete per"
331
 
332
- #: my-calendar-event-manager.php:456
333
  msgid "Units"
334
  msgstr "Unità"
335
 
336
- #: my-calendar-event-manager.php:457
337
  msgid "Does not recur"
338
  msgstr "Non si ripresenta"
339
 
340
- #: my-calendar-event-manager.php:458
341
- #: my-calendar-event-manager.php:677
342
  msgid "Daily"
343
  msgstr "Giornaliero"
344
 
345
- #: my-calendar-event-manager.php:459
346
- #: my-calendar-event-manager.php:678
347
  msgid "Weekly"
348
  msgstr "Settimanale"
349
 
350
- #: my-calendar-event-manager.php:460
351
  msgid "Bi-weekly"
352
  msgstr "Bi-settimanale"
353
 
354
- #: my-calendar-event-manager.php:461
355
  msgid "Date of Month (e.g., the 24th of each month)"
356
  msgstr "Data del Mese (ad es., il 24 di ogni mese)"
357
 
358
- #: my-calendar-event-manager.php:462
359
  msgid "Day of Month (e.g., the 3rd Monday of each month)"
360
  msgstr "Giorno del Mese (ad es., il 3° Lunedì di ogni mese)"
361
 
362
- #: my-calendar-event-manager.php:463
363
  msgid "Annually"
364
  msgstr "Annuale"
365
 
366
- #: my-calendar-event-manager.php:465
367
- msgid "Entering 0 means forever, if a unit is selected. If the recurrence unit is left at \"Does not recur,\" the event will not reoccur."
368
- msgstr "Mettere 0 significa per sempre, se una unità è selezionata. Se l'unità di ricorrenza è lasciata a \"non si ripeta,\" l'evento non si ripresenterà."
369
 
370
- #: my-calendar-event-manager.php:476
371
  msgid "Event Registration Status"
372
  msgstr "Stato di Registrazione Evento"
373
 
374
- #: my-calendar-event-manager.php:478
 
 
 
 
375
  msgid "Open"
376
  msgstr "Aperto"
377
 
378
- #: my-calendar-event-manager.php:479
379
  msgid "Closed"
380
  msgstr "Chiuso"
381
 
382
- #: my-calendar-event-manager.php:480
383
  msgid "Does not apply"
384
  msgstr "Non si applica"
385
 
386
- #: my-calendar-event-manager.php:483
387
  msgid "If this event recurs, it can only be registered for as a complete series."
388
  msgstr "Se questo evento si ripete, può solo essere registrato per una serie completa."
389
 
390
- #: my-calendar-event-manager.php:493
391
- #: my-calendar-locations.php:81
392
  msgid "Event Location"
393
  msgstr "Località Evento"
394
 
395
- #: my-calendar-event-manager.php:502
396
  msgid "Choose a preset location:"
397
  msgstr "Scegliere una località predefinita:"
398
 
399
- #: my-calendar-event-manager.php:516
400
  msgid "Add recurring locations for later use."
401
  msgstr "Aggiungi località ricorrenti per un uso successivo."
402
 
403
- #: my-calendar-event-manager.php:525
404
- #: my-calendar-locations.php:83
405
  msgid "All location fields are optional: <em>insufficient information may result in an inaccurate map</em>."
406
  msgstr "Tutti i campi sono opzionali: <em>insufficiente informazioni possono causare una mappa inesatta</em>."
407
 
408
- #: my-calendar-event-manager.php:528
409
- #: my-calendar-locations.php:86
410
  msgid "Name of Location (e.g. <em>Joe's Bar and Grill</em>)"
411
  msgstr "Nome della Località (es. <em>Joe's Bar and Grill</em>)"
412
 
413
- #: my-calendar-event-manager.php:531
414
- #: my-calendar-locations.php:89
415
  msgid "Street Address"
416
  msgstr "Indirizzo"
417
 
418
- #: my-calendar-event-manager.php:534
419
- #: my-calendar-locations.php:92
420
  msgid "Street Address (2)"
421
  msgstr "Indirizzo (2)"
422
 
423
- #: my-calendar-event-manager.php:537
424
- #: my-calendar-locations.php:95
 
425
  msgid "City"
426
  msgstr "Città"
427
 
428
- #: my-calendar-event-manager.php:537
429
- #: my-calendar-locations.php:95
 
430
  msgid "State/Province"
431
  msgstr "Regione/Provincia"
432
 
433
- #: my-calendar-event-manager.php:537
434
- #: my-calendar-locations.php:95
 
435
  msgid "Postal Code"
436
  msgstr "Codice Postale"
437
 
438
- #: my-calendar-event-manager.php:540
439
- #: my-calendar-locations.php:98
 
440
  msgid "Country"
441
  msgstr "Paese"
442
 
443
- #: my-calendar-event-manager.php:543
444
- #: my-calendar-locations.php:101
445
  msgid "Initial Zoom"
446
  msgstr "Zoom Iniziale"
447
 
448
- #: my-calendar-event-manager.php:545
449
- #: my-calendar-locations.php:103
450
  msgid "Neighborhood"
451
  msgstr "Quartiere"
452
 
453
- #: my-calendar-event-manager.php:546
454
- #: my-calendar-locations.php:104
455
  msgid "Small City"
456
  msgstr "Piccola città"
457
 
458
- #: my-calendar-event-manager.php:547
459
- #: my-calendar-locations.php:105
460
  msgid "Large City"
461
  msgstr "Città grande"
462
 
463
- #: my-calendar-event-manager.php:548
464
- #: my-calendar-locations.php:106
465
  msgid "Greater Metro Area"
466
  msgstr "Grande Metro Area"
467
 
468
- #: my-calendar-event-manager.php:549
469
- #: my-calendar-locations.php:107
470
  msgid "State"
471
  msgstr "Stato"
472
 
473
- #: my-calendar-event-manager.php:550
474
- #: my-calendar-locations.php:108
475
  msgid "Region"
476
  msgstr "Regione"
477
 
478
- #: my-calendar-event-manager.php:554
479
- #: my-calendar-locations.php:112
480
  msgid "GPS Coordinates (optional)"
481
  msgstr "Coordinati GPS (opzionale)"
482
 
483
- #: my-calendar-event-manager.php:556
484
  msgid "If you supply GPS coordinates for your location, they will be used in place of any other address information to provide your map link."
485
  msgstr "Se si forniscono le coordinate GPS per la posizione, essi saranno utilizzati al posto di qualsiasi altra informazioni di indirizzo per fornire il tuo link mappa."
486
 
487
- #: my-calendar-event-manager.php:559
488
- #: my-calendar-locations.php:117
489
  msgid "Longitude"
490
  msgstr "Longitudine"
491
 
492
- #: my-calendar-event-manager.php:559
493
- #: my-calendar-locations.php:117
494
  msgid "Latitude"
495
  msgstr "Latitudine"
496
 
497
- #: my-calendar-event-manager.php:567
498
- msgid "Save Event"
499
- msgstr "Salva Evento"
500
 
501
- #: my-calendar-event-manager.php:644
502
- #: my-calendar-widgets.php:37
503
- #: my-calendar-widgets.php:122
 
 
 
 
 
 
504
  msgid "Title"
505
  msgstr "Titolo"
506
 
507
- #: my-calendar-event-manager.php:645
508
- msgid "Link"
509
- msgstr "Link"
510
-
511
- #: my-calendar-event-manager.php:646
512
- #: my-calendar-locations.php:148
513
  msgid "Location"
514
  msgstr "Località"
515
 
516
- #: my-calendar-event-manager.php:647
517
  msgid "Description"
518
  msgstr "Descrizione"
519
 
520
- #: my-calendar-event-manager.php:648
521
  msgid "Start Date"
522
  msgstr "Data Inizio"
523
 
524
- #: my-calendar-event-manager.php:649
525
  msgid "Recurs"
526
  msgstr "Ricorrenza"
527
 
528
- #: my-calendar-event-manager.php:650
529
- #: my-calendar-settings.php:204
530
- #: my-calendar-settings.php:213
 
531
  msgid "Author"
532
  msgstr "Autore"
533
 
534
- #: my-calendar-event-manager.php:651
535
  msgid "Category"
536
  msgstr "Categoria"
537
 
538
- #: my-calendar-event-manager.php:652
539
  msgid "Edit / Delete"
540
  msgstr "Modifica/Cancella"
541
 
542
- #: my-calendar-event-manager.php:676
543
  msgid "Never"
544
  msgstr "Mai"
545
 
546
- #: my-calendar-event-manager.php:679
547
  msgid "Bi-Weekly"
548
  msgstr "Bi-Settimanale"
549
 
550
- #: my-calendar-event-manager.php:680
551
  msgid "Monthly (by date)"
552
  msgstr "Mensile (per data)"
553
 
554
- #: my-calendar-event-manager.php:681
555
  msgid "Monthly (by day)"
556
  msgstr "Mensile (per giorno)"
557
 
558
- #: my-calendar-event-manager.php:682
559
  msgid "Yearly"
560
  msgstr "Annuale"
561
 
562
- #: my-calendar-event-manager.php:686
 
 
 
 
 
 
 
563
  msgid "Forever"
564
  msgstr "Per sempre"
565
 
566
- #: my-calendar-event-manager.php:687
567
  msgid "Times"
568
  msgstr "Volte"
569
 
570
- #: my-calendar-event-manager.php:702
571
  msgid "Copy"
572
  msgstr "copia"
573
 
574
- #: my-calendar-event-manager.php:705
 
 
 
 
 
 
 
 
575
  msgid "Not editable."
576
  msgstr "Non modificabili."
577
 
578
- #: my-calendar-event-manager.php:711
579
  msgid "Reject"
580
  msgstr "Respinto"
581
 
582
- #: my-calendar-event-manager.php:713
583
  msgid "Approve"
584
  msgstr "Approvare"
585
 
586
- #: my-calendar-event-manager.php:718
587
  msgid "Approved"
588
  msgstr "Approvato"
589
 
590
- #: my-calendar-event-manager.php:720
591
  msgid "Rejected"
592
  msgstr "Rifiutato"
593
 
594
- #: my-calendar-event-manager.php:733
 
 
 
 
595
  msgid "There are no events in the database!"
596
  msgstr "Non ci sono eventi nel database!"
597
 
598
- #: my-calendar-event-manager.php:833
599
  msgid "Your event end date must be either after or the same as your event begin date"
600
  msgstr "La data di fine evento deve essere uguale o successiva alla data di inizio"
601
 
602
- #: my-calendar-event-manager.php:838
603
  msgid "Your date formatting is correct but one or more of your dates is invalid. Check for number of days in month and leap year related errors."
604
  msgstr "La formattazione della data è corretta, ma uno o più dei tuoi dati non è valido. Controllare il numero di giorni nel mese e anno bisestile errori correlati."
605
 
606
- #: my-calendar-event-manager.php:843
607
  msgid "Both start and end dates must be in the format YYYY-MM-DD"
608
  msgstr "Entrambe le date di inizio e di fine devono essere nel formato AAAA-MM-DD"
609
 
610
- #: my-calendar-event-manager.php:855
611
  msgid "The time field must either be blank or be entered in the format hh:mm"
612
- msgstr "The time field must either be blank or be entered in the format hh:mm"
613
 
614
- #: my-calendar-event-manager.php:865
615
  msgid "The end time field must either be blank or be entered in the format hh:mm"
616
  msgstr "Il campo ora di fine deve essere vuoto o essere iscritti nel formato hh: mm"
617
 
618
- #: my-calendar-event-manager.php:873
619
- msgid "The URL entered must either be prefixed with http:// or be completely blank"
620
- msgstr "L'URL immesso deve essere preceduto da http:// o essere completamente vuoto"
621
-
622
- #: my-calendar-event-manager.php:882
623
  msgid "The event title must be between 1 and 255 characters in length."
624
  msgstr "Il titolo dell'evento deve essere compreso tra 1 e 255 caratteri."
625
 
626
- #: my-calendar-event-manager.php:890
627
  msgid "The repetition value must be 0 unless a type of recurrence is selected."
628
  msgstr "Il valore di ripetizione deve essere 0 a meno che un tipo di ricorrenza è selezionat"
629
 
630
- #: my-calendar-help.php:6
631
- msgid "How to use My Calendar"
632
- msgstr "Come utilizzare il mio calendario"
633
-
634
- #: my-calendar-help.php:11
635
- msgid "Shortcode Syntax"
636
- msgstr "Sintassi Shortcode"
637
 
638
- #: my-calendar-help.php:14
639
- msgid "These shortcodes can be used in Posts, Pages, or in text widgets."
640
- msgstr "Questi codici brevi possono essere usati nei post, pagine o nei widget di testo."
641
 
642
- #: my-calendar-help.php:18
643
- msgid "This basic shortcode will show the calendar on a post or page including all categories and the category key, in a traditional month-by-month format."
644
- msgstr "Questo shortcode di base mostrerà il calendario su un post o pagina, incluse tutte le categorie e la chiave di categoria, in un formato tradizionale mese per mese."
645
 
646
- #: my-calendar-help.php:21
647
- msgid "The shortcode supports three attributes, <code>category</code>, <code>format</code> and <code>showkey</code>. There two alternate option for <code>format</code> &mdash; <code>list</code> &mdash; which will show the calendar in a list format, skipping dates without any events, and <code>mini</code>, which will display the calendar in a form more suitable to being displayed in smaller spaces, such as the sidebar. The <code>category</code> attribute requires either the name of or ID number one of your event categories (the name is case-sensitive). This will show a calendar only including events in that category. Multiple categories can be specified by separating the category names or IDs using the pipe character: <code>|</code>. Setting <code>showkey</code> to <code>no</code> will prevent the category key from being displayed &mdash; this can be useful with single-category output."
648
- msgstr ""
649
 
650
- #: my-calendar-help.php:24
651
- msgid "This shortcode displays the output of the Upcoming Events widget. Without attributes, it will display using the settings in your widget; the attributes are used to override the widget settings. The <code>before</code> and <code>after</code> attributes should be numbers; the <code>type</code> attribute can be either \"event\" or \"days\", and the <code>category</code> attribute works the same way as the category attribute on the main calendar shortcode. Templates work using the template codes listed below."
652
- msgstr "Questo shortcode visualizza l'output del widget Prossimi Eventi. Senza attributi, verrà visualizzato utilizzando le impostazioni nel vostro widget, gli attributi sono usati per modificare le impostazioni di widget. <code>prima</code> e <code>dopo</code> attributi deveno essere numeri, il <code>tipo</code> attributo può essere \"evento\" o \"giorni\", e la <code>categoria</code> attributo funziona allo stesso modo come l'attributo di categoria sulla shortcode calendario principale. Templates di lavoro utilizzando i codici di template elencati di seguito."
653
 
654
- #: my-calendar-help.php:27
655
- msgid "Predictably enough, this shortcode displays the output of the Today's Events widget, with two configurable attributes: category and template."
656
- msgstr "Com'era prevedibile il fatto che questo shortcode visualizza l'uscita del widget Eventi di oggi, con due attributi configurabili: categoria e template"
657
 
658
- #: my-calendar-help.php:34
659
- msgid "Category Icons"
660
- msgstr "Icone categoria"
661
 
662
- #: my-calendar-help.php:37
663
- msgid "My Calendar is designed to manage multiple calendars. The basis for these calendars are categories; you can easily setup a calendar page which includes all categories, or you can dedicate separate pages to calendars in each category. For an example, this might be useful for you in managing the tour calendars for multiple bands; event calendars for a variety of locations, etc."
664
- msgstr "My Calendar è progettato per gestire più calendari. La base di questi calendari sono le categorie, è possibile impostare facilmente una pagina di calendario che comprende tutte le categorie, oppure si può dedicare pagine separate per i calendari di ogni categoria. Per un esempio, questo potrebbe essere utile per l'utente a gestire i calendari tour per le fasce multiple, calendari di eventi per una varietà di località, ecc."
665
 
666
- #: my-calendar-help.php:40
667
- msgid "The pre-installed category icons may not be especially useful for your needs or design. I'm assuming that you're going to upload your own icons -- all you need to do is upload them to the plugin's icons folder, and they'll be available for immediate use, or place them in a folder at \"my-calendar-custom\" to avoid having them overwritten by upgrades."
668
- msgstr ""
669
 
670
- #: my-calendar-help.php:40
671
- msgid "Your icons folder is:"
672
- msgstr "La cartella delle icone è:"
673
 
674
- #: my-calendar-help.php:40
675
- msgid "You can alternately place icons in:"
676
- msgstr "È possibile alternativamente mettere le icone in:"
677
 
678
- #: my-calendar-help.php:48
679
- msgid "Widget Templating"
680
- msgstr "Widget Templating"
681
 
682
- #: my-calendar-help.php:51
683
- msgid "These codes are available in calendar widgets to create your own custom calendar format."
684
- msgstr "Questi codici sono disponibili nel calendario widget per creare il proprio formato calendario personalizzato."
685
 
686
- #: my-calendar-help.php:55
687
- msgid "Displays the name of the category the event is in."
688
- msgstr "Visualizza il nome della categoria dell'evento."
689
 
690
- #: my-calendar-help.php:58
691
- msgid "Displays the title of the event."
692
- msgstr "Visualizza il titolo dell'evento."
693
 
694
- #: my-calendar-help.php:61
695
- msgid "Displays the start time for the event."
696
- msgstr "Visualizzare l'ora di inizio dell'evento."
 
697
 
698
- #: my-calendar-help.php:64
699
- msgid "Displays the date on which the event begins."
700
- msgstr "Visualizza la data in cui l'evento ha inizio."
 
 
701
 
702
- #: my-calendar-help.php:67
703
- msgid "Displays the date on which the event ends."
704
- msgstr "Visualizza la data in cui l'evento finisce."
705
-
706
- #: my-calendar-help.php:70
707
- msgid "Displays the time at which the event ends."
708
- msgstr "Visualizza l'ora in cui l'evento finisce."
709
-
710
- #: my-calendar-help.php:73
711
- msgid "Displays the WordPress author who posted the event."
712
- msgstr "Visualizza l'autore WordPress che ha pubblicato l'event"
713
-
714
- #: my-calendar-help.php:76
715
- msgid "Displays the URL provided for the event."
716
- msgstr "Visualizzare l'URL fornito per l'evento."
717
-
718
- #: my-calendar-help.php:79
719
- msgid "Displays the description of the event."
720
- msgstr "visualizzare la descrizione dell'evento."
721
-
722
- #: my-calendar-help.php:82
723
- msgid "Displays title of the event as a link if a URL is present, or the title alone if no URL is available."
724
- msgstr "Visualizza il titolo dell'evento come un link se un URL è presente, o il titolo solo se nessun URL è disponibile."
725
-
726
- #: my-calendar-help.php:85
727
- msgid "Displays the name of the location of the event."
728
- msgstr "Visualizza il nome della località dell'evento."
729
-
730
- #: my-calendar-help.php:88
731
- msgid "Displays the first line of the site address."
732
- msgstr "Visualizza la prima riga dell'indirizzo del sito."
733
-
734
- #: my-calendar-help.php:91
735
- msgid "Displays the second line of the site address."
736
- msgstr "Visualizza la seconda riga dell'indirizzo del sito."
737
-
738
- #: my-calendar-help.php:94
739
- msgid "Displays the city for the event."
740
- msgstr "Visualizza la città per l'evento."
741
-
742
- #: my-calendar-help.php:97
743
- msgid "Displays the state for the event."
744
- msgstr "Visualizza lo stato per l'evento."
745
-
746
- #: my-calendar-help.php:100
747
- msgid "Displays the postcode for the event."
748
- msgstr "Visualizza il cap per l'evento."
749
-
750
- #: my-calendar-help.php:103
751
- msgid "Displays the country for the event location."
752
- msgstr "Visualizza il paese per la località dell'evento."
753
-
754
- #: my-calendar-help.php:106
755
- msgid "Displays the event address in <a href=\"http://microformats.org/wiki/hcard\">hcard</a> format."
756
- msgstr "Visualizza l'indirizzo dell'evento in <a href=\"http://microformats.org/wiki/hcard\">hcard</a> formato."
757
-
758
- #: my-calendar-help.php:109
759
- msgid "Displays a link to a Google Map of the event, if sufficient address information is available. If not, will be empty."
760
- msgstr "Visualizza un collegamento a una mappa di Google dell'evento, se le informazioni sull'indirizzo disponibile sono sufficiente. In caso contrario, sarà vuoto."
761
-
762
- #: my-calendar-help.php:112
763
- msgid "Displays text indicating whether registration for the event is currently open or closed; displays nothing if that choice is selected in the event."
764
- msgstr "Visualizza testo che indica se la registrazione per l'evento è aperto o chiuso; nulla viene visualizzato se tale scelta è stata selezionata nel evento."
765
-
766
- #: my-calendar-help.php:115
767
- msgid "Displays the short version of the event description."
768
- msgstr "Visualizza la versione breve della descrizione dell'evento."
769
-
770
- #: my-calendar-help.php:118
771
- msgid "Displays the current status of the event: either \"Published\" or \"Reserved\" - primary used in email templates."
772
- msgstr "Visualizza lo stato corrente del evento: o \"Pubblico\" o \"Riservato\" - primaria utilizzata in modelli di posta elettronica."
773
-
774
- #: my-calendar-locations.php:22
775
- msgid "Location added successfully"
776
- msgstr "Località aggiunta con successo"
777
-
778
- #: my-calendar-locations.php:24
779
- msgid "Location could not be added to database"
780
- msgstr "Località non potrebbe essere aggiunta al database"
781
-
782
- #: my-calendar-locations.php:30
783
- msgid "Location deleted successfully"
784
- msgstr "Località cancellata con successo"
785
-
786
- #: my-calendar-locations.php:32
787
- msgid "Location could not be deleted"
788
- msgstr "Località non potrebbe essere eliminata"
789
-
790
- #: my-calendar-locations.php:43
791
- msgid "Location could not be edited."
792
- msgstr "Località non potrebbe essere modificata."
793
-
794
- #: my-calendar-locations.php:45
795
- msgid "Location was not changed."
796
- msgstr "Località non è stata cambiata."
797
-
798
- #: my-calendar-locations.php:47
799
- msgid "Location edited successfully"
800
- msgstr "Località modificata con successo"
801
-
802
- #: my-calendar-locations.php:59
803
- msgid "Add New Location"
804
- msgstr "Aggiungi nuova Località"
805
-
806
- #: my-calendar-locations.php:61
807
- msgid "Edit Location"
808
- msgstr "Modifica Località"
809
-
810
- #: my-calendar-locations.php:66
811
- msgid "Location Editor"
812
- msgstr "Editore di Località"
813
-
814
- #: my-calendar-locations.php:114
815
- msgid "If you supply GPS coordinates for your location, they will be used in place of any other address information to pinpoint your location."
816
- msgstr "Se si forniscono le coordinate GPS per la posizione, essi saranno utilizzati al posto di qualsiasi informazione altro indirizzo per individuare la tua posizione."
817
-
818
- #: my-calendar-locations.php:121
819
- msgid "Add Location"
820
- msgstr "Aggiungi Località"
821
-
822
- #: my-calendar-locations.php:135
823
- #: my-calendar.php:180
824
- msgid "Manage Locations"
825
- msgstr "Gestione Località"
826
-
827
- #: my-calendar-locations.php:170
828
- msgid "There are no locations in the database yet!"
829
- msgstr "Non ci sono ancora Località nel database!"
830
-
831
- #: my-calendar-locations.php:174
832
- msgid "Please note: editing or deleting locations stored for re-use will have no effect on any event previously scheduled at that location. The location database exists purely as a shorthand method to enter frequently used locations into event records."
833
- msgstr "Da notare: la modifica o l'eliminazione di località memorizzate per il riutilizzo, non avrà alcun effetto su qualunque evento precedentemente programmato in quella località. Il database località esiste solo come un metodo di stenografia per inserire i percorsi utilizzati di frequente nel record dell'evento."
834
-
835
- #: my-calendar-settings.php:67
836
- msgid "Categories imported successfully."
837
- msgstr "Categorie importati con successo"
838
-
839
- #: my-calendar-settings.php:69
840
- msgid "Categories not imported."
841
- msgstr "Categorie non importati."
842
-
843
- #: my-calendar-settings.php:72
844
- msgid "Events imported successfully."
845
- msgstr "Eventi importati con successo"
846
-
847
- #: my-calendar-settings.php:74
848
- msgid "Events not imported."
849
- msgstr "Eventi non importati."
850
-
851
- #: my-calendar-settings.php:165
852
- msgid "Settings saved"
853
- msgstr "Impostazioni salvate"
854
-
855
- #: my-calendar-settings.php:188
856
- msgid "My Calendar Options"
857
- msgstr "Opzioni My Calendar"
858
-
859
- #: my-calendar-settings.php:195
860
- msgid "Calendar Settings"
861
- msgstr "Impostazioni Calendario"
862
-
863
- #: my-calendar-settings.php:199
864
- msgid "Calendar Options: Management"
865
- msgstr "Opzioni Calendario: Gestione"
866
-
867
- #: my-calendar-settings.php:201
868
- msgid "Choose the lowest user group that may create events"
869
- msgstr "Scegliere il gruppo utenti che possono creare gli eventi"
870
-
871
- #: my-calendar-settings.php:202
872
- #: my-calendar-settings.php:211
873
- msgid "Subscriber"
874
- msgstr "Sottoscrittore"
875
-
876
- #: my-calendar-settings.php:203
877
- #: my-calendar-settings.php:212
878
- msgid "Contributor"
879
- msgstr "Collaboratore"
880
-
881
- #: my-calendar-settings.php:205
882
- #: my-calendar-settings.php:214
883
  msgid "Editor"
884
  msgstr "Editore"
885
 
886
- #: my-calendar-settings.php:206
887
- #: my-calendar-settings.php:215
 
888
  msgid "Administrator"
889
  msgstr "Amministratore"
890
 
891
- #: my-calendar-settings.php:210
892
  msgid "Choose the lowest user group that may approve events"
893
  msgstr "Scegliere il gruppo utenti che possono approvare gli eventi"
894
 
895
- #: my-calendar-settings.php:219
896
  msgid "Enable approval options."
897
  msgstr "Attivare le opzioni di approvazione."
898
 
899
- #: my-calendar-settings.php:223
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
900
  msgid "Calendar Options: Customize Text"
901
  msgstr "Opzioni Calendario: Personalizzare il testo"
902
 
903
- #: my-calendar-settings.php:225
904
- msgid "Show Heading for Calendar"
905
- msgstr "Mostra titolo per il calendario"
906
-
907
- #: my-calendar-settings.php:228
908
  msgid "Label for events without a specific time"
909
  msgstr "Etichetta per gli eventi senza un tempo specifico"
910
 
911
- #: my-calendar-settings.php:231
912
  msgid "Previous events link text"
913
  msgstr "Precedente eventi link di testo"
914
 
915
- #: my-calendar-settings.php:231
916
  msgid "Previous Events"
917
  msgstr "Eventi Passati"
918
 
919
- #: my-calendar-settings.php:234
920
  msgid "Next events link text"
921
  msgstr "Prossimi Eventi link di testo"
922
 
923
- #: my-calendar-settings.php:234
924
  msgid "Next Events"
925
  msgstr "Prossimi Eventi"
926
 
927
- #: my-calendar-settings.php:237
928
  msgid "Text when events are open"
929
  msgstr "Testo quando gli eventi sono aperti"
930
 
931
- #: my-calendar-settings.php:237
932
  msgid "Registration is open"
933
  msgstr "Le Registrazioni sono aperte"
934
 
935
- #: my-calendar-settings.php:240
936
  msgid "Text when events are closed"
937
  msgstr "Testo quando gli eventi sono chiusi"
938
 
939
- #: my-calendar-settings.php:240
940
  msgid "Registration is closed"
941
  msgstr "Le Registrazioni sono chiusi"
942
 
943
- #: my-calendar-settings.php:243
944
  msgid "Additional caption text"
945
  msgstr "Didascalia di testo aggiuntivo"
946
 
947
- #: my-calendar-settings.php:243
948
  msgid "The calendar caption is the text containing the displayed month and year in either list or calendar format. This text will be displayed following that existing text."
949
  msgstr "La didascalia calendario è il testo che contiene il mese e l'anno visualizzate sia in formato elenco o calendario. Questo testo verrà visualizzato dopo il testo esistente."
950
 
951
- #: my-calendar-settings.php:247
 
 
 
 
 
 
 
 
952
  msgid "Calendar Options: Output"
953
  msgstr "Opzioni Calendario: Output"
954
 
955
- #: my-calendar-settings.php:249
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
956
  msgid "In list mode, show how many months of events at a time:"
957
  msgstr "In modalità elenco, quanti mesi di eventi mostrare alla volta:"
958
 
959
- #: my-calendar-settings.php:252
960
  msgid "Date format in list mode"
961
  msgstr "Formato data in modalità elenco"
962
 
963
- #: my-calendar-settings.php:253
964
  msgid "Date format uses the same syntax as the <a href=\"http://php.net/date\">PHP <code>date()</code> function</a>. Save options to update sample output."
965
  msgstr "Formato data utilizza la stessa sintassi della <a href=\"http://php.net/date\">PHP <code>date()</ code> funzione</a>. Salva le opzioni per aggiornare."
966
 
967
- #: my-calendar-settings.php:256
968
  msgid "Do you want to display the author name on events?"
969
  msgstr "Vuoi visualizzare il nome dell'autore negli eventi?"
970
 
971
- #: my-calendar-settings.php:259
972
  msgid "Display a jumpbox for changing month and year quickly?"
973
  msgstr "Visualizzare un JumpBox per cambiare mese e anno in fretta?"
974
 
975
- #: my-calendar-settings.php:262
976
  msgid "Hide category icons in output"
977
  msgstr "Nascondi le icone categoria nell'output"
978
 
979
- #: my-calendar-settings.php:265
980
  msgid "Show Link to Google Map (when sufficient address information is available.)"
981
  msgstr "Mosta Link alla Mappa Google (quando le informazioni disponibile sull'indirizzi sono sufficiente.)"
982
 
983
- #: my-calendar-settings.php:268
984
  msgid "Show Event Address in Details"
985
  msgstr "Mostra l'indirizzo del evento in Dettaglio"
986
 
987
- #: my-calendar-settings.php:271
988
  msgid "Show short description field on calendar."
989
  msgstr "Visualizza campo breve discrizione nel calendario."
990
 
991
- #: my-calendar-settings.php:274
992
  msgid "Show full description field on calendar."
993
  msgstr "Mostra campo descrizione completa nel calendario."
994
 
995
- #: my-calendar-settings.php:277
996
  msgid "Links associated with events will automatically expire after the event has passed."
997
  msgstr "Link associati agli eventi scadranno automaticamente quando l'evento è passato."
998
 
999
- #: my-calendar-settings.php:280
1000
  msgid "Show current availability status of events."
1001
  msgstr "Mostra lo stato attuale disponibilità degli eventi."
1002
 
1003
- #: my-calendar-settings.php:283
 
 
 
 
 
 
 
 
1004
  msgid "If a recurring event is scheduled for a date which doesn't exist (such as the 5th Wednesday in February), move it back one week."
1005
  msgstr "Se un evento ricorrente è previsto per una data che non esiste (come il 5° Mercoledì di febbraio), spostalo indietro di una settimana."
1006
 
1007
- #: my-calendar-settings.php:284
1008
  msgid "If this option is unchecked, recurring events which fall on dates which don't exist will simply not be shown on the calendar."
1009
  msgstr "Se questa opzione non è selezionata, gli eventi ricorrenti che rientrano in date che non esistono semplicemente non sarnno indicati sul calendario."
1010
 
1011
- #: my-calendar-settings.php:288
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1012
  msgid "Calendar Options: Input"
1013
  msgstr "Opzioni Calendario: Input"
1014
 
1015
- #: my-calendar-settings.php:291
1016
  msgid "Show Event Location Dropdown Menu"
1017
  msgstr "Mostra Località Evento nel menu a scomparsa"
1018
 
1019
- #: my-calendar-settings.php:291
1020
  msgid "Show Event Short Description field"
1021
  msgstr "Mostra campo Descrizione breve evento"
1022
 
1023
- #: my-calendar-settings.php:291
1024
  msgid "Show Event Description Field"
1025
  msgstr "Mostra campo Descrizione del evento"
1026
 
1027
- #: my-calendar-settings.php:291
1028
  msgid "Show Event Category field"
1029
  msgstr "Mostra campo Categoria del Evento "
1030
 
1031
- #: my-calendar-settings.php:291
1032
  msgid "Show Event Link field"
1033
  msgstr "Mostra campo Link del evento"
1034
 
1035
- #: my-calendar-settings.php:291
1036
  msgid "Show Event Recurrence Options"
1037
  msgstr "Mostra Opzioni di ricorrenza evento"
1038
 
1039
- #: my-calendar-settings.php:291
1040
  msgid "Show event registration options"
1041
  msgstr "Mostra opzioni di registrazione evento"
1042
 
1043
- #: my-calendar-settings.php:291
1044
  msgid "Show event location fields"
1045
  msgstr "Mostra campi località evento"
1046
 
1047
- #: my-calendar-settings.php:300
1048
  msgid "Administrators see all input options"
1049
  msgstr "Gli amministratori vedono tutte le opzioni di input"
1050
 
1051
- #: my-calendar-settings.php:304
1052
- msgid "Calendar Options: Style"
1053
- msgstr "Opzioni Calendario: Stile"
1054
-
1055
- #: my-calendar-settings.php:306
1056
- msgid "Default usage of category colors."
1057
- msgstr "L'utilizzo predefinito dei colori categoria."
1058
-
1059
- #: my-calendar-settings.php:307
1060
- msgid "Apply category colors to event titles as a font color."
1061
- msgstr "Applica colori categoria ai titoli eventi come il colore di carattere."
1062
 
1063
- #: my-calendar-settings.php:308
1064
- msgid "Apply category colors to event titles as a background color."
1065
- msgstr "Applica colori categoria ai titoli eventi come colore di sfondo."
1066
 
1067
- #: my-calendar-settings.php:313
1068
  msgid "Calendar Options: Email Notifications"
1069
  msgstr "Opzioni calendario: notifiche e-mail"
1070
 
1071
- #: my-calendar-settings.php:317
1072
  msgid "Send Email Notifications when new events are scheduled or reserved."
1073
  msgstr "Inviare e-mail di notificha quando sono in programma nuovi eventi o riservati."
1074
 
1075
- #: my-calendar-settings.php:323
1076
  msgid "Notification messages are sent to: "
1077
  msgstr "I messaggi di notifica vengono inviati a:"
1078
 
1079
- #: my-calendar-settings.php:327
1080
  msgid "Email subject"
1081
  msgstr "Oggetto email"
1082
 
1083
- #: my-calendar-settings.php:327
1084
  msgid "New event Added"
1085
  msgstr "Nuovo evento aggiunto"
1086
 
1087
- #: my-calendar-settings.php:331
1088
  msgid "Message Body"
1089
  msgstr "Corpo del messaggio"
1090
 
1091
- #: my-calendar-settings.php:331
1092
  msgid "New Event:"
1093
  msgstr "Nuovo Evento:"
1094
 
1095
- #: my-calendar-settings.php:332
1096
- msgid "Shortcode Help"
1097
- msgstr "Aiuto Shortcode"
1098
 
1099
- #: my-calendar-settings.php:332
1100
- msgid "All template shortcodes are available."
1101
- msgstr "Tutti i codici brevi di templates sono disponibili."
1102
 
1103
- #: my-calendar-settings.php:341
1104
- msgid "Save Settings"
1105
- msgstr "Salva Impostazioni"
1106
 
1107
- #: my-calendar-styles.php:46
1108
- msgid "Style Settings saved"
1109
- msgstr "Impostazioni Stile salvate"
1110
 
1111
- #: my-calendar-styles.php:70
1112
- msgid "My Calendar Styles"
1113
- msgstr "Stile My Calendar"
1114
 
1115
- #: my-calendar-styles.php:74
1116
- msgid "Calendar Style Settings"
1117
- msgstr "Impostazioni Stile Calendario"
1118
 
1119
- #: my-calendar-styles.php:78
1120
- msgid "Show CSS &amp; JavaScript only on these pages (comma separated page IDs)"
1121
- msgstr "Mostra CSS &amp; JavaScript solo su queste pagine (ID di pagina separati da virgola)"
1122
 
1123
- #: my-calendar-styles.php:81
1124
- msgid "CSS Style Options"
1125
- msgstr "Opzioni Style CSS"
1126
 
1127
- #: my-calendar-styles.php:83
1128
- msgid "Reset the My Calendar stylesheet to the default"
1129
- msgstr "Resettare lo stile di My Calendar a default"
1130
 
1131
- #: my-calendar-styles.php:83
1132
- msgid "Disable My Calendar Stylesheet"
1133
- msgstr "Disattivare foglio di stile del mio Calendario"
 
1134
 
1135
- #: my-calendar-styles.php:86
1136
- msgid "Edit the stylesheet for My Calendar"
1137
- msgstr "Modificare il foglio di stile per il mio calendario"
1138
 
1139
- #: my-calendar-styles.php:89
1140
- #: my-calendar-styles.php:101
1141
- #: my-calendar-styles.php:113
1142
- #: my-calendar-styles.php:125
1143
- msgid "Save"
1144
- msgstr "Salva"
1145
 
1146
- #: my-calendar-styles.php:93
1147
- msgid "Calendar Behaviors: Calendar View"
1148
- msgstr "Stile Calendario: Vista Calendario"
1149
 
1150
- #: my-calendar-styles.php:95
1151
- msgid "Reset the My Calendar Calendar Javascript"
1152
- msgstr "Resettare My Calendar a Calendario Javascript"
1153
 
1154
- #: my-calendar-styles.php:95
1155
- msgid "Disable Calendar Javascript Effects"
1156
- msgstr "Disattiva Effetti Javascript nel Calendario"
1157
 
1158
- #: my-calendar-styles.php:98
1159
- msgid "Edit the jQuery scripts for My Calendar in Calendar format"
1160
- msgstr "Modificare gli script jQuery per My Calendar in formato Calendario"
1161
 
1162
- #: my-calendar-styles.php:105
1163
- msgid "Calendar Behaviors: List View"
1164
- msgstr "Stile Calendario: Vista Lista"
1165
-
1166
- #: my-calendar-styles.php:107
1167
- msgid "Reset the My Calendar List Javascript"
1168
- msgstr "Resettare My Calendar List Javascript"
1169
-
1170
- #: my-calendar-styles.php:107
1171
- msgid "Disable List Javascript Effects"
1172
- msgstr "Disattiva Effetti Javascript nella Lista"
1173
-
1174
- #: my-calendar-styles.php:110
1175
- msgid "Edit the jQuery scripts for My Calendar in List format"
1176
- msgstr "Modificare gli script jQuery per My Calendar in formato Lista"
1177
-
1178
- #: my-calendar-styles.php:117
1179
- msgid "Calendar Behaviors: Mini Calendar View"
1180
- msgstr "Stile calendario: vista Mini Calendario"
1181
 
1182
- #: my-calendar-styles.php:119
1183
- msgid "Reset the My Calendar Mini Format Javascript"
1184
- msgstr "Resettare My Calendar Mini Format Javascript"
1185
-
1186
- #: my-calendar-styles.php:119
1187
- msgid "Disable Mini Javascript Effects"
1188
- msgstr "Disattiva Effetti Mini Javascript"
1189
 
1190
- #: my-calendar-styles.php:122
1191
- msgid "Edit the jQuery scripts for My Calendar in Mini Calendar format"
1192
- msgstr "Modificare gli script jQuery per My calendar in formato mini-calendario"
1193
-
1194
- #: my-calendar-upgrade-db.php:19
1195
  msgid "The My Calendar database needs to be updated."
1196
  msgstr "Il database My Calendar deve essere aggiornato."
1197
 
1198
- #: my-calendar-upgrade-db.php:20
1199
- #: my-calendar-upgrade-db.php:34
1200
  msgid "Update now"
1201
  msgstr "Aggiorna adesso"
1202
 
1203
- #: my-calendar-upgrade-db.php:33
1204
  msgid "You haven't entered any events, so My Calendar can't tell whether your database is up to date. If you can't add events, upgrade your database!"
1205
  msgstr "Non è stato inserito nessun evento, quindi My Calendar non può dire se il database è aggiornato. Se non è possibile aggiungere eventi, aggiornare il database!"
1206
 
1207
- #: my-calendar-upgrade-db.php:44
1208
  msgid "My Calendar Database is updated."
1209
  msgstr "Il database My Calendar è aggiornato."
1210
 
1211
- #: my-calendar-widgets.php:11
1212
- #: my-calendar-widgets.php:51
1213
- #: my-calendar-widgets.php:52
1214
- msgid "Today's Events"
1215
- msgstr "Eventi di oggi"
1216
 
1217
- #: my-calendar-widgets.php:41
1218
- #: my-calendar-widgets.php:126
1219
- msgid "Template"
1220
- msgstr "Template"
1221
 
1222
- #: my-calendar-widgets.php:45
1223
- msgid "Show this text if there are no events today:"
1224
- msgstr "Mostra questo testo, se non ci sono eventi di oggi:"
1225
 
1226
- #: my-calendar-widgets.php:65
1227
- #: my-calendar-widgets.php:152
1228
- #: my-calendar-widgets.php:153
1229
- msgid "Upcoming Events"
1230
- msgstr "Prossimi Eventi"
1231
 
1232
- #: my-calendar-widgets.php:130
1233
- msgid "Widget Options"
1234
- msgstr "Opzione Widget"
1235
 
1236
- #: my-calendar-widgets.php:132
1237
- msgid "Display upcoming events by:"
1238
- msgstr "Visualizzare prossimi eventi per:"
1239
 
1240
- #: my-calendar-widgets.php:133
1241
- msgid "Events (e.g. 2 past, 3 future)"
1242
- msgstr "Eventi (ad esempio 2 passate, 3 futuro)"
 
 
1243
 
1244
- #: my-calendar-widgets.php:134
1245
- msgid "Dates (e.g. 4 days past, 5 forward)"
1246
- msgstr "Date (ad esempio, 4 giorni passati, 5 in avanti)"
 
1247
 
1248
- #: my-calendar-widgets.php:138
1249
- msgid "events into the future;"
1250
- msgstr "eventi nel futuro;"
1251
 
1252
- #: my-calendar-widgets.php:139
1253
- msgid "events from the past"
1254
- msgstr "eventi del passato"
 
1255
 
1256
- #: my-calendar-widgets.php:142
1257
- msgid "days into the future;"
1258
- msgstr "giorni nel futuro;"
1259
 
1260
- #: my-calendar-widgets.php:143
1261
- msgid "days from the past"
1262
- msgstr "giorni dal passato"
 
1263
 
1264
- #: my-calendar-widgets.php:146
1265
- msgid "Show only this category:"
1266
- msgstr "Mostra solo questa categoria:"
 
1267
 
1268
- #: my-calendar-widgets.php:285
1269
- msgid "There are no events currently scheduled."
1270
- msgstr "Non ci sono eventi attualmente in programma."
 
1271
 
1272
- #: my-calendar-widgets.php:470
1273
- msgid "Published"
1274
- msgstr "Pubblicato"
1275
 
1276
- #: my-calendar-widgets.php:472
1277
- msgid "Reserved"
1278
- msgstr "Riservato"
 
1279
 
1280
- #: my-calendar.php:56
1281
- #: my-calendar.php:181
 
 
 
 
 
 
 
 
 
 
 
 
1282
  msgid "Settings"
1283
  msgstr "Impostazioni"
1284
 
1285
- #: my-calendar.php:57
1286
- #: my-calendar.php:183
1287
  msgid "Help"
1288
  msgstr "Aiuto"
1289
 
1290
- #: my-calendar.php:81
1291
  msgid "Buy the Beginner's Guide"
1292
  msgstr "Acquista la Guida per principianti"
1293
 
1294
- #: my-calendar.php:82
1295
  msgid "Get Support"
1296
  msgstr "ottenere assistenza"
1297
 
1298
- #: my-calendar.php:83
1299
- #: my-calendar.php:183
1300
  msgid "My Calendar Help"
1301
  msgstr "Aiuto My Calendar"
1302
 
1303
- #: my-calendar.php:84
1304
  msgid "Make a Donation"
1305
  msgstr "Fai una donazione"
1306
 
1307
- #. #-#-#-#-# plugin.pot (My Calendar 1.5.0) #-#-#-#-#
1308
  #. Plugin Name of the plugin/theme
1309
- #: my-calendar.php:172
1310
  msgid "My Calendar"
1311
  msgstr "My Calendar"
1312
 
1313
- #: my-calendar.php:175
1314
  msgid "Add/Edit Events"
1315
  msgstr "aggiungere/modificare eventi"
1316
 
1317
- #: my-calendar.php:182
 
 
 
 
 
1318
  msgid "Style Editor"
1319
  msgstr "Style Editor"
1320
 
1321
- #: my-calendar.php:633
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1322
  msgid "Event Details"
1323
  msgstr "Dettagli evento"
1324
 
1325
- #: my-calendar.php:642
1326
  msgid "Close"
1327
  msgstr "Chiuso"
1328
 
1329
- #: my-calendar.php:652
 
 
 
 
1330
  msgid "Not Applicable"
1331
  msgstr "Non applicabile"
1332
 
1333
- #: my-calendar.php:664
1334
  msgid "Posted by"
1335
  msgstr "Postato da"
1336
 
1337
- #: my-calendar.php:710
1338
  msgid "This class is part of a series. You must register for the first event in this series to attend."
1339
  msgstr "Questa classe è parte di una serie. È necessario registrarsi per il primo evento di questa serie per partecipare."
1340
 
1341
- #: my-calendar.php:1340
1342
  msgid "Month"
1343
  msgstr "Mese"
1344
 
1345
- #: my-calendar.php:1341
1346
- #: my-calendar.php:1427
1347
  msgid "January"
1348
  msgstr "Gennaio"
1349
 
1350
- #: my-calendar.php:1342
1351
- #: my-calendar.php:1427
1352
  msgid "February"
1353
  msgstr "Febbraio"
1354
 
1355
- #: my-calendar.php:1343
1356
- #: my-calendar.php:1427
1357
  msgid "March"
1358
  msgstr "Marzo"
1359
 
1360
- #: my-calendar.php:1344
1361
- #: my-calendar.php:1427
1362
  msgid "April"
1363
  msgstr "Aprile"
1364
 
1365
- #: my-calendar.php:1345
1366
- #: my-calendar.php:1427
1367
  msgid "May"
1368
  msgstr "Maggio"
1369
 
1370
- #: my-calendar.php:1346
1371
- #: my-calendar.php:1427
1372
  msgid "June"
1373
  msgstr "Giugno"
1374
 
1375
- #: my-calendar.php:1347
1376
- #: my-calendar.php:1427
1377
  msgid "July"
1378
  msgstr "Luglio"
1379
 
1380
- #: my-calendar.php:1348
1381
- #: my-calendar.php:1427
1382
  msgid "August"
1383
  msgstr "Agosto"
1384
 
1385
- #: my-calendar.php:1349
1386
- #: my-calendar.php:1427
1387
  msgid "September"
1388
  msgstr "Settembre"
1389
 
1390
- #: my-calendar.php:1350
1391
- #: my-calendar.php:1427
1392
  msgid "October"
1393
  msgstr "Ottobre"
1394
 
1395
- #: my-calendar.php:1351
1396
- #: my-calendar.php:1427
1397
  msgid "November"
1398
  msgstr "Novembre"
1399
 
1400
- #: my-calendar.php:1352
1401
- #: my-calendar.php:1427
1402
  msgid "December"
1403
  msgstr "Dicembre"
1404
 
1405
- #: my-calendar.php:1354
1406
  msgid "Year"
1407
  msgstr "Anno"
1408
 
1409
- #: my-calendar.php:1379
1410
  msgid "Go"
1411
  msgstr "Vai"
1412
 
1413
- #: my-calendar.php:1401
1414
  msgid "<abbr title=\"Sunday\">Sun</abbr>"
1415
  msgstr "<abbr title=\"Domenica\">Dom</abbr>"
1416
 
1417
- #: my-calendar.php:1402
1418
  msgid "<abbr title=\"Monday\">Mon</abbr>"
1419
  msgstr "<abbr title=\"Lunedì\">Lun</abbr>"
1420
 
1421
- #: my-calendar.php:1403
1422
  msgid "<abbr title=\"Tuesday\">Tues</abbr>"
1423
  msgstr "<abbr title=\"Martedì\">Mar</abbr>"
1424
 
1425
- #: my-calendar.php:1404
1426
  msgid "<abbr title=\"Wednesday\">Wed</abbr>"
1427
  msgstr "<abbr title=\"Mercoledì\">Mer</abbr>"
1428
 
1429
- #: my-calendar.php:1405
1430
  msgid "<abbr title=\"Thursday\">Thur</abbr>"
1431
  msgstr "<abbr title=\"Giovedì\">Giov</abbr>"
1432
 
1433
- #: my-calendar.php:1406
1434
  msgid "<abbr title=\"Friday\">Fri</abbr>"
1435
  msgstr "<abbr title=\"Venerdì\">Ven</abbr>"
1436
 
1437
- #: my-calendar.php:1407
1438
  msgid "<abbr title=\"Saturday\">Sat</abbr>"
1439
  msgstr "<abbr title=\"Sabato\">Sab</abbr>"
1440
 
1441
- #: my-calendar.php:1412
1442
  msgid "<abbr title=\"Sunday\">S</abbr>"
1443
  msgstr "<abbr title=\"Domenica\">Dom</abbr>"
1444
 
1445
- #: my-calendar.php:1413
1446
  msgid "<abbr title=\"Monday\">M</abbr>"
1447
  msgstr "<abbr title=\"Lunedì\">Lun</abbr>"
1448
 
1449
- #: my-calendar.php:1414
1450
  msgid "<abbr title=\"Tuesday\">T</abbr>"
1451
  msgstr "<abbr title=\"Martedì\">Mar</abbr>"
1452
 
1453
- #: my-calendar.php:1415
1454
  msgid "<abbr title=\"Wednesday\">W</abbr>"
1455
  msgstr "<abbr title=\"Mercoledì\">Mer</abbr>"
1456
 
1457
- #: my-calendar.php:1416
1458
  msgid "<abbr title=\"Thursday\">T</abbr>"
1459
  msgstr "<abbr title=\"Giovedì\">Giov</abbr>"
1460
 
1461
- #: my-calendar.php:1417
1462
  msgid "<abbr title=\"Friday\">F</abbr>"
1463
  msgstr "<abbr title=\"Venerdì\">Ven</abbr>"
1464
 
1465
- #: my-calendar.php:1418
1466
  msgid "<abbr title=\"Saturday\">S</abbr>"
1467
  msgstr "<abbr title=\"Sabato\">Sab</abbr>"
1468
 
1469
- #: my-calendar.php:1464
1470
  msgid "and"
1471
  msgstr "e"
1472
 
1473
- #: my-calendar.php:1493
1474
- #: my-calendar.php:1497
1475
  msgid "Calendar"
1476
  msgstr "Calendario"
1477
 
1478
- #: my-calendar.php:1500
 
 
 
 
1479
  msgid "Events in"
1480
  msgstr "Eventi a"
1481
 
1482
- #: my-calendar.php:1597
 
 
 
 
1483
  msgid "There are no events scheduled during this period."
1484
  msgstr "Non ci sono eventi in programma durante questo periodo."
1485
 
1486
- #: my-calendar.php:1607
1487
  msgid "Category Key"
1488
  msgstr "Chiave Categoria"
1489
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1490
  #. Plugin URI of the plugin/theme
1491
  msgid "http://www.joedolson.com/articles/my-calendar/"
1492
  msgstr "http://www.joedolson.com/articles/my-calendar/"
@@ -1503,6 +1837,39 @@ msgstr "Joseph C Dolson"
1503
  msgid "http://www.joedolson.com"
1504
  msgstr "http://www.joedolson.com"
1505
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1506
  #~ msgid ""
1507
  #~ "An event with the details you submitted could not be found in the "
1508
  #~ "database. This may indicate a problem with your database or the way in "
5
  #
6
  msgid ""
7
  msgstr ""
8
+ "Project-Id-Version: My Calendar 1.7.0\n"
9
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/my-calendar\n"
10
+ "POT-Creation-Date: 2011-01-15 16:08:49+00:00\n"
11
+ "PO-Revision-Date: 2011-01-15 22:41+0100\n"
12
  "Last-Translator: Mustapha Sabir <sabir.musta@gmail.com>\n"
13
+ "Language-Team: http://mustaphasabir.altervista.org <sabir.musta@gmail.com>\n"
14
+ "Language: \n"
15
  "MIME-Version: 1.0\n"
16
  "Content-Type: text/plain; charset=UTF-8\n"
17
  "Content-Transfer-Encoding: 8bit\n"
18
+ "X-Poedit-Language: Italian\n"
19
+ "X-Poedit-Country: ITALY\n"
20
 
21
+ #: my-calendar-templates.php:188
22
+ msgid "Published"
23
+ msgstr "Pubblicato"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
 
25
+ #: my-calendar-templates.php:190
26
+ msgid "Reserved"
27
+ msgstr "Riservato"
 
28
 
29
+ #: my-calendar-user.php:39
30
+ msgid "My Calendar User Settings"
31
+ msgstr "impostazioni utente My Calendar"
32
 
33
+ #: my-calendar-event-manager.php:28
34
+ #: my-calendar-settings.php:577
35
  msgid "My Calendar has identified that you have the Calendar plugin by Kieran O'Shea installed. You can import those events and categories into the My Calendar database. Would you like to import these events?"
36
  msgstr "My calendar ha identificato che hai il plugin the calendar di Kieran O'Shea installato. È possibile importare gli eventi e le categorie nel database di My calendar. Ti piacerebbe importare questi eventi?"
37
 
38
+ #: my-calendar-event-manager.php:35
39
+ #: my-calendar-settings.php:584
40
  msgid "Import from Calendar"
41
  msgstr "Importa da calendario"
42
 
43
+ #: my-calendar-event-manager.php:40
44
  msgid "Although it is possible that this import could fail to import your events correctly, it should not have any impact on your existing Calendar database. If you encounter any problems, <a href=\"http://www.joedolson.com/contact.php\">please contact me</a>!"
45
  msgstr "Anche se è possibile che questa importazione non riesca a importare i tuoi eventi correttamente, non dovrebbe avere alcun impatto sul tuo database esistente Calendario. Se si incontrano problemi, <a href=\"http://www.joedolson.com/contact.php\">si prega di contattare me</ a>!"
46
 
47
+ #: my-calendar-event-manager.php:85
48
+ msgid "%1$d events deleted successfully out of %2$d selected"
49
+ msgstr "%1$d eventi cancellati con successo su %2$d selezionati"
50
+
51
+ #: my-calendar-event-manager.php:87
52
+ #: my-calendar-event-manager.php:241
53
+ #: my-calendar-event-manager.php:263
54
+ #: my-calendar-event-manager.php:277
55
+ #: my-calendar-event-manager.php:286
56
+ #: my-calendar-event-manager.php:871
57
+ #: my-calendar-event-manager.php:874
58
+ #: my-calendar-event-manager.php:877
59
+ #: my-calendar-event-manager.php:887
60
+ #: my-calendar-event-manager.php:895
61
+ #: my-calendar-event-manager.php:911
62
+ #: my-calendar-event-manager.php:917
63
+ msgid "Error"
64
+ msgstr "Errore"
65
+
66
+ #: my-calendar-event-manager.php:87
67
+ msgid "Your events have not been deleted. Please investigate."
68
+ msgstr "I tuoi eventi non sono stati cancellati. Si prega di indagare."
69
+
70
+ #: my-calendar-event-manager.php:98
71
  msgid "Delete Event"
72
  msgstr "Cancellare evento"
73
 
74
+ #: my-calendar-event-manager.php:98
75
  msgid "Are you sure you want to delete this event?"
76
  msgstr "Sei sicuro di voler cancellare questo evento?"
77
 
78
+ #: my-calendar-event-manager.php:104
79
+ #: my-calendar-event-manager.php:732
80
+ #: my-calendar-categories.php:202
81
+ #: my-calendar-categories.php:221
82
+ #: my-calendar-locations.php:156
83
+ #: my-calendar-locations.php:168
84
+ msgid "Delete"
85
+ msgstr "Cancellare"
86
+
87
+ #: my-calendar-event-manager.php:112
88
  msgid "You do not have permission to delete that event."
89
  msgstr "Non hai il permesso per cancellare l'evento."
90
 
91
+ #: my-calendar-event-manager.php:127
 
92
  msgid "You do not have permission to approve that event."
93
  msgstr "Non hai il permesso per approvare questo evento."
94
 
95
+ #: my-calendar-event-manager.php:141
 
96
  msgid "You do not have permission to reject that event."
97
  msgstr "Non hai il permesso per rifiutare questo evento."
98
 
99
+ #: my-calendar-event-manager.php:170
100
+ #: my-calendar-event-manager.php:326
101
+ msgid "Edit Event"
102
+ msgstr "Modifica evento"
103
+
104
+ #: my-calendar-event-manager.php:174
105
+ #: my-calendar-event-manager.php:183
106
+ msgid "You must provide an event id in order to edit it"
107
+ msgstr "È necessario fornire un ID evento al fine di modificarlo"
108
+
109
+ #: my-calendar-event-manager.php:179
110
+ #: my-calendar-event-manager.php:326
111
+ msgid "Copy Event"
112
+ msgstr "Coppia Evento"
113
+
114
+ #: my-calendar-event-manager.php:189
115
+ msgid "Add Event"
116
+ msgstr "Aggiungi Evento"
117
+
118
  #: my-calendar-event-manager.php:193
119
+ msgid "Manage Events"
120
+ msgstr "Gestione Eventi"
 
 
 
 
 
 
 
 
121
 
122
+ #: my-calendar-event-manager.php:241
123
  msgid "I'm sorry! I couldn't add that event to the database."
124
  msgstr "spiacente! Non ho potuto aggiungere l'evento al database."
125
 
126
+ #: my-calendar-event-manager.php:247
127
  msgid "Event added. It will now show in your calendar."
128
  msgstr "Evento aggiunto. adesso sarà visibile nel tuo calendario."
129
 
130
+ #: my-calendar-event-manager.php:263
131
  msgid "Your event was not updated."
132
  msgstr "L'evento non è stato aggiornato."
133
 
134
+ #: my-calendar-event-manager.php:265
135
  msgid "Nothing was changed in that update."
136
  msgstr "Niente è stato modificato in questo aggiornamento."
137
 
138
+ #: my-calendar-event-manager.php:267
139
  msgid "Event updated successfully"
140
  msgstr "Evento aggiornato con successo"
141
 
142
+ #: my-calendar-event-manager.php:270
143
  msgid "You do not have sufficient permissions to edit that event."
144
  msgstr "Non si dispone di permessi sufficienti per modificare tale evento."
145
 
146
+ #: my-calendar-event-manager.php:277
147
  msgid "You can't delete an event if you haven't submitted an event id"
148
  msgstr "Non è possibile eliminare un evento se non viene emessa una ID evento"
149
 
150
+ #: my-calendar-event-manager.php:284
151
  msgid "Event deleted successfully"
152
  msgstr "Evento cancellato con successo"
153
 
154
+ #: my-calendar-event-manager.php:286
155
  msgid "Despite issuing a request to delete, the event still remains in the database. Please investigate."
156
  msgstr "Despite issuing a request to delete, the event still remains in the database. Please investigate."
157
 
158
+ #: my-calendar-event-manager.php:298
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
159
  msgid "Sorry! That's an invalid event key."
160
  msgstr "spiacente! Questa chiave di evento non è valida."
161
 
162
+ #: my-calendar-event-manager.php:302
163
  msgid "Sorry! We couldn't find an event with that ID."
164
  msgstr "spiacente! Non riusciamo a trovare un evento di tale ID."
165
 
166
+ #: my-calendar-event-manager.php:326
167
  msgid "Add an Event"
168
  msgstr "Aggiungere un Evento"
169
 
170
+ #: my-calendar-event-manager.php:329
171
  msgid "This event must be approved in order for it to appear on the calendar."
172
  msgstr "Questo evento deve essere approvato in modo che venga visualizzato sul calendario."
173
 
174
+ #: my-calendar-event-manager.php:338
175
+ msgid "Save Event"
176
+ msgstr "Salva Evento"
177
+
178
  #: my-calendar-event-manager.php:362
179
  msgid "Enter your Event Information"
180
  msgstr "Inserisci gli informazione del tuo evento"
183
  msgid "Event Title"
184
  msgstr "Titolo del Evento"
185
 
186
+ #: my-calendar-event-manager.php:364
187
+ #: my-calendar-event-manager.php:456
188
+ msgid "(required)"
189
+ msgstr "(obbligatorio)"
190
+
191
+ #: my-calendar-event-manager.php:368
192
  msgid "Publish"
193
  msgstr "Pubblica"
194
 
195
+ #: my-calendar-event-manager.php:368
196
  msgid "You must approve this event to promote it to the calendar."
197
  msgstr "È necessario approvare questo evento per promuovere al calendario."
198
 
199
+ #: my-calendar-event-manager.php:370
200
  msgid "An administrator must approve your new event."
201
  msgstr "Un amministratore deve approvare il nuovo evento."
202
 
203
+ #: my-calendar-event-manager.php:383
204
  msgid "Event Description (<abbr title=\"hypertext markup language\">HTML</abbr> allowed)"
205
  msgstr "Descrizione Evento (<abbr title=\"hypertext markup language\">HTML</abbr> permesso)"
206
 
207
+ #: my-calendar-event-manager.php:389
208
  msgid "Event Short Description (<abbr title=\"hypertext markup language\">HTML</abbr> allowed)"
209
  msgstr "Descrizione breve Evento (<abbr title=\"hypertext markup language\">HTML</abbr> permesso)"
210
 
211
+ #: my-calendar-event-manager.php:400
212
+ msgid "Event Host"
213
+ msgstr "Assegna Evento a"
214
+
215
+ #: my-calendar-event-manager.php:419
216
  msgid "Event Category"
217
  msgstr "Categoria del Evento "
218
 
219
+ #: my-calendar-event-manager.php:444
220
  msgid "Event Link (Optional)"
221
  msgstr "Link del evento (Opzionale)"
222
 
223
+ #: my-calendar-event-manager.php:444
224
  msgid "This link will expire when the event passes."
225
  msgstr "Questo link scade quando l'evento passa."
226
 
227
+ #: my-calendar-event-manager.php:452
228
+ msgid "Event Date and Time"
229
+ msgstr "Data e Ora dell'Evento"
230
+
231
+ #: my-calendar-event-manager.php:454
232
+ msgid "Enter the beginning and ending information for the first occurrence of this event."
233
+ msgstr "Inserire le informazioni di inizio e di fine per la prima occorrenza di questo evento."
234
+
235
+ #: my-calendar-event-manager.php:456
236
  msgid "Start Date (YYYY-MM-DD)"
237
  msgstr "Data Inizio (YYYY-MM-DD)"
238
 
239
+ #: my-calendar-event-manager.php:456
 
 
 
 
240
  msgid "Time (hh:mm)"
241
  msgstr "ora (hh:mm)"
242
 
243
+ #: my-calendar-event-manager.php:465
244
+ msgid "End Date (YYYY-MM-DD)"
245
+ msgstr "Data Fine (YYYY-MM-DD)"
246
+
247
+ #: my-calendar-event-manager.php:465
248
+ msgid "End Time (hh:mm)"
249
+ msgstr "Ora di Fine (hh:mm)"
250
 
251
+ #: my-calendar-event-manager.php:473
252
  msgid "Current time difference from GMT is "
253
  msgstr "differenza di tempo corrente da GMT è"
254
 
255
+ #: my-calendar-event-manager.php:473
256
  msgid " hour(s)"
257
  msgstr " ora (e)"
258
 
259
+ #: my-calendar-event-manager.php:482
 
 
 
 
 
 
 
 
260
  msgid "Recurring Events"
261
  msgstr "Ricorrenza Eventi"
262
 
263
+ #: my-calendar-event-manager.php:485
264
  msgid "Repeats for"
265
  msgstr "Ripete per"
266
 
267
+ #: my-calendar-event-manager.php:486
268
  msgid "Units"
269
  msgstr "Unità"
270
 
271
+ #: my-calendar-event-manager.php:487
272
  msgid "Does not recur"
273
  msgstr "Non si ripresenta"
274
 
275
+ #: my-calendar-event-manager.php:488
276
+ #: my-calendar-event-manager.php:706
277
  msgid "Daily"
278
  msgstr "Giornaliero"
279
 
280
+ #: my-calendar-event-manager.php:489
281
+ #: my-calendar-event-manager.php:707
282
  msgid "Weekly"
283
  msgstr "Settimanale"
284
 
285
+ #: my-calendar-event-manager.php:490
286
  msgid "Bi-weekly"
287
  msgstr "Bi-settimanale"
288
 
289
+ #: my-calendar-event-manager.php:491
290
  msgid "Date of Month (e.g., the 24th of each month)"
291
  msgstr "Data del Mese (ad es., il 24 di ogni mese)"
292
 
293
+ #: my-calendar-event-manager.php:492
294
  msgid "Day of Month (e.g., the 3rd Monday of each month)"
295
  msgstr "Giorno del Mese (ad es., il 3° Lunedì di ogni mese)"
296
 
297
+ #: my-calendar-event-manager.php:493
298
  msgid "Annually"
299
  msgstr "Annuale"
300
 
301
+ #: my-calendar-event-manager.php:495
302
+ msgid "Enter \"0\" if the event should recur indefinitely."
303
+ msgstr "Inserire \"0\" se l'evento deve ripetersi all'infinito."
304
 
305
+ #: my-calendar-event-manager.php:512
306
  msgid "Event Registration Status"
307
  msgstr "Stato di Registrazione Evento"
308
 
309
+ #: my-calendar-event-manager.php:513
310
+ msgid "My Calendar does not manage event registrations. Use this for information only."
311
+ msgstr "My Calendar non gestisce le registrazioni degli eventi. Utilizza questo solo per titolo informativo."
312
+
313
+ #: my-calendar-event-manager.php:515
314
  msgid "Open"
315
  msgstr "Aperto"
316
 
317
+ #: my-calendar-event-manager.php:516
318
  msgid "Closed"
319
  msgstr "Chiuso"
320
 
321
+ #: my-calendar-event-manager.php:517
322
  msgid "Does not apply"
323
  msgstr "Non si applica"
324
 
325
+ #: my-calendar-event-manager.php:520
326
  msgid "If this event recurs, it can only be registered for as a complete series."
327
  msgstr "Se questo evento si ripete, può solo essere registrato per una serie completa."
328
 
329
+ #: my-calendar-event-manager.php:537
330
+ #: my-calendar-locations.php:87
331
  msgid "Event Location"
332
  msgstr "Località Evento"
333
 
334
+ #: my-calendar-event-manager.php:544
335
  msgid "Choose a preset location:"
336
  msgstr "Scegliere una località predefinita:"
337
 
338
+ #: my-calendar-event-manager.php:557
339
  msgid "Add recurring locations for later use."
340
  msgstr "Aggiungi località ricorrenti per un uso successivo."
341
 
342
+ #: my-calendar-event-manager.php:566
343
+ #: my-calendar-locations.php:89
344
  msgid "All location fields are optional: <em>insufficient information may result in an inaccurate map</em>."
345
  msgstr "Tutti i campi sono opzionali: <em>insufficiente informazioni possono causare una mappa inesatta</em>."
346
 
347
+ #: my-calendar-event-manager.php:569
348
+ #: my-calendar-locations.php:92
349
  msgid "Name of Location (e.g. <em>Joe's Bar and Grill</em>)"
350
  msgstr "Nome della Località (es. <em>Joe's Bar and Grill</em>)"
351
 
352
+ #: my-calendar-event-manager.php:572
353
+ #: my-calendar-locations.php:95
354
  msgid "Street Address"
355
  msgstr "Indirizzo"
356
 
357
+ #: my-calendar-event-manager.php:575
358
+ #: my-calendar-locations.php:98
359
  msgid "Street Address (2)"
360
  msgstr "Indirizzo (2)"
361
 
362
+ #: my-calendar-event-manager.php:578
363
+ #: my-calendar-settings.php:556
364
+ #: my-calendar-locations.php:101
365
  msgid "City"
366
  msgstr "Città"
367
 
368
+ #: my-calendar-event-manager.php:578
369
+ #: my-calendar-settings.php:557
370
+ #: my-calendar-locations.php:101
371
  msgid "State/Province"
372
  msgstr "Regione/Provincia"
373
 
374
+ #: my-calendar-event-manager.php:578
375
+ #: my-calendar-settings.php:559
376
+ #: my-calendar-locations.php:101
377
  msgid "Postal Code"
378
  msgstr "Codice Postale"
379
 
380
+ #: my-calendar-event-manager.php:581
381
+ #: my-calendar-settings.php:558
382
+ #: my-calendar-locations.php:104
383
  msgid "Country"
384
  msgstr "Paese"
385
 
386
+ #: my-calendar-event-manager.php:584
387
+ #: my-calendar-locations.php:107
388
  msgid "Initial Zoom"
389
  msgstr "Zoom Iniziale"
390
 
391
+ #: my-calendar-event-manager.php:586
392
+ #: my-calendar-locations.php:109
393
  msgid "Neighborhood"
394
  msgstr "Quartiere"
395
 
396
+ #: my-calendar-event-manager.php:587
397
+ #: my-calendar-locations.php:110
398
  msgid "Small City"
399
  msgstr "Piccola città"
400
 
401
+ #: my-calendar-event-manager.php:588
402
+ #: my-calendar-locations.php:111
403
  msgid "Large City"
404
  msgstr "Città grande"
405
 
406
+ #: my-calendar-event-manager.php:589
407
+ #: my-calendar-locations.php:112
408
  msgid "Greater Metro Area"
409
  msgstr "Grande Metro Area"
410
 
411
+ #: my-calendar-event-manager.php:590
412
+ #: my-calendar-locations.php:113
413
  msgid "State"
414
  msgstr "Stato"
415
 
416
+ #: my-calendar-event-manager.php:591
417
+ #: my-calendar-locations.php:114
418
  msgid "Region"
419
  msgstr "Regione"
420
 
421
+ #: my-calendar-event-manager.php:595
422
+ #: my-calendar-locations.php:118
423
  msgid "GPS Coordinates (optional)"
424
  msgstr "Coordinati GPS (opzionale)"
425
 
426
+ #: my-calendar-event-manager.php:597
427
  msgid "If you supply GPS coordinates for your location, they will be used in place of any other address information to provide your map link."
428
  msgstr "Se si forniscono le coordinate GPS per la posizione, essi saranno utilizzati al posto di qualsiasi altra informazioni di indirizzo per fornire il tuo link mappa."
429
 
430
+ #: my-calendar-event-manager.php:600
431
+ #: my-calendar-locations.php:123
432
  msgid "Longitude"
433
  msgstr "Longitudine"
434
 
435
+ #: my-calendar-event-manager.php:600
436
+ #: my-calendar-locations.php:123
437
  msgid "Latitude"
438
  msgstr "Latitudine"
439
 
440
+ #: my-calendar-event-manager.php:666
441
+ msgid "Table of Calendar Events"
442
+ msgstr "Tabella degli Eventi del Calendario"
443
 
444
+ #: my-calendar-event-manager.php:669
445
+ #: my-calendar-categories.php:197
446
+ #: my-calendar-locations.php:153
447
+ msgid "ID"
448
+ msgstr "ID"
449
+
450
+ #: my-calendar-event-manager.php:670
451
+ #: my-calendar-widgets.php:32
452
+ #: my-calendar-widgets.php:98
453
  msgid "Title"
454
  msgstr "Titolo"
455
 
456
+ #: my-calendar-event-manager.php:671
457
+ #: my-calendar-locations.php:154
 
 
 
 
458
  msgid "Location"
459
  msgstr "Località"
460
 
461
+ #: my-calendar-event-manager.php:672
462
  msgid "Description"
463
  msgstr "Descrizione"
464
 
465
+ #: my-calendar-event-manager.php:673
466
  msgid "Start Date"
467
  msgstr "Data Inizio"
468
 
469
+ #: my-calendar-event-manager.php:674
470
  msgid "Recurs"
471
  msgstr "Ricorrenza"
472
 
473
+ #: my-calendar-event-manager.php:675
474
+ #: my-calendar-settings.php:270
475
+ #: my-calendar-settings.php:279
476
+ #: my-calendar-settings.php:287
477
  msgid "Author"
478
  msgstr "Autore"
479
 
480
+ #: my-calendar-event-manager.php:676
481
  msgid "Category"
482
  msgstr "Categoria"
483
 
484
+ #: my-calendar-event-manager.php:677
485
  msgid "Edit / Delete"
486
  msgstr "Modifica/Cancella"
487
 
488
+ #: my-calendar-event-manager.php:705
489
  msgid "Never"
490
  msgstr "Mai"
491
 
492
+ #: my-calendar-event-manager.php:708
493
  msgid "Bi-Weekly"
494
  msgstr "Bi-Settimanale"
495
 
496
+ #: my-calendar-event-manager.php:709
497
  msgid "Monthly (by date)"
498
  msgstr "Mensile (per data)"
499
 
500
+ #: my-calendar-event-manager.php:710
501
  msgid "Monthly (by day)"
502
  msgstr "Mensile (per giorno)"
503
 
504
+ #: my-calendar-event-manager.php:711
505
  msgid "Yearly"
506
  msgstr "Annuale"
507
 
508
+ #: my-calendar-event-manager.php:713
509
+ #: my-calendar-settings.php:308
510
+ #: my-calendar-categories.php:218
511
+ #: my-calendar-output.php:125
512
+ msgid "N/A"
513
+ msgstr "N/A"
514
+
515
+ #: my-calendar-event-manager.php:714
516
  msgid "Forever"
517
  msgstr "Per sempre"
518
 
519
+ #: my-calendar-event-manager.php:715
520
  msgid "Times"
521
  msgstr "Volte"
522
 
523
+ #: my-calendar-event-manager.php:730
524
  msgid "Copy"
525
  msgstr "copia"
526
 
527
+ #: my-calendar-event-manager.php:732
528
+ #: my-calendar-categories.php:201
529
+ #: my-calendar-categories.php:215
530
+ #: my-calendar-locations.php:155
531
+ #: my-calendar-locations.php:167
532
+ msgid "Edit"
533
+ msgstr "Modifica"
534
+
535
+ #: my-calendar-event-manager.php:733
536
  msgid "Not editable."
537
  msgstr "Non modificabili."
538
 
539
+ #: my-calendar-event-manager.php:739
540
  msgid "Reject"
541
  msgstr "Respinto"
542
 
543
+ #: my-calendar-event-manager.php:741
544
  msgid "Approve"
545
  msgstr "Approvare"
546
 
547
+ #: my-calendar-event-manager.php:746
548
  msgid "Approved"
549
  msgstr "Approvato"
550
 
551
+ #: my-calendar-event-manager.php:748
552
  msgid "Rejected"
553
  msgstr "Rifiutato"
554
 
555
+ #: my-calendar-event-manager.php:750
556
+ msgid "Awaiting Approval"
557
+ msgstr "In attesa di approvazione"
558
+
559
+ #: my-calendar-event-manager.php:766
560
  msgid "There are no events in the database!"
561
  msgstr "Non ci sono eventi nel database!"
562
 
563
+ #: my-calendar-event-manager.php:871
564
  msgid "Your event end date must be either after or the same as your event begin date"
565
  msgstr "La data di fine evento deve essere uguale o successiva alla data di inizio"
566
 
567
+ #: my-calendar-event-manager.php:874
568
  msgid "Your date formatting is correct but one or more of your dates is invalid. Check for number of days in month and leap year related errors."
569
  msgstr "La formattazione della data è corretta, ma uno o più dei tuoi dati non è valido. Controllare il numero di giorni nel mese e anno bisestile errori correlati."
570
 
571
+ #: my-calendar-event-manager.php:877
572
  msgid "Both start and end dates must be in the format YYYY-MM-DD"
573
  msgstr "Entrambe le date di inizio e di fine devono essere nel formato AAAA-MM-DD"
574
 
575
+ #: my-calendar-event-manager.php:887
576
  msgid "The time field must either be blank or be entered in the format hh:mm"
577
+ msgstr "Il campo ora deve essere vuoto o scritto nel formato hh: mm"
578
 
579
+ #: my-calendar-event-manager.php:895
580
  msgid "The end time field must either be blank or be entered in the format hh:mm"
581
  msgstr "Il campo ora di fine deve essere vuoto o essere iscritti nel formato hh: mm"
582
 
583
+ #: my-calendar-event-manager.php:911
 
 
 
 
584
  msgid "The event title must be between 1 and 255 characters in length."
585
  msgstr "Il titolo dell'evento deve essere compreso tra 1 e 255 caratteri."
586
 
587
+ #: my-calendar-event-manager.php:917
588
  msgid "The repetition value must be 0 unless a type of recurrence is selected."
589
  msgstr "Il valore di ripetizione deve essere 0 a meno che un tipo di ricorrenza è selezionat"
590
 
591
+ #: my-calendar-settings.php:82
592
+ msgid "Categories imported successfully."
593
+ msgstr "Categorie importati con successo"
 
 
 
 
594
 
595
+ #: my-calendar-settings.php:84
596
+ msgid "Categories not imported."
597
+ msgstr "Categorie non importati."
598
 
599
+ #: my-calendar-settings.php:87
600
+ msgid "Events imported successfully."
601
+ msgstr "Eventi importati con successo"
602
 
603
+ #: my-calendar-settings.php:89
604
+ msgid "Events not imported."
605
+ msgstr "Eventi non importati."
606
 
607
+ #: my-calendar-settings.php:121
608
+ msgid "Permissions Settings saved"
609
+ msgstr "Impostazioni delle autorizzazioni salvate"
610
 
611
+ #: my-calendar-settings.php:169
612
+ msgid "Output Settings saved"
613
+ msgstr "Impostazioni di uscita salvate"
614
 
615
+ #: my-calendar-settings.php:187
616
+ msgid "Input Settings saved"
617
+ msgstr "Impostazioni d'ingresso salvate"
618
 
619
+ #: my-calendar-settings.php:203
620
+ msgid "Custom text settings saved"
621
+ msgstr "Impostazioni del testo personalizzato salvato"
622
 
623
+ #: my-calendar-settings.php:216
624
+ msgid "Email notice settings saved"
625
+ msgstr "Impostazioni e-mail avviso salvate"
626
 
627
+ #: my-calendar-settings.php:230
628
+ msgid "User custom settings saved"
629
+ msgstr "Le impostazioni utente personalizzate salvate"
630
 
631
+ #: my-calendar-settings.php:255
632
+ msgid "My Calendar Options"
633
+ msgstr "Opzioni My Calendar"
634
 
635
+ #: my-calendar-settings.php:258
636
+ msgid "Calendar Settings"
637
+ msgstr "Impostazioni Calendario"
638
 
639
+ #: my-calendar-settings.php:260
640
+ msgid "Calendar Management Settings"
641
+ msgstr "Impostazioni di Gestione del Calendario"
642
 
643
+ #: my-calendar-settings.php:265
644
+ msgid "Calendar Options: Management"
645
+ msgstr "Opzioni Calendario: Gestione"
646
 
647
+ #: my-calendar-settings.php:267
648
+ msgid "Choose the lowest user group that may create events"
649
+ msgstr "Scegliere il gruppo utenti che possono creare gli eventi"
650
 
651
+ #: my-calendar-settings.php:268
652
+ #: my-calendar-settings.php:277
653
+ msgid "Subscriber"
654
+ msgstr "Sottoscrittore"
655
 
656
+ #: my-calendar-settings.php:269
657
+ #: my-calendar-settings.php:278
658
+ #: my-calendar-settings.php:286
659
+ msgid "Contributor"
660
+ msgstr "Collaboratore"
661
 
662
+ #: my-calendar-settings.php:271
663
+ #: my-calendar-settings.php:280
664
+ #: my-calendar-settings.php:288
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
665
  msgid "Editor"
666
  msgstr "Editore"
667
 
668
+ #: my-calendar-settings.php:272
669
+ #: my-calendar-settings.php:281
670
+ #: my-calendar-settings.php:289
671
  msgid "Administrator"
672
  msgstr "Amministratore"
673
 
674
+ #: my-calendar-settings.php:276
675
  msgid "Choose the lowest user group that may approve events"
676
  msgstr "Scegliere il gruppo utenti che possono approvare gli eventi"
677
 
678
+ #: my-calendar-settings.php:282
679
  msgid "Enable approval options."
680
  msgstr "Attivare le opzioni di approvazione."
681
 
682
+ #: my-calendar-settings.php:285
683
+ msgid "Choose the lowest user group that may edit or delete any event"
684
+ msgstr "Scegliere il gruppo piu basso degli utenti che possono modificare o cancellare qualsiasi evento"
685
+
686
+ #: my-calendar-settings.php:291
687
+ msgid "By default, only administrators may edit or delete any event. Other users may only edit or delete events which they authored."
688
+ msgstr "Per impostazione predefinita, solo gli amministratori possono modificare o cancellare qualsiasi evento. Altri utenti possono solo modificare o cancellare gli eventi che hanno creato."
689
+
690
+ #: my-calendar-settings.php:295
691
+ msgid "Save Approval Settings"
692
+ msgstr "Salva impostazioni Approvazione"
693
+
694
+ #: my-calendar-settings.php:301
695
+ msgid "Calendar Text Settings"
696
+ msgstr "Impostazioni Testo del Calendario"
697
+
698
+ #: my-calendar-settings.php:306
699
  msgid "Calendar Options: Customize Text"
700
  msgstr "Opzioni Calendario: Personalizzare il testo"
701
 
702
+ #: my-calendar-settings.php:308
 
 
 
 
703
  msgid "Label for events without a specific time"
704
  msgstr "Etichetta per gli eventi senza un tempo specifico"
705
 
706
+ #: my-calendar-settings.php:311
707
  msgid "Previous events link text"
708
  msgstr "Precedente eventi link di testo"
709
 
710
+ #: my-calendar-settings.php:311
711
  msgid "Previous Events"
712
  msgstr "Eventi Passati"
713
 
714
+ #: my-calendar-settings.php:314
715
  msgid "Next events link text"
716
  msgstr "Prossimi Eventi link di testo"
717
 
718
+ #: my-calendar-settings.php:314
719
  msgid "Next Events"
720
  msgstr "Prossimi Eventi"
721
 
722
+ #: my-calendar-settings.php:317
723
  msgid "Text when events are open"
724
  msgstr "Testo quando gli eventi sono aperti"
725
 
726
+ #: my-calendar-settings.php:317
727
  msgid "Registration is open"
728
  msgstr "Le Registrazioni sono aperte"
729
 
730
+ #: my-calendar-settings.php:320
731
  msgid "Text when events are closed"
732
  msgstr "Testo quando gli eventi sono chiusi"
733
 
734
+ #: my-calendar-settings.php:320
735
  msgid "Registration is closed"
736
  msgstr "Le Registrazioni sono chiusi"
737
 
738
+ #: my-calendar-settings.php:323
739
  msgid "Additional caption text"
740
  msgstr "Didascalia di testo aggiuntivo"
741
 
742
+ #: my-calendar-settings.php:323
743
  msgid "The calendar caption is the text containing the displayed month and year in either list or calendar format. This text will be displayed following that existing text."
744
  msgstr "La didascalia calendario è il testo che contiene il mese e l'anno visualizzate sia in formato elenco o calendario. Questo testo verrà visualizzato dopo il testo esistente."
745
 
746
+ #: my-calendar-settings.php:327
747
+ msgid "Save Custom Text Settings"
748
+ msgstr "Salva impostazioni testo personalizzato"
749
+
750
+ #: my-calendar-settings.php:333
751
+ msgid "Calendar Output Settings"
752
+ msgstr "Impostazioni Uscita Calendario"
753
+
754
+ #: my-calendar-settings.php:338
755
  msgid "Calendar Options: Output"
756
  msgstr "Opzioni Calendario: Output"
757
 
758
+ #: my-calendar-settings.php:340
759
+ msgid "Event title template"
760
+ msgstr "Template del titolo evento"
761
+
762
+ #: my-calendar-settings.php:342
763
+ #: my-calendar-settings.php:481
764
+ msgid "Shortcode Help"
765
+ msgstr "Aiuto Shortcode"
766
+
767
+ #: my-calendar-settings.php:342
768
+ #: my-calendar-settings.php:481
769
+ msgid "All template shortcodes are available."
770
+ msgstr "Tutti i codici brevi di templates sono disponibili."
771
+
772
+ #: my-calendar-settings.php:345
773
+ msgid "Show Heading for Calendar"
774
+ msgstr "Mostra titolo per il calendario"
775
+
776
+ #: my-calendar-settings.php:348
777
  msgid "In list mode, show how many months of events at a time:"
778
  msgstr "In modalità elenco, quanti mesi di eventi mostrare alla volta:"
779
 
780
+ #: my-calendar-settings.php:351
781
  msgid "Date format in list mode"
782
  msgstr "Formato data in modalità elenco"
783
 
784
+ #: my-calendar-settings.php:352
785
  msgid "Date format uses the same syntax as the <a href=\"http://php.net/date\">PHP <code>date()</code> function</a>. Save options to update sample output."
786
  msgstr "Formato data utilizza la stessa sintassi della <a href=\"http://php.net/date\">PHP <code>date()</ code> funzione</a>. Salva le opzioni per aggiornare."
787
 
788
+ #: my-calendar-settings.php:355
789
  msgid "Do you want to display the author name on events?"
790
  msgstr "Vuoi visualizzare il nome dell'autore negli eventi?"
791
 
792
+ #: my-calendar-settings.php:358
793
  msgid "Display a jumpbox for changing month and year quickly?"
794
  msgstr "Visualizzare un JumpBox per cambiare mese e anno in fretta?"
795
 
796
+ #: my-calendar-settings.php:361
797
  msgid "Hide category icons in output"
798
  msgstr "Nascondi le icone categoria nell'output"
799
 
800
+ #: my-calendar-settings.php:364
801
  msgid "Show Link to Google Map (when sufficient address information is available.)"
802
  msgstr "Mosta Link alla Mappa Google (quando le informazioni disponibile sull'indirizzi sono sufficiente.)"
803
 
804
+ #: my-calendar-settings.php:367
805
  msgid "Show Event Address in Details"
806
  msgstr "Mostra l'indirizzo del evento in Dettaglio"
807
 
808
+ #: my-calendar-settings.php:370
809
  msgid "Show short description field on calendar."
810
  msgstr "Visualizza campo breve discrizione nel calendario."
811
 
812
+ #: my-calendar-settings.php:373
813
  msgid "Show full description field on calendar."
814
  msgstr "Mostra campo descrizione completa nel calendario."
815
 
816
+ #: my-calendar-settings.php:376
817
  msgid "Links associated with events will automatically expire after the event has passed."
818
  msgstr "Link associati agli eventi scadranno automaticamente quando l'evento è passato."
819
 
820
+ #: my-calendar-settings.php:379
821
  msgid "Show current availability status of events."
822
  msgstr "Mostra lo stato attuale disponibilità degli eventi."
823
 
824
+ #: my-calendar-settings.php:382
825
+ msgid "Show link to My Calendar RSS feed."
826
+ msgstr "Mostra link al feed RSS di My Calendar."
827
+
828
+ #: my-calendar-settings.php:385
829
+ msgid "Show link to iCal format download."
830
+ msgstr "Mostra link per scaricare in formato iCal."
831
+
832
+ #: my-calendar-settings.php:388
833
  msgid "If a recurring event is scheduled for a date which doesn't exist (such as the 5th Wednesday in February), move it back one week."
834
  msgstr "Se un evento ricorrente è previsto per una data che non esiste (come il 5° Mercoledì di febbraio), spostalo indietro di una settimana."
835
 
836
+ #: my-calendar-settings.php:389
837
  msgid "If this option is unchecked, recurring events which fall on dates which don't exist will simply not be shown on the calendar."
838
  msgstr "Se questa opzione non è selezionata, gli eventi ricorrenti che rientrano in date che non esistono semplicemente non sarnno indicati sul calendario."
839
 
840
+ #: my-calendar-settings.php:392
841
+ msgid "If an event coincides with an event in the designated \"Holiday\" category, do not show the event."
842
+ msgstr "Se un evento coincide con un evento nella categoria \"Holiday\", non visualizzare l'evento."
843
+
844
+ #: my-calendar-settings.php:395
845
+ msgid "Holiday Category"
846
+ msgstr "Categoria Vacanze"
847
+
848
+ #: my-calendar-settings.php:413
849
+ msgid "Calendar Options: Style"
850
+ msgstr "Opzioni Calendario: Stile"
851
+
852
+ #: my-calendar-settings.php:415
853
+ msgid "Default usage of category colors."
854
+ msgstr "L'utilizzo predefinito dei colori categoria."
855
+
856
+ #: my-calendar-settings.php:416
857
+ msgid "Apply category colors to event titles as a font color."
858
+ msgstr "Applica colori categoria ai titoli eventi come il colore di carattere."
859
+
860
+ #: my-calendar-settings.php:417
861
+ msgid "Apply category colors to event titles as a background color."
862
+ msgstr "Applica colori categoria ai titoli eventi come colore di sfondo."
863
+
864
+ #: my-calendar-settings.php:421
865
+ msgid "Save Output Settings"
866
+ msgstr "Salva Impostazioni di uscita"
867
+
868
+ #: my-calendar-settings.php:427
869
+ msgid "Calendar Input Settings"
870
+ msgstr "Impostazioni ingresso del Calendario"
871
+
872
+ #: my-calendar-settings.php:432
873
  msgid "Calendar Options: Input"
874
  msgstr "Opzioni Calendario: Input"
875
 
876
+ #: my-calendar-settings.php:437
877
  msgid "Show Event Location Dropdown Menu"
878
  msgstr "Mostra Località Evento nel menu a scomparsa"
879
 
880
+ #: my-calendar-settings.php:437
881
  msgid "Show Event Short Description field"
882
  msgstr "Mostra campo Descrizione breve evento"
883
 
884
+ #: my-calendar-settings.php:437
885
  msgid "Show Event Description Field"
886
  msgstr "Mostra campo Descrizione del evento"
887
 
888
+ #: my-calendar-settings.php:437
889
  msgid "Show Event Category field"
890
  msgstr "Mostra campo Categoria del Evento "
891
 
892
+ #: my-calendar-settings.php:437
893
  msgid "Show Event Link field"
894
  msgstr "Mostra campo Link del evento"
895
 
896
+ #: my-calendar-settings.php:437
897
  msgid "Show Event Recurrence Options"
898
  msgstr "Mostra Opzioni di ricorrenza evento"
899
 
900
+ #: my-calendar-settings.php:437
901
  msgid "Show event registration options"
902
  msgstr "Mostra opzioni di registrazione evento"
903
 
904
+ #: my-calendar-settings.php:437
905
  msgid "Show event location fields"
906
  msgstr "Mostra campi località evento"
907
 
908
+ #: my-calendar-settings.php:450
909
  msgid "Administrators see all input options"
910
  msgstr "Gli amministratori vedono tutte le opzioni di input"
911
 
912
+ #: my-calendar-settings.php:454
913
+ msgid "Save Input Settings"
914
+ msgstr "Salva Impostazioni d'ingresso"
 
 
 
 
 
 
 
 
915
 
916
+ #: my-calendar-settings.php:460
917
+ msgid "Calendar Email Settings"
918
+ msgstr "Impostazioni Emali del Calendario"
919
 
920
+ #: my-calendar-settings.php:465
921
  msgid "Calendar Options: Email Notifications"
922
  msgstr "Opzioni calendario: notifiche e-mail"
923
 
924
+ #: my-calendar-settings.php:469
925
  msgid "Send Email Notifications when new events are scheduled or reserved."
926
  msgstr "Inviare e-mail di notificha quando sono in programma nuovi eventi o riservati."
927
 
928
+ #: my-calendar-settings.php:472
929
  msgid "Notification messages are sent to: "
930
  msgstr "I messaggi di notifica vengono inviati a:"
931
 
932
+ #: my-calendar-settings.php:476
933
  msgid "Email subject"
934
  msgstr "Oggetto email"
935
 
936
+ #: my-calendar-settings.php:476
937
  msgid "New event Added"
938
  msgstr "Nuovo evento aggiunto"
939
 
940
+ #: my-calendar-settings.php:480
941
  msgid "Message Body"
942
  msgstr "Corpo del messaggio"
943
 
944
+ #: my-calendar-settings.php:480
945
  msgid "New Event:"
946
  msgstr "Nuovo Evento:"
947
 
948
+ #: my-calendar-settings.php:485
949
+ msgid "Save Email Settings"
950
+ msgstr "Salva Impostazioni Email"
951
 
952
+ #: my-calendar-settings.php:491
953
+ msgid "Calendar User Settings"
954
+ msgstr "Impostazioni dell'utente del Calendario"
955
 
956
+ #: my-calendar-settings.php:498
957
+ msgid "My Calendar: User Settings"
958
+ msgstr "My Calendar: Impostazioni Utente"
959
 
960
+ #: my-calendar-settings.php:501
961
+ msgid "Allow registered users to provide timezone or location presets in their user profiles."
962
+ msgstr "Consentire agli utenti registrati di fornire fuso orario o luogo presettati nei loro profili."
963
 
964
+ #: my-calendar-settings.php:513
965
+ msgid "Timezone Settings"
966
+ msgstr "Impostazioni Fuso Orario"
967
 
968
+ #: my-calendar-settings.php:514
969
+ msgid "These settings provide registered users with the ability to select a time zone in their user profile. When they view your calendar, the times for events will display the time the event happens in their time zone as well as the entered value."
970
+ msgstr "Queste impostazioni forniscono agli utenti registrati la possibilità di selezionare un fuso orario nel loro profilo utente. Quando visualizzano il tuo calendario, vedranno l'ora dell'evento secondo il fuso orario che hanno scelto nel loro profilo lo stesso per quelli inseriti."
971
 
972
+ #: my-calendar-settings.php:516
973
+ msgid "Enable Timezone"
974
+ msgstr "Abilita il fuso orario"
975
 
976
+ #: my-calendar-settings.php:519
977
+ msgid "Select Timezone Label"
978
+ msgstr "Selezione Etichetta Fuso orario"
979
 
980
+ #: my-calendar-settings.php:522
981
+ msgid "Timezone Options"
982
+ msgstr "Opzione Fuso Orario"
983
 
984
+ #: my-calendar-settings.php:522
985
+ #: my-calendar-settings.php:543
986
+ msgid "Value, Label; one per line"
987
+ msgstr "Valore, Etichetta; uno per riga"
988
 
989
+ #: my-calendar-settings.php:534
990
+ msgid "Location Settings"
991
+ msgstr "Impostazioni Località"
992
 
993
+ #: my-calendar-settings.php:535
994
+ msgid "These settings provide registered users with the ability to select a location in their user profile. When they view your calendar, their initial view will be limited to locations which include that location parameter."
995
+ msgstr "Queste impostazioni forniscono agli utenti registrati la possibilità di selezionare una località nel proprio profilo utente. Quando visualizzano il tuo calendario, la loro visione iniziale sarà limitata ai luoghi che includono questo parametro di località."
 
 
 
996
 
997
+ #: my-calendar-settings.php:537
998
+ msgid "Enable Location"
999
+ msgstr "Abilita Località"
1000
 
1001
+ #: my-calendar-settings.php:540
1002
+ msgid "Select Location Label"
1003
+ msgstr "Seleziona etichetta località"
1004
 
1005
+ #: my-calendar-settings.php:543
1006
+ msgid "Location Options"
1007
+ msgstr "Opzioni Località"
1008
 
1009
+ #: my-calendar-settings.php:553
1010
+ msgid "Location Type"
1011
+ msgstr "Tipo Località"
1012
 
1013
+ #: my-calendar-settings.php:555
1014
+ msgid "Location Name"
1015
+ msgstr "Nome Località"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1016
 
1017
+ #: my-calendar-settings.php:567
1018
+ msgid "Save User Settings"
1019
+ msgstr "Salva Impostazioni Utente"
 
 
 
 
1020
 
1021
+ #: my-calendar-upgrade-db.php:20
 
 
 
 
1022
  msgid "The My Calendar database needs to be updated."
1023
  msgstr "Il database My Calendar deve essere aggiornato."
1024
 
1025
+ #: my-calendar-upgrade-db.php:21
1026
+ #: my-calendar-upgrade-db.php:35
1027
  msgid "Update now"
1028
  msgstr "Aggiorna adesso"
1029
 
1030
+ #: my-calendar-upgrade-db.php:34
1031
  msgid "You haven't entered any events, so My Calendar can't tell whether your database is up to date. If you can't add events, upgrade your database!"
1032
  msgstr "Non è stato inserito nessun evento, quindi My Calendar non può dire se il database è aggiornato. Se non è possibile aggiungere eventi, aggiornare il database!"
1033
 
1034
+ #: my-calendar-upgrade-db.php:45
1035
  msgid "My Calendar Database is updated."
1036
  msgstr "Il database My Calendar è aggiornato."
1037
 
1038
+ #: my-calendar-categories.php:80
1039
+ msgid "Category added successfully"
1040
+ msgstr "Categoria aggiunta con successo"
 
 
1041
 
1042
+ #: my-calendar-categories.php:82
1043
+ msgid "Category addition failed."
1044
+ msgstr "L'aggiunta Categoria fallito."
 
1045
 
1046
+ #: my-calendar-categories.php:92
1047
+ msgid "Category deleted successfully. Categories in calendar updated."
1048
+ msgstr "Categoria cancellata con successo. Categorie in calendario aggiornati."
1049
 
1050
+ #: my-calendar-categories.php:94
1051
+ msgid "Category deleted successfully. Categories in calendar not updated."
1052
+ msgstr "Categoria cancellata con successo. Categorie in calendario non aggiornati."
 
 
1053
 
1054
+ #: my-calendar-categories.php:96
1055
+ msgid "Category not deleted. Categories in calendar updated."
1056
+ msgstr "La categoria non è stata eliminata. Categorie in calendario aggiornati."
1057
 
1058
+ #: my-calendar-categories.php:105
1059
+ msgid "Category edited successfully"
1060
+ msgstr "Categoria modificata con successo"
1061
 
1062
+ #: my-calendar-categories.php:130
1063
+ #: my-calendar-categories.php:155
1064
+ #: my-calendar-categories.php:172
1065
+ msgid "Add Category"
1066
+ msgstr "Aggiungi Categoria"
1067
 
1068
+ #: my-calendar-categories.php:132
1069
+ #: my-calendar-categories.php:155
1070
+ msgid "Edit Category"
1071
+ msgstr "Modifica Categoria"
1072
 
1073
+ #: my-calendar-categories.php:139
1074
+ msgid "Category Editor"
1075
+ msgstr "Editore di Categoria"
1076
 
1077
+ #: my-calendar-categories.php:156
1078
+ #: my-calendar-categories.php:198
1079
+ msgid "Category Name"
1080
+ msgstr "Nome della categoria"
1081
 
1082
+ #: my-calendar-categories.php:157
1083
+ msgid "Category Color (Hex format)"
1084
+ msgstr "Colore Categoria (Formato Hex)"
1085
 
1086
+ #: my-calendar-categories.php:158
1087
+ #: my-calendar-categories.php:200
1088
+ msgid "Category Icon"
1089
+ msgstr "Icona Categoria"
1090
 
1091
+ #: my-calendar-categories.php:172
1092
+ #: my-calendar-locations.php:127
1093
+ msgid "Save Changes"
1094
+ msgstr "Salva le modifiche"
1095
 
1096
+ #: my-calendar-categories.php:185
1097
+ #: my-calendar.php:224
1098
+ msgid "Manage Categories"
1099
+ msgstr "Gestione categorie"
1100
 
1101
+ #: my-calendar-categories.php:199
1102
+ msgid "Category Color"
1103
+ msgstr "Colore Categoria"
1104
 
1105
+ #: my-calendar-categories.php:221
1106
+ #: my-calendar-locations.php:168
1107
+ msgid "Are you sure you want to delete this category?"
1108
+ msgstr "Sei sicuro di voler cancellare questa categoria?"
1109
 
1110
+ #: my-calendar-categories.php:232
1111
+ msgid "There are no categories in the database - something has gone wrong!"
1112
+ msgstr "Non esistono categorie nel database - qualcosa non ha funzionato!"
1113
+
1114
+ #: my-calendar-install.php:140
1115
+ msgid "My Calendar Default Timezone"
1116
+ msgstr "My Calendar Fuso Orario Predefinito"
1117
+
1118
+ #: my-calendar-install.php:185
1119
+ msgid "My Calendar Default Location"
1120
+ msgstr "My Calendar Località Predefinita"
1121
+
1122
+ #: my-calendar.php:92
1123
+ #: my-calendar.php:226
1124
  msgid "Settings"
1125
  msgstr "Impostazioni"
1126
 
1127
+ #: my-calendar.php:93
1128
+ #: my-calendar.php:229
1129
  msgid "Help"
1130
  msgstr "Aiuto"
1131
 
1132
+ #: my-calendar.php:123
1133
  msgid "Buy the Beginner's Guide"
1134
  msgstr "Acquista la Guida per principianti"
1135
 
1136
+ #: my-calendar.php:124
1137
  msgid "Get Support"
1138
  msgstr "ottenere assistenza"
1139
 
1140
+ #: my-calendar.php:125
1141
+ #: my-calendar.php:229
1142
  msgid "My Calendar Help"
1143
  msgstr "Aiuto My Calendar"
1144
 
1145
+ #: my-calendar.php:126
1146
  msgid "Make a Donation"
1147
  msgstr "Fai una donazione"
1148
 
1149
+ #. #-#-#-#-# plugin.pot (My Calendar 1.7.0) #-#-#-#-#
1150
  #. Plugin Name of the plugin/theme
1151
+ #: my-calendar.php:217
1152
  msgid "My Calendar"
1153
  msgstr "My Calendar"
1154
 
1155
+ #: my-calendar.php:220
1156
  msgid "Add/Edit Events"
1157
  msgstr "aggiungere/modificare eventi"
1158
 
1159
+ #: my-calendar.php:225
1160
+ #: my-calendar-locations.php:141
1161
+ msgid "Manage Locations"
1162
+ msgstr "Gestione Località"
1163
+
1164
+ #: my-calendar.php:227
1165
  msgid "Style Editor"
1166
  msgstr "Style Editor"
1167
 
1168
+ #: my-calendar.php:228
1169
+ msgid "Behavior Editor"
1170
+ msgstr "Editore Behavior"
1171
+
1172
+ #: my-calendar-behaviors.php:40
1173
+ msgid "Behavior Settings saved"
1174
+ msgstr "Behavior Impostazioni salvate"
1175
+
1176
+ #: my-calendar-behaviors.php:63
1177
+ msgid "My Calendar Behaviors"
1178
+ msgstr ""
1179
+
1180
+ #: my-calendar-behaviors.php:67
1181
+ msgid "Calendar Behavior Settings"
1182
+ msgstr ""
1183
+
1184
+ #: my-calendar-behaviors.php:72
1185
+ msgid "Apply JavaScript only on these pages (comma separated page IDs)"
1186
+ msgstr "Applica JavaScript solo su queste pagine (ID pagina separati da virgola)"
1187
+
1188
+ #: my-calendar-behaviors.php:75
1189
+ msgid "Calendar Behaviors: Calendar View"
1190
+ msgstr "Stile Calendario: Vista Calendario"
1191
+
1192
+ #: my-calendar-behaviors.php:77
1193
+ msgid "Reset the My Calendar Calendar Javascript"
1194
+ msgstr "Resettare My Calendar a Calendario Javascript"
1195
+
1196
+ #: my-calendar-behaviors.php:77
1197
+ msgid "Disable Calendar Javascript Effects"
1198
+ msgstr "Disattiva Effetti Javascript nel Calendario"
1199
+
1200
+ #: my-calendar-behaviors.php:80
1201
+ msgid "Edit the jQuery scripts for My Calendar in Calendar format"
1202
+ msgstr "Modificare gli script jQuery per My Calendar in formato Calendario"
1203
+
1204
+ #: my-calendar-behaviors.php:83
1205
+ #: my-calendar-behaviors.php:95
1206
+ #: my-calendar-behaviors.php:107
1207
+ #: my-calendar-behaviors.php:119
1208
+ #: my-calendar-styles.php:169
1209
+ msgid "Save"
1210
+ msgstr "Salva"
1211
+
1212
+ #: my-calendar-behaviors.php:87
1213
+ msgid "Calendar Behaviors: List View"
1214
+ msgstr "Stile Calendario: Vista Lista"
1215
+
1216
+ #: my-calendar-behaviors.php:89
1217
+ msgid "Reset the My Calendar List Javascript"
1218
+ msgstr "Resettare My Calendar List Javascript"
1219
+
1220
+ #: my-calendar-behaviors.php:89
1221
+ msgid "Disable List Javascript Effects"
1222
+ msgstr "Disattiva Effetti Javascript nella Lista"
1223
+
1224
+ #: my-calendar-behaviors.php:92
1225
+ msgid "Edit the jQuery scripts for My Calendar in List format"
1226
+ msgstr "Modificare gli script jQuery per My Calendar in formato Lista"
1227
+
1228
+ #: my-calendar-behaviors.php:99
1229
+ msgid "Calendar Behaviors: Mini Calendar View"
1230
+ msgstr "Stile calendario: vista Mini Calendario"
1231
+
1232
+ #: my-calendar-behaviors.php:101
1233
+ msgid "Reset the My Calendar Mini Format Javascript"
1234
+ msgstr "Resettare My Calendar Mini Format Javascript"
1235
+
1236
+ #: my-calendar-behaviors.php:101
1237
+ msgid "Disable Mini Javascript Effects"
1238
+ msgstr "Disattiva Effetti Mini Javascript"
1239
+
1240
+ #: my-calendar-behaviors.php:104
1241
+ msgid "Edit the jQuery scripts for My Calendar in Mini Calendar format"
1242
+ msgstr "Modificare gli script jQuery per My calendar in formato mini-calendario"
1243
+
1244
+ #: my-calendar-behaviors.php:111
1245
+ msgid "Calendar Behaviors: AJAX Navigation"
1246
+ msgstr ""
1247
+
1248
+ #: my-calendar-behaviors.php:113
1249
+ msgid "Reset the My Calendar AJAX Javascript"
1250
+ msgstr "Resettare My Calendar AJAX Javascript"
1251
+
1252
+ #: my-calendar-behaviors.php:113
1253
+ msgid "Disable AJAX Effects"
1254
+ msgstr "Disattiva Effetti AJAX"
1255
+
1256
+ #: my-calendar-behaviors.php:116
1257
+ msgid "Edit the jQuery scripts for My Calendar AJAX navigation"
1258
+ msgstr "Modificare gli script jQuery per My Calendar AJAX navigation"
1259
+
1260
+ #: my-calendar-locations.php:27
1261
+ msgid "Location added successfully"
1262
+ msgstr "Località aggiunta con successo"
1263
+
1264
+ #: my-calendar-locations.php:29
1265
+ msgid "Location could not be added to database"
1266
+ msgstr "Località non potrebbe essere aggiunta al database"
1267
+
1268
+ #: my-calendar-locations.php:35
1269
+ msgid "Location deleted successfully"
1270
+ msgstr "Località cancellata con successo"
1271
+
1272
+ #: my-calendar-locations.php:37
1273
+ msgid "Location could not be deleted"
1274
+ msgstr "Località non potrebbe essere eliminata"
1275
+
1276
+ #: my-calendar-locations.php:48
1277
+ msgid "Location could not be edited."
1278
+ msgstr "Località non potrebbe essere modificata."
1279
+
1280
+ #: my-calendar-locations.php:50
1281
+ msgid "Location was not changed."
1282
+ msgstr "Località non è stata cambiata."
1283
+
1284
+ #: my-calendar-locations.php:52
1285
+ msgid "Location edited successfully"
1286
+ msgstr "Località modificata con successo"
1287
+
1288
+ #: my-calendar-locations.php:64
1289
+ msgid "Add New Location"
1290
+ msgstr "Aggiungi nuova Località"
1291
+
1292
+ #: my-calendar-locations.php:66
1293
+ msgid "Edit Location"
1294
+ msgstr "Modifica Località"
1295
+
1296
+ #: my-calendar-locations.php:71
1297
+ msgid "Location Editor"
1298
+ msgstr "Editore di Località"
1299
+
1300
+ #: my-calendar-locations.php:120
1301
+ msgid "If you supply GPS coordinates for your location, they will be used in place of any other address information to pinpoint your location."
1302
+ msgstr "Se si forniscono le coordinate GPS per la posizione, essi saranno utilizzati al posto di qualsiasi informazione altro indirizzo per individuare la tua posizione."
1303
+
1304
+ #: my-calendar-locations.php:127
1305
+ msgid "Add Location"
1306
+ msgstr "Aggiungi Località"
1307
+
1308
+ #: my-calendar-locations.php:176
1309
+ msgid "There are no locations in the database yet!"
1310
+ msgstr "Non ci sono ancora Località nel database!"
1311
+
1312
+ #: my-calendar-locations.php:180
1313
+ msgid "Please note: editing or deleting locations stored for re-use will have no effect on any event previously scheduled at that location. The location database exists purely as a shorthand method to enter frequently used locations into event records."
1314
+ msgstr "Da notare: la modifica o l'eliminazione di località memorizzate per il riutilizzo, non avrà alcun effetto su qualunque evento precedentemente programmato in quella località. Il database località esiste solo come un metodo di stenografia per inserire i percorsi utilizzati di frequente nel record dell'evento."
1315
+
1316
+ #: my-calendar-output.php:103
1317
  msgid "Event Details"
1318
  msgstr "Dettagli evento"
1319
 
1320
+ #: my-calendar-output.php:111
1321
  msgid "Close"
1322
  msgstr "Chiuso"
1323
 
1324
+ #: my-calendar-output.php:120
1325
+ msgid "in your time zone"
1326
+ msgstr "nel proprio fuso orario"
1327
+
1328
+ #: my-calendar-output.php:125
1329
  msgid "Not Applicable"
1330
  msgstr "Non applicabile"
1331
 
1332
+ #: my-calendar-output.php:137
1333
  msgid "Posted by"
1334
  msgstr "Postato da"
1335
 
1336
+ #: my-calendar-output.php:187
1337
  msgid "This class is part of a series. You must register for the first event in this series to attend."
1338
  msgstr "Questa classe è parte di una serie. È necessario registrarsi per il primo evento di questa serie per partecipare."
1339
 
1340
+ #: my-calendar-output.php:219
1341
  msgid "Month"
1342
  msgstr "Mese"
1343
 
1344
+ #: my-calendar-output.php:220
1345
+ #: my-calendar-output.php:297
1346
  msgid "January"
1347
  msgstr "Gennaio"
1348
 
1349
+ #: my-calendar-output.php:221
1350
+ #: my-calendar-output.php:297
1351
  msgid "February"
1352
  msgstr "Febbraio"
1353
 
1354
+ #: my-calendar-output.php:222
1355
+ #: my-calendar-output.php:297
1356
  msgid "March"
1357
  msgstr "Marzo"
1358
 
1359
+ #: my-calendar-output.php:223
1360
+ #: my-calendar-output.php:297
1361
  msgid "April"
1362
  msgstr "Aprile"
1363
 
1364
+ #: my-calendar-output.php:224
1365
+ #: my-calendar-output.php:297
1366
  msgid "May"
1367
  msgstr "Maggio"
1368
 
1369
+ #: my-calendar-output.php:225
1370
+ #: my-calendar-output.php:297
1371
  msgid "June"
1372
  msgstr "Giugno"
1373
 
1374
+ #: my-calendar-output.php:226
1375
+ #: my-calendar-output.php:297
1376
  msgid "July"
1377
  msgstr "Luglio"
1378
 
1379
+ #: my-calendar-output.php:227
1380
+ #: my-calendar-output.php:297
1381
  msgid "August"
1382
  msgstr "Agosto"
1383
 
1384
+ #: my-calendar-output.php:228
1385
+ #: my-calendar-output.php:297
1386
  msgid "September"
1387
  msgstr "Settembre"
1388
 
1389
+ #: my-calendar-output.php:229
1390
+ #: my-calendar-output.php:297
1391
  msgid "October"
1392
  msgstr "Ottobre"
1393
 
1394
+ #: my-calendar-output.php:230
1395
+ #: my-calendar-output.php:297
1396
  msgid "November"
1397
  msgstr "Novembre"
1398
 
1399
+ #: my-calendar-output.php:231
1400
+ #: my-calendar-output.php:297
1401
  msgid "December"
1402
  msgstr "Dicembre"
1403
 
1404
+ #: my-calendar-output.php:233
1405
  msgid "Year"
1406
  msgstr "Anno"
1407
 
1408
+ #: my-calendar-output.php:255
1409
  msgid "Go"
1410
  msgstr "Vai"
1411
 
1412
+ #: my-calendar-output.php:271
1413
  msgid "<abbr title=\"Sunday\">Sun</abbr>"
1414
  msgstr "<abbr title=\"Domenica\">Dom</abbr>"
1415
 
1416
+ #: my-calendar-output.php:272
1417
  msgid "<abbr title=\"Monday\">Mon</abbr>"
1418
  msgstr "<abbr title=\"Lunedì\">Lun</abbr>"
1419
 
1420
+ #: my-calendar-output.php:273
1421
  msgid "<abbr title=\"Tuesday\">Tues</abbr>"
1422
  msgstr "<abbr title=\"Martedì\">Mar</abbr>"
1423
 
1424
+ #: my-calendar-output.php:274
1425
  msgid "<abbr title=\"Wednesday\">Wed</abbr>"
1426
  msgstr "<abbr title=\"Mercoledì\">Mer</abbr>"
1427
 
1428
+ #: my-calendar-output.php:275
1429
  msgid "<abbr title=\"Thursday\">Thur</abbr>"
1430
  msgstr "<abbr title=\"Giovedì\">Giov</abbr>"
1431
 
1432
+ #: my-calendar-output.php:276
1433
  msgid "<abbr title=\"Friday\">Fri</abbr>"
1434
  msgstr "<abbr title=\"Venerdì\">Ven</abbr>"
1435
 
1436
+ #: my-calendar-output.php:277
1437
  msgid "<abbr title=\"Saturday\">Sat</abbr>"
1438
  msgstr "<abbr title=\"Sabato\">Sab</abbr>"
1439
 
1440
+ #: my-calendar-output.php:282
1441
  msgid "<abbr title=\"Sunday\">S</abbr>"
1442
  msgstr "<abbr title=\"Domenica\">Dom</abbr>"
1443
 
1444
+ #: my-calendar-output.php:283
1445
  msgid "<abbr title=\"Monday\">M</abbr>"
1446
  msgstr "<abbr title=\"Lunedì\">Lun</abbr>"
1447
 
1448
+ #: my-calendar-output.php:284
1449
  msgid "<abbr title=\"Tuesday\">T</abbr>"
1450
  msgstr "<abbr title=\"Martedì\">Mar</abbr>"
1451
 
1452
+ #: my-calendar-output.php:285
1453
  msgid "<abbr title=\"Wednesday\">W</abbr>"
1454
  msgstr "<abbr title=\"Mercoledì\">Mer</abbr>"
1455
 
1456
+ #: my-calendar-output.php:286
1457
  msgid "<abbr title=\"Thursday\">T</abbr>"
1458
  msgstr "<abbr title=\"Giovedì\">Giov</abbr>"
1459
 
1460
+ #: my-calendar-output.php:287
1461
  msgid "<abbr title=\"Friday\">F</abbr>"
1462
  msgstr "<abbr title=\"Venerdì\">Ven</abbr>"
1463
 
1464
+ #: my-calendar-output.php:288
1465
  msgid "<abbr title=\"Saturday\">S</abbr>"
1466
  msgstr "<abbr title=\"Sabato\">Sab</abbr>"
1467
 
1468
+ #: my-calendar-output.php:396
1469
  msgid "and"
1470
  msgstr "e"
1471
 
1472
+ #: my-calendar-output.php:415
1473
+ #: my-calendar-output.php:420
1474
  msgid "Calendar"
1475
  msgstr "Calendario"
1476
 
1477
+ #: my-calendar-output.php:416
1478
+ msgid "The week's events"
1479
+ msgstr "Eventi della Settimana"
1480
+
1481
+ #: my-calendar-output.php:425
1482
  msgid "Events in"
1483
  msgstr "Eventi a"
1484
 
1485
+ #: my-calendar-output.php:427
1486
+ msgid "This week's events"
1487
+ msgstr "Eventi di questa Settimana"
1488
+
1489
+ #: my-calendar-output.php:594
1490
  msgid "There are no events scheduled during this period."
1491
  msgstr "Non ci sono eventi in programma durante questo periodo."
1492
 
1493
+ #: my-calendar-output.php:604
1494
  msgid "Category Key"
1495
  msgstr "Chiave Categoria"
1496
 
1497
+ #: my-calendar-output.php:637
1498
+ msgid "Subscribe by <abbr title=\"Really Simple Syndication\">RSS</abbr>"
1499
+ msgstr "Iscriviti via <abbr title=\"Really Simple Syndication\">RSS</abbr>"
1500
+
1501
+ #: my-calendar-output.php:638
1502
+ msgid "Download as <abbr title=\"iCal Events Export\">iCal</abbr>"
1503
+ msgstr "Scarica come <abbr title=\"iCal esportazione eventi\">iCal</abbr>"
1504
+
1505
+ #: my-calendar-output.php:789
1506
+ msgid "Show events in:"
1507
+ msgstr "Mostra gli eventi in:"
1508
+
1509
+ #: my-calendar-output.php:821
1510
+ msgid "Submit"
1511
+ msgstr "Invia"
1512
+
1513
+ #: my-calendar-styles.php:51
1514
+ msgid "The stylesheet has been updated."
1515
+ msgstr "Il foglio di stile è stato aggiornato."
1516
+
1517
+ #: my-calendar-styles.php:51
1518
+ msgid "Write Error! Please verify write permissions on the style file."
1519
+ msgstr "Errore di scrittura! Si prega di verificare i permessi di scrittura sul file di stile."
1520
+
1521
+ #: my-calendar-styles.php:67
1522
+ msgid "Stylesheet reset to default."
1523
+ msgstr "Foglio di stile ripristino delle impostazioni predefinite."
1524
+
1525
+ #: my-calendar-styles.php:69
1526
+ msgid "Style Settings Saved"
1527
+ msgstr "Impostazioni Stile salvate"
1528
+
1529
+ #: my-calendar-styles.php:78
1530
+ msgid "New theme selected."
1531
+ msgstr "Nuovo tema selezionato"
1532
+
1533
+ #: my-calendar-styles.php:92
1534
+ msgid "Sorry. The file you are looking for doesn't appear to exist. Please check your file name and location!"
1535
+ msgstr "Spiacente. Il file che stai cercando non sembra esistere. Si prega di controllare il nome e il percorso!"
1536
+
1537
+ #: my-calendar-styles.php:100
1538
+ msgid "My Calendar Styles"
1539
+ msgstr "Stile My Calendar"
1540
+
1541
+ #: my-calendar-styles.php:104
1542
+ msgid "Calendar Style Settings"
1543
+ msgstr "Impostazioni Stile Calendario"
1544
+
1545
+ #: my-calendar-styles.php:111
1546
+ msgid "Select My Calendar Theme"
1547
+ msgstr "Selezionare il Tema My Calendar"
1548
+
1549
+ #: my-calendar-styles.php:119
1550
+ msgid "Your Custom Stylesheets"
1551
+ msgstr "I fogli di stile personalizzati"
1552
+
1553
+ #: my-calendar-styles.php:128
1554
+ msgid "Installed Stylesheets"
1555
+ msgstr "Fogli di stile Installati"
1556
+
1557
+ #: my-calendar-styles.php:136
1558
+ msgid "Choose Style"
1559
+ msgstr "Scegli stile"
1560
+
1561
+ #: my-calendar-styles.php:149
1562
+ msgid "My Calendar was unable to update your CSS files during the upgrade. Please check your file permissions if you wish to edit your My Calendar styles. Your previously stored styles are below. This message and these styles will be deleted from the database when you successfully update your stylesheet."
1563
+ msgstr "My Calendar è in grado di aggiornare i file CSS durante l'aggiornamento. Si prega di verificare i permessi del file se si desidera modificare gli stili di My Calendar. I vostri stili precedentemente memorizzate sono sotto. Questo messaggio e questi stili saranno cancellati dal database con successo quando si aggiorna il foglio di stile."
1564
+
1565
+ #: my-calendar-styles.php:157
1566
+ msgid "CSS Style Options"
1567
+ msgstr "Opzioni Style CSS"
1568
+
1569
+ #: my-calendar-styles.php:160
1570
+ msgid "Apply CSS only on these pages (comma separated page IDs)"
1571
+ msgstr "Applica CSS solo su queste pagine (ID pagina separati da virgola)"
1572
+
1573
+ #: my-calendar-styles.php:163
1574
+ msgid "Reset the My Calendar stylesheet to the default"
1575
+ msgstr "Resettare lo stile di My Calendar a default"
1576
+
1577
+ #: my-calendar-styles.php:163
1578
+ msgid "Disable My Calendar Stylesheet"
1579
+ msgstr "Disattivare foglio di stile del mio Calendario"
1580
+
1581
+ #: my-calendar-styles.php:166
1582
+ msgid "Edit the stylesheet for My Calendar"
1583
+ msgstr "Modificare il foglio di stile per il mio calendario"
1584
+
1585
+ #: my-calendar-help.php:7
1586
+ msgid "How to use My Calendar"
1587
+ msgstr "Come utilizzare il mio calendario"
1588
+
1589
+ #: my-calendar-help.php:12
1590
+ msgid "Shortcode Syntax"
1591
+ msgstr "Sintassi Shortcode"
1592
+
1593
+ #: my-calendar-help.php:15
1594
+ msgid "These shortcodes can be used in Posts, Pages, or in text widgets."
1595
+ msgstr "Questi codici brevi possono essere usati nei post, pagine o nei widget di testo."
1596
+
1597
+ #: my-calendar-help.php:19
1598
+ msgid "This basic shortcode will show the calendar on a post or page including all categories and the category key, in a traditional month-by-month format."
1599
+ msgstr "Questo shortcode di base mostrerà il calendario su un post o pagina, incluse tutte le categorie e la chiave di categoria, in un formato tradizionale mese per mese."
1600
+
1601
+ #: my-calendar-help.php:23
1602
+ msgid "The shortcode supports five attributes, <code>category</code>, <code>format</code>, <code>showkey</code>, <code>shownav</code> and <code>time</code>. There two alternate options for <code>format</code>: <code>list</code>, which will show the calendar in a list format, skipping dates without any events, and <code>mini</code>, which will display the calendar in a form more suitable to being displayed in smaller spaces, such as the sidebar. The <code>category</code> attribute requires either the name of or ID number one of your event categories (the name is case-sensitive). This will show a calendar only including events in that category. Multiple categories can be specified by separating the category names or IDs using the pipe character: <code>|</code>. Setting <code>showkey</code> to <code>no</code> will prevent the category key from being displayed &mdash; this can be useful with single-category output. Setting <code>shownav</code> to <code>no</code> will disable the Previous/Next links. The <code>time</code> shortcode switches between a weekly view and the default monthly view."
1603
+ msgstr "Il codice breve supporta cinque attributi, <code>categoria</code>, <code>formato</code>, <code>showkey</code>, <code>shownav</code> e <code>time</code>. Ci sono due opzioni alternative per il <code>formato</code>: <code>lista</code>, che mostrerà il calendario in formato elenco, saltando le date senza gli eventi, e <code>mini</code>, che visualizzerà il calendario in una forma più adatta ad essere visualizzata anche in piccoli spazi, come la barra laterale. Gli attributi richiesti per la <code>categoria</code> sono il nome o il numero ID della tua categoria di eventi (il nome è case-sensitive). Questo mostrerà un calendario che include i soli eventi in quella categoria. Categorie multiple possono essere specificate separando i nomi o gli ID di categoria usando il carattere pipe: <code>|</code>. impostazione <code>showkey</code> per <code>no</code> impedirà che la chiave categoria venga visualizzata &mdash; questo può essere utile con uscita singola categoria. impostazione <code>shownav</code> per <code>no</code> consente di disattivare il precedente/prossimo link."
1604
+
1605
+ #: my-calendar-help.php:27
1606
+ msgid "This shortcode displays the output of the Upcoming Events widget. Without attributes, it will display using the settings in your widget; the attributes are used to override the widget settings. The <code>before</code> and <code>after</code> attributes should be numbers; the <code>type</code> attribute can be either \"event\" or \"days\", and the <code>category</code> attribute works the same way as the category attribute on the main calendar shortcode. Templates work using the template codes listed below."
1607
+ msgstr "Questo shortcode visualizza l'output del widget Prossimi Eventi. Senza attributi, verrà visualizzato utilizzando le impostazioni nel vostro widget, gli attributi sono usati per modificare le impostazioni di widget. <code>prima</code> e <code>dopo</code> attributi deveno essere numeri, il <code>tipo</code> attributo può essere \"evento\" o \"giorni\", e la <code>categoria</code> attributo funziona allo stesso modo come l'attributo di categoria sulla shortcode calendario principale. Templates di lavoro utilizzando i codici di template elencati di seguito."
1608
+
1609
+ #: my-calendar-help.php:30
1610
+ msgid "Predictably enough, this shortcode displays the output of the Today's Events widget, with two configurable attributes: category and template."
1611
+ msgstr "Com'era prevedibile il fatto che questo shortcode visualizza l'uscita del widget Eventi di oggi, con due attributi configurabili: categoria e template"
1612
+
1613
+ #: my-calendar-help.php:33
1614
+ msgid "This shortcode produces a list of event locations, either as a list of links or as a select dropdown form. The <code>show</code> attribute can either be <code>list</code> or <code>form</code>, <code>type</code> is either <code>saved</code> (to show items from your stored locations), or <code>custom</code> (to show the options configured in your user settings). <code>datatype</code> must be the type of data your limits are choosing from: <code>name</code> (business name), <code>city</code>, <code>state</code>, <code>country</code>, or <code>zip</code> (postal code)."
1615
+ msgstr "Questo codice breve produce una lista di luoghi per eventi, sia come una lista di link o come un form a discesa selezionabile. L'attributo <code>aspetto</code> può essere <code>lista</code> o <code>form</code>, <code>tipo</code> o <code>salvato</code> (per mostrare elementi dalle tue località memorizzate), o <code>custom</code> (per visualizzare le opzioni configurate nei tuoi impostazioni utente). <code>datatype</code> deve essere il tipo di dati dal quale con i tuoi limiti puoi scegliere: <code>nome</code> (ragione sociale), <code>città</code>, <code>stato</code> , <code>paese</code>, o <code>zip</code> (codice di avviamento postale)."
1616
+
1617
+ #: my-calendar-help.php:39
1618
+ msgid "Category Icons"
1619
+ msgstr "Icone categoria"
1620
+
1621
+ #: my-calendar-help.php:42
1622
+ msgid "My Calendar is designed to manage multiple calendars. The basis for these calendars are categories; you can easily setup a calendar page which includes all categories, or you can dedicate separate pages to calendars in each category. For an example, this might be useful for you in managing the tour calendars for multiple bands; event calendars for a variety of locations, etc."
1623
+ msgstr "My Calendar è progettato per gestire più calendari. La base di questi calendari sono le categorie, è possibile impostare facilmente una pagina di calendario che comprende tutte le categorie, oppure si può dedicare pagine separate per i calendari di ogni categoria. Per un esempio, questo potrebbe essere utile per l'utente a gestire i calendari tour per le fasce multiple, calendari di eventi per una varietà di località, ecc."
1624
+
1625
+ #: my-calendar-help.php:45
1626
+ msgid "The pre-installed category icons may not be especially useful for your needs or design. I'm assuming that you're going to upload your own icons -- all you need to do is upload them to the plugin's icons folder, and they'll be available for immediate use, or place them in a folder at \"my-calendar-custom\" to avoid having them overwritten by upgrades."
1627
+ msgstr "Le icone di categoria pre-installate possono non essere particolarmente utile per le tue esigenze o il design. Sto assumendo che stai andando a caricare le proprie icone - tutto quello che devi fare è caricarle nella cartella del plugin icone, e saranno disponibili per l'uso immediato, o metterli in una cartella a \"my-calendar-custom\" per evitare che vengano sovrascritti dagli aggiornamenti."
1628
+
1629
+ #: my-calendar-help.php:45
1630
+ msgid "Your icons folder is:"
1631
+ msgstr "La cartella delle icone è:"
1632
+
1633
+ #: my-calendar-help.php:45
1634
+ msgid "You can alternately place icons in:"
1635
+ msgstr "È possibile alternativamente mettere le icone in:"
1636
+
1637
+ #: my-calendar-help.php:53
1638
+ msgid "Custom Styles"
1639
+ msgstr "Stili personalizzati"
1640
+
1641
+ #: my-calendar-help.php:56
1642
+ msgid "My Calendar comes with four basic stylesheets. My Calendar will retain changes to these basic stylesheets on upgrade, but if you want to add an entirely new stylesheet, you may wish to store it in the My Calendar custom styles directory."
1643
+ msgstr "My Calendar è dotato di quattro fogli di stile di base. My Calendar manterrà le modifiche a questi fogli di stile di base con l'aggiornamento, ma se si desidera aggiungere un foglio di stile del tutto nuovo, si potrebbe desiderare di memorizzarlo nella cartella stili di My Calendar."
1644
+
1645
+ #: my-calendar-help.php:58
1646
+ msgid "Your stylesheet directory is"
1647
+ msgstr "La tua cartella del foglio di stile è"
1648
+
1649
+ #: my-calendar-help.php:58
1650
+ msgid "Your custom stylesheets directory is"
1651
+ msgstr "La tua cartella personalizzata fogli di stile è"
1652
+
1653
+ #: my-calendar-help.php:66
1654
+ msgid "Widget Templating"
1655
+ msgstr ""
1656
+
1657
+ #: my-calendar-help.php:69
1658
+ msgid "These codes are available in calendar widgets, email notifications, and event titles."
1659
+ msgstr "Questi codici sono disponibili nei widget calendario, notifiche e-mail, e titoli di eventi."
1660
+
1661
+ #: my-calendar-help.php:73
1662
+ msgid "Displays the name of the category the event is in."
1663
+ msgstr "Visualizza il nome della categoria dell'evento."
1664
+
1665
+ #: my-calendar-help.php:76
1666
+ msgid "Displays the title of the event."
1667
+ msgstr "Visualizza il titolo dell'evento."
1668
+
1669
+ #: my-calendar-help.php:79
1670
+ msgid "Displays the start time for the event."
1671
+ msgstr "Visualizzare l'ora di inizio dell'evento."
1672
+
1673
+ #: my-calendar-help.php:82
1674
+ msgid "Displays the start time for the event adjusted to the current user's time zone settings. Blank output if user settings are disabled or the user has not selected a preferred time zone."
1675
+ msgstr "Mostra l'ora di inizio secondo le impostazioni del fuso orario del corrente utente. Bianco se le impostazioni utente sono disabilitati o l'utente non ha selezionato un fuso orario preferito."
1676
+
1677
+ #: my-calendar-help.php:85
1678
+ msgid "Displays the date on which the event begins."
1679
+ msgstr "Visualizza la data in cui l'evento ha inizio."
1680
+
1681
+ #: my-calendar-help.php:88
1682
+ msgid "Displays the date on which the event ends."
1683
+ msgstr "Visualizza la data in cui l'evento finisce."
1684
+
1685
+ #: my-calendar-help.php:91
1686
+ msgid "Displays the time at which the event ends."
1687
+ msgstr "Visualizza l'ora in cui l'evento finisce."
1688
+
1689
+ #: my-calendar-help.php:94
1690
+ msgid "Displays the WordPress author who posted the event."
1691
+ msgstr "Visualizza l'autore WordPress che ha pubblicato l'event"
1692
+
1693
+ #: my-calendar-help.php:97
1694
+ msgid "Displays the name of the person assigned as host for the event."
1695
+ msgstr "Visualizza il nome della persona assegnata all'evento."
1696
+
1697
+ #: my-calendar-help.php:100
1698
+ msgid "Displays the URL provided for the event."
1699
+ msgstr "Visualizzare l'URL fornito per l'evento."
1700
+
1701
+ #: my-calendar-help.php:103
1702
+ msgid "Displays the description of the event."
1703
+ msgstr "visualizzare la descrizione dell'evento."
1704
+
1705
+ #: my-calendar-help.php:106
1706
+ msgid "Displays title of the event as a link if a URL is present, or the title alone if no URL is available."
1707
+ msgstr "Visualizza il titolo dell'evento come un link se un URL è presente, o il titolo solo se nessun URL è disponibile."
1708
+
1709
+ #: my-calendar-help.php:109
1710
+ msgid "Displays the name of the location of the event."
1711
+ msgstr "Visualizza il nome della località dell'evento."
1712
+
1713
+ #: my-calendar-help.php:112
1714
+ msgid "Displays the first line of the site address."
1715
+ msgstr "Visualizza la prima riga dell'indirizzo del sito."
1716
+
1717
+ #: my-calendar-help.php:115
1718
+ msgid "Displays the second line of the site address."
1719
+ msgstr "Visualizza la seconda riga dell'indirizzo del sito."
1720
+
1721
+ #: my-calendar-help.php:118
1722
+ msgid "Displays the city for the event."
1723
+ msgstr "Visualizza la città per l'evento."
1724
+
1725
+ #: my-calendar-help.php:121
1726
+ msgid "Displays the state for the event."
1727
+ msgstr "Visualizza lo stato per l'evento."
1728
+
1729
+ #: my-calendar-help.php:124
1730
+ msgid "Displays the postcode for the event."
1731
+ msgstr "Visualizza il cap per l'evento."
1732
+
1733
+ #: my-calendar-help.php:127
1734
+ msgid "Displays the country for the event location."
1735
+ msgstr "Visualizza il paese per la località dell'evento."
1736
+
1737
+ #: my-calendar-help.php:130
1738
+ msgid "Displays the event address in <a href=\"http://microformats.org/wiki/hcard\">hcard</a> format."
1739
+ msgstr "Visualizza l'indirizzo dell'evento in <a href=\"http://microformats.org/wiki/hcard\">hcard</a> formato."
1740
+
1741
+ #: my-calendar-help.php:133
1742
+ msgid "Displays a link to a Google Map of the event, if sufficient address information is available. If not, will be empty."
1743
+ msgstr "Visualizza un collegamento a una mappa di Google dell'evento, se le informazioni sull'indirizzo disponibile sono sufficiente. In caso contrario, sarà vuoto."
1744
+
1745
+ #: my-calendar-help.php:136
1746
+ msgid "Displays text indicating whether registration for the event is currently open or closed; displays nothing if that choice is selected in the event."
1747
+ msgstr "Visualizza testo che indica se la registrazione per l'evento è aperto o chiuso; nulla viene visualizzato se tale scelta è stata selezionata nel evento."
1748
+
1749
+ #: my-calendar-help.php:139
1750
+ msgid "Displays the short version of the event description."
1751
+ msgstr "Visualizza la versione breve della descrizione dell'evento."
1752
+
1753
+ #: my-calendar-help.php:142
1754
+ msgid "Displays the current status of the event: either \"Published\" or \"Reserved\" - primary used in email templates."
1755
+ msgstr "Visualizza lo stato corrente del evento: o \"Pubblico\" o \"Riservato\" - primaria utilizzata in modelli di posta elettronica."
1756
+
1757
+ #: my-calendar-help.php:145
1758
+ msgid "Produces the address of the current event's category icon."
1759
+ msgstr "Produce l'indirizzo dell'icona della categoria dell'evento corrente."
1760
+
1761
+ #: my-calendar-help.php:148
1762
+ msgid "Produces the hex code for the current event's category color."
1763
+ msgstr "Produce il codice esadecimale (hex) per il colore categoria dell'evento corrente."
1764
+
1765
+ #: my-calendar-widgets.php:5
1766
+ msgid "My Calendar: Today's Events"
1767
+ msgstr "My Calendar: Eventi di oggi"
1768
+
1769
+ #: my-calendar-widgets.php:14
1770
+ #: my-calendar-widgets.php:76
1771
+ msgid "Today's Events"
1772
+ msgstr "Eventi di oggi"
1773
+
1774
+ #: my-calendar-widgets.php:36
1775
+ #: my-calendar-widgets.php:102
1776
+ msgid "Template"
1777
+ msgstr "Template"
1778
+
1779
+ #: my-calendar-widgets.php:40
1780
+ msgid "Show this text if there are no events today:"
1781
+ msgstr "Mostra questo testo, se non ci sono eventi di oggi:"
1782
+
1783
+ #: my-calendar-widgets.php:44
1784
+ #: my-calendar-widgets.php:124
1785
+ msgid "Category or categories to display:"
1786
+ msgstr "Categoria o le categorie da visualizzare:"
1787
+
1788
+ #: my-calendar-widgets.php:64
1789
+ msgid "My Calendar: Upcoming Events"
1790
+ msgstr "My Calendar: Prossimi Eventi"
1791
+
1792
+ #: my-calendar-widgets.php:106
1793
+ msgid "Widget Options"
1794
+ msgstr "Opzione Widget"
1795
+
1796
+ #: my-calendar-widgets.php:109
1797
+ msgid "Display upcoming events by:"
1798
+ msgstr "Visualizzare prossimi eventi per:"
1799
+
1800
+ #: my-calendar-widgets.php:110
1801
+ msgid "Events (e.g. 2 past, 3 future)"
1802
+ msgstr "Eventi (ad esempio 2 passate, 3 futuro)"
1803
+
1804
+ #: my-calendar-widgets.php:111
1805
+ msgid "Dates (e.g. 4 days past, 5 forward)"
1806
+ msgstr "Date (ad esempio, 4 giorni passati, 5 in avanti)"
1807
+
1808
+ #: my-calendar-widgets.php:115
1809
+ msgid "events into the future;"
1810
+ msgstr "eventi nel futuro;"
1811
+
1812
+ #: my-calendar-widgets.php:116
1813
+ msgid "events from the past"
1814
+ msgstr "eventi del passato"
1815
+
1816
+ #: my-calendar-widgets.php:120
1817
+ msgid "Show this text if there are no events meeting your criteria:"
1818
+ msgstr "Mostra questo testo, se non ci sono eventi che soddisfano i tuoi criteri:"
1819
+
1820
+ #: my-calendar-widgets.php:282
1821
+ msgid "There are no events currently scheduled."
1822
+ msgstr "Non ci sono eventi attualmente in programma."
1823
+
1824
  #. Plugin URI of the plugin/theme
1825
  msgid "http://www.joedolson.com/articles/my-calendar/"
1826
  msgstr "http://www.joedolson.com/articles/my-calendar/"
1837
  msgid "http://www.joedolson.com"
1838
  msgstr "http://www.joedolson.com"
1839
 
1840
+ #~ msgid "End Date (YYYY-MM-DD) (Optional)"
1841
+ #~ msgstr "Data di fine (YYYY-MM-DD) (Opzionale)"
1842
+ #~ msgid ""
1843
+ #~ "Optional, set blank if your event is an all-day event or does not happen "
1844
+ #~ "at a specific time."
1845
+ #~ msgstr ""
1846
+ #~ "Opzionale, lascia vuoto se l'evento è per tutto il giorno o non accade in "
1847
+ #~ "un momento specifico."
1848
+ #~ msgid ""
1849
+ #~ "Optional. End times will not be displayed on events where this is not set."
1850
+ #~ msgstr ""
1851
+ #~ "Opzionale. l'ora di fine non verra visualizzata sugli eventi in cui "
1852
+ #~ "questa non è impostata."
1853
+ #~ msgid ""
1854
+ #~ "Entering 0 means forever, if a unit is selected. If the recurrence unit "
1855
+ #~ "is left at \"Does not recur,\" the event will not reoccur."
1856
+ #~ msgstr ""
1857
+ #~ "Mettere 0 significa per sempre, se una unità è selezionata. Se l'unità di "
1858
+ #~ "ricorrenza è lasciata a \"non si ripeta,\" l'evento non si ripresenterà."
1859
+ #~ msgid "Link"
1860
+ #~ msgstr "Link"
1861
+ #~ msgid ""
1862
+ #~ "The URL entered must either be prefixed with http:// or be completely "
1863
+ #~ "blank"
1864
+ #~ msgstr ""
1865
+ #~ "L'URL immesso deve essere preceduto da http:// o essere completamente "
1866
+ #~ "vuoto"
1867
+ #~ msgid "days into the future;"
1868
+ #~ msgstr "giorni nel futuro;"
1869
+ #~ msgid "days from the past"
1870
+ #~ msgstr "giorni dal passato"
1871
+ #~ msgid "Show only this category:"
1872
+ #~ msgstr "Mostra solo questa categoria:"
1873
  #~ msgid ""
1874
  #~ "An event with the details you submitted could not be found in the "
1875
  #~ "database. This may indicate a problem with your database or the way in "
my-calendar-locations.php CHANGED
@@ -15,6 +15,11 @@ echo my_calendar_check_db();
15
  ?>
16
  <?php
17
  // We do some checking to see what we're doing
 
 
 
 
 
18
  if (isset($_POST['mode']) && $_POST['mode'] == 'add') {
19
  $sql = "INSERT INTO " . MY_CALENDAR_LOCATIONS_TABLE . " SET location_label='".mysql_real_escape_string($_POST['location_label'])."', location_street='".mysql_real_escape_string($_POST['location_street'])."', location_street2='".mysql_real_escape_string($_POST['location_street2'])."', location_city='".mysql_real_escape_string($_POST['location_city'])."', location_state='".mysql_real_escape_string($_POST['location_state'])."', location_postcode='".mysql_real_escape_string($_POST['location_postcode'])."', location_country='".mysql_real_escape_string($_POST['location_country'])."', location_longitude='".mysql_real_escape_string($_POST['location_longitude'])."', location_latitude='".mysql_real_escape_string($_POST['location_latitude'])."', location_zoom='".mysql_real_escape_string($_POST['location_zoom'])."'";
20
  $results = $wpdb->query($sql);
@@ -66,6 +71,7 @@ function mc_show_location_form($view='add',$cur_loc='') {
66
  <h3><?php _e('Location Editor','my-calendar'); ?></h3>
67
  <div class="inside">
68
  <form name="my-calendar" id="my-calendar" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-locations">
 
69
  <?php if ( $view == 'add' ) { ?>
70
  <div>
71
  <input type="hidden" name="mode" value="add" />
@@ -118,7 +124,7 @@ function mc_show_location_form($view='add',$cur_loc='') {
118
  </p>
119
  </fieldset>
120
  <p>
121
- <input type="submit" name="save" class="button-primary" value="<?php if ($view == 'edit') { _e('Save Changes','my-calendar'); } else { _e('Add Location'); } ?> &raquo;" />
122
  </p>
123
  </fieldset>
124
  </form>
15
  ?>
16
  <?php
17
  // We do some checking to see what we're doing
18
+ if (!empty($_POST)) {
19
+ $nonce=$_REQUEST['_wpnonce'];
20
+ if (! wp_verify_nonce($nonce,'my-calendar-nonce') ) die("Security check failed");
21
+ }
22
+
23
  if (isset($_POST['mode']) && $_POST['mode'] == 'add') {
24
  $sql = "INSERT INTO " . MY_CALENDAR_LOCATIONS_TABLE . " SET location_label='".mysql_real_escape_string($_POST['location_label'])."', location_street='".mysql_real_escape_string($_POST['location_street'])."', location_street2='".mysql_real_escape_string($_POST['location_street2'])."', location_city='".mysql_real_escape_string($_POST['location_city'])."', location_state='".mysql_real_escape_string($_POST['location_state'])."', location_postcode='".mysql_real_escape_string($_POST['location_postcode'])."', location_country='".mysql_real_escape_string($_POST['location_country'])."', location_longitude='".mysql_real_escape_string($_POST['location_longitude'])."', location_latitude='".mysql_real_escape_string($_POST['location_latitude'])."', location_zoom='".mysql_real_escape_string($_POST['location_zoom'])."'";
25
  $results = $wpdb->query($sql);
71
  <h3><?php _e('Location Editor','my-calendar'); ?></h3>
72
  <div class="inside">
73
  <form name="my-calendar" id="my-calendar" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-locations">
74
+ <div><input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce('my-calendar-nonce'); ?>" /></div>
75
  <?php if ( $view == 'add' ) { ?>
76
  <div>
77
  <input type="hidden" name="mode" value="add" />
124
  </p>
125
  </fieldset>
126
  <p>
127
+ <input type="submit" name="save" class="button-primary" value="<?php if ($view == 'edit') { _e('Save Changes','my-calendar'); } else { _e('Add Location','my-calendar'); } ?> &raquo;" />
128
  </p>
129
  </fieldset>
130
  </form>
my-calendar-output.php CHANGED
@@ -4,13 +4,26 @@ function my_calendar_draw_events($events, $type, $process_date) {
4
  // We need to sort arrays of objects by time
5
  usort($events, "my_calendar_time_cmp");
6
  if ($type == "mini" && count($events) > 0) { $output .= "<div class='calendar-events'>"; }
7
- foreach($events as $event) { $output .= my_calendar_draw_event($event, $type, $process_date); }
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  if ($type == "mini" && count($events) > 0) { $output .= "</div>"; }
9
  return $output;
10
  }
11
  // Used to draw an event to the screen
12
  function my_calendar_draw_event($event, $type="calendar", $process_date) {
13
- global $wpdb;
14
  // My Calendar must be updated to run this function
15
  check_my_calendar();
16
  $display_author = get_option('display_author');
@@ -24,8 +37,12 @@ function my_calendar_draw_event($event, $type="calendar", $process_date) {
24
  $image = "";
25
  } else {
26
  if ($event->category_icon != "") {
27
- $path = ( file_exists( WP_PLUGIN_DIR . '/my-calendar-custom/' ) )?'/my-calendar-custom' : '/my-calendar/icons';
28
- $image = '<img src="'.WP_PLUGIN_URL.$path.'/'.$event->category_icon.'" alt="" class="category-icon" style="background:'.$event->category_color.';" />';
 
 
 
 
29
  } else {
30
  $image = "";
31
  }
@@ -33,13 +50,13 @@ function my_calendar_draw_event($event, $type="calendar", $process_date) {
33
  $location_string = $event->event_street.$event->event_street2.$event->event_city.$event->event_state.$event->event_postcode.$event->event_country;
34
  // put together address information as vcard
35
  if (($display_address == 'true' || $display_map == 'true') && strlen($location_string) > 0 ) {
36
- $map_string = $event->event_street.' '.$event->event_street2.' '.$event->event_city.' '.$event->event_state.' '.$event->event_postcode.' '.$event->event_country;
37
  $address .= '<div class="address vcard">';
38
  if ($display_address == 'true') {
39
  $address .= "<div class=\"adr\">";
40
  if ($event->event_label != "") {
41
  $address .= "<strong class=\"org\">".stripslashes($event->event_label)."</strong><br />";
42
- }
43
  if ($event->event_street != "") {
44
  $address .= "<div class=\"street-address\">".stripslashes($event->event_street)."</div>";
45
  }
@@ -48,7 +65,7 @@ function my_calendar_draw_event($event, $type="calendar", $process_date) {
48
  }
49
  if ($event->event_city != "") {
50
  $address .= "<span class=\"locality\">".stripslashes($event->event_city).",</span>";
51
- }
52
  if ($event->event_state != "") {
53
  $address .= " <span class=\"region\">".stripslashes($event->event_state)."</span> ";
54
  }
@@ -57,8 +74,8 @@ function my_calendar_draw_event($event, $type="calendar", $process_date) {
57
  }
58
  if ($event->event_country != "") {
59
  $address .= "<div class=\"country-name\">".stripslashes($event->event_country)."</div>";
60
- }
61
- $address .= "</div>";
62
  }
63
  if ($display_map == 'true' && (strlen($location_string) > 0 || ( $event->event_longitude != '0.000000' && $event->event_latitude != '0.000000' ) ) ) {
64
  $map_string = str_replace(" ","+",$map_string);
@@ -69,46 +86,39 @@ function my_calendar_draw_event($event, $type="calendar", $process_date) {
69
  }
70
  $zoom = ($event->event_zoom != 0)?$event->event_zoom:'15';
71
  $map_string_label = urlencode($map_label);
72
-
73
  if ($event->event_longitude != '0.000000' && $event->event_latitude != '0.000000') {
74
  $map_string = "$event->event_latitude,$event->event_longitude+($map_string_label)";
75
  }
76
-
77
  $map = "<a href=\"http://maps.google.com/maps?f=q&amp;z=$zoom&amp;q=$map_string\">Map<span> to $map_label</span></a>";
78
  $address .= "<div class=\"url map\">$map</div>";
79
  }
80
  $address .= "</div>";
81
  }
82
-
83
- $header_details .= "\n<div class='$type-event'>\n";
84
  $array = event_as_array($event);
85
  $templates = get_option('my_calendar_templates');
86
  $title_template = ($templates['title'] == '' )?'{title}':$templates['title'];
87
  $mytitle = jd_draw_template($array,$title_template);
88
- //$mytitle = stripslashes($event->event_title); // turn this into a template
89
  if ($type == 'calendar') {
90
- $toggle = " <a href='#' class='mc-toggle mc-expand'><img src='".MY_CALENDAR_DIRECTORY."/images/event-details.png' alt='".__('Event Details','my-calendar')."' /></a>";
91
  } else {
92
  $toggle = "";
93
  }
94
  if ($type != 'list') {
95
- $header_details .= "<h3 class='event-title $category'>$image".$mytitle."$toggle</h3>\n";
96
  }
97
-
98
  $header_details .= "<div class='details'>";
99
  if ( $type == "calendar" ) { $header_details .= "<h3 class='close'><a href='#' class='mc-toggle mc-close'><img src='".MY_CALENDAR_DIRECTORY."/images/event-close.png' alt='".__('Close','my-calendar')."' /></a></h3>"; }
100
  if ( $event->event_time != "00:00:00" && $event->event_time != '' ) {
101
- $header_details .= "<span class='event-time'>".date_i18n(get_option('time_format'), strtotime($event->event_time));
102
  if ($event->event_endtime != "00:00:00" && $event->event_endtime != '' ) {
103
- $header_details .= "<span class='time-separator'>&thinsp;&ndash;&thinsp;</span><span class='end-time'>".date_i18n(get_option('time_format'), strtotime($event->event_endtime))."</span>";
104
  }
105
  $header_details .= "</span>\n";
106
-
107
  if ($tz != '') {
108
  $local_begin = date_i18n( get_option('time_format'), strtotime($event->event_time ."+$tz hours") );
109
  $header_details .= "<span class='local-time'>$local_begin ". __('in your time zone','my-calendar')."</span>";
110
  }
111
-
112
  } else {
113
  $header_details .= "<span class='event-time'>";
114
  if ( get_option('my_calendar_notime_text') == '' || get_option('my_calendar_notime_text') == "N/A" ) {
@@ -120,11 +130,11 @@ function my_calendar_draw_event($event, $type="calendar", $process_date) {
120
  }
121
  $header_details .= "<div class='sub-details'>";
122
  if ($type == "list") {
123
- $header_details .= "<h3 class='event-title'>$image".$mytitle."</h3>\n";
124
  }
125
  if ($display_author == 'true') {
126
  $e = get_userdata($event->event_author);
127
- $header_details .= '<span class="event-author">'.__('Posted by', 'my-calendar').': <span class="author-name">'.$e->display_name."</span></span><br />\n ";
128
  }
129
  if (($display_address == 'true' || $display_map == 'true') && strlen($location_string) > 0 ) {
130
  $header_details .= $address;
@@ -139,7 +149,15 @@ function my_calendar_draw_event($event, $type="calendar", $process_date) {
139
  $event_link = $event->event_link;
140
  }
141
  }
142
-
 
 
 
 
 
 
 
 
143
  if ( get_option('mc_short') == 'true' ) {
144
  $short = "<div class='shortdesc'>".wpautop(stripcslashes($event->event_short),1)."</div>";
145
  }
@@ -148,17 +166,13 @@ function my_calendar_draw_event($event, $type="calendar", $process_date) {
148
  }
149
  if ( get_option('mc_event_registration') == 'true' ) {
150
  switch ($event->event_open) {
151
- case '0':
152
- $status = get_option('mc_event_closed');
153
  break;
154
- case '1':
155
- $status = get_option('mc_event_open');
156
  break;
157
- case '2':
158
- $status = '';
159
  break;
160
- default:
161
- $status = '';
162
  }
163
  }
164
  // if the event is a member of a group of events, but not the first, note that.
@@ -174,7 +188,6 @@ function my_calendar_draw_event($event, $type="calendar", $process_date) {
174
  }
175
  }
176
  }
177
-
178
  if ($event_link != '') {
179
  $details = "\n". $header_details . '' . $description . $short . '<p>'.$status.'</p><p><a href="'.$event_link.'" class="event-link">' . stripslashes($event->event_title) . '&raquo; </a></p>'."</div></div></div>\n";
180
  } else {
@@ -182,7 +195,7 @@ function my_calendar_draw_event($event, $type="calendar", $process_date) {
182
  }
183
 
184
  if ( get_option( 'mc_event_approve' ) == 'true' ) {
185
- if ( $event->event_approved == 1 ) {
186
  return $details;
187
  }
188
  } else {
@@ -197,43 +210,40 @@ function mc_build_date_switcher() {
197
  $qsa = array();
198
  parse_str($_SERVER['QUERY_STRING'],$qsa);
199
  foreach ($qsa as $name => $argument) {
200
- if ($name != 'month' && $name != 'yr') {
201
  $my_calendar_body .= '<input type="hidden" name="'.$name.'" value="'.$argument.'" />';
202
  }
203
  }
204
  // We build the months in the switcher
205
  $my_calendar_body .= '
206
- <label for="my-calendar-month">'.__('Month','my-calendar').':</label> <select id="my-calendar-month" name="month">
207
- <option value="1"'.mc_month_comparison('1').'>'.__('January','my-calendar').'</option>
208
- <option value="2"'.mc_month_comparison('2').'>'.__('February','my-calendar').'</option>
209
- <option value="3"'.mc_month_comparison('3').'>'.__('March','my-calendar').'</option>
210
- <option value="4"'.mc_month_comparison('4').'>'.__('April','my-calendar').'</option>
211
- <option value="5"'.mc_month_comparison('5').'>'.__('May','my-calendar').'</option>
212
- <option value="6"'.mc_month_comparison('6').'>'.__('June','my-calendar').'</option>
213
- <option value="7"'.mc_month_comparison('7').'>'.__('July','my-calendar').'</option>
214
- <option value="8"'.mc_month_comparison('8').'>'.__('August','my-calendar').'</option>
215
- <option value="9"'.mc_month_comparison('9').'>'.__('September','my-calendar').'</option>
216
- <option value="10"'.mc_month_comparison('10').'>'.__('October','my-calendar').'</option>
217
- <option value="11"'.mc_month_comparison('11').'>'.__('November','my-calendar').'</option>
218
- <option value="12"'.mc_month_comparison('12').'>'.__('December','my-calendar').'</option>
219
- </select>
220
- <label for="my-calendar-year">'.__('Year','my-calendar').':</label> <select id="my-calendar-year" name="yr">
221
- ';
222
- // The year builder is string mania. If you can make sense of this, you know your PHP!
223
  $past = 5;
224
  $future = 5;
225
  $fut = 1;
226
  $offset = (60*60*get_option('gmt_offset'));
227
-
228
  while ($past > 0) {
229
- $p .= ' <option value="';
230
  $p .= date("Y",time()+($offset))-$past;
231
  $p .= '"'.mc_year_comparison(date("Y",time()+($offset))-$past).'>';
232
  $p .= date("Y",time()+($offset))-$past."</option>\n";
233
  $past = $past - 1;
234
  }
235
  while ($fut < $future) {
236
- $f .= ' <option value="';
237
  $f .= date("Y",time()+($offset))+$fut;
238
  $f .= '"'.mc_year_comparison(date("Y",time()+($offset))+$fut).'>';
239
  $f .= date("Y",time()+($offset))+$fut."</option>\n";
@@ -248,16 +258,14 @@ function mc_build_date_switcher() {
248
  }
249
 
250
  // Actually do the printing of the calendar
251
- // Compared to searching for and displaying events
252
- // this bit is really rather easy!
253
- function my_calendar($name,$format,$category,$showkey,$shownav,$month='',$yr='') {
254
- global $wpdb;
255
  if ($category == "") {
256
  $category=null;
257
  }
258
  // First things first, make sure calendar is up to date
259
  check_my_calendar();
260
-
261
  // Deal with the week not starting on a monday
262
  $name_days = array(
263
  __('<abbr title="Sunday">Sun</abbr>','my-calendar'),
@@ -280,8 +288,8 @@ function my_calendar($name,$format,$category,$showkey,$shownav,$month='',$yr='')
280
  __('<abbr title="Saturday">S</abbr>','my-calendar')
281
  );
282
  }
283
-
284
- if ( get_option('start_of_week') == '1' ) {
285
  $first = array_shift($name_days);
286
  $name_days[] = $first;
287
  }
@@ -289,123 +297,198 @@ function my_calendar($name,$format,$category,$showkey,$shownav,$month='',$yr='')
289
  $name_months = array(1=>__('January','my-calendar'),__('February','my-calendar'),__('March','my-calendar'),__('April','my-calendar'),__('May','my-calendar'),__('June','my-calendar'),__('July','my-calendar'),__('August','my-calendar'),__('September','my-calendar'),__('October','my-calendar'),__('November','my-calendar'),__('December','my-calendar'));
290
  $offset = (60*60*get_option('gmt_offset'));
291
  // If we don't pass arguments we want a calendar that is relevant to today
292
- $c_day = date("d",time()+($offset));
293
- if (empty($_GET['month']) || empty($_GET['yr']) && ($month == '' || $yr == '')) {
294
- $c_year = date("Y",time()+($offset));
295
- $c_month = date("m",time()+($offset));
296
- } else {
297
- if ( isset($_GET['month']) && isset($_GET['yr']) ) {
298
- $c_year = $_GET['yr'];
299
  $c_month = $_GET['month'];
300
- } else {
301
- $c_year = $yr;
302
  $c_month = $month;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
303
  }
 
 
304
  }
 
305
  // Years get funny if we exceed 3000, so we use this check
306
- if ( $year <= 3000 && $year >= 0) {
307
- } else {
308
  // No valid year causes the calendar to default to today
309
  $c_year = date("Y",time()+($offset));
310
  $c_month = date("m",time()+($offset));
311
  $c_day = date("d",time()+($offset));
 
312
  }
313
 
314
  // Fix the days of the week if week start is not on a monday
315
- if (get_option('start_of_week') == 0) {
316
- $first_weekday = date("w",mktime(0,0,0,$c_month,1,$c_year));
317
- } else {
318
- $first_weekday = date("w",mktime(0,0,0,$c_month,1,$c_year));
319
- $first_weekday = ($first_weekday==0?6:$first_weekday-1);
320
- }
321
-
322
- $days_in_month = date("t", mktime (0,0,0,$c_month,1,$c_year));
323
- $and = __("and",'my-calendar');
324
- if ($category != "" && $category != "all") {
325
- $category_label = str_replace("|"," $and ",$category) . ' ';
326
  } else {
327
- $category_label = "";
 
 
 
 
 
 
328
  }
329
- $pLink = my_calendar_prev_link($c_year,$c_month,$format);
330
- $nLink = my_calendar_next_link($c_year,$c_month,$format);
331
-
332
- // Start the calendar and add header and navigation
333
- $my_calendar_body .= "<div id=\"jd-calendar\" class=\"$format\">";
334
- // Add the calendar table and heading
335
- $caption_text = stripslashes( get_option('my_calendar_caption') );
336
 
337
- if ($format == "calendar" || $format == "mini" ) {
338
- $my_calendar_body .= '<div class="my-calendar-header">';
339
-
340
- // We want to know if we should display the date switcher
341
- $date_switcher = get_option('display_jump');
342
-
343
- if ($date_switcher == 'true') {
344
- $my_calendar_body .= mc_build_date_switcher();
345
- }
346
- // The header of the calendar table and the links. Note calls to link functions
347
 
 
 
 
 
 
 
 
 
 
 
 
348
  if ($shownav == 'yes') {
349
- $my_calendar_body .= '
350
  <div class="my-calendar-nav">
351
  <ul>
352
- <li class="my-calendar-prev"><a id="prevMonth" href="' . my_calendar_permalink_prefix() . 'month='.$pLink['month'].'&amp;yr=' . $pLink['yr'] . '#jd-calendar" rel="nofollow">'.$pLink['label'].' &raquo;</a></li>
353
- <li class="my-calendar-next"><a id="nextMonth" href="' . my_calendar_permalink_prefix() . 'month='.$nLink['month'].'&amp;yr=' . $nLink['yr'] . '#jd-calendar" rel="nofollow">'.$nLink['label'].' &raquo;</a></li>
354
  </ul>
355
  </div>';
 
 
356
  }
357
- $my_calendar_body .= '</div>';
358
- $my_calendar_body .= "\n<table class=\"my-calendar-table\" summary=\"$category_label".__('Calendar','my-calendar')."\">\n";
359
- $my_calendar_body .= '<caption class="my-calendar-month">'.$name_months[(int)$c_month].' '.$c_year.$caption_text."</caption>\n";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
360
  } else {
361
  if ( get_option('my_calendar_show_heading') == 'true' ) {
362
  $my_calendar_body .= "\n<h2 class=\"my-calendar-heading\">$category_label".__('Calendar','my-calendar')."</h2>\n";
363
  }
364
  // determine which header text to show depending on number of months displayed;
365
- $num_months = get_option('my_calendar_show_months');
366
- $my_calendar_body .= ($num_months <= 1)?'<h3 class="my-calendar-month">'.__('Events in','my-calendar').' '.$name_months[(int)$c_month].' '.$c_year.$caption_text."</h3>\n":
367
- '<h3 class="my-calendar-month">'.$name_months[(int)$c_month].'&thinsp;&ndash;&thinsp;'.$name_months[(int)($nLink['month']-1)].' '.$nLink['yr'].$caption_text."</h3>\n";
 
 
 
 
368
  $my_calendar_body .= '<div class="my-calendar-header">'; // this needs work
369
  // We want to know if we should display the date switcher
370
- $my_calendar_body .= ( get_option('display_jump') == 'true' )?mc_build_date_switcher():'';
 
 
371
 
372
- if ($shownav == 'yes') {
373
- $my_calendar_body .= '
374
- <div class="my-calendar-nav">
375
- <ul>
376
- <li class="my-calendar-prev"><a id="prevMonth" href="' . my_calendar_permalink_prefix() . 'month='.$pLink['month'].'&amp;yr=' . $pLink['yr'] . '#jd-calendar" rel="nofollow">'.$pLink['label'].' &raquo;</a></li>
377
- <li class="my-calendar-next"><a id="nextMonth" href="' . my_calendar_permalink_prefix() . 'month='.$nLink['month'].'&amp;yr=' . $nLink['yr'] . '#jd-calendar" rel="nofollow">'.$nLink['label'].' &raquo;</a></li>
378
- </ul>
379
- </div>';
380
- }
381
- $my_calendar_body .= '</div>';
382
  }
383
- // If in calendar format, print the headings of the days of the week
384
  if ( $format == "calendar" || $format == "mini" ) {
385
  $my_calendar_body .= "<thead>\n<tr>\n";
386
  for ($i=0; $i<=6; $i++) {
387
- // Colors need to be different if the starting day of the week is different
388
- if (get_option('start_of_week') == 0) {
389
- $my_calendar_body .= '<th scope="col" class="'.($i<6&&$i>0?'day-heading':'weekend-heading').'">'.$name_days[$i]."</th>\n";
390
  } else {
391
- $my_calendar_body .= '<th scope="col" class="'.($i<5?'day-heading':'weekend-heading').'">'.$name_days[$i]."</th>\n";
392
  }
 
393
  }
394
  $my_calendar_body .= "</tr>\n</thead>\n<tbody>";
395
 
396
- for ($i=1; $i<=$days_in_month;) {
397
- $process_date = date_i18n('Y-m-d',mktime(0,0,0,$c_month,$i,$c_year));
 
 
 
 
 
 
 
 
 
398
  $my_calendar_body .= '<tr>';
399
- for ($ii=0; $ii<=6; $ii++) {
400
- if ($ii==$first_weekday && $i==1) {
 
 
 
 
 
 
 
401
  $go = TRUE;
402
- } elseif ($i > $days_in_month ) {
403
  $go = FALSE;
404
  }
405
-
406
  if ($go) {
407
- // Colors again, this time for the day numbers
408
- $grabbed_events = my_calendar_grab_events($c_year,$c_month,$i,$category);
 
 
 
 
 
 
 
 
 
 
 
 
 
409
  $events_class = '';
410
  if (!count($grabbed_events)) {
411
  $events_class = ' no-events';
@@ -421,11 +504,20 @@ if ( $format == "calendar" || $format == "mini" ) {
421
  $trigger = '';
422
  }
423
  }
424
- if (get_option('start_of_week') == 0) {
425
- $my_calendar_body .= '<td class="'.(date("Ymd", mktime (0,0,0,$c_month,$i,$c_year))==date_i18n("Ymd",time()+$offset)?'current-day':'day-with-date').$events_class.'">'."\n <$element class='mc-date ".($ii<6&&$ii>0?"$trigger":"weekend$trigger")."'>".$i++."</$element>\n ". my_calendar_draw_events($grabbed_events, $format, $process_date) . "\n</td>\n";
 
426
  } else {
427
- $my_calendar_body .= '<td class="'.(date("Ymd", mktime (0,0,0,$c_month,$i,$c_year))==date_i18n("Ymd",time()+$offset)?'current-day':'day-with-date').$events_class.'">'."\n <$element class='mc-date ".($ii<5?"$trigger":"weekend$trigger'")."'>".$i++."</$element>\n ". my_calendar_draw_events($grabbed_events, $format, $process_date) . "\n</td>\n";
 
428
  }
 
 
 
 
 
 
 
429
  } else {
430
  $my_calendar_body .= "<td class='day-without-date'>&nbsp;</td>\n";
431
  }
@@ -437,7 +529,11 @@ if ( $format == "calendar" || $format == "mini" ) {
437
  $my_calendar_body .= "<ul id=\"calendar-list\">";
438
  // show calendar as list
439
  $date_format = ( get_option('my_calendar_date_format') != '' ) ? ( get_option('my_calendar_date_format') ) : ( get_option( 'date_format' ) );
 
 
 
440
  $num_months = get_option('my_calendar_show_months');
 
441
  $num_events = 0;
442
  for ($m=0;$m<$num_months;$m++) {
443
  if ($m == 0) {
@@ -450,9 +546,34 @@ if ( $format == "calendar" || $format == "mini" ) {
450
  $c_month = $c_month - 12;
451
  $c_year = $c_year + 1;
452
  }
453
- for ($i=1; $i<=31; $i++) {
454
- $process_date = date_i18n('Y-m-d',mktime(0,0,0,$c_month,$i,$c_year));
455
- $grabbed_events = my_calendar_grab_events($c_year,$c_month,$i,$category);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
456
  if (count($grabbed_events)) {
457
  if ( get_option('list_javascript') != 1) {
458
  $is_anchor = "<a href='#'>";
@@ -460,7 +581,10 @@ if ( $format == "calendar" || $format == "mini" ) {
460
  } else {
461
  $is_anchor = $is_close_anchor = "";
462
  }
463
- $my_calendar_body .= "<li class='$class".(date("Ymd", mktime (0,0,0,$c_month,$i,$c_year))==date("Ymd",time()+($offset))?' current-day':'')."'><strong class=\"event-date\">$is_anchor".date_i18n($date_format,mktime(0,0,0,$c_month,$i,$c_year))."$is_close_anchor</strong>".my_calendar_draw_events($grabbed_events, $format, $process_date)."</li>";
 
 
 
464
  $num_events++;
465
  }
466
  $class = (my_calendar_is_odd($num_events))?"odd":"even";
@@ -478,43 +602,63 @@ if ( $format == "calendar" || $format == "mini" ) {
478
  $cat_details = $wpdb->get_results($sql);
479
  $my_calendar_body .= '<div class="category-key">
480
  <h3>'.__('Category Key','my-calendar')."</h3>\n<ul>\n";
481
-
482
- if ( file_exists( WP_PLUGIN_DIR . '/my-calendar-custom/' ) ) {
483
- $path = '/my-calendar-custom';
484
- } else {
485
- $path = '/my-calendar/icons';
486
- }
487
  foreach($cat_details as $cat_detail) {
488
-
489
  if ($cat_detail->category_icon != "" && get_option('my_calendar_hide_icons')!='true') {
490
- $my_calendar_body .= '<li><span class="category-color-sample"><img src="'.WP_PLUGIN_URL.$path.'/'.$cat_detail->category_icon.'" alt="" style="background:'.$cat_detail->category_color.';" /></span>'.$cat_detail->category_name."</li>\n";
491
  } else {
492
- $my_calendar_body .= '<li><span class="category-color-sample no-icon" style="background:'.$cat_detail->category_color.';"> &nbsp; </span>'.$cat_detail->category_name."</li>\n";
493
  }
494
  }
495
  $my_calendar_body .= "</ul>\n</div>";
496
- }
497
- //$my_calendar_body .= $wpdb->num_queries; // total number of queries
498
-
499
  $my_calendar_body .= "\n</div>";
500
  // The actual printing is done by the shortcode function.
501
  return $my_calendar_body;
502
  }
503
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
504
 
505
  // Configure the "Next" link in the calendar
506
- function my_calendar_next_link($cur_year,$cur_month,$format) {
507
  $next_year = $cur_year + 1;
508
  $next_events = ( get_option( 'mc_next_events') == '' )?"Next events":stripcslashes( get_option( 'mc_next_events') );
509
  $num_months = get_option('my_calendar_show_months');
510
- if ($num_months <= 1 || $format=="calendar") {
 
511
  if ($cur_month == 12) {
512
  $nMonth = 1;
513
  $nYr = $next_year;
514
  } else {
515
- $next_month = $cur_month + 1;
516
- $nMonth = $next_month;
517
- $nYr = $cur_year;
518
  }
519
  } else {
520
  $next_month = (($cur_month + $num_months) > 12)?(($cur_month + $num_months) - 12):($cur_month + $num_months);
@@ -523,18 +667,28 @@ function my_calendar_next_link($cur_year,$cur_month,$format) {
523
  $nYr = $next_year;
524
  } else {
525
  $nMonth = $next_month;
526
- $nYr = $cur_year;
527
  }
528
  }
529
- $output = array('month'=>$nMonth,'yr'=>$nYr,'label'=>$next_events);
 
 
 
 
 
 
 
 
 
530
  return $output;
531
  }
532
 
533
  // Configure the "Previous" link in the calendar
534
- function my_calendar_prev_link($cur_year,$cur_month,$format) {
535
  $last_year = $cur_year - 1;
536
  $previous_events = ( get_option( 'mc_previous_events') == '' )?"Previous events":stripcslashes( get_option( 'mc_previous_events') );
537
  $num_months = get_option('my_calendar_show_months');
 
538
  if ($num_months <= 1 || $format=="calendar") {
539
  if ($cur_month == 1) {
540
  $pMonth = 12;
@@ -542,7 +696,7 @@ function my_calendar_prev_link($cur_year,$cur_month,$format) {
542
  } else {
543
  $next_month = $cur_month - 1;
544
  $pMonth = $next_month;
545
- $pYr = $cur_year;
546
  }
547
  } else {
548
  $next_month = ($cur_month > $num_months)?($cur_month - $num_months):(($cur_month - $num_months) + 12);
@@ -551,10 +705,19 @@ function my_calendar_prev_link($cur_year,$cur_month,$format) {
551
  $pYr = $last_year;
552
  } else {
553
  $pMonth = $next_month;
554
- $pYr = $cur_year;
555
  }
556
  }
557
- $output = array('month'=>$pMonth,'yr'=>$pYr,'label'=>$previous_events);
 
 
 
 
 
 
 
 
 
558
  return $output;
559
  }
560
 
@@ -611,7 +774,7 @@ if (strpos($current_url,"/&")!==false || strpos($current_url,".php&")!==false) {
611
  $output .= "<ul id='mc-locations-list'>
612
  <li><a href='$current_url$char"."loc=none&amp;ltype=none'>Show all</a></li>\n";
613
  } else {
614
- $ltype = ($_GET['ltype']=='')?'none':$_GET['ltype'];
615
  $output .= "
616
  <form action='' method='GET'>
617
  <div>
@@ -628,22 +791,27 @@ if (strpos($current_url,"/&")!==false || strpos($current_url,".php&")!==false) {
628
  <option value='none'>Show all</option>\n";
629
  }
630
  foreach ( $locations as $key=>$location ) {
 
631
  if ($type == 'saved') {
632
  foreach ( $location as $key=>$value ) {
633
  $vt = urlencode(trim($value));
634
  if ($show == 'list') {
635
- $output .= "<li><a rel='nofollow' href='$current_url".$char."loc=$vt&amp;ltype=$datatype'>$value</a></li>\n";
 
636
  } else {
637
- $output .= "<option value='$vt'>$value</option>\n";
 
638
  }
639
  }
640
  } else {
641
  $vk = urlencode(trim($key));
642
  $location = trim($location);
643
  if ($show == 'list') {
644
- $output .= "<li><a rel='nofollow' href='$current_url".$char."loc=$vk&amp;ltype=$datatype'>$location</a></li>\n";
 
645
  } else {
646
- $output .= "<option value='$vk'>$location</option>\n";
 
647
  }
648
  }
649
  }
@@ -654,5 +822,4 @@ if (strpos($current_url,"/&")!==false || strpos($current_url,".php&")!==false) {
654
  }
655
  return $output;
656
  }
657
-
658
  ?>
4
  // We need to sort arrays of objects by time
5
  usort($events, "my_calendar_time_cmp");
6
  if ($type == "mini" && count($events) > 0) { $output .= "<div class='calendar-events'>"; }
7
+ foreach($events as $event) {
8
+ if ( get_option('mc_skip_holidays') == 'false' ) {
9
+ // if we're not skipping holidays, just add 'em all.
10
+ $output_array[] = my_calendar_draw_event($event, $type, $process_date);
11
+ } else if ( $event->event_category == get_option('mc_skip_holidays_category') ) {
12
+ // if we ARE skipping holidays, only add events in the holiday category
13
+ $output_array[] = my_calendar_draw_event($event, $type, $process_date);
14
+ }
15
+ }
16
+ if ( is_array($output_array) ) {
17
+ foreach ($output_array as $value) {
18
+ $output .= $value;
19
+ }
20
+ }
21
  if ($type == "mini" && count($events) > 0) { $output .= "</div>"; }
22
  return $output;
23
  }
24
  // Used to draw an event to the screen
25
  function my_calendar_draw_event($event, $type="calendar", $process_date) {
26
+ global $wpdb,$wp_plugin_url;
27
  // My Calendar must be updated to run this function
28
  check_my_calendar();
29
  $display_author = get_option('display_author');
37
  $image = "";
38
  } else {
39
  if ($event->category_icon != "") {
40
+ if ( is_custom_icon() ) {
41
+ $path = $wp_plugin_url . '/my-calendar-custom/';
42
+ } else {
43
+ $path = $wp_plugin_url . '/my-calendar/icons/';
44
+ }
45
+ $image = '<img src="'.$path.'/'.$event->category_icon.'" alt="" class="category-icon" style="background:'.$event->category_color.';" />';
46
  } else {
47
  $image = "";
48
  }
50
  $location_string = $event->event_street.$event->event_street2.$event->event_city.$event->event_state.$event->event_postcode.$event->event_country;
51
  // put together address information as vcard
52
  if (($display_address == 'true' || $display_map == 'true') && strlen($location_string) > 0 ) {
53
+ $map_string = $event->event_street.' '.$event->event_street2.' '.$event->event_city.' '.$event->event_state.' '.$event->event_postcode.' '.$event->event_country;
54
  $address .= '<div class="address vcard">';
55
  if ($display_address == 'true') {
56
  $address .= "<div class=\"adr\">";
57
  if ($event->event_label != "") {
58
  $address .= "<strong class=\"org\">".stripslashes($event->event_label)."</strong><br />";
59
+ }
60
  if ($event->event_street != "") {
61
  $address .= "<div class=\"street-address\">".stripslashes($event->event_street)."</div>";
62
  }
65
  }
66
  if ($event->event_city != "") {
67
  $address .= "<span class=\"locality\">".stripslashes($event->event_city).",</span>";
68
+ }
69
  if ($event->event_state != "") {
70
  $address .= " <span class=\"region\">".stripslashes($event->event_state)."</span> ";
71
  }
74
  }
75
  if ($event->event_country != "") {
76
  $address .= "<div class=\"country-name\">".stripslashes($event->event_country)."</div>";
77
+ }
78
+ $address .= "</div>";
79
  }
80
  if ($display_map == 'true' && (strlen($location_string) > 0 || ( $event->event_longitude != '0.000000' && $event->event_latitude != '0.000000' ) ) ) {
81
  $map_string = str_replace(" ","+",$map_string);
86
  }
87
  $zoom = ($event->event_zoom != 0)?$event->event_zoom:'15';
88
  $map_string_label = urlencode($map_label);
 
89
  if ($event->event_longitude != '0.000000' && $event->event_latitude != '0.000000') {
90
  $map_string = "$event->event_latitude,$event->event_longitude+($map_string_label)";
91
  }
 
92
  $map = "<a href=\"http://maps.google.com/maps?f=q&amp;z=$zoom&amp;q=$map_string\">Map<span> to $map_label</span></a>";
93
  $address .= "<div class=\"url map\">$map</div>";
94
  }
95
  $address .= "</div>";
96
  }
97
+ $header_details .= "\n<div class='$type-event $category vevent'>\n";
 
98
  $array = event_as_array($event);
99
  $templates = get_option('my_calendar_templates');
100
  $title_template = ($templates['title'] == '' )?'{title}':$templates['title'];
101
  $mytitle = jd_draw_template($array,$title_template);
 
102
  if ($type == 'calendar') {
103
+ $toggle = " <a href='#' class='mc-toggle'><img src='".MY_CALENDAR_DIRECTORY."/images/event-details.png' alt='".__('Event Details','my-calendar')."' /></a>";
104
  } else {
105
  $toggle = "";
106
  }
107
  if ($type != 'list') {
108
+ $header_details .= "<h3 class='event-title summary'>$image".$mytitle."$toggle</h3>\n";
109
  }
 
110
  $header_details .= "<div class='details'>";
111
  if ( $type == "calendar" ) { $header_details .= "<h3 class='close'><a href='#' class='mc-toggle mc-close'><img src='".MY_CALENDAR_DIRECTORY."/images/event-close.png' alt='".__('Close','my-calendar')."' /></a></h3>"; }
112
  if ( $event->event_time != "00:00:00" && $event->event_time != '' ) {
113
+ $header_details .= "<span class='event-time dtstart' title='".$event->event_begin.'T'.$event->event_time."'>".date_i18n(get_option('time_format'), strtotime($event->event_time));
114
  if ($event->event_endtime != "00:00:00" && $event->event_endtime != '' ) {
115
+ $header_details .= "<span class='time-separator'>&thinsp;&ndash;&thinsp;</span><span class='end-time dtend' title='".$event->event_end.'T'.$event->event_endtime."'>".date_i18n(get_option('time_format'), strtotime($event->event_endtime))."</span>";
116
  }
117
  $header_details .= "</span>\n";
 
118
  if ($tz != '') {
119
  $local_begin = date_i18n( get_option('time_format'), strtotime($event->event_time ."+$tz hours") );
120
  $header_details .= "<span class='local-time'>$local_begin ". __('in your time zone','my-calendar')."</span>";
121
  }
 
122
  } else {
123
  $header_details .= "<span class='event-time'>";
124
  if ( get_option('my_calendar_notime_text') == '' || get_option('my_calendar_notime_text') == "N/A" ) {
130
  }
131
  $header_details .= "<div class='sub-details'>";
132
  if ($type == "list") {
133
+ $header_details .= "<h3 class='event-title summary'>$image".$mytitle."</h3>\n";
134
  }
135
  if ($display_author == 'true') {
136
  $e = get_userdata($event->event_author);
137
+ $header_details .= '<span class="event-author">'.__('Posted by', 'my-calendar').': <span class="author-name">'.$e->display_name."</span></span><br />\n";
138
  }
139
  if (($display_address == 'true' || $display_map == 'true') && strlen($location_string) > 0 ) {
140
  $header_details .= $address;
149
  $event_link = $event->event_link;
150
  }
151
  }
152
+ // this is cut for now; I'm concerned about security.
153
+ if ( function_exists('my_calendar_generate_vcal') ) {
154
+ $vcal_data = my_calendar_generate_vcal($event);
155
+ $vcal = urlencode($vcal_data[0]);
156
+ $file = urlencode($vcal_data[1]);
157
+ $nonce = wp_create_nonce('my-calendar-nonce');
158
+ $vcal_link = "<a class='ical' rel='nofollow' href='$wp_plugin_url" . "/my-calendar/my-calendar-export.php?vcal=$vcal&amp;file=$file&amp;_wpnonce=$nonce"."'>ical</a>";
159
+ $header_details .= $vcal_link;
160
+ }
161
  if ( get_option('mc_short') == 'true' ) {
162
  $short = "<div class='shortdesc'>".wpautop(stripcslashes($event->event_short),1)."</div>";
163
  }
166
  }
167
  if ( get_option('mc_event_registration') == 'true' ) {
168
  switch ($event->event_open) {
169
+ case '0':$status = get_option('mc_event_closed');
 
170
  break;
171
+ case '1':$status = get_option('mc_event_open');
 
172
  break;
173
+ case '2':$status = '';
 
174
  break;
175
+ default:$status = '';
 
176
  }
177
  }
178
  // if the event is a member of a group of events, but not the first, note that.
188
  }
189
  }
190
  }
 
191
  if ($event_link != '') {
192
  $details = "\n". $header_details . '' . $description . $short . '<p>'.$status.'</p><p><a href="'.$event_link.'" class="event-link">' . stripslashes($event->event_title) . '&raquo; </a></p>'."</div></div></div>\n";
193
  } else {
195
  }
196
 
197
  if ( get_option( 'mc_event_approve' ) == 'true' ) {
198
+ if ( $event->event_approved == 1 ) {
199
  return $details;
200
  }
201
  } else {
210
  $qsa = array();
211
  parse_str($_SERVER['QUERY_STRING'],$qsa);
212
  foreach ($qsa as $name => $argument) {
213
+ if ($name != 'month' && $name != 'yr' && $name != 'week' ) {
214
  $my_calendar_body .= '<input type="hidden" name="'.$name.'" value="'.$argument.'" />';
215
  }
216
  }
217
  // We build the months in the switcher
218
  $my_calendar_body .= '
219
+ <label for="my-calendar-month">'.__('Month','my-calendar').':</label> <select id="my-calendar-month" name="month">'."\n".'
220
+ <option value="1"'.mc_month_comparison('1').'>'.__('January','my-calendar').'</option>'."\n".'
221
+ <option value="2"'.mc_month_comparison('2').'>'.__('February','my-calendar').'</option>'."\n".'
222
+ <option value="3"'.mc_month_comparison('3').'>'.__('March','my-calendar').'</option>'."\n".'
223
+ <option value="4"'.mc_month_comparison('4').'>'.__('April','my-calendar').'</option>'."\n".'
224
+ <option value="5"'.mc_month_comparison('5').'>'.__('May','my-calendar').'</option>'."\n".'
225
+ <option value="6"'.mc_month_comparison('6').'>'.__('June','my-calendar').'</option>'."\n".'
226
+ <option value="7"'.mc_month_comparison('7').'>'.__('July','my-calendar').'</option>'."\n".'
227
+ <option value="8"'.mc_month_comparison('8').'>'.__('August','my-calendar').'</option>'."\n".'
228
+ <option value="9"'.mc_month_comparison('9').'>'.__('September','my-calendar').'</option>'."\n".'
229
+ <option value="10"'.mc_month_comparison('10').'>'.__('October','my-calendar').'</option>'."\n".'
230
+ <option value="11"'.mc_month_comparison('11').'>'.__('November','my-calendar').'</option>'."\n".'
231
+ <option value="12"'.mc_month_comparison('12').'>'.__('December','my-calendar').'</option>'."\n".'
232
+ </select>'."\n".'
233
+ <label for="my-calendar-year">'.__('Year','my-calendar').':</label> <select id="my-calendar-year" name="yr">'."\n";
 
 
234
  $past = 5;
235
  $future = 5;
236
  $fut = 1;
237
  $offset = (60*60*get_option('gmt_offset'));
 
238
  while ($past > 0) {
239
+ $p .= '<option value="';
240
  $p .= date("Y",time()+($offset))-$past;
241
  $p .= '"'.mc_year_comparison(date("Y",time()+($offset))-$past).'>';
242
  $p .= date("Y",time()+($offset))-$past."</option>\n";
243
  $past = $past - 1;
244
  }
245
  while ($fut < $future) {
246
+ $f .= '<option value="';
247
  $f .= date("Y",time()+($offset))+$fut;
248
  $f .= '"'.mc_year_comparison(date("Y",time()+($offset))+$fut).'>';
249
  $f .= date("Y",time()+($offset))+$fut."</option>\n";
258
  }
259
 
260
  // Actually do the printing of the calendar
261
+
262
+ function my_calendar($name,$format,$category,$showkey,$shownav,$time='month',$week='',$month='',$yr='') {
263
+ global $wpdb, $wp_plugin_url;
 
264
  if ($category == "") {
265
  $category=null;
266
  }
267
  // First things first, make sure calendar is up to date
268
  check_my_calendar();
 
269
  // Deal with the week not starting on a monday
270
  $name_days = array(
271
  __('<abbr title="Sunday">Sun</abbr>','my-calendar'),
288
  __('<abbr title="Saturday">S</abbr>','my-calendar')
289
  );
290
  }
291
+ $start_of_week = (get_option('start_of_week')==1||get_option('start_of_week')==0)?get_option('start_of_week'):0;
292
+ if ( $start_of_week == '1' ) {
293
  $first = array_shift($name_days);
294
  $name_days[] = $first;
295
  }
297
  $name_months = array(1=>__('January','my-calendar'),__('February','my-calendar'),__('March','my-calendar'),__('April','my-calendar'),__('May','my-calendar'),__('June','my-calendar'),__('July','my-calendar'),__('August','my-calendar'),__('September','my-calendar'),__('October','my-calendar'),__('November','my-calendar'),__('December','my-calendar'));
298
  $offset = (60*60*get_option('gmt_offset'));
299
  // If we don't pass arguments we want a calendar that is relevant to today
300
+ $c_day = date("d",time()+($offset));
301
+
302
+ if ( isset($_GET['month']) ) {
 
 
 
 
303
  $c_month = $_GET['month'];
304
+ } else if ($month != '') {
 
305
  $c_month = $month;
306
+ } else {
307
+ $c_month = date("m",time()+($offset));
308
+ }
309
+ if ( isset($_GET['week']) ) {
310
+ $c_week = $_GET['week'];
311
+ } else if ($week != '') {
312
+ $c_week = $week;
313
+ } else {
314
+ $c_week = date("W",time()+($offset));
315
+ }
316
+ if ( isset($_GET['yr']) ) {
317
+ $c_year = $_GET['yr'];
318
+ } else if ($yr != '') {
319
+ $c_year = $yr;
320
+ } else {
321
+ $c_year = date("Y",time()+($offset));
322
+ }
323
+ if ($time == 'week') {
324
+ // if the current week starts on Sunday, calculating the current date can get complicated, since
325
+ // PHP assumes that Monday is the first day of the week. This is really a nightmare.
326
+ if ( $start_of_week == 0 ) {
327
+ $week_adjustment = 0;
328
+ } else {
329
+ $week_adjustment = 1;
330
+ }
331
+ $week_date = get_week_date($c_week, $c_year, $week_adjustment);
332
+ $c_month = date("m",$week_date);
333
+ $c_day = date("d",$week_date);
334
+ $nrealday = date('N',strtotime("$c_year-$c_month-$c_day"));
335
+ //echo "$c_year $c_month $c_day $nrealday<br />";
336
+ //echo date('Y',strtotime("$c_year-$c_month-$c_day - $nrealday day") );
337
+ if ($c_week != date('W',strtotime("+ 1 day") ) && !isset($_GET['yr']) ) {
338
+ if ($nrealday == 7 && $start_of_week == 0 ) {
339
+ $c_week = 1;
340
+ $week_date = get_week_date( $c_week,$c_year, $week_adjustment);
341
+ $c_month = date("m",$week_date);
342
+ $c_day = date("d",$week_date);
343
+ }
344
  }
345
+ //$week_date = get_week_date($c_week, $c_year, $week_adjustment);
346
+ //echo "<br />$c_year $c_month $c_day $nrealday";
347
  }
348
+
349
  // Years get funny if we exceed 3000, so we use this check
350
+ if ( !($year <= 3000 && $year >= 0)) {
 
351
  // No valid year causes the calendar to default to today
352
  $c_year = date("Y",time()+($offset));
353
  $c_month = date("m",time()+($offset));
354
  $c_day = date("d",time()+($offset));
355
+ $c_week = date("W",time()+($offset));
356
  }
357
 
358
  // Fix the days of the week if week start is not on a monday
359
+ if ($time == 'week') {
360
+ $first_weekday = $start_of_week;
 
 
 
 
 
 
 
 
 
361
  } else {
362
+ if ( $start_of_week == 0 ) {
363
+ // what day of the week does the month start on
364
+ $first_weekday = date("w",mktime(0,0,0,$c_month,1,$c_year));
365
+ } else {
366
+ $first_weekday = date("w",mktime(0,0,0,$c_month,1,$c_year));
367
+ $first_weekday = ($first_weekday==0?6:$first_weekday-1);
368
+ }
369
  }
370
+ $anchor = (get_option('ajax_javascript') == '1' )?'#jd-calendar':'';
 
 
 
 
 
 
371
 
 
 
 
 
 
 
 
 
 
 
372
 
373
+ $pLink = my_calendar_prev_link($c_year,$c_month,$c_week,$format,$time);
374
+ $nLink = my_calendar_next_link($c_year,$c_month,$c_week,$format,$time);
375
+
376
+ // assign url parameters based on current setting.
377
+ if ($time == 'week') {
378
+ $pperiod = 'week='.$pLink['week'];
379
+ $nperiod = 'week='.$nLink['week'];
380
+ } else {
381
+ $pperiod = 'month='.$pLink['month'];
382
+ $nperiod = 'month='.$nLink['month'];
383
+ }
384
  if ($shownav == 'yes') {
385
+ $mc_nav = '
386
  <div class="my-calendar-nav">
387
  <ul>
388
+ <li class="my-calendar-prev"><a id="prevMonth" href="' . my_calendar_permalink_prefix() . $pperiod .'&amp;yr=' . $pLink['yr'] . $anchor .'" rel="nofollow">&laquo; '.$pLink['label'].'</a></li>
389
+ <li class="my-calendar-next"><a id="nextMonth" href="' . my_calendar_permalink_prefix() . $nperiod .'&amp;yr=' . $nLink['yr'] . $anchor .'" rel="nofollow">'.$nLink['label'].' &raquo;</a></li>
390
  </ul>
391
  </div>';
392
+ } else {
393
+ $mc_nav = '';
394
  }
395
+ $days_in_month = date("t", mktime (0,0,0,$c_month,1,$c_year));
396
+ $and = __("and",'my-calendar');
397
+ if ($category != "" && $category != "all") {
398
+ $category_label = str_replace("|"," $and ",$category) . ' ';
399
+ } else {
400
+ $category_label = "";
401
+ }
402
+ // Start the calendar and add header and navigation
403
+ $my_calendar_body .= "<div id=\"jd-calendar\" class=\"$format\">";
404
+ // Add the calendar table and heading
405
+ $caption_text = stripslashes( get_option('my_calendar_caption') );
406
+ if ($format == "calendar" || $format == "mini" ) {
407
+ $my_calendar_body .= '<div class="my-calendar-header">';
408
+ // We want to know if we should display the date switcher
409
+ $date_switcher = get_option('display_jump');
410
+ if ($date_switcher == 'true') {
411
+ $my_calendar_body .= mc_build_date_switcher();
412
+ }
413
+ // The header of the calendar table and the links.
414
+ $my_calendar_body .= "$mc_nav\n</div>";
415
+ $my_calendar_body .= "\n<table class=\"my-calendar-table\" summary=\"$category_label".__('Calendar','my-calendar')."\">\n";
416
+ $caption_heading = ($time != 'week')?$name_months[(int)$c_month].' '.$c_year.$caption_text:__('The week\'s events','my-calendar').$caption_text;
417
+ $my_calendar_body .= "<caption class=\"my-calendar-$time\">".$caption_heading."</caption>\n";
418
  } else {
419
  if ( get_option('my_calendar_show_heading') == 'true' ) {
420
  $my_calendar_body .= "\n<h2 class=\"my-calendar-heading\">$category_label".__('Calendar','my-calendar')."</h2>\n";
421
  }
422
  // determine which header text to show depending on number of months displayed;
423
+ if ( $time != 'week' ) {
424
+ $num_months = get_option('my_calendar_show_months');
425
+ $list_heading = ($num_months <= 1)?__('Events in','my-calendar').' '.$name_months[(int)$c_month].' '.$c_year.$caption_text."\n":$name_months[(int)$c_month].'&thinsp;&ndash;&thinsp;'.$name_months[(int)($nLink['month']-1)].' '.$nLink['yr'].$caption_text;
426
+ } else {
427
+ $list_heading = __('This week\'s events','my-calendar');
428
+ }
429
+ $my_calendar_body .= "<h3 class=\"my-calendar-$time\">$list_heading</h3>\n";
430
  $my_calendar_body .= '<div class="my-calendar-header">'; // this needs work
431
  // We want to know if we should display the date switcher
432
+ if ( $time != 'week' ) {
433
+ $my_calendar_body .= ( get_option('display_jump') == 'true' )?mc_build_date_switcher():'';
434
+ }
435
 
436
+ $my_calendar_body .= "$mc_nav\n</div>";
 
 
 
 
 
 
 
 
 
437
  }
438
+ // If in a calendar format, print the headings of the days of the week
439
  if ( $format == "calendar" || $format == "mini" ) {
440
  $my_calendar_body .= "<thead>\n<tr>\n";
441
  for ($i=0; $i<=6; $i++) {
442
+ if ( $start_of_week == 0) {
443
+ $class = ($i<6&&$i>0)?'day-heading':'weekend-heading';
 
444
  } else {
445
+ $class = ($i<5)?'day-heading':'weekend-heading';
446
  }
447
+ $my_calendar_body .= "<th scope='col' class='$class'>".$name_days[$i]."</th>\n";
448
  }
449
  $my_calendar_body .= "</tr>\n</thead>\n<tbody>";
450
 
451
+ if ($time == 'week') {
452
+ $firstday = date('j',mktime(0,0,0,$c_month,$c_day,$c_year));
453
+ $lastday = $firstday + 6;
454
+ } else {
455
+ $firstday = 1;
456
+ $lastday = $days_in_month;
457
+ }
458
+ $useday = 1;
459
+ $inc_month = false;
460
+ for ($i=$firstday; $i<=$lastday;) {
461
+ $process_date = date_i18n('Y-m-d',mktime(0,0,0,$c_month,$thisday,$c_year));
462
  $my_calendar_body .= '<tr>';
463
+ if ($time == 'week') {
464
+ $ii_start = $first_weekday;
465
+ $ii_end = $first_weekday + 6;
466
+ } else {
467
+ $ii_start = 0;
468
+ $ii_end = 6;
469
+ }
470
+ for ($ii=$ii_start; $ii<=$ii_end; $ii++) {
471
+ if ($ii==$first_weekday && $i==$firstday) {
472
  $go = TRUE;
473
+ } elseif ($thisday > $days_in_month ) {
474
  $go = FALSE;
475
  }
 
476
  if ($go) {
477
+ if ($i > $days_in_month) {
478
+ $thisday = $useday;
479
+ if ($inc_month == false) {
480
+ if ($c_month == 12) {
481
+ $c_month = 1;
482
+ } else {
483
+ $c_month = $c_month + 1;
484
+ }
485
+ }
486
+ $inc_month = true;
487
+ $useday++;
488
+ } else {
489
+ $thisday = $i;
490
+ }
491
+ $grabbed_events = my_calendar_grab_events($c_year,$c_month,$thisday,$category);
492
  $events_class = '';
493
  if (!count($grabbed_events)) {
494
  $events_class = ' no-events';
504
  $trigger = '';
505
  }
506
  }
507
+ if ( $start_of_week == 0) {
508
+ $class = ($ii<6&&$ii>0?"$trigger":"weekend$trigger");
509
+ $i++;
510
  } else {
511
+ $class = ($ii<5)?"$trigger":"weekend$trigger";
512
+ $i++;
513
  }
514
+ $week_date_format = date('M j, \'y',strtotime( "$c_year-$c_month-$thisday" ) );
515
+ $thisday_heading = ($time == 'week')?"<small>$week_date_format</small>":$thisday;
516
+ $my_calendar_body .= '
517
+ <td class="'.(date("Ymd", mktime (0,0,0,$c_month,$thisday,$c_year))==date_i18n("Ymd",time()+$offset)?'current-day':'day-with-date').$events_class.'">'."\n
518
+ <$element class='mc-date ".$class."'>".$thisday_heading."</$element>\n
519
+ ". my_calendar_draw_events($grabbed_events, $format, $process_date)."\n
520
+ </td>\n";
521
  } else {
522
  $my_calendar_body .= "<td class='day-without-date'>&nbsp;</td>\n";
523
  }
529
  $my_calendar_body .= "<ul id=\"calendar-list\">";
530
  // show calendar as list
531
  $date_format = ( get_option('my_calendar_date_format') != '' ) ? ( get_option('my_calendar_date_format') ) : ( get_option( 'date_format' ) );
532
+ if ( $time == 'week' ) {
533
+ $num_months = 1;
534
+ } else {
535
  $num_months = get_option('my_calendar_show_months');
536
+ }
537
  $num_events = 0;
538
  for ($m=0;$m<$num_months;$m++) {
539
  if ($m == 0) {
546
  $c_month = $c_month - 12;
547
  $c_year = $c_year + 1;
548
  }
549
+ $days_in_month = date("t", mktime (0,0,0,$c_month,1,$c_year));
550
+
551
+ if ($time == 'week') {
552
+ $firstday = date('j',mktime(0,0,0,$c_month,$c_day,$c_year));
553
+ $lastday = $firstday + 6;
554
+ } else {
555
+ $firstday = 1;
556
+ $lastday = $days_in_month;
557
+ }
558
+ $useday = 1;
559
+ $inc_month = false;
560
+ for ($i=$firstday; $i<=$lastday; $i++) {
561
+ if ($i > $days_in_month) {
562
+ $thisday = $useday;
563
+ if ($inc_month == false) {
564
+ if ($c_month == 12) {
565
+ $c_month = 1;
566
+ } else {
567
+ $c_month = $c_month + 1;
568
+ }
569
+ }
570
+ $inc_month = true;
571
+ $useday++;
572
+ } else {
573
+ $thisday = $i;
574
+ }
575
+ $process_date = date_i18n('Y-m-d',mktime(0,0,0,$c_month,$thisday,$c_year));
576
+ $grabbed_events = my_calendar_grab_events($c_year,$c_month,$thisday,$category);
577
  if (count($grabbed_events)) {
578
  if ( get_option('list_javascript') != 1) {
579
  $is_anchor = "<a href='#'>";
581
  } else {
582
  $is_anchor = $is_close_anchor = "";
583
  }
584
+ $my_calendar_body .= "
585
+ <li class='$class".(date("Ymd", mktime (0,0,0,$c_month,$thisday,$c_year))==date("Ymd",time()+($offset))?' current-day':'')."'>
586
+ <strong class=\"event-date\">$is_anchor".date_i18n($date_format,mktime(0,0,0,$c_month,$thisday,$c_year))."$is_close_anchor</strong>".my_calendar_draw_events($grabbed_events, $format, $process_date)."
587
+ </li>";
588
  $num_events++;
589
  }
590
  $class = (my_calendar_is_odd($num_events))?"odd":"even";
602
  $cat_details = $wpdb->get_results($sql);
603
  $my_calendar_body .= '<div class="category-key">
604
  <h3>'.__('Category Key','my-calendar')."</h3>\n<ul>\n";
605
+ if ( is_custom_icon() ) {
606
+ $path = $wp_plugin_url . '/my-calendar-custom/';
607
+ } else {
608
+ $path = $wp_plugin_url . '/my-calendar/icons/';
609
+ }
 
610
  foreach($cat_details as $cat_detail) {
611
+ $title_class = sanitize_title($cat_detail->category_name);
612
  if ($cat_detail->category_icon != "" && get_option('my_calendar_hide_icons')!='true') {
613
+ $my_calendar_body .= '<li class="cat_'.$title_class.'"><span class="category-color-sample"><img src="'.$path.'/'.$cat_detail->category_icon.'" alt="" style="background:'.$cat_detail->category_color.';" /></span>'.$cat_detail->category_name."</li>\n";
614
  } else {
615
+ $my_calendar_body .= '<li class="cat_'.$title_class.'"><span class="category-color-sample no-icon" style="background:'.$cat_detail->category_color.';"> &nbsp; </span>'.$cat_detail->category_name."</li>\n";
616
  }
617
  }
618
  $my_calendar_body .= "</ul>\n</div>";
619
+ }
620
+
621
+ $my_calendar_body .= mc_rss_links();
622
  $my_calendar_body .= "\n</div>";
623
  // The actual printing is done by the shortcode function.
624
  return $my_calendar_body;
625
  }
626
 
627
+ function mc_rss_links() {
628
+ global $wp_rewrite;
629
+ if ( $wp_rewrite->using_permalinks() ) {
630
+ $feed = '/feed/my-calendar-rss';
631
+ $ics = '/feed/my-calendar-ics';
632
+ } else {
633
+ $feed = '?feed=my-calendar-rss';
634
+ $ics = '?feed=my-calendar-ics';
635
+ }
636
+ $rss = (get_option('mc_show_rss')=='true')?"
637
+ <li class='rss'><a href='".home_url()."$feed'>".__('Subscribe by <abbr title="Really Simple Syndication">RSS</abbr>','my-calendar')."</a></li>\n":'';
638
+ $ical = (get_option('mc_show_ical')=='true')?"<li class='ics'><a href='".home_url()."$ics'>".__('Download as <abbr title="iCal Events Export">iCal</abbr>','my-calendar')."</a></li>\n":'';
639
+ $output = "<ul id='mc-export'>\n
640
+ $rss
641
+ $ical
642
+ </ul>\n";
643
+ if ( get_option('mc_show_rss')=='true' || get_option('mc_show_ical')=='true' ) {
644
+ return $output;
645
+ }
646
+ }
647
 
648
  // Configure the "Next" link in the calendar
649
+ function my_calendar_next_link($cur_year,$cur_month,$cur_week,$format,$time='month') {
650
  $next_year = $cur_year + 1;
651
  $next_events = ( get_option( 'mc_next_events') == '' )?"Next events":stripcslashes( get_option( 'mc_next_events') );
652
  $num_months = get_option('my_calendar_show_months');
653
+ $nYr = $cur_year;
654
+ if ($num_months <= 1 || $format!="list") {
655
  if ($cur_month == 12) {
656
  $nMonth = 1;
657
  $nYr = $next_year;
658
  } else {
659
+ $next_month = $cur_month + 1;
660
+ $nMonth = $next_month;
661
+ $nYr = $cur_year;
662
  }
663
  } else {
664
  $next_month = (($cur_month + $num_months) > 12)?(($cur_month + $num_months) - 12):($cur_month + $num_months);
667
  $nYr = $next_year;
668
  } else {
669
  $nMonth = $next_month;
670
+ $nYr = $cur_year;
671
  }
672
  }
673
+ if ($time == 'week') {
674
+ if ( $cur_week == 52 ) {
675
+ $nWeek = 1;
676
+ $nYr = $next_year;
677
+ } else {
678
+ $nWeek = $cur_week + 1;
679
+ $nYr = $cur_year;
680
+ }
681
+ }
682
+ $output = array('month'=>$nMonth,'yr'=>$nYr,'week'=>$nWeek,'label'=>$next_events);
683
  return $output;
684
  }
685
 
686
  // Configure the "Previous" link in the calendar
687
+ function my_calendar_prev_link($cur_year,$cur_month,$cur_week,$format,$time='month') {
688
  $last_year = $cur_year - 1;
689
  $previous_events = ( get_option( 'mc_previous_events') == '' )?"Previous events":stripcslashes( get_option( 'mc_previous_events') );
690
  $num_months = get_option('my_calendar_show_months');
691
+ $pYr = $cur_year;
692
  if ($num_months <= 1 || $format=="calendar") {
693
  if ($cur_month == 1) {
694
  $pMonth = 12;
696
  } else {
697
  $next_month = $cur_month - 1;
698
  $pMonth = $next_month;
699
+ $pYr = $cur_year;
700
  }
701
  } else {
702
  $next_month = ($cur_month > $num_months)?($cur_month - $num_months):(($cur_month - $num_months) + 12);
705
  $pYr = $last_year;
706
  } else {
707
  $pMonth = $next_month;
708
+ $pYr = $cur_year;
709
  }
710
  }
711
+ if ($time == 'week') {
712
+ if ( $cur_week == 1 ) {
713
+ $pWeek = 52;
714
+ $pYr = $last_year;
715
+ } else {
716
+ $pWeek = $cur_week - 1;
717
+ $pYr = $cur_year;
718
+ }
719
+ }
720
+ $output = array( 'month'=>$pMonth,'yr'=>$pYr,'week'=>$pWeek,'label'=>$previous_events );
721
  return $output;
722
  }
723
 
774
  $output .= "<ul id='mc-locations-list'>
775
  <li><a href='$current_url$char"."loc=none&amp;ltype=none'>Show all</a></li>\n";
776
  } else {
777
+ $ltype = ($_GET['ltype']=='')?$datatype:$_GET['ltype'];
778
  $output .= "
779
  <form action='' method='GET'>
780
  <div>
791
  <option value='none'>Show all</option>\n";
792
  }
793
  foreach ( $locations as $key=>$location ) {
794
+
795
  if ($type == 'saved') {
796
  foreach ( $location as $key=>$value ) {
797
  $vt = urlencode(trim($value));
798
  if ($show == 'list') {
799
+ $selected = ($vt == $_GET['loc'])?" class='selected'":'';
800
+ $output .= "<li><a rel='nofollow' href='$current_url".$char."loc=$vt&amp;ltype=$datatype'$selected>$value</a></li>\n";
801
  } else {
802
+ $selected = ($vt == $_GET['loc'])?" selected='selected'":'';
803
+ $output .= "<option value='$vt'$selected>$value</option>\n";
804
  }
805
  }
806
  } else {
807
  $vk = urlencode(trim($key));
808
  $location = trim($location);
809
  if ($show == 'list') {
810
+ $selected = ($vk == $_GET['loc'])?" class='selected'":'';
811
+ $output .= "<li><a rel='nofollow' href='$current_url".$char."loc=$vk&amp;ltype=$datatype'$selected>$location</a></li>\n";
812
  } else {
813
+ $selected = ($vk == $_GET['loc'])?" selected='selected'":'';
814
+ $output .= "<option value='$vk'$selected>$location</option>\n";
815
  }
816
  }
817
  }
822
  }
823
  return $output;
824
  }
 
825
  ?>
my-calendar-rss.php ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ function my_calendar_rss() {
3
+ // establish template
4
+ $template = "\n<item>
5
+ <title>{title}</title>
6
+ <link>{link}</link>
7
+ <pubDate>{rssdate}</pubDate>
8
+ <dc:creator>{author}</dc:creator>
9
+ <description><![CDATA[
10
+ &lt;div class=&quot;vevent&quot;&gt;
11
+ &lt;h1 class=&quot;summary&quot;&gt;{rss_title}&lt;/h1&gt;
12
+ &lt;p class=&quot;description&quot;&gt;{rss_description}&lt;/p&gt;
13
+ &lt;p class=&quot;dtstart&quot; title=&quot;{ical_start}&quot;&gt;Begin: {time} on {date}&lt;/p&gt;
14
+ &lt;p class=&quot;dtend&quot; title=&quot;{ical_end}&quot;&gt;End: {endtime} on {enddate}&lt;/p&gt;
15
+ &lt;div class=&quot;location&quot;&gt;{rss_hcard}&lt;/div&gt;
16
+ {rss_link_title}
17
+ &lt;/div&gt;
18
+ ]]></description>
19
+ <content:encoded>
20
+ <![CDATA[
21
+ <div class='vevent'>
22
+ <h1 class='summary'>{title}</h1>
23
+ <p class='description'>{description}</p>
24
+ <p class='dtstart' title='{ical_start}'>Begin: {time} on {date}</p>
25
+ <p class='dtend' title='{ical_end}'>End: {endtime} on {enddate}</p>
26
+ <div class='location'>{hcard}</div>
27
+ {link_title}
28
+ </div>
29
+ ]]>
30
+ </content:encoded>
31
+ <dc:format xmlns:dc='http://purl.org/dc/elements/1.1/'>text/html</dc:format>
32
+ <dc:source xmlns:dc='http://purl.org/dc/elements/1.1/'>".home_url()."</dc:source>
33
+ <guid isPermaLink='false'>{guid}</guid>
34
+ </item>\n";
35
+ // add RSS headers
36
+ $output = '<?xml version="1.0" encoding="UTF-8"?>
37
+ <rss version="2.0"
38
+ xmlns:content="http://purl.org/rss/1.0/modules/content/"
39
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
40
+ xmlns:atom="http://www.w3.org/2005/Atom"
41
+ xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
42
+ xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
43
+ >
44
+ <channel>
45
+ <title>'. get_bloginfo('name') .' Calendar</title>
46
+ <link>'. home_url() .'</link>
47
+ <description>'. get_bloginfo('description') . ': My Calendar Events</description>
48
+ <language>'. get_bloginfo('language') .'</language>
49
+ <managingEditor>'. get_bloginfo('admin_email') .' (' . get_bloginfo('name') . ' Admin)</managingEditor>
50
+ <generator>My Calendar WordPress Plugin http://www.joedolson.com/articles/my-calendar/</generator>
51
+ <lastBuildDate>'. mysql2date('D, d M Y H:i:s +0000', time()+$offset) .'</lastBuildDate>
52
+ <atom:link href="'. get_current_url() .'" rel="self" type="application/rss+xml" />';
53
+
54
+ $events = mc_get_all_events($category);
55
+ $before = 0;
56
+ $after = 10;
57
+ $output .= mc_produce_upcoming_events( $events,$template,$before,$after,'rss' );
58
+ $output .= '</channel>
59
+ </rss>';
60
+ header('Content-type: text/xml');
61
+ header("Pragma: no-cache");
62
+ header("Expires: 0");
63
+ echo $output;
64
+ }
65
+ ?>
my-calendar-settings.php CHANGED
@@ -2,10 +2,6 @@
2
 
3
  // Display the admin configuration page
4
 
5
- if ($_POST['import'] == 'true') {
6
- my_calendar_import();
7
- }
8
-
9
  function csv_to_array($csv, $delimiter = ',', $enclosure = '"', $escape = '\\', $terminator = "\n") {
10
  $r = array();
11
  $rows = explode($terminator,trim($csv));
@@ -95,13 +91,18 @@ $wpdb->hide_errors();
95
  }
96
 
97
  function edit_my_calendar_config() {
98
- global $wpdb;
99
 
100
  // We can't use this page unless My Calendar is installed/upgraded
101
  check_my_calendar();
102
 
 
 
 
 
 
103
  if (isset($_POST['permissions'])) {
104
-
105
  // management
106
  $new_perms = $_POST['permissions'];
107
  update_option('can_manage_events',$new_perms);
@@ -109,11 +110,14 @@ function edit_my_calendar_config() {
109
  update_option('mc_event_approve',$mc_event_approve);
110
  $mc_event_approve_perms = $_POST['mc_event_approve_perms'];
111
  update_option('mc_event_approve_perms',$mc_event_approve_perms);
 
 
112
  echo "<div class=\"updated\"><p><strong>".__('Permissions Settings saved','my-calendar').".</strong></p></div>";
113
 
114
  }
115
  // output
116
- if (isset($_POST['my_calendar_show_months']) ) {
 
117
  $my_calendar_show_months = (int) $_POST['my_calendar_show_months'];
118
  $my_calendar_date_format = $_POST['my_calendar_date_format'];
119
  $disp_author = ($_POST['display_author']=='on')?'true':'false';
@@ -128,9 +132,15 @@ function edit_my_calendar_config() {
128
  $mc_no_fifth_week = $_POST['mc_no_fifth_week'];
129
  $my_calendar_event_link_expires = ($_POST['mc_event_link_expires']=='on')?'true':'false';
130
  $mc_apply_color = $_POST['mc_apply_color'];
 
 
 
 
131
  $mc_title_template = $_POST['mc_title_template'];
132
  $templates = get_option('my_calendar_templates');
133
  $templates['title'] = $mc_title_template;
 
 
134
  update_option('my_calendar_templates',$templates);
135
  update_option('display_author',$disp_author);
136
  update_option('display_jump',$disp_jump);
@@ -146,12 +156,15 @@ function edit_my_calendar_config() {
146
  update_option('mc_short',$mc_short);
147
  update_option('mc_desc',$mc_desc);
148
  update_option('mc_no_fifth_week',$mc_no_fifth_week);
 
 
149
 
150
  // styles (output)
151
  echo "<div class=\"updated\"><p><strong>".__('Output Settings saved','my-calendar').".</strong></p></div>";
152
  }
153
  // input
154
  if (isset($_POST['mc_input'])) {
 
155
  $mc_input_options_administrators = ($_POST['mc_input_options_administrators']=='on')?'true':'false';
156
  $mc_input_options = array(
157
  'event_short'=>$_POST['mci_event_short'],
@@ -241,7 +254,8 @@ echo my_calendar_check_db();
241
  <h3><?php _e('Calendar Management Settings','my-calendar'); ?></h3>
242
  <div class="inside">
243
  <form name="my-calendar" id="my-calendar-manage" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-config">
244
- <fieldset>
 
245
  <legend><?php _e('Calendar Options: Management','my-calendar'); ?></legend>
246
  <p>
247
  <label for="permissions"><?php _e('Choose the lowest user group that may create events','my-calendar'); ?></label> <select id="permissions" name="permissions">
@@ -259,11 +273,17 @@ echo my_calendar_check_db();
259
  <option value="publish_posts"<?php echo jd_option_selected(get_option('mc_event_approve_perms'),'publish_posts','option'); ?>><?php _e('Author','my-calendar')?></option>
260
  <option value="moderate_comments"<?php echo jd_option_selected(get_option('mc_event_approve_perms'),'moderate_comments','option'); ?>><?php _e('Editor','my-calendar')?></option>
261
  <option value="manage_options"<?php echo jd_option_selected(get_option('mc_event_approve_perms'),'manage_options','option'); ?>><?php _e('Administrator','my-calendar')?></option>
262
- </select>
263
- </p>
264
- <p>
265
- <input type="checkbox" id="mc_event_approve" name="mc_event_approve" <?php jd_cal_checkCheckbox('mc_event_approve','true'); ?> /> <label for="mc_event_approve"><?php _e('Enable approval options.','my-calendar'); ?></label>
266
  </p>
 
 
 
 
 
 
 
 
 
267
  </fieldset>
268
  <p>
269
  <input type="submit" name="save" class="button-primary" value="<?php _e('Save Approval Settings','my-calendar'); ?> &raquo;" />
@@ -275,6 +295,7 @@ echo my_calendar_check_db();
275
  <h3><?php _e('Calendar Text Settings','my-calendar'); ?></h3>
276
  <div class="inside">
277
  <form name="my-calendar" id="my-calendar-text" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-config">
 
278
  <fieldset>
279
  <legend><?php _e('Calendar Options: Customize Text','my-calendar'); ?></legend>
280
  <p>
@@ -306,6 +327,7 @@ echo my_calendar_check_db();
306
  <h3><?php _e('Calendar Output Settings','my-calendar'); ?></h3>
307
  <div class="inside">
308
  <form name="my-calendar" id="my-calendar-output" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-config">
 
309
  <fieldset>
310
  <legend><?php _e('Calendar Options: Output','my-calendar'); ?></legend>
311
  <p>
@@ -351,9 +373,35 @@ echo my_calendar_check_db();
351
  <input type="checkbox" id="mc_event_registration" name="mc_event_registration" <?php jd_cal_checkCheckbox('mc_event_registration','true'); ?> /> <label for="mc_event_registration"><?php _e('Show current availability status of events.','my-calendar'); ?></label>
352
  </p>
353
  <p>
354
- <input type="checkbox" id="mc_no_fifth_week" name="mc_no_fifth_week" value="true" <?php jd_cal_checkCheckbox('mc_no_fifth_week','true'); ?> /> <label for="mc_no_fifth_week"><?php _e('If a recurring event is scheduled for a date which doesn\'t exist (such as the 5th Wednesday in February), move it back one week.','my-calendar'); ?></label>
 
 
 
 
 
 
355
  <?php _e('If this option is unchecked, recurring events which fall on dates which don\'t exist will simply not be shown on the calendar.','my-calendar'); ?>
356
  </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
357
  </fieldset>
358
  <fieldset>
359
  <legend><?php _e('Calendar Options: Style','my-calendar'); ?></legend>
@@ -373,6 +421,7 @@ echo my_calendar_check_db();
373
  <h3><?php _e('Calendar Input Settings','my-calendar'); ?></h3>
374
  <div class="inside">
375
  <form name="my-calendar" id="my-calendar-input" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-config">
 
376
  <fieldset>
377
  <legend><?php _e('Calendar Options: Input','my-calendar'); ?></legend>
378
  <div><input type='hidden' name='mc_input' value='true' /></div>
@@ -381,6 +430,10 @@ echo my_calendar_check_db();
381
  $input_options = get_option('mc_input_options');
382
  $input_labels = array('event_location_dropdown'=>__('Show Event Location Dropdown Menu','my-calendar'),'event_short'=>__('Show Event Short Description field','my-calendar'),'event_desc'=>__('Show Event Description Field','my-calendar'),'event_category'=>__('Show Event Category field','my-calendar'),'event_link'=>__('Show Event Link field','my-calendar'),'event_recurs'=>__('Show Event Recurrence Options','my-calendar'),'event_open'=>__('Show event registration options','my-calendar'),'event_location'=>__('Show event location fields','my-calendar') );
383
  $output = '';
 
 
 
 
384
  foreach ($input_options as $key=>$value) {
385
  $checked = ($value == 'on')?"checked='checked'":'';
386
  $output .= "<p><input type=\"checkbox\" id=\"mci_$key\" name=\"mci_$key\" $checked /> <label for=\"mci_$key\">$input_labels[$key]</label></p>";
@@ -401,6 +454,7 @@ echo my_calendar_check_db();
401
  <h3><?php _e('Calendar Email Settings','my-calendar'); ?></h3>
402
  <div class="inside">
403
  <form name="my-calendar" id="my-calendar-email" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-config">
 
404
  <fieldset>
405
  <legend><?php _e('Calendar Options: Email Notifications','my-calendar'); ?></legend>
406
  <div><input type='hidden' name='mc_email' value='true' /></div>
@@ -431,6 +485,7 @@ echo my_calendar_check_db();
431
  <h3><?php _e('Calendar User Settings','my-calendar'); ?></h3>
432
  <div class="inside">
433
  <form name="my-calendar" id="my-calendar-user" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-config">
 
434
  <div><input type='hidden' name='mc_user' value='true' /></div>
435
 
436
  <fieldset>
@@ -440,8 +495,13 @@ echo my_calendar_check_db();
440
  <input type="checkbox" id="mc_user_settings_enabled" name="mc_user_settings_enabled" value="true" <?php jd_cal_checkCheckbox('mc_user_settings_enabled','true'); ?> /> <label for="mc_user_settings_enabled"><strong><?php _e('Allow registered users to provide timezone or location presets in their user profiles.','my-calendar'); ?></strong></label>
441
  </p>
442
 
443
- <?php
 
444
  $mc_user_settings = get_option('mc_user_settings');
 
 
 
 
445
  ?>
446
  <fieldset>
447
  <legend><?php _e('Timezone Settings','my-calendar'); ?></legend>
@@ -503,6 +563,12 @@ $locations .= "$key,$value\n";
503
  </form>
504
  <?php
505
  //update_option( 'ko_calendar_imported','false' );
 
 
 
 
 
 
506
 
507
  if ( get_option( 'ko_calendar_imported' ) != 'true' ) {
508
  if (function_exists('check_calendar')) {
@@ -512,6 +578,7 @@ if ( get_option( 'ko_calendar_imported' ) != 'true' ) {
512
  echo "</p>";
513
  ?>
514
  <form method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-config">
 
515
  <div>
516
  <input type="hidden" name="import" value="true" />
517
  <input type="submit" value="<?php _e('Import from Calendar','my-calendar'); ?>" name="import-calendar" class="button-primary" />
2
 
3
  // Display the admin configuration page
4
 
 
 
 
 
5
  function csv_to_array($csv, $delimiter = ',', $enclosure = '"', $escape = '\\', $terminator = "\n") {
6
  $r = array();
7
  $rows = explode($terminator,trim($csv));
91
  }
92
 
93
  function edit_my_calendar_config() {
94
+ global $wpdb,$default_user_settings;
95
 
96
  // We can't use this page unless My Calendar is installed/upgraded
97
  check_my_calendar();
98
 
99
+ if (!empty($_POST)) {
100
+ $nonce=$_REQUEST['_wpnonce'];
101
+ if (! wp_verify_nonce($nonce,'my-calendar-nonce') ) die("Security check failed");
102
+ }
103
+
104
  if (isset($_POST['permissions'])) {
105
+
106
  // management
107
  $new_perms = $_POST['permissions'];
108
  update_option('can_manage_events',$new_perms);
110
  update_option('mc_event_approve',$mc_event_approve);
111
  $mc_event_approve_perms = $_POST['mc_event_approve_perms'];
112
  update_option('mc_event_approve_perms',$mc_event_approve_perms);
113
+ $mc_event_edit_perms = $_POST['mc_event_edit_perms'];
114
+ update_option('mc_event_edit_perms',$mc_event_edit_perms);
115
  echo "<div class=\"updated\"><p><strong>".__('Permissions Settings saved','my-calendar').".</strong></p></div>";
116
 
117
  }
118
  // output
119
+ if (isset($_POST['my_calendar_show_months']) ) {
120
+
121
  $my_calendar_show_months = (int) $_POST['my_calendar_show_months'];
122
  $my_calendar_date_format = $_POST['my_calendar_date_format'];
123
  $disp_author = ($_POST['display_author']=='on')?'true':'false';
132
  $mc_no_fifth_week = $_POST['mc_no_fifth_week'];
133
  $my_calendar_event_link_expires = ($_POST['mc_event_link_expires']=='on')?'true':'false';
134
  $mc_apply_color = $_POST['mc_apply_color'];
135
+ $mc_skip_holidays = ($_POST['mc_skip_holidays']=='on')?'true':'false';
136
+ $mc_show_rss = ($_POST['mc_show_rss']=='on')?'true':'false';
137
+ $mc_show_ical = ($_POST['mc_show_ical']=='on')?'true':'false';
138
+ $mc_skip_holidays_category = (int) $_POST['mc_skip_holidays_category'];
139
  $mc_title_template = $_POST['mc_title_template'];
140
  $templates = get_option('my_calendar_templates');
141
  $templates['title'] = $mc_title_template;
142
+ update_option('mc_skip_holidays_category',$mc_skip_holidays_category);
143
+ update_option('mc_skip_holidays',$mc_skip_holidays);
144
  update_option('my_calendar_templates',$templates);
145
  update_option('display_author',$disp_author);
146
  update_option('display_jump',$disp_jump);
156
  update_option('mc_short',$mc_short);
157
  update_option('mc_desc',$mc_desc);
158
  update_option('mc_no_fifth_week',$mc_no_fifth_week);
159
+ update_option('mc_show_rss',$mc_show_rss);
160
+ update_option('mc_show_ical',$mc_show_ical);
161
 
162
  // styles (output)
163
  echo "<div class=\"updated\"><p><strong>".__('Output Settings saved','my-calendar').".</strong></p></div>";
164
  }
165
  // input
166
  if (isset($_POST['mc_input'])) {
167
+
168
  $mc_input_options_administrators = ($_POST['mc_input_options_administrators']=='on')?'true':'false';
169
  $mc_input_options = array(
170
  'event_short'=>$_POST['mci_event_short'],
254
  <h3><?php _e('Calendar Management Settings','my-calendar'); ?></h3>
255
  <div class="inside">
256
  <form name="my-calendar" id="my-calendar-manage" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-config">
257
+ <div><input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce('my-calendar-nonce'); ?>" /></div>
258
+ <fieldset>
259
  <legend><?php _e('Calendar Options: Management','my-calendar'); ?></legend>
260
  <p>
261
  <label for="permissions"><?php _e('Choose the lowest user group that may create events','my-calendar'); ?></label> <select id="permissions" name="permissions">
273
  <option value="publish_posts"<?php echo jd_option_selected(get_option('mc_event_approve_perms'),'publish_posts','option'); ?>><?php _e('Author','my-calendar')?></option>
274
  <option value="moderate_comments"<?php echo jd_option_selected(get_option('mc_event_approve_perms'),'moderate_comments','option'); ?>><?php _e('Editor','my-calendar')?></option>
275
  <option value="manage_options"<?php echo jd_option_selected(get_option('mc_event_approve_perms'),'manage_options','option'); ?>><?php _e('Administrator','my-calendar')?></option>
276
+ </select> <input type="checkbox" id="mc_event_approve" name="mc_event_approve" <?php jd_cal_checkCheckbox('mc_event_approve','true'); ?> /> <label for="mc_event_approve"><?php _e('Enable approval options.','my-calendar'); ?></label>
 
 
 
277
  </p>
278
+ <p>
279
+ <label for="mc_event_edit_perms"><?php _e('Choose the lowest user group that may edit or delete any event','my-calendar'); ?></label> <select id="mc_event_edit_perms" name="mc_event_edit_perms">
280
+ <option value="edit_posts"<?php echo jd_option_selected(get_option('mc_event_edit_perms'),'edit_posts','option'); ?>><?php _e('Contributor','my-calendar')?></option>
281
+ <option value="publish_posts"<?php echo jd_option_selected(get_option('mc_event_edit_perms'),'publish_posts','option'); ?>><?php _e('Author','my-calendar')?></option>
282
+ <option value="moderate_comments"<?php echo jd_option_selected(get_option('mc_event_edit_perms'),'moderate_comments','option'); ?>><?php _e('Editor','my-calendar')?></option>
283
+ <option value="manage_options"<?php echo jd_option_selected(get_option('mc_event_edit_perms'),'manage_options','option'); ?>><?php _e('Administrator','my-calendar')?></option>
284
+ </select><br />
285
+ <em><?php _e('By default, only administrators may edit or delete any event. Other users may only edit or delete events which they authored.','my-calendar'); ?></em>
286
+ </p>
287
  </fieldset>
288
  <p>
289
  <input type="submit" name="save" class="button-primary" value="<?php _e('Save Approval Settings','my-calendar'); ?> &raquo;" />
295
  <h3><?php _e('Calendar Text Settings','my-calendar'); ?></h3>
296
  <div class="inside">
297
  <form name="my-calendar" id="my-calendar-text" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-config">
298
+ <div><input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce('my-calendar-nonce'); ?>" /></div>
299
  <fieldset>
300
  <legend><?php _e('Calendar Options: Customize Text','my-calendar'); ?></legend>
301
  <p>
327
  <h3><?php _e('Calendar Output Settings','my-calendar'); ?></h3>
328
  <div class="inside">
329
  <form name="my-calendar" id="my-calendar-output" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-config">
330
+ <div><input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce('my-calendar-nonce'); ?>" /></div>
331
  <fieldset>
332
  <legend><?php _e('Calendar Options: Output','my-calendar'); ?></legend>
333
  <p>
373
  <input type="checkbox" id="mc_event_registration" name="mc_event_registration" <?php jd_cal_checkCheckbox('mc_event_registration','true'); ?> /> <label for="mc_event_registration"><?php _e('Show current availability status of events.','my-calendar'); ?></label>
374
  </p>
375
  <p>
376
+ <input type="checkbox" id="mc_show_rss" name="mc_show_rss" <?php jd_cal_checkCheckbox('mc_show_rss','true'); ?> /> <label for="mc_show_rss"><?php _e('Show link to My Calendar RSS feed.','my-calendar'); ?></label>
377
+ </p>
378
+ <p>
379
+ <input type="checkbox" id="mc_show_ical" name="mc_show_ical" <?php jd_cal_checkCheckbox('mc_show_ical','true'); ?> /> <label for="mc_show_ical"><?php _e('Show link to iCal format download.','my-calendar'); ?></label>
380
+ </p>
381
+ <p>
382
+ <input type="checkbox" id="mc_no_fifth_week" name="mc_no_fifth_week" value="true" <?php jd_cal_checkCheckbox('mc_no_fifth_week','true'); ?> /> <label for="mc_no_fifth_week"><?php _e('If a recurring event is scheduled for a date which doesn\'t exist (such as the 5th Wednesday in February), move it back one week.','my-calendar'); ?></label><br />
383
  <?php _e('If this option is unchecked, recurring events which fall on dates which don\'t exist will simply not be shown on the calendar.','my-calendar'); ?>
384
  </p>
385
+ <p>
386
+ <input type="checkbox" id="mc_skip_holidays" name="mc_skip_holidays" <?php jd_cal_checkCheckbox('mc_skip_holidays','true'); ?> /> <label for="mc_skip_holidays"><?php _e('If an event coincides with an event in the designated "Holiday" category, do not show the event.','my-calendar'); ?></label>
387
+ </p>
388
+ <p>
389
+ <label for="mc_skip_holidays_category"><?php _e('Holiday Category','my-calendar'); ?></label>
390
+ <select id="mc_skip_holidays_category" name="mc_skip_holidays_category">
391
+ <?php
392
+ // Grab all the categories and list them
393
+ $sql = "SELECT * FROM " . MY_CALENDAR_CATEGORIES_TABLE;
394
+ $cats = $wpdb->get_results($sql);
395
+ foreach($cats as $cat) {
396
+ echo '<option value="'.$cat->category_id.'"';
397
+ if ( get_option('mc_skip_holidays_category') == $cat->category_id ){
398
+ echo ' selected="selected"';
399
+ }
400
+ echo '>'.$cat->category_name."</option>\n";
401
+ }
402
+ ?>
403
+ </select>
404
+ </p>
405
  </fieldset>
406
  <fieldset>
407
  <legend><?php _e('Calendar Options: Style','my-calendar'); ?></legend>
421
  <h3><?php _e('Calendar Input Settings','my-calendar'); ?></h3>
422
  <div class="inside">
423
  <form name="my-calendar" id="my-calendar-input" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-config">
424
+ <div><input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce('my-calendar-nonce'); ?>" /></div>
425
  <fieldset>
426
  <legend><?php _e('Calendar Options: Input','my-calendar'); ?></legend>
427
  <div><input type='hidden' name='mc_input' value='true' /></div>
430
  $input_options = get_option('mc_input_options');
431
  $input_labels = array('event_location_dropdown'=>__('Show Event Location Dropdown Menu','my-calendar'),'event_short'=>__('Show Event Short Description field','my-calendar'),'event_desc'=>__('Show Event Description Field','my-calendar'),'event_category'=>__('Show Event Category field','my-calendar'),'event_link'=>__('Show Event Link field','my-calendar'),'event_recurs'=>__('Show Event Recurrence Options','my-calendar'),'event_open'=>__('Show event registration options','my-calendar'),'event_location'=>__('Show event location fields','my-calendar') );
432
  $output = '';
433
+ // if input options isn't an array, we'll assume that this plugin wasn't upgraded properly, and reset them to the default.
434
+ if ( !is_array($input_options) ) {
435
+ update_option('mc_input_options',array('event_short'=>'on','event_desc'=>'on','event_category'=>'on','event_link'=>'on','event_recurs'=>'on','event_open'=>'on','event_location'=>'on','event_location_dropdown'=>'on') );
436
+ }
437
  foreach ($input_options as $key=>$value) {
438
  $checked = ($value == 'on')?"checked='checked'":'';
439
  $output .= "<p><input type=\"checkbox\" id=\"mci_$key\" name=\"mci_$key\" $checked /> <label for=\"mci_$key\">$input_labels[$key]</label></p>";
454
  <h3><?php _e('Calendar Email Settings','my-calendar'); ?></h3>
455
  <div class="inside">
456
  <form name="my-calendar" id="my-calendar-email" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-config">
457
+ <div><input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce('my-calendar-nonce'); ?>" /></div>
458
  <fieldset>
459
  <legend><?php _e('Calendar Options: Email Notifications','my-calendar'); ?></legend>
460
  <div><input type='hidden' name='mc_email' value='true' /></div>
485
  <h3><?php _e('Calendar User Settings','my-calendar'); ?></h3>
486
  <div class="inside">
487
  <form name="my-calendar" id="my-calendar-user" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-config">
488
+ <div><input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce('my-calendar-nonce'); ?>" /></div>
489
  <div><input type='hidden' name='mc_user' value='true' /></div>
490
 
491
  <fieldset>
495
  <input type="checkbox" id="mc_user_settings_enabled" name="mc_user_settings_enabled" value="true" <?php jd_cal_checkCheckbox('mc_user_settings_enabled','true'); ?> /> <label for="mc_user_settings_enabled"><strong><?php _e('Allow registered users to provide timezone or location presets in their user profiles.','my-calendar'); ?></strong></label>
496
  </p>
497
 
498
+ <?php
499
+
500
  $mc_user_settings = get_option('mc_user_settings');
501
+ if (!is_array($mc_user_settings)) {
502
+ update_option( 'mc_user_settings', $default_user_settings );
503
+ $mc_user_settings = get_option('mc_user_settings');
504
+ }
505
  ?>
506
  <fieldset>
507
  <legend><?php _e('Timezone Settings','my-calendar'); ?></legend>
563
  </form>
564
  <?php
565
  //update_option( 'ko_calendar_imported','false' );
566
+
567
+ if (isset($_POST['import']) && $_POST['import'] == 'true') {
568
+ $nonce=$_REQUEST['_wpnonce'];
569
+ if (! wp_verify_nonce($nonce,'my-calendar-nonce') ) die("Security check failed");
570
+ my_calendar_import();
571
+ }
572
 
573
  if ( get_option( 'ko_calendar_imported' ) != 'true' ) {
574
  if (function_exists('check_calendar')) {
578
  echo "</p>";
579
  ?>
580
  <form method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-config">
581
+ <div><input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce('my-calendar-nonce'); ?>" /></div>
582
  <div>
583
  <input type="hidden" name="import" value="true" />
584
  <input type="submit" value="<?php _e('Import from Calendar','my-calendar'); ?>" name="import-calendar" class="button-primary" />
my-calendar-styles.php CHANGED
@@ -1,49 +1,164 @@
1
  <?php
2
- // Display the admin configuration page
3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
 
5
  function edit_my_calendar_styles() {
6
- global $wpdb, $initial_style;
7
-
8
  // We can't use this page unless My Calendar is installed/upgraded
9
  check_my_calendar();
10
- $my_calendar_style = stripcslashes( get_option('my_calendar_style') );
11
- $my_calendar_use_styles = get_option('my_calendar_use_styles');
12
- $my_calendar_show_css = stripcslashes(get_option('my_calendar_show_css'));
13
-
14
- if ( isset($_POST['style'] ) ) {
 
 
 
 
 
 
 
 
 
15
 
16
- $my_calendar_style = $_POST['style'];
17
- $use_styles = ($_POST['use_styles']=='on')?'true':'false';
18
 
19
- update_option('my_calendar_style',$my_calendar_style);
20
- update_option('my_calendar_use_styles',$use_styles);
21
-
22
- $my_calendar_show_css = ($_POST['my_calendar_show_css']=='')?'':$_POST['my_calendar_show_css'];
23
- update_option('my_calendar_show_css',$my_calendar_show_css);
24
-
25
  if ( $_POST['reset_styles'] == 'on') {
26
- update_option('my_calendar_style',$initial_style);
 
 
 
 
27
  }
28
- echo "<div class=\"updated\"><p><strong>".__('Style Settings saved','my-calendar').".</strong></p></div>";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  }
 
30
  ?>
31
  <div class="wrap">
32
  <?php
33
- echo my_calendar_check_db();
34
  ?>
35
- <h2><?php _e('My Calendar Styles','my-calendar'); ?></h2>
36
  <?php jd_show_support_box(); ?>
37
  <div id="poststuff" class="jd-my-calendar">
38
  <div class="postbox">
39
  <h3><?php _e('Calendar Style Settings','my-calendar'); ?></h3>
40
  <div class="inside">
41
- <form name="my-calendar" id="my-calendar" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-styles">
 
 
 
42
  <p>
43
- <label for="my_calendar_show_css"><?php _e('Apply CSS only on these pages (comma separated page IDs)','my-calendar'); ?></label> <input type="text" id="my_calendar_show_css" name="my_calendar_show_css" value="<?php echo $my_calendar_show_css; ?>" />
44
- </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
45
  <fieldset>
46
  <legend><?php _e('CSS Style Options','my-calendar'); ?></legend>
 
 
 
 
47
  <p>
48
  <input type="checkbox" id="reset_styles" name="reset_styles" /> <label for="reset_styles"><?php _e('Reset the My Calendar stylesheet to the default','my-calendar'); ?></label> <input type="checkbox" id="use_styles" name="use_styles" <?php jd_cal_checkCheckbox('my_calendar_use_styles','true'); ?> /> <label for="use_styles"><?php _e('Disable My Calendar Stylesheet','my-calendar'); ?></label>
49
  </p>
1
  <?php
2
+ // Display the style configuration page
3
 
4
+ function mc_get_style_path($filename,$type='path') {
5
+ global $wp_plugin_url,$wp_plugin_dir;
6
+ if ( strpos( $filename,'mc_custom_' ) === 0 ) {
7
+ $filename = str_replace('mc_custom_','',$filename);
8
+ $stylefile = ($type=='path')?$wp_plugin_dir.'/my-calendar-custom/styles/'.$filename:$wp_plugin_url.'/my-calendar-custom/styles/'.$filename;
9
+ } else {
10
+ $stylefile = ($type=='path')?dirname(__FILE__).'/styles/' . $filename:$wp_plugin_url.'/my-calendar/styles/'.$filename;
11
+ }
12
+ if ( $type == 'path' ) {
13
+ if ( is_file($stylefile) ) {
14
+ return $stylefile;
15
+ } else {
16
+ return false;
17
+ }
18
+ } else {
19
+ return $stylefile;
20
+ }
21
+ }
22
+
23
+ function mc_write_styles($stylefile, $my_calendar_style) {
24
+ if ( is_writeable( $stylefile ) ) {
25
+ $f = fopen( $stylefile, 'w+' );
26
+ fwrite( $f, $my_calendar_style );
27
+ fclose( $f );
28
+ return true;
29
+ } else {
30
+ return false;
31
+ }
32
+ }
33
 
34
  function edit_my_calendar_styles() {
35
+ global $wpdb,$wp_plugin_dir;
 
36
  // We can't use this page unless My Calendar is installed/upgraded
37
  check_my_calendar();
38
+ if ( isset( $_POST['mc_edit_style'] ) ) {
39
+ $nonce=$_REQUEST['_wpnonce'];
40
+ if (! wp_verify_nonce($nonce,'my-calendar-nonce') ) die("Security check failed");
41
+ $my_calendar_style = stripcslashes( $_POST['style'] );
42
+ $my_calendar_show_css = stripcslashes( $_POST['my_calendar_show_css'] );
43
+ $my_calendar_css_file = stripcslashes( $_POST['my_calendar_css_file'] );
44
+
45
+ $stylefile = mc_get_style_path($my_calendar_css_file);
46
+ $wrote_styles = mc_write_styles($stylefile, $my_calendar_style);
47
+ if ($wrote_styles == true) {
48
+ delete_option('my_calendar_file_permissions');
49
+ delete_option('my_calendar_style');
50
+ }
51
+ $message .= ( $wrote_styles == true)?'<p>'. __('The stylesheet has been updated.', 'my-calendar') .'</p>':'<p><strong>'. __('Write Error! Please verify write permissions on the style file.', 'my-calendar') .'</strong></p>';
52
 
 
 
53
 
54
+ $my_calendar_show_css = ($_POST['my_calendar_show_css']=='')?'':$_POST['my_calendar_show_css'];
55
+ update_option('my_calendar_show_css',$my_calendar_show_css);
56
+ $use_styles = ($_POST['use_styles']=='on')?'true':'false';
57
+ update_option('my_calendar_use_styles',$use_styles);
58
+
 
59
  if ( $_POST['reset_styles'] == 'on') {
60
+ $my_calendar_css_file = get_option('my_calendar_css_file');
61
+ $stylefile = mc_get_style_path($my_calendar_css_file);
62
+ $stored_styles = get_option('my_calendar_stored_styles');
63
+ $styles = $stored_styles[$my_calendar_css_file];
64
+ $wrote_styles = mc_write_styles($stylefile, $styles);
65
  }
66
+ if ($wrote_styles == true) {
67
+ $message .= "<p>".__('Stylesheet reset to default.','my-calendar')."</p>";
68
+ }
69
+ $message .= "<p><strong>".__('Style Settings Saved','my-calendar').".</strong></p>";
70
+ echo "<div id='message' class='updated fade'>$message</div>";
71
+ }
72
+ if ( isset( $_POST['mc_choose_style'] ) ) {
73
+ $nonce=$_REQUEST['_wpnonce'];
74
+ if (! wp_verify_nonce($nonce,'my-calendar-nonce') ) die("Security check failed");
75
+ $my_calendar_css_file = stripcslashes( $_POST['my_calendar_css_file'] );
76
+
77
+ update_option('my_calendar_css_file',$my_calendar_css_file);
78
+ $message = '<p><strong>'. __('New theme selected.', 'my-calendar') .'</strong></p>';
79
+ echo "<div id='message' class='updated fade'>$message</div>";
80
+ }
81
+
82
+ $my_calendar_show_css = get_option('my_calendar_show_css');
83
+ $my_calendar_css_file = get_option('my_calendar_css_file');
84
+ $stylefile = mc_get_style_path($my_calendar_css_file);
85
+ if ( $stylefile ) {
86
+ $f = "";
87
+ $f = fopen($stylefile, 'r');
88
+ $file = fread($f, filesize($stylefile));
89
+ $my_calendar_style = $file;
90
+ fclose($f);
91
+ } else {
92
+ $my_calendar_style = __('Sorry. The file you are looking for doesn\'t appear to exist. Please check your file name and location!', 'my-calendar');
93
  }
94
+
95
  ?>
96
  <div class="wrap">
97
  <?php
98
+ echo my_calendar_check_db();
99
  ?>
100
+ <h2><?php _e('My Calendar Styles','my-calendar'); ?></h2>
101
  <?php jd_show_support_box(); ?>
102
  <div id="poststuff" class="jd-my-calendar">
103
  <div class="postbox">
104
  <h3><?php _e('Calendar Style Settings','my-calendar'); ?></h3>
105
  <div class="inside">
106
+ <form name="my-calendar" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-styles">
107
+ <div><input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce('my-calendar-nonce'); ?>" /></div>
108
+ <div><input type="hidden" value="true" name="mc_choose_style" /></div>
109
+ <fieldset>
110
  <p>
111
+ <label for="my_calendar_css_file"><?php _e('Select My Calendar Theme','my-calendar'); ?></label>
112
+ <select name="my_calendar_css_file" id="my_calendar_css_file">
113
+ <?php
114
+ $custom_directory = $wp_plugin_dir . '/my-calendar-custom/styles/';
115
+ $directory = dirname(__FILE__).'/styles/';
116
+
117
+ $files = @my_csslist($custom_directory);
118
+ if (!empty($files)) {
119
+ echo "<optgroup label='".__('Your Custom Stylesheets')."'>\n";
120
+ foreach ($files as $value) {
121
+ $test = "mc_custom_".$value;
122
+ $selected = (get_option('my_calendar_css_file') == $test )?" selected='selected'":"";
123
+ echo "<option value='mc_custom_$value'$selected>$value</option>\n";
124
+ }
125
+ echo "</optgroup>";
126
+ }
127
+ $files = my_csslist($directory);
128
+ echo "<optgroup label='".__('Installed Stylesheets','my-calendar')."'>\n";
129
+ foreach ($files as $value) {
130
+ $selected = (get_option('my_calendar_css_file') == $value )?" selected='selected'":"";
131
+ echo "<option value='$value'$selected>$value</option>\n";
132
+ }
133
+ echo "</optgroup>";
134
+ ?>
135
+ </select>
136
+ <input type="submit" name="save" class="button-primary" value="<?php _e('Choose Style','my-calendar'); ?> &raquo;" />
137
+ </p>
138
+ </fieldset>
139
+ </form>
140
+
141
+ <form name="my-calendar" method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-styles">
142
+ <div><input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce('my-calendar-nonce'); ?>" /></div>
143
+ <div><input type="hidden" value="true" name="mc_edit_style" />
144
+ <input type="hidden" name="my_calendar_css_file" value="<?php echo get_option('my_calendar_css_file'); ?>" />
145
+ </div>
146
+ <?php
147
+ if ( get_option('my_calendar_file_permissions') == 'false' ) {
148
+ echo "<div id='my_calendar_old_styles'>
149
+ <p>".__('My Calendar was unable to update your CSS files during the upgrade. Please check your file permissions if you wish to edit your My Calendar styles. Your previously stored styles are below. This message and these styles will be deleted from the database when you successfully update your stylesheet.','my-calendar')."</p><pre>";
150
+ echo stripcslashes(get_option('my_calendar_style'));
151
+ echo get_option('my_calendar_file_permission');
152
+ echo "</pre>
153
+ </div>";
154
+ }
155
+ ?>
156
  <fieldset>
157
  <legend><?php _e('CSS Style Options','my-calendar'); ?></legend>
158
+
159
+ <p>
160
+ <label for="my_calendar_show_css"><?php _e('Apply CSS only on these pages (comma separated page IDs)','my-calendar'); ?></label> <input type="text" id="my_calendar_show_css" name="my_calendar_show_css" value="<?php echo $my_calendar_show_css; ?>" />
161
+ </p>
162
  <p>
163
  <input type="checkbox" id="reset_styles" name="reset_styles" /> <label for="reset_styles"><?php _e('Reset the My Calendar stylesheet to the default','my-calendar'); ?></label> <input type="checkbox" id="use_styles" name="use_styles" <?php jd_cal_checkCheckbox('my_calendar_use_styles','true'); ?> /> <label for="use_styles"><?php _e('Disable My Calendar Stylesheet','my-calendar'); ?></label>
164
  </p>
my-calendar-templates.php CHANGED
@@ -1,18 +1,24 @@
1
  <?php
2
 
3
- function jd_draw_template($array,$template) {
4
  //1st argument: array of details
5
  //2nd argument: template to print details into
6
  foreach ($array as $key=>$value) {
7
  $search = "{".$key."}";
 
 
 
8
  $template = stripcslashes(str_replace($search,$value,$template));
 
 
 
9
  }
10
  return $template;
11
  }
12
 
13
  // Draw an event but customise the HTML for use in the widget
14
  function event_as_array($event) {
15
- global $wpdb;
16
  // My Calendar must be updated to run this function
17
  check_my_calendar();
18
 
@@ -22,12 +28,12 @@ $category_name = $event->category_name;
22
  $category_color = $event->category_color;
23
  $category_icon = $event->category_icon;
24
 
25
- if ( file_exists( WP_PLUGIN_DIR . '/my-calendar-custom/' ) ) {
26
  $path = '/my-calendar-custom';
27
  } else {
28
- $path = '/my-calendar/icons';
29
  }
30
- $category_icon = WP_PLUGIN_URL . $path . '/' . $category_icon;
31
 
32
  $e = get_userdata($event->event_author);
33
  $host = get_userdata($event->event_host);
@@ -109,7 +115,10 @@ $date_end = date_i18n(get_option('date_format'),strtotime($event->event_end));
109
  $details['endtime'] = date( get_option('time_format'),strtotime($event->event_endtime));
110
  }
111
  $details['author'] = $e->display_name;
112
- $details['host'] = $host->display_name;
 
 
 
113
  if ( $event->event_link_expires == 0 ) {
114
  $details['link'] = $event->event_link;
115
  } else {
@@ -147,6 +156,34 @@ $date_end = date_i18n(get_option('date_format'),strtotime($event->event_end));
147
  $details['event_open'] = $event_open;
148
  $details['icon'] = $category_icon;
149
  $details['color'] = $category_color;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
150
  if ($event->event_approve == 1 ) {
151
  $details['event_status'] = __('Published','my-calendar');
152
  } else {
@@ -155,4 +192,7 @@ $date_end = date_i18n(get_option('date_format'),strtotime($event->event_end));
155
 
156
  return $details;
157
  }
 
 
 
158
  ?>
1
  <?php
2
 
3
+ function jd_draw_template($array,$template,$type='list') {
4
  //1st argument: array of details
5
  //2nd argument: template to print details into
6
  foreach ($array as $key=>$value) {
7
  $search = "{".$key."}";
8
+ if ($type == 'list') {
9
+ if ($key == 'link' && $value == '') { $value = get_bloginfo('url'); }
10
+ }
11
  $template = stripcslashes(str_replace($search,$value,$template));
12
+ $rss_search = "{rss_$key}";
13
+ $value = utf8_encode(htmlentities( $value,ENT_COMPAT,get_bloginfo('charset') ) );
14
+ $template = stripcslashes(str_replace($rss_search,$value,$template));
15
  }
16
  return $template;
17
  }
18
 
19
  // Draw an event but customise the HTML for use in the widget
20
  function event_as_array($event) {
21
+ global $wpdb,$wp_plugin_dir,$wp_plugin_url;
22
  // My Calendar must be updated to run this function
23
  check_my_calendar();
24
 
28
  $category_color = $event->category_color;
29
  $category_icon = $event->category_icon;
30
 
31
+ if ( file_exists( $wp_plugin_dir . '/my-calendar-custom/' ) ) {
32
  $path = '/my-calendar-custom';
33
  } else {
34
+ $path = '/'.dirname(plugin_basename(__FILE__)).'/icons';
35
  }
36
+ $category_icon = $wp_plugin_url . $path . '/' . $category_icon;
37
 
38
  $e = get_userdata($event->event_author);
39
  $host = get_userdata($event->event_host);
115
  $details['endtime'] = date( get_option('time_format'),strtotime($event->event_endtime));
116
  }
117
  $details['author'] = $e->display_name;
118
+ $details['host'] = $host->display_name;
119
+ $details['host_email'] = $host->user_email;
120
+ if ($host->display_name == '') { $details['host'] = $e->display_name; }
121
+ if ($host->user_email == '') { $details['host_email'] = $e->user_email; }
122
  if ( $event->event_link_expires == 0 ) {
123
  $details['link'] = $event->event_link;
124
  } else {
156
  $details['event_open'] = $event_open;
157
  $details['icon'] = $category_icon;
158
  $details['color'] = $category_color;
159
+ $details['guid'] = sanitize_title($event->event_title).'-'.rand(100000000,999999999);
160
+ $details['rssdate'] = date( 'D, d M Y H:i:s +0000', strtotime( $date .' '. $details['time'] ) );
161
+ $details['ical_description'] = str_replace( "\r", "=0D=0A=", $event->event_desc );
162
+
163
+ $details['ical_location'] = $event->event_label .' '. $event->event_street .' '. $event->event_street2 .' '. $event->event_city .' '. $event->event_state .' '. $event->event_postcode;
164
+
165
+ /* ical format */
166
+ $ical_description = mc_newline_replace(strip_tags($event->event_desc));
167
+
168
+
169
+ $offset = get_option('gmt_offset');
170
+ $negative = ($offset < 0)?'true':'false';
171
+ $offset = str_pad( abs( $offset ),'0',STR_PAD_LEFT );
172
+ $offset = ($negative = 'true')?'-':'+' . $offset;
173
+ $offset = str_pad( $offset,5,'0',STR_PAD_RIGHT );
174
+
175
+ if ($event->event_endtime == '00:00:00') {
176
+ $endtime = '23:59:00';
177
+ } else {
178
+ $endtime = $event->event_endtime;
179
+ }
180
+
181
+ $dtstart = date("Ymd\THi00", strtotime($event->event_begin .' '. $event->event_time) ).'Z';
182
+ $dtend = date("Ymd\THi00", strtotime($event->event_end .' '. $endtime ) ).'Z';
183
+
184
+ $details['ical_desc'] = $ical_description;
185
+ $details['ical_start'] = $dtstart;
186
+ $details['ical_end'] = $dtend;
187
  if ($event->event_approve == 1 ) {
188
  $details['event_status'] = __('Published','my-calendar');
189
  } else {
192
 
193
  return $details;
194
  }
195
+ function mc_newline_replace($string) {
196
+ return (string)str_replace(array("\r", "\r\n", "\n"), '', $string);
197
+ }
198
  ?>
my-calendar-upgrade-db.php CHANGED
@@ -10,11 +10,12 @@ if ( $_POST['upgrade'] == 'true' ) {
10
  if ( !isset( $row->event_status ) && isset( $row->event_id ) ) {
11
 
12
  ?>
13
-
14
  <div class='upgrade-db error'>
15
  <form method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-config">
16
  <div>
17
- <input type="hidden" name="upgrade" value="true" />
 
18
  </div>
19
  <p>
20
  <?php _e('The My Calendar database needs to be updated.','my-calendar'); ?>
@@ -22,6 +23,13 @@ if ( $_POST['upgrade'] == 'true' ) {
22
  </p>
23
  </form>
24
  </div>
 
 
 
 
 
 
 
25
  <?php
26
  } elseif ( !isset ( $row->event_id ) ) {
27
  ?>
@@ -38,7 +46,7 @@ if ( $_POST['upgrade'] == 'true' ) {
38
  </div>
39
  <?php
40
  } else {
41
- if ( isset($_POST) && $_POST['upgrade'] == 'true' ) {
42
  ?>
43
  <div class='upgrade-db updated'>
44
  <p>
@@ -53,66 +61,13 @@ if ( $_POST['upgrade'] == 'true' ) {
53
 
54
 
55
  function my_calendar_upgrade_db() {
56
-
57
- $initial_db = "CREATE TABLE " . MY_CALENDAR_TABLE . " (
58
- event_id INT(11) NOT NULL AUTO_INCREMENT,
59
- event_begin DATE NOT NULL,
60
- event_end DATE NOT NULL,
61
- event_title VARCHAR(255) NOT NULL,
62
- event_desc TEXT NOT NULL,
63
- event_time TIME,
64
- event_endtime TIME,
65
- event_recur CHAR(1),
66
- event_repeats INT(3),
67
- event_status INT(1) NOT NULL DEFAULT '1',
68
- event_group INT(1) NOT NULL DEFAULT '0',
69
- event_author BIGINT(20) UNSIGNED,
70
- event_host BIGINT(20) UNSIGNED,
71
- event_category BIGINT(20) UNSIGNED,
72
- event_link TEXT,
73
- event_link_expires TINYINT(1) NOT NULL,
74
- event_label VARCHAR(60) NOT NULL,
75
- event_street VARCHAR(60) NOT NULL,
76
- event_street2 VARCHAR(60) NOT NULL,
77
- event_city VARCHAR(60) NOT NULL,
78
- event_state VARCHAR(60) NOT NULL,
79
- event_postcode VARCHAR(10) NOT NULL,
80
- event_country VARCHAR(60) NOT NULL,
81
- event_longitude FLOAT(10,6) NOT NULL DEFAULT '0',
82
- event_latitude FLOAT(10,6) NOT NULL DEFAULT '0',
83
- event_zoom INT(2) NOT NULL DEFAULT '14',
84
- event_group INT(1) NOT NULL DEFAULT '0',
85
- event_approved INT(1) NOT NULL DEFAULT '1',
86
- PRIMARY KEY (event_id),
87
- KEY event_recur (event_recur)
88
- );";
89
-
90
- $initial_cat_db = "CREATE TABLE " . MY_CALENDAR_CATEGORIES_TABLE . " (
91
- category_id INT(11) NOT NULL AUTO_INCREMENT,
92
- category_name VARCHAR(255) NOT NULL,
93
- category_color VARCHAR(7) NOT NULL,
94
- category_icon VARCHAR(128) NOT NULL,
95
- PRIMARY KEY (category_id)
96
- );";
97
-
98
- $initial_loc_db = "CREATE TABLE " . MY_CALENDAR_LOCATIONS_TABLE . " (
99
- location_id INT(11) NOT NULL AUTO_INCREMENT,
100
- location_label VARCHAR(60) NOT NULL,
101
- location_street VARCHAR(60) NOT NULL,
102
- location_street2 VARCHAR(60) NOT NULL,
103
- location_city VARCHAR(60) NOT NULL,
104
- location_state VARCHAR(60) NOT NULL,
105
- location_postcode VARCHAR(10) NOT NULL,
106
- location_country VARCHAR(60) NOT NULL,
107
- location_longitude FLOAT(10,6) NOT NULL DEFAULT '0',
108
- location_latitude FLOAT(10,6) NOT NULL DEFAULT '0',
109
- location_zoom INT(2) NOT NULL DEFAULT '14',
110
- PRIMARY KEY (location_id)
111
- );";
112
 
113
  require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
114
  $q_db = dbDelta($initial_db);
115
  $cat_db = dbDelta($initial_cat_db);
116
  $loc_db = dbDelta($initial_loc_db);
117
 
 
 
118
  } ?>
10
  if ( !isset( $row->event_status ) && isset( $row->event_id ) ) {
11
 
12
  ?>
13
+ <?php if ( $_GET['page'] == 'my-calendar-config' ) { ?>
14
  <div class='upgrade-db error'>
15
  <form method="post" action="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-config">
16
  <div>
17
+ <input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce('my-calendar-nonce'); ?>" />
18
+ <input type="hidden" name="upgrade" value="true" />
19
  </div>
20
  <p>
21
  <?php _e('The My Calendar database needs to be updated.','my-calendar'); ?>
23
  </p>
24
  </form>
25
  </div>
26
+ <?php } else { ?>
27
+ <div class='upgrade-db error'>
28
+ <p>
29
+ <?php _e('The My Calendar database needs to be updated.','my-calendar'); ?> <a href="<?php bloginfo('wpurl'); ?>/wp-admin/admin.php?page=my-calendar-config"><?php _e('Upgrade now.','my-calendar'); ?></a>
30
+ </p>
31
+ </div>
32
+ <?php } ?>
33
  <?php
34
  } elseif ( !isset ( $row->event_id ) ) {
35
  ?>
46
  </div>
47
  <?php
48
  } else {
49
+ if ( $_POST['upgrade'] == 'true' ) {
50
  ?>
51
  <div class='upgrade-db updated'>
52
  <p>
61
 
62
 
63
  function my_calendar_upgrade_db() {
64
+ global $mc_version,$initial_db,$initial_cat_db, $initial_loc_db;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
 
66
  require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
67
  $q_db = dbDelta($initial_db);
68
  $cat_db = dbDelta($initial_cat_db);
69
  $loc_db = dbDelta($initial_loc_db);
70
 
71
+ update_option('mc_db_version',$mc_version);
72
+
73
  } ?>
my-calendar-widgets.php CHANGED
@@ -1,207 +1,166 @@
1
  <?php
2
- // The widget to show todays events in the sidebar
3
- function init_my_calendar_today() {
4
- // Check for required functions
5
- if (!function_exists('register_sidebar_widget')) {
6
- return;
7
- }
8
- function my_calendar_today($args) {
9
- extract($args);
10
- $the_title = get_option('my_calendar_today_title');
11
- $widget_title = empty($the_title) ? __('Today\'s Events','my-calendar') : $the_title;
12
- $the_events = my_calendar_todays_events();
13
- if ($the_events != '') {
14
- echo $before_widget;
15
- echo $before_title . stripslashes($widget_title) . $after_title;
16
- echo $the_events;
17
- echo $after_widget;
18
- }
19
- }
20
 
21
- function my_calendar_today_control() {
22
- $widget_title = get_option('my_calendar_today_title');
23
- $widget_template = get_option('my_calendar_today_template');
24
- $widget_text = get_option('my_calendar_no_events_text');
25
-
26
- if (isset($_POST['my_calendar_today_title'])) {
27
- update_option('my_calendar_today_title',strip_tags($_POST['my_calendar_today_title']));
28
- }
29
- if (isset($_POST['my_calendar_today_template'])) {
30
- update_option('my_calendar_today_template',$_POST['my_calendar_today_template']);
31
- }
32
- if (isset($_POST['my_calendar_no_events_text'])) {
33
- update_option('my_calendar_no_events_text',$_POST['my_calendar_no_events_text']);
34
- }
35
- ?>
36
- <p>
37
- <label for="my_calendar_today_title"><?php _e('Title','my-calendar'); ?>:</label><br />
38
- <input class="widefat" type="text" id="my_calendar_today_title" name="my_calendar_today_title" value="<?php echo stripslashes($widget_title); ?>"/>
39
- </p>
40
- <p>
41
- <label for="my_calendar_today_template"><?php _e('Template','my-calendar'); ?></label><br />
42
- <textarea class="widefat" rows="8" cols="20" id="my_calendar_today_template" name="my_calendar_today_template"><?php echo stripcslashes($widget_template); ?></textarea>
43
- </p>
44
- <p>
45
- <label for="my_calendar_no_events_text"><?php _e('Show this text if there are no events today:','my-calendar'); ?></label><br />
46
- <input class="widefat" type="text" id="my_calendar_no_events_text" name="my_calendar_no_events_text" value="<?php echo stripcslashes($widget_text); ?>" /></textarea>
47
- </p>
48
- <?php
49
- }
50
 
51
- register_sidebar_widget(__('Today\'s Events','my-calendar'),'my_calendar_today');
52
- register_widget_control(__('Today\'s Events','my-calendar'),'my_calendar_today_control');
53
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
 
55
- // replace upcoming_events_widget with my_calendar
56
- // The widget to show todays events in the sidebar
57
- function init_my_calendar_upcoming() {
58
- // Check for required functions
59
- if (!function_exists('register_sidebar_widget'))
60
- return;
 
 
61
 
62
- function my_calendar_upcoming($args) {
63
- extract($args);
64
- $the_title = get_option('my_calendar_upcoming_title');
65
- $widget_title = empty($the_title) ? __('Upcoming Events','my-calendar') : $the_title;
66
- $the_events = my_calendar_upcoming_events();
67
- if ($the_events != '') {
68
- echo $before_widget;
69
- echo $before_title . stripslashes($widget_title) . $after_title;
70
- echo $the_events;
71
- echo $after_widget;
72
- }
73
- }
74
 
75
- function my_calendar_upcoming_control() {
76
- $widget_title = get_option('my_calendar_upcoming_title');
77
- $widget_template = get_option('my_calendar_upcoming_template');
78
- $upcoming_days = get_option('display_upcoming_days');
79
- $past_days = get_option('display_past_days');
80
- $upcoming_events = get_option('display_upcoming_events');
81
- $past_events = get_option('display_past_events');
82
- $display_in_category = stripcslashes( get_option('display_in_category') );
83
-
84
-
85
- if (isset($_POST['my_calendar_upcoming_title'])) {
86
- update_option('my_calendar_upcoming_title',strip_tags($_POST['my_calendar_upcoming_title']));
87
- }
88
- if (isset($_POST['display_in_category'])) {
89
- update_option('display_in_category',$_POST['display_in_category']);
90
- }
91
- if (isset($_POST['my_calendar_upcoming_template'])) {
92
- update_option('my_calendar_upcoming_template',$_POST['my_calendar_upcoming_template']);
93
- }
94
-
95
- if (isset($_POST['display_upcoming_type'])) {
96
- $display_upcoming_type = $_POST['display_upcoming_type'];
97
- update_option('display_upcoming_type',$display_upcoming_type);
98
- }
99
 
100
- if (isset($_POST['display_upcoming_days'])) {
101
- $display_upcoming_days = (int) $_POST['display_upcoming_days'];
102
- update_option('display_upcoming_days',$display_upcoming_days);
103
- }
104
 
105
- if (isset($_POST['display_upcoming_events'])) {
106
- $display_upcoming_events = (int) $_POST['display_upcoming_events'];
107
- update_option('display_upcoming_events',$display_upcoming_events);
108
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
 
110
- if (isset($_POST['display_past_events'])) {
111
- $display_past_events = (int) $_POST['display_past_events'];
112
- update_option('display_past_events',$display_past_events);
113
- }
114
 
115
- if (isset($_POST['display_past_days'])) {
116
- $display_past_days = (int) $_POST['display_past_days'];
117
- update_option('display_past_days',$display_past_days);
118
- }
119
- // add options for days/events
120
- ?>
121
- <p>
122
- <label for="my_calendar_upcoming_title"><?php _e('Title','my-calendar'); ?>:</label><br />
123
- <input class="widefat" type="text" id="my_calendar_upcoming_title" name="my_calendar_upcoming_title" value="<?php if(isset($_POST['my_calendar_upcoming_title'])){echo strip_tags($_POST['my_calendar_upcoming_title']); } else { echo $widget_title; } ?>"/>
124
- </p>
125
- <p>
126
- <label for="my_calendar_upcoming_template"><?php _e('Template','my-calendar'); ?></label><br />
127
- <textarea class="widefat" rows="8" cols="20" id="my_calendar_upcoming_template" name="my_calendar_upcoming_template"><?php if(isset($_POST['my_calendar_upcoming_template'])){echo stripcslashes($_POST['my_calendar_upcoming_template']); } else { echo stripcslashes($widget_template); } ?></textarea>
128
- </p>
 
 
 
 
129
  <fieldset>
130
  <legend><?php _e('Widget Options','my-calendar'); ?></legend>
 
131
  <p>
132
- <label for="display_upcoming_type"><?php _e('Display upcoming events by:','my-calendar'); ?></label> <select id="display_upcoming_type" name="display_upcoming_type">
133
- <option value="events" <?php jd_cal_checkSelect('display_upcoming_type','events'); ?>><?php _e('Events (e.g. 2 past, 3 future)','my-calendar') ?></option>
134
- <option value="days" <?php jd_cal_checkSelect('display_upcoming_type','days'); ?>><?php _e('Dates (e.g. 4 days past, 5 forward)','my-calendar') ?></option>
135
  </select>
136
  </p>
137
  <p>
138
- <input type="text" id="display_upcoming_events" name="display_upcoming_events" value="<?php if(isset($_POST['display_upcoming_events'])){echo $_POST['display_upcoming_events']; } else { echo $upcoming_events; } ?>" size="1" maxlength="3" /> <label for="display_upcoming_events"><?php _e('events into the future;','my-calendar'); ?></label><br />
139
- <input type="text" id="display_past_events" name="display_past_events" value="<?php if(isset($_POST['display_past_events'])){echo $_POST['display_past_events']; } else { echo $past_events; } ?>" size="1" maxlength="3" /> <label for="display_past_events"><?php _e('events from the past','my-calendar'); ?></label>
140
  </p>
 
141
  <p>
142
- <input type="text" id="display_upcoming_days" name="display_upcoming_days" value="<?php if(isset($_POST['display_upcoming_days'])){echo $_POST['display_upcoming_days']; } else { echo $upcoming_days; } ?>" size="1" maxlength="3" /> <label for="display_upcoming_days"><?php _e('days into the future;','my-calendar'); ?></label><br />
143
- <input type="text" id="display_past_days" name="display_past_days" value="<?php if(isset($_POST['display_past_days'])){echo $_POST['display_past_days']; } else { echo $past_days; } ?>" size="1" maxlength="3" /> <label for="display_past_days"><?php _e('days from the past','my-calendar'); ?></label>
144
  </p>
145
  <p>
146
- <label for="display_in_category"><?php _e('Show only this category:','my-calendar'); ?></label><br />
147
- <input type="text" id="display_in_category" name="display_in_category" value="<?php if(isset($_POST['display_in_category'])){echo $_POST['display_in_category']; } else { echo $display_in_category; } ?>" class="widefat" />
148
- </fieldset>
149
- <?php
150
- }
151
 
152
- register_sidebar_widget(__('Upcoming Events','my-calendar'),'my_calendar_upcoming');
153
- register_widget_control(__('Upcoming Events','my-calendar'),'my_calendar_upcoming_control');
154
- }
 
 
 
 
 
 
 
 
155
 
 
156
 
157
  // Widget upcoming events
158
- function my_calendar_upcoming_events($before='default',$after='default',$type='default',$category='default',$template='default') {
159
  global $wpdb;
160
- $offset = (60*60*get_option('gmt_offset'));
161
  // This function cannot be called unless calendar is up to date
162
  check_my_calendar();
163
- $today = date('Y',time()+($offset)).'-'.date('m',time()+($offset)).'-'.date('d',time()+($offset));
164
-
165
- if ($type == 'default') {
166
- $display_upcoming_type = get_option('display_upcoming_type');
167
- } else {
168
- $display_upcoming_type = $type;
169
- }
170
-
171
- // Get number of days we should go into the future
172
- if ($after == 'default') {
173
- $future_days = get_option('display_upcoming_days');
174
- $future_events = get_option('display_upcoming_events');
175
- } else {
176
- $future_days = $after;
177
- $future_events = $after;
178
- }
179
- // Get number of days we should go into the past
180
- if ($before == 'default') {
181
- $past_days = get_option('display_past_days');
182
- $past_events = get_option('display_past_events');
183
- } else {
184
- $past_days = $before;
185
- $past_events = $before;
186
- }
187
-
188
- if ($category == 'default') {
189
- $category = get_option('display_in_category');
190
- } else {
191
- $category = $category;
192
- }
193
-
194
- if ($template == 'default') {
195
- $template = get_option('my_calendar_upcoming_template');
196
- } else {
197
- $template = $template;
198
- }
199
 
200
- $day_count = -($past_days);
201
- $output = "<ul>";
202
 
203
  if ($display_upcoming_type == "days") {
204
- while ($day_count < $future_days+1) {
205
  list($y,$m,$d) = split("-",date("Y-m-d",mktime($day_count*24,0,0,date("m"),date("d"),date("Y"))));
206
  $events = my_calendar_grab_events( $y,$m,$d,$category );
207
  $current_date = "$y-$m-$d";
@@ -220,32 +179,50 @@ function my_calendar_upcoming_events($before='default',$after='default',$type='d
220
 
221
  $event_details['date'] = $date;
222
  $event_details['date_end'] = $date_end;
223
-
224
- // by Roland
225
- if ( get_option( 'mc_event_approve' ) == 'true' ) {
226
- if ( $event->event_approved != 0 ) {
 
 
 
 
 
 
 
227
  $output .= "<li>".jd_draw_template($event_details,$template)."</li>";
228
  }
229
- } else {
230
- $output .= "<li>".jd_draw_template($event_details,$template)."</li>";
231
  }
232
- // by Roland end
233
  }
234
  $day_count = $day_count+1;
235
  }
236
  } else {
237
- $events = mc_get_all_events($category); // grab all events WITHIN reasonable proximity
238
- $past = 1;
239
- $future = 1;
 
 
 
 
 
 
 
 
 
 
 
 
 
240
  @usort( $events, "my_calendar_timediff_cmp" );// sort all events by proximity to current date
241
  $count = count($events);
242
  for ( $i=0;$i<=$count;$i++ ) {
243
  if ($events[$i]) {
244
- if ( ( $past<=$past_events && $future<=$future_events ) ) {
245
  $near_events[] = $events[$i]; // if neither limit is reached, split off freely
246
- } else if ( $past <= $past_events && ( my_calendar_date_comp( $events[$i]->event_begin,$today ) ) ) {
247
  $near_events[] = $events[$i]; // split off another past event
248
- } else if ( $future <= $future_events && ( !my_calendar_date_comp( $events[$i]->event_begin,$today ) ) ) {
249
  $near_events[] = $events[$i]; // split off another future event
250
  }
251
  if ( my_calendar_date_comp( $events[$i]->event_begin,$today ) ) {
@@ -254,13 +231,15 @@ function my_calendar_upcoming_events($before='default',$after='default',$type='d
254
  $present = 1;
255
  } else {
256
  $future++;
257
- }
 
 
 
258
  }
259
  }
260
-
261
  $events = $near_events;
262
- @usort( $events, "my_calendar_datetime_cmp" ); // sort split events by date
263
- if ( is_array( $events ) ) {
264
  foreach( $events as $event ) {
265
  $event_details = event_as_array( $event );
266
  $date = date('Y-m-d',strtotime($event_details['date']));
@@ -271,50 +250,54 @@ function my_calendar_upcoming_events($before='default',$after='default',$type='d
271
  }
272
  if ( my_calendar_date_equal( $date,$today ) ) {
273
  $class = "today";
274
- }
275
- if ( get_option( 'mc_event_approve' ) == 'true' ) {
276
- if ( $event->event_approved != 0 ) {
277
- $output .= "<li class=\"$class\">".jd_draw_template($event_details,$template)."</li>\n";
278
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
279
  } else {
280
- $output .= "<li class=\"$class\">".jd_draw_template($event_details,$template)."</li>\n";
281
  }
282
- }
283
- $day_count = $day_count+1;
284
- } else {
285
- $output .= "<li class=\"no-events\">".__('There are no events currently scheduled.','my-calendar')."</li>\n";
286
- }
287
- }
288
-
289
- if ($output != '') {
290
- $output .= "</ul>";
291
- return $output;
292
- }
293
-
294
  }
295
 
296
  // Widget todays events
297
- function my_calendar_todays_events($category='default',$template='default') {
298
- global $wpdb;
299
  $offset = (60*60*get_option('gmt_offset'));
300
- // This function cannot be called unless calendar is up to date
301
- check_my_calendar();
 
 
 
 
302
 
303
-
304
- if ($template == 'default') {
305
- $template = get_option('my_calendar_today_template');
306
- } else {
307
- $template = $template;
308
- }
309
- if ($category == 'default') {
310
- $category = null;
311
- } else {
312
- $category = $category;
313
- }
314
  $events = my_calendar_grab_events(date("Y",time()+$offset),date("m",time()+$offset),date("d",time()+$offset),$category);
315
- if (count($events) != 0) {
316
- $output = "<ul>";
317
- }
318
  @usort($events, "my_calendar_time_cmp");
319
  foreach($events as $event) {
320
  $event_details = event_as_array($event);
@@ -326,19 +309,25 @@ function my_calendar_todays_events($category='default',$template='default') {
326
  }
327
  // correct displayed time to today
328
  $event_details['date'] = $date;
329
- if ( get_option( 'mc_event_approve' ) == 'true' ) {
330
- if ( $event->event_approved != 0 ) {
 
 
 
 
 
 
 
 
331
  $output .= "<li>".jd_draw_template($event_details,$template)."</li>";
332
  }
333
- } else {
334
- $output .= "<li>".jd_draw_template($event_details,$template)."</li>";
335
  }
336
  }
337
  if (count($events) != 0) {
338
  $output .= "</ul>";
339
  return $output;
340
  } else {
341
- return stripslashes( get_option('my_calendar_no_events_text') );
342
  }
343
  }
344
 
1
  <?php
2
+ class my_calendar_today_widget extends WP_Widget {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
 
4
+ function my_calendar_today_widget() {
5
+ parent::WP_Widget( false,$name=__('My Calendar: Today\'s Events','my-calendar') );
6
+ }
7
+
8
+ function widget($args, $instance) {
9
+ extract($args);
10
+ $the_title = apply_filters('widget_title',$instance['my_calendar_today_title']);
11
+ $the_template = $instance['my_calendar_today_template'];
12
+ $the_substitute = $instance['my_calendar_no_events_text'];
13
+ $the_category = ($instance['my_calendar_today_category']=='')?'default':esc_attr($instance['my_calendar_today_category']);
14
+ $widget_title = empty($the_title) ? __('Today\'s Events','my-calendar') : $the_title;
15
+ $the_events = my_calendar_todays_events($the_category,$the_template,$the_substitute);
16
+ if ($the_events != '') {
17
+ echo $before_widget;
18
+ echo $before_title . $widget_title . $after_title;
19
+ echo $the_events;
20
+ echo $after_widget;
21
+ }
22
+ }
 
 
 
 
 
 
 
 
 
 
23
 
24
+ function form($instance) {
25
+ $widget_title = esc_attr($instance['my_calendar_today_title']);
26
+ $widget_template = esc_attr($instance['my_calendar_today_template']);
27
+ if (!$widget_template) { $widget_template = get_option('my_calendar_today_template'); }
28
+ $widget_text = esc_attr($instance['my_calendar_no_events_text']);
29
+ $widget_category = esc_attr($instance['my_calendar_today_category']);
30
+ ?>
31
+ <p>
32
+ <label for="<?php echo $this->get_field_id('my_calendar_today_title'); ?>"><?php _e('Title','my-calendar'); ?>:</label><br />
33
+ <input class="widefat" type="text" id="<?php echo $this->get_field_id('my_calendar_today_title'); ?>" name="<?php echo $this->get_field_name('my_calendar_today_title'); ?>" value="<?php echo $widget_title; ?>"/>
34
+ </p>
35
+ <p>
36
+ <label for="<?php echo $this->get_field_id('my_calendar_today_template'); ?>"><?php _e('Template','my-calendar'); ?></label><br />
37
+ <textarea class="widefat" rows="8" cols="20" id="<?php echo $this->get_field_id('my_calendar_today_template'); ?>" name="<?php echo $this->get_field_name('my_calendar_today_template'); ?>"><?php echo $widget_template; ?></textarea>
38
+ </p>
39
+ <p>
40
+ <label for="<?php echo $this->get_field_id('my_calendar_no_events_text'); ?>"><?php _e('Show this text if there are no events today:','my-calendar'); ?></label><br />
41
+ <input class="widefat" type="text" id="<?php echo $this->get_field_id('my_calendar_no_events_text'); ?>" name="<?php echo $this->get_field_name('my_calendar_no_events_text'); ?>" value="<?php echo $widget_text; ?>" /></textarea>
42
+ </p>
43
+ <p>
44
+ <label for="<?php echo $this->get_field_id('my_calendar_today_category'); ?>"><?php _e('Category or categories to display:','my-calendar'); ?></label><br />
45
+ <input class="widefat" type="text" id="<?php echo $this->get_field_id('my_calendar_today_category'); ?>" name="<?php echo $this->get_field_name('my_calendar_today_category'); ?>" value="<?php echo $widget_category; ?>" /></textarea>
46
+ </p>
47
+ <?php
48
+ }
49
 
50
+ function update($new_instance,$old_instance) {
51
+ $instance = $old_instance;
52
+ $instance['my_calendar_today_title'] = strip_tags($new_instance['my_calendar_today_title']);
53
+ $instance['my_calendar_today_template'] = $new_instance['my_calendar_today_template'];
54
+ $instance['my_calendar_no_events_text'] = strip_tags($new_instance['my_calendar_no_events_text']);
55
+ $instance['my_calendar_today_category'] = strip_tags($new_instance['my_calendar_today_category']);
56
+ return $instance;
57
+ }
58
 
59
+ }
 
 
 
 
 
 
 
 
 
 
 
60
 
61
+ class my_calendar_upcoming_widget extends WP_Widget {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
 
63
+ function my_calendar_upcoming_widget() {
64
+ parent::WP_Widget( false,$name=__('My Calendar: Upcoming Events','my-calendar') );
65
+ }
 
66
 
67
+ function widget($args, $instance) {
68
+ extract($args);
69
+ $the_title = apply_filters('widget_title',$instance['my_calendar_upcoming_title']);
70
+ $the_template = $instance['my_calendar_upcoming_template'];
71
+ $the_substitute = $instance['my_calendar_no_events_text'];
72
+ $before = esc_attr($instance['my_calendar_upcoming_before']);
73
+ $after = esc_attr($instance['my_calendar_upcoming_after']);
74
+ $type = esc_attr($instance['my_calendar_upcoming_type']);
75
+ $the_category = ($instance['my_calendar_upcoming_category']=='')?'default':esc_attr($instance['my_calendar_upcoming_category']);
76
+ $widget_title = empty($the_title) ? __('Today\'s Events','my-calendar') : $the_title;
77
+ $the_events = my_calendar_upcoming_events($before,$after,$type,$the_category,$the_template,$the_substitute);
78
+ if ($the_events != '') {
79
+ echo $before_widget;
80
+ echo $before_title . $widget_title . $after_title;
81
+ echo $the_events;
82
+ echo $after_widget;
83
+ }
84
+ }
85
 
 
 
 
 
86
 
87
+ function form($instance) {
88
+ $widget_title = esc_attr($instance['my_calendar_upcoming_title']);
89
+ $widget_template = esc_attr($instance['my_calendar_upcoming_template']);
90
+ if (!$widget_template) { $widget_template = get_option('my_calendar_upcoming_template'); }
91
+ $widget_text = esc_attr($instance['my_calendar_no_events_text']);
92
+ $widget_category = esc_attr($instance['my_calendar_upcoming_category']);
93
+ $widget_before = esc_attr($instance['my_calendar_upcoming_before']);
94
+ $widget_after = esc_attr($instance['my_calendar_upcoming_after']);
95
+ $widget_type = esc_attr($instance['my_calendar_upcoming_type']);
96
+ ?>
97
+ <p>
98
+ <label for="<?php echo $this->get_field_id('my_calendar_upcoming_title'); ?>"><?php _e('Title','my-calendar'); ?>:</label><br />
99
+ <input class="widefat" type="text" id="<?php echo $this->get_field_id('my_calendar_upcoming_title'); ?>" name="<?php echo $this->get_field_name('my_calendar_upcoming_title'); ?>" value="<?php echo $widget_title; ?>"/>
100
+ </p>
101
+ <p>
102
+ <label for="<?php echo $this->get_field_id('my_calendar_upcoming_template'); ?>"><?php _e('Template','my-calendar'); ?></label><br />
103
+ <textarea class="widefat" rows="8" cols="20" id="<?php echo $this->get_field_id('my_calendar_upcoming_template'); ?>" name="<?php echo $this->get_field_name('my_calendar_upcoming_template'); ?>"><?php echo $widget_template; ?></textarea>
104
+ </p>
105
  <fieldset>
106
  <legend><?php _e('Widget Options','my-calendar'); ?></legend>
107
+
108
  <p>
109
+ <label for="<?php echo $this->get_field_id('my_calendar_upcoming_type'); ?>"><?php _e('Display upcoming events by:','my-calendar'); ?></label> <select id="<?php echo $this->get_field_id('my_calendar_upcoming_type'); ?>" name="<?php echo $this->get_field_name('my_calendar_upcoming_type'); ?>">
110
+ <option value="events" <?php echo ($widget_type == 'events')?'selected="selected"':''; ?>><?php _e('Events (e.g. 2 past, 3 future)','my-calendar') ?></option>
111
+ <option value="days" <?php echo ($widget_type == 'days')?'selected="selected"':''; ?>><?php _e('Dates (e.g. 4 days past, 5 forward)','my-calendar') ?></option>
112
  </select>
113
  </p>
114
  <p>
115
+ <input type="text" id="<?php echo $this->get_field_id('my_calendar_upcoming_after'); ?>" name="<?php echo $this->get_field_name('my_calendar_upcoming_after'); ?>" value="<?php echo $widget_after; ?>" size="1" maxlength="3" /> <label for="<?php echo $this->get_field_id('my_calendar_upcoming_after'); ?>"><?php _e('events into the future;','my-calendar'); ?></label><br />
116
+ <input type="text" id="<?php echo $this->get_field_id('my_calendar_upcoming_before'); ?>" name="<?php echo $this->get_field_name('my_calendar_upcoming_before'); ?>" value="<?php echo $widget_before; ?>" size="1" maxlength="3" /> <label for="<?php echo $this->get_field_id('my_calendar_upcoming_after'); ?>"><?php _e('events from the past','my-calendar'); ?></label>
117
  </p>
118
+
119
  <p>
120
+ <label for="<?php echo $this->get_field_id('my_calendar_no_events_text'); ?>"><?php _e('Show this text if there are no events meeting your criteria:','my-calendar'); ?></label><br />
121
+ <input class="widefat" type="text" id="<?php echo $this->get_field_id('my_calendar_no_events_text'); ?>" name="<?php echo $this->get_field_name('my_calendar_no_events_text'); ?>" value="<?php echo $widget_text; ?>" /></textarea>
122
  </p>
123
  <p>
124
+ <label for="<?php echo $this->get_field_id('my_calendar_upcoming_category'); ?>"><?php _e('Category or categories to display:','my-calendar'); ?></label><br />
125
+ <input class="widefat" type="text" id="<?php echo $this->get_field_id('my_calendar_upcoming_category'); ?>" name="<?php echo $this->get_field_name('my_calendar_upcoming_category'); ?>" value="<?php echo $widget_category; ?>" /></textarea>
126
+ </p>
127
+ <?php
128
+ }
129
 
130
+ function update($new_instance,$old_instance) {
131
+ $instance = $old_instance;
132
+ $instance['my_calendar_upcoming_title'] = strip_tags($new_instance['my_calendar_upcoming_title']);
133
+ $instance['my_calendar_upcoming_template'] = $new_instance['my_calendar_upcoming_template'];
134
+ $instance['my_calendar_no_events_text'] = strip_tags($new_instance['my_calendar_no_events_text']);
135
+ $instance['my_calendar_upcoming_category'] = strip_tags($new_instance['my_calendar_upcoming_category']);
136
+ $instance['my_calendar_upcoming_before'] = strip_tags($new_instance['my_calendar_upcoming_before']);
137
+ $instance['my_calendar_upcoming_after'] = strip_tags($new_instance['my_calendar_upcoming_after']);
138
+ $instance['my_calendar_upcoming_type'] = strip_tags($new_instance['my_calendar_upcoming_type']);
139
+ return $instance;
140
+ }
141
 
142
+ }
143
 
144
  // Widget upcoming events
145
+ function my_calendar_upcoming_events($before='default',$after='default',$type='default',$category='default',$template='default',$substitute='') {
146
  global $wpdb;
 
147
  // This function cannot be called unless calendar is up to date
148
  check_my_calendar();
149
+ $defaults = get_option('my_calendar_widget_defaults');
150
+ $display_upcoming_type = ($type == 'default')?$defaults['upcoming']['type']:$type;
151
+ // Get number of units we should go into the future
152
+ $after = ($after == 'default')?$defaults['upcoming']['after']:$after;
153
+ // Get number of units we should go into the past
154
+ $before = ($before == 'default')?$defaults['upcoming']['before']:$before;
155
+ $category = ($category == 'default')?$defaults['upcoming']['category']:$category;
156
+ $template = ($template == 'default')?$defaults['upcoming']['template']:$template;
157
+ $no_event_text = ($substitute == '')?$defaults['upcoming']['text']:$substitute;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
158
 
159
+ $day_count = -($before);
160
+ $output = "<ul>";
161
 
162
  if ($display_upcoming_type == "days") {
163
+ while ($day_count < $after+1) {
164
  list($y,$m,$d) = split("-",date("Y-m-d",mktime($day_count*24,0,0,date("m"),date("d"),date("Y"))));
165
  $events = my_calendar_grab_events( $y,$m,$d,$category );
166
  $current_date = "$y-$m-$d";
179
 
180
  $event_details['date'] = $date;
181
  $event_details['date_end'] = $date_end;
182
+
183
+ if ( get_option('mc_skip_holidays') == 'false' ) {
184
+ if ( get_option( 'mc_event_approve' ) == 'true' ) {
185
+ if ( $event->event_approved != 0 ) {$output .= "<li>".jd_draw_template($event_details,$template)."</li>";}
186
+ } else {
187
+ $output .= "<li>".jd_draw_template($event_details,$template)."</li>";
188
+ }
189
+ } else if ( $event->event_category == get_option('mc_skip_holidays_category') ) {
190
+ if ( get_option( 'mc_event_approve' ) == 'true' ) {
191
+ if ( $event->event_approved != 0 ) {$output .= "<li>".jd_draw_template($event_details,$template)."</li>";}
192
+ } else {
193
  $output .= "<li>".jd_draw_template($event_details,$template)."</li>";
194
  }
 
 
195
  }
196
+ // by Roland end
197
  }
198
  $day_count = $day_count+1;
199
  }
200
  } else {
201
+ $events = mc_get_all_events($category); // grab all events WITHIN reasonable proximity
202
+ $output .= mc_produce_upcoming_events( $events,$template,$before,$after );
203
+ }
204
+ if ($output != '<ul>') {
205
+ $output .= "</ul>";
206
+ return $output;
207
+ } else {
208
+ return stripcslashes( $no_event_text );
209
+ }
210
+ }
211
+
212
+ function mc_produce_upcoming_events($events,$template,$before=0,$after=10,$type='list') {
213
+ $past = 1;
214
+ $future = 1;
215
+ $offset = (60*60*get_option('gmt_offset'));
216
+ $today = date('Y',time()+($offset)).'-'.date('m',time()+($offset)).'-'.date('d',time()+($offset));
217
  @usort( $events, "my_calendar_timediff_cmp" );// sort all events by proximity to current date
218
  $count = count($events);
219
  for ( $i=0;$i<=$count;$i++ ) {
220
  if ($events[$i]) {
221
+ if ( ( $past<=$before && $future<=$after ) ) {
222
  $near_events[] = $events[$i]; // if neither limit is reached, split off freely
223
+ } else if ( $past <= $before && ( my_calendar_date_comp( $events[$i]->event_begin,$today ) ) ) {
224
  $near_events[] = $events[$i]; // split off another past event
225
+ } else if ( $future <= $after && ( !my_calendar_date_comp( $events[$i]->event_begin,$today ) ) ) {
226
  $near_events[] = $events[$i]; // split off another future event
227
  }
228
  if ( my_calendar_date_comp( $events[$i]->event_begin,$today ) ) {
231
  $present = 1;
232
  } else {
233
  $future++;
234
+ }
235
+ if ($past > $before && $future > $after) {
236
+ break;
237
+ }
238
  }
239
  }
 
240
  $events = $near_events;
241
+ @usort( $events, "my_calendar_datetime_cmp" ); // sort split events by date
242
+ if ( is_array( $events ) ) {
243
  foreach( $events as $event ) {
244
  $event_details = event_as_array( $event );
245
  $date = date('Y-m-d',strtotime($event_details['date']));
250
  }
251
  if ( my_calendar_date_equal( $date,$today ) ) {
252
  $class = "today";
 
 
 
 
253
  }
254
+ if ($type == 'list') {
255
+ $prepend = "<li class=\"$class\">";
256
+ $append = "</li>\n";
257
+ } else {
258
+ $prepend = $append = '';
259
+ }
260
+ if ( get_option('mc_skip_holidays') == 'false' ) {
261
+ if ( get_option( 'mc_event_approve' ) == 'true' ) {
262
+ if ( $event->event_approved != 0 ) {$output .= $prepend.jd_draw_template($event_details,$template).$append;}
263
+ } else {
264
+ $output .= $prepend . jd_draw_template($event_details,$template) . $append;
265
+ }
266
+ } else if ( $event->event_category == get_option('mc_skip_holidays_category') ) {
267
+ if ( get_option( 'mc_event_approve' ) == 'true' ) {
268
+ if ( $event->event_approved != 0 ) {$output .= $prepend.jd_draw_template($event_details,$template).$append;}
269
+ } else {
270
+ $output .= $prepend.jd_draw_template($event_details,$template).$append;
271
+ }
272
+ }
273
+ }
274
+ $day_count = $day_count+1;
275
+ } else {
276
+ if ( $type == 'list' ) {
277
+ $prepend = "<li class=\"no-events\">";
278
+ $append = "</li>\n";
279
  } else {
280
+ $prepend = $append = '';
281
  }
282
+ $output .= $prepend.__('There are no events currently scheduled.','my-calendar').$append;
283
+ }
284
+ return $output;
 
 
 
 
 
 
 
 
 
285
  }
286
 
287
  // Widget todays events
288
+ function my_calendar_todays_events($category='default',$template='default',$substitute='') {
289
+ global $wpdb;
290
  $offset = (60*60*get_option('gmt_offset'));
291
+ // This function cannot be called unless calendar is up to date
292
+ check_my_calendar();
293
+ $defaults = get_option('my_calendar_widget_defaults');
294
+ $template = ($template == 'default')?$defaults['today']['template']:$template;
295
+ $category = ($category == 'default')?$defaults['today']['category']:$category;
296
+ $no_event_text = ($substitute = '')?$defaults['today']['text']:$substitute;
297
 
 
 
 
 
 
 
 
 
 
 
 
298
  $events = my_calendar_grab_events(date("Y",time()+$offset),date("m",time()+$offset),date("d",time()+$offset),$category);
299
+ if (count($events) != 0) { $output = "<ul>"; }
300
+
 
301
  @usort($events, "my_calendar_time_cmp");
302
  foreach($events as $event) {
303
  $event_details = event_as_array($event);
309
  }
310
  // correct displayed time to today
311
  $event_details['date'] = $date;
312
+ if ( get_option('mc_skip_holidays') == 'false' ) {
313
+ if ( get_option( 'mc_event_approve' ) == 'true' ) {
314
+ if ( $event->event_approved != 0 ) {$output .= "<li>".jd_draw_template($event_details,$template)."</li>";}
315
+ } else {
316
+ $output .= "<li>".jd_draw_template($event_details,$template)."</li>";
317
+ }
318
+ } else if ( $event->event_category == get_option('mc_skip_holidays_category') ) {
319
+ if ( get_option( 'mc_event_approve' ) == 'true' ) {
320
+ if ( $event->event_approved != 0 ) {$output .= "<li>".jd_draw_template($event_details,$template)."</li>";}
321
+ } else {
322
  $output .= "<li>".jd_draw_template($event_details,$template)."</li>";
323
  }
 
 
324
  }
325
  }
326
  if (count($events) != 0) {
327
  $output .= "</ul>";
328
  return $output;
329
  } else {
330
+ return stripcslashes( $no_event_text );
331
  }
332
  }
333
 
my-calendar.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.joedolson.com/articles/my-calendar/
5
  Description: Accessible WordPress event calendar plugin. Show events from multiple calendars on pages, in posts, or in widgets.
6
  Author: Joseph C Dolson
7
  Author URI: http://www.joedolson.com
8
- Version: 1.6.3
9
  */
10
  /* Copyright 2009-2010 Joe Dolson (email : joe@joedolson.com)
11
 
@@ -23,7 +23,7 @@ Version: 1.6.3
23
  along with this program; if not, write to the Free Software
24
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
  */
26
-
27
  // Enable internationalisation
28
  $plugin_dir = basename(dirname(__FILE__));
29
  load_plugin_textdomain( 'my-calendar','wp-content/plugins/'.$plugin_dir, $plugin_dir);
@@ -44,17 +44,49 @@ add_action('wp_head', 'my_calendar_wp_head');
44
  // Add the function that deals with deleted users
45
  add_action('delete_user', 'mc_deal_with_deleted_user');
46
  // Add the widgets if we are using version 2.8
47
- add_action('widgets_init', 'init_my_calendar_today');
48
- add_action('widgets_init', 'init_my_calendar_upcoming');
49
  // custom user actions
50
  add_action( 'show_user_profile', 'mc_user_profile' );
51
  add_action( 'edit_user_profile', 'mc_user_profile' );
52
  add_action( 'profile_update', 'mc_user_save_profile');
53
 
 
 
 
 
 
 
54
  register_activation_hook( __FILE__, 'check_my_calendar' );
55
  // add filters to text widgets which will process shortcodes
56
  add_filter( 'widget_text', 'do_shortcode', 9 );
57
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
58
  function jd_calendar_plugin_action($links, $file) {
59
  if ($file == plugin_basename(dirname(__FILE__).'/my-calendar.php')) {
60
  $links[] = "<a href='admin.php?page=my-calendar-config'>" . __('Settings', 'my-calendar') . "</a>";
@@ -78,20 +110,11 @@ include(dirname(__FILE__).'/my-calendar-upgrade-db.php' );
78
  include(dirname(__FILE__).'/my-calendar-user.php' );
79
  include(dirname(__FILE__).'/my-calendar-output.php' );
80
  include(dirname(__FILE__).'/my-calendar-templates.php' );
 
 
 
81
 
82
- if ( version_compare( get_bloginfo( 'version' ) , '3.0' , '<' ) && is_ssl() ) {
83
- $wp_content_url = str_replace( 'http://' , 'https://' , get_option( 'siteurl' ) );
84
- } else {
85
- $wp_content_url = get_option( 'siteurl' );
86
- }
87
- $wp_content_url .= '/wp-content';
88
- $wp_content_dir = ABSPATH . 'wp-content';
89
- $wp_plugin_url = $wp_content_url . '/plugins';
90
- $wp_plugin_dir = $wp_content_dir . '/plugins';
91
- $wpmu_plugin_url = $wp_content_url . '/mu-plugins';
92
- $wpmu_plugin_dir = $wp_content_dir . '/mu-plugins';
93
-
94
- // Before we get on with the functions, we need to define the initial style used for My Calendar
95
 
96
  function jd_show_support_box() {
97
  ?>
@@ -130,7 +153,7 @@ function my_calendar_wp_head() {
130
  global $wpdb, $wp_query;
131
  // If the calendar isn't installed or upgraded this won't work
132
  check_my_calendar();
133
- $styles = stripcslashes(get_option('my_calendar_style'));
134
  if ( get_option('my_calendar_use_styles') != 'true' ) {
135
 
136
  $this_post = $wp_query->get_queried_object();
@@ -146,6 +169,7 @@ function my_calendar_wp_head() {
146
  if ( @in_array( $id, $array ) || get_option( 'my_calendar_show_css' ) == '' ) {
147
 
148
  // generate category colors
 
149
  $categories = $wpdb->get_results("SELECT * FROM " . MY_CALENDAR_CATEGORIES_TABLE . " ORDER BY category_id ASC");
150
  foreach ( $categories as $category ) {
151
  $class = "mc_".sanitize_title($category->category_name);
@@ -156,19 +180,17 @@ $categories = $wpdb->get_results("SELECT * FROM " . MY_CALENDAR_CATEGORIES_TABLE
156
  $type = 'background';
157
  }
158
  if ( get_option( 'mc_apply_color' ) == 'font' || get_option( 'mc_apply_color' ) == 'background' ) {
159
- $category_styles .= "\n#jd-calendar .$class { $type: $color; }";
160
  }
161
  }
162
 
163
  echo "
 
164
  <style type=\"text/css\">
165
  <!--
166
  .js #jd-calendar .details { display: none; }
167
- // Styles from My Calendar 1.6.3 - Joseph C Dolson http://www.joedolson.com/
168
- $styles
169
-
170
  $category_styles
171
-
172
  .mc-event-visible {
173
  display: block!important;
174
  }
@@ -211,8 +233,9 @@ add_action( "admin_menu", 'my_calendar_add_javascript' );
211
 
212
  // Function to add the javascript to the admin header
213
  function my_calendar_add_javascript() {
 
214
  if ($_GET['page'] == 'my-calendar') {
215
- wp_enqueue_script('jquery-ui-datepicker',WP_PLUGIN_URL . '/my-calendar/js/ui.datepicker.js', array('jquery','jquery-ui-core') );
216
  }
217
  }
218
  function my_calendar_write_js() {
@@ -240,7 +263,6 @@ function my_calendar_add_display_javascript() {
240
  }
241
  add_action('init','my_calendar_add_display_javascript');
242
 
243
-
244
  function my_calendar_fouc() {
245
  global $wp_query;
246
  if ( get_option('calendar_javascript') != 1 || get_option('list_javascript') != 1 || get_option('mini_javascript') != 1 ) {
@@ -299,9 +321,10 @@ add_action('wp_footer','my_calendar_calendar_javascript');
299
  add_action('wp_head','my_calendar_fouc');
300
 
301
  function my_calendar_add_styles() {
 
302
  if ($_GET['page'] == 'my-calendar' || $_GET['page'] == 'my-calendar-categories' || $_GET['page'] == 'my-calendar-locations' || $_GET['page'] == 'my-calendar-config' || $_GET['page'] == 'my-calendar-styles' || $_GET['page'] == 'my-calendar-help' || $_GET['page'] == 'my-calendar-behaviors' ) {
303
- echo '<link type="text/css" rel="stylesheet" href="'.WP_PLUGIN_URL.'/my-calendar/js/ui.datepicker.css" />';
304
- echo '<link type="text/css" rel="stylesheet" href="'.WP_PLUGIN_URL.'/my-calendar/mc-styles.css" />';
305
  }
306
  }
307
 
@@ -311,12 +334,13 @@ function my_calendar_insert($atts) {
311
  'format' => 'calendar',
312
  'category' => 'all',
313
  'showkey' => 'yes',
314
- 'shownav' => 'yes'
 
315
  ), $atts));
316
  if ( isset($_GET['format']) ) {
317
  $format = mysql_real_escape_string($_GET['format']);
318
- }
319
- return my_calendar($name,$format,$category,$showkey,$shownav);
320
  }
321
 
322
  function my_calendar_insert_upcoming($atts) {
@@ -325,17 +349,19 @@ function my_calendar_insert_upcoming($atts) {
325
  'after' => 'default',
326
  'type' => 'default',
327
  'category' => 'default',
328
- 'template' => 'default'
 
329
  ), $atts));
330
- return my_calendar_upcoming_events($before, $after, $type, $category, $template);
331
  }
332
 
333
  function my_calendar_insert_today($atts) {
334
  extract(shortcode_atts(array(
335
  'category' => 'default',
336
- 'template' => 'default'
 
337
  ), $atts));
338
- return my_calendar_todays_events($category, $template);
339
  }
340
 
341
  function my_calendar_locations($atts) {
@@ -352,9 +378,9 @@ function get_current_url() {
352
  if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";}
353
  $pageURL .= "://";
354
  if ($_SERVER["SERVER_PORT"] != "80") {
355
- $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
356
  } else {
357
- $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"];
358
  }
359
  return $pageURL;
360
  }
@@ -366,10 +392,11 @@ add_shortcode('my_calendar_locations','my_calendar_locations');
366
 
367
  // Function to check what version of My Calendar is installed and install if needed
368
  function check_my_calendar() {
369
- global $wpdb, $initial_style, $initial_listjs, $initial_caljs, $initial_minijs, $initial_ajaxjs, $mini_styles;
370
  $current_version = get_option('my_calendar_version');
371
  // If current version matches, don't bother running this.
372
- if ($current_version == '1.6.3') {
 
373
  return true;
374
  }
375
 
@@ -411,19 +438,21 @@ function check_my_calendar() {
411
  $upgrade_path[] = "1.6.2";
412
  } else if ( version_compare( $current_version, "1.6.3", "<" ) ) {
413
  $upgrade_path[] = "1.6.3";
 
 
 
 
414
  }
415
 
416
  // having determined upgrade path, assign new version number
417
- update_option( 'my_calendar_version' , '1.6.3' );
418
 
419
  // Now we've determined what the current install is or isn't
420
  if ( $new_install == true ) {
421
  //add default settings
422
  mc_default_settings();
423
- $sql = "UPDATE " . MY_CALENDAR_TABLE . " SET event_category=1";
424
- $wpdb->get_results($sql);
425
  $sql = "INSERT INTO " . MY_CALENDAR_CATEGORIES_TABLE . " SET category_id=1, category_name='General', category_color='#ffffff', category_icon='event.png'";
426
- $wpdb->get_results($sql);
427
  }
428
 
429
  // switch for different upgrade paths
@@ -477,7 +506,7 @@ function check_my_calendar() {
477
  case '1.6.2':
478
  $mc_user_settings = array(
479
  'my_calendar_tz_default'=>array(
480
- 'enabled'=>'on',
481
  'label'=>'My Calendar Default Timezone',
482
  'values'=>array(
483
  "-12" => "(GMT -12:00) Eniwetok, Kwajalein",
@@ -522,7 +551,7 @@ function check_my_calendar() {
522
  ),
523
  ),
524
  'my_calendar_location_default'=>array(
525
- 'enabled'=>'on',
526
  'label'=>'My Calendar Default Location',
527
  'values'=>array(
528
  'AL'=>"Alabama",
@@ -586,7 +615,78 @@ function check_my_calendar() {
586
  add_option( 'my_calendar_templates', array(
587
  'title'=>'{title}'
588
  ));
589
- break;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
590
  default:
591
  break;
592
  }
@@ -599,11 +699,6 @@ function check_my_calendar() {
599
  mc_default_settings();
600
  update_option( 'mc_db_version', '1.4.0' );
601
  }
602
- // check whether mini version styles exist in current styles, if not, add them
603
- if (strpos(get_option('my_calendar_style'),"mini-event") === false) {
604
- $cur_styles = get_option('my_calendar_style')."\n".$mini_styles;
605
- update_option('my_calendar_style',$cur_styles);
606
- }
607
  }
608
 
609
  function jd_cal_checkCheckbox( $theFieldname,$theValue,$theArray='' ){
@@ -635,12 +730,7 @@ function jd_cal_checkSelect( $theFieldname,$theValue,$theArray='' ){
635
  function my_calendar_permalink_prefix() {
636
  // Get the permalink structure from WordPress
637
  $p_link = get_permalink();
638
-
639
- // Work out what the real URL we are viewing is
640
- $s = empty($_SERVER["HTTPS"]) ? '' : ($_SERVER["HTTPS"] == "on") ? "s" : "";
641
- $protocol = substr(strtolower($_SERVER["SERVER_PROTOCOL"]), 0, strpos(strtolower($_SERVER["SERVER_PROTOCOL"]), "/")).$s;
642
- $port = ($_SERVER["SERVER_PORT"] == "80") ? "" : (":".$_SERVER["SERVER_PORT"]);
643
- $real_link = $protocol.'://'.$_SERVER['SERVER_NAME'].$port.$_SERVER['REQUEST_URI'];
644
 
645
  // Now use all of that to get the My Calendar link prefix
646
  if (strstr($p_link, '?') && $p_link == $real_link) {
@@ -649,15 +739,22 @@ function my_calendar_permalink_prefix() {
649
  $link_part = $p_link.'?';
650
  } else if (strstr($real_link, '?')) {
651
 
652
- if (isset($_GET['month']) && isset($_GET['yr'])) {
653
  $link_part = '';
654
  $new_base = split('\?', $real_link);
655
  if(count($new_base) > 1) {
656
  $new_tail = split('&', $new_base[1]);
657
  foreach ($new_tail as $item) {
658
- if (!strstr($item, 'month') && !strstr($item, 'yr')) {
659
- $link_part .= $item.'&';
660
- }
 
 
 
 
 
 
 
661
  }
662
  }
663
  $link_part = $new_base[0] . ($link_part ? "?$link_part" : '?');
@@ -734,8 +831,15 @@ global $wpdb;
734
  $select_category = "";
735
  }
736
  $limit_string = mc_limit_string('all');
737
-
738
- $events = $wpdb->get_results("SELECT * FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) $select_category $limit_string");
 
 
 
 
 
 
 
739
  $offset = (60*60*get_option('gmt_offset'));
740
  $date = date('Y', time()+($offset)).'-'.date('m', time()+($offset)).'-'.date('d', time()+($offset));
741
  if (!empty($events)) {
@@ -792,19 +896,50 @@ global $wpdb;
792
  for ($i=$numback;$i<=$numforward;$i++) {
793
  $approxbegin = my_calendar_add_date($orig_begin,0,$i,0);
794
  $approxend = my_calendar_add_date($orig_end,0,$i,0);
795
- for ($n=-6;$n<=6;$n++) {
796
- $beginday = date('D',strtotime(my_calendar_add_date($approxbegin,$n,0,0)));
797
- if ($beginday == date('D',strtotime($orig_begin)) && floor(date('d',strtotime($orig_begin))/7) == floor(date('d',strtotime($approxbegin))/7) ) {
798
- $begin = my_calendar_add_date($approxbegin,$n,0,0);
799
- $end = my_calendar_add_date($approxend,$n,0,0);
800
- //$i=4;
801
- ${$i} = clone($event);
802
- ${$i}->event_begin = $begin;
803
- ${$i}->event_end = $end;
804
- $arr_events[]=${$i};
805
- }
806
- }
807
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
808
  break;
809
  case "Y":
810
  for ($i=$numback;$i<=$numforward;$i++) {
@@ -822,8 +957,8 @@ global $wpdb;
822
  case "D":
823
  $event_begin = $event->event_begin;
824
  $today = date('Y',time()+($offset)).'-'.date('m',time()+($offset)).'-'.date('d',time()+($offset));
825
- $nDays = get_option('display_past_events');
826
- $fDays = get_option('display_upcoming_events');
827
  if (my_calendar_date_comp( $event_begin, my_calendar_add_date($today,-($nDays),0,0) )) {
828
  $diff = jd_date_diff_precise(strtotime($event_begin));
829
  $diff_days = $diff/(86400);
@@ -838,9 +973,8 @@ global $wpdb;
838
  ${$realStart}->event_begin = $this_date;
839
  $arr_events[] = ${$realStart};
840
  }
841
- }
842
-
843
- } else {
844
  $realDays = -($nDays);
845
  for ($realDays;$realDays<=$fDays;$realDays++) { // for each event within plus or minus range, mod date and add to array.
846
  $this_date = my_calendar_add_date($event_begin,$realDays,0,0);
@@ -852,12 +986,11 @@ global $wpdb;
852
  }
853
  }
854
  break;
855
-
856
  case "W":
857
  $event_begin = $event->event_begin;
858
  $today = date('Y',time()+($offset)).'-'.date('m',time()+($offset)).'-'.date('d',time()+($offset));
859
- $nDays = get_option('display_past_events');
860
- $fDays = get_option('display_upcoming_events');
861
 
862
  if (my_calendar_date_comp( $event_begin, my_calendar_add_date($today,-($nDays*7),0,0) ) ) {
863
  $diff = jd_date_diff_precise(strtotime($event_begin));
@@ -888,12 +1021,11 @@ global $wpdb;
888
  }
889
  }
890
  break;
891
-
892
  case "B":
893
  $event_begin = $event->event_begin;
894
  $today = date('Y',time()+($offset)).'-'.date('m',time()+($offset)).'-'.date('d',time()+($offset));
895
- $nDays = get_option('display_past_events');
896
- $fDays = get_option('display_upcoming_events');
897
 
898
  if (my_calendar_date_comp( $event_begin, my_calendar_add_date($today,-($nDays*14),0,0) )) {
899
  $diff = jd_date_diff_precise(strtotime($event_begin));
@@ -927,8 +1059,8 @@ global $wpdb;
927
  case "M":
928
  $event_begin = $event->event_begin;
929
  $today = date('Y',time()+($offset)).'-'.date('m',time()+($offset)).'-'.date('d',time()+($offset));
930
- $nDays = get_option('display_past_events');
931
- $fDays = get_option('display_upcoming_events');
932
 
933
  if (my_calendar_date_comp( $event_begin, my_calendar_add_date($today,-($nDays),0,0) )) {
934
  $diff = jd_date_diff_precise(strtotime($event_begin));
@@ -958,15 +1090,19 @@ global $wpdb;
958
  }
959
  }
960
  break;
961
-
962
  case "U":
963
  $event_begin = $event->event_begin;
964
  $event_end = $event->event_end;
965
  $today = date('Y',time()+($offset)).'-'.date('m',time()+($offset)).'-'.date('d',time()+($offset));
966
- $nDays = get_option('display_past_events');
967
- $fDays = get_option('display_upcoming_events');
968
-
 
 
 
969
  if (my_calendar_date_comp( $event_begin, my_calendar_add_date($today,-($nDays),0,0) )) {
 
970
  $diff = jd_date_diff_precise(strtotime($event_begin));
971
  $diff_days = floor($diff/(86400*30));
972
  $realStart = $diff_days - $nDays;
@@ -976,17 +1112,45 @@ global $wpdb;
976
  $approxbegin = my_calendar_add_date($event_begin,0,$realStart,0);
977
  $approxend = my_calendar_add_date($event_end,0,$realStart,0);
978
  for ($n=-6;$n<=6;$n++) {
979
- $beginday = date('D',strtotime(my_calendar_add_date($approxbegin,$n,0,0)));
980
- if ($beginday == date('D',strtotime($event_begin)) && floor(date('d',strtotime($event_begin))/7) == floor(date('d',strtotime($approxbegin))/7) ) {
981
- $begin = my_calendar_add_date($approxbegin,$n,0,0);
982
- $end = my_calendar_add_date($approxend,$n,0,0);
983
- ${$realStart} = clone($event);
984
- ${$realStart}->event_begin = $begin;
985
- ${$realStart}->event_end = $end;
986
- $arr_events[]=${$realStart};
987
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
988
  }
989
- }
990
 
991
  } else {
992
  $realDays = -($nDays);
@@ -994,25 +1158,46 @@ global $wpdb;
994
  $approxbegin = my_calendar_add_date($event_begin,0,$realDays,0);
995
  $approxend = my_calendar_add_date($event_end,0,$realDays,0);
996
  for ($n=-6;$n<=6;$n++) {
997
- $beginday = date('D',strtotime(my_calendar_add_date($approxbegin,$n,0,0)));
998
- if ($beginday == date('D',strtotime($event_begin)) && floor(date('d',strtotime($event_begin))/7) == floor(date('d',strtotime($approxbegin))/7) ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
999
  $begin = my_calendar_add_date($approxbegin,$n,0,0);
1000
  $end = my_calendar_add_date($approxend,$n,0,0);
1001
  ${$realDays} = clone($event);
1002
  ${$realDays}->event_begin = $begin;
1003
  ${$realDays}->event_end = $end;
1004
- $arr_events[]=${$realDays};
 
1005
  }
1006
  }
1007
- }
1008
  }
1009
  break;
1010
-
1011
  case "Y":
1012
  $event_begin = $event->event_begin;
1013
  $today = date('Y',time()+($offset)).'-'.date('m',time()+($offset)).'-'.date('d',time()+($offset));
1014
- $nDays = get_option('display_past_events');
1015
- $fDays = get_option('display_upcoming_events');
1016
 
1017
  if (my_calendar_date_comp( $event_begin, my_calendar_add_date($today,-($nDays),0,0) )) {
1018
  $diff = jd_date_diff_precise(strtotime($event_begin));
@@ -1029,7 +1214,6 @@ global $wpdb;
1029
  $arr_events[] = ${$realStart};
1030
  }
1031
  }
1032
-
1033
  } else {
1034
  $realDays = -($nDays);
1035
  for ($realDays;$realDays<=$fDays;$realDays++) { // for each event within plus or minus range, mod date and add to array.
@@ -1144,6 +1328,10 @@ function my_calendar_grab_events($y,$m,$d,$category=null) {
1144
  SELECT * FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) WHERE $select_category $limit_string event_begin <= '$date' AND event_end >= '$date' AND event_recur = 'S' ORDER BY event_id");
1145
  if (!empty($events)) {
1146
  foreach($events as $event) {
 
 
 
 
1147
  $arr_events[]=$event;
1148
  }
1149
  }
@@ -1174,6 +1362,11 @@ function my_calendar_grab_events($y,$m,$d,$category=null) {
1174
 
1175
  if (!empty($events)) {
1176
  foreach($events as $event) {
 
 
 
 
 
1177
  switch ($event->event_recur) {
1178
  case 'Y':
1179
  // Technically we don't care about the years, but we need to find out if the
@@ -1225,17 +1418,14 @@ function my_calendar_grab_events($y,$m,$d,$category=null) {
1225
  $week_of_event = week_of_month($date_of_event);
1226
  $current_week = week_of_month($current_date);
1227
 
1228
- $day_diff = jd_date_diff($event->event_begin,$event->event_end);
1229
-
1230
-
1231
 
1232
  for ($i=1;$i<=31;$i++) {
1233
  $string = date( 'Y',strtotime($date) ).'-'.date('m',strtotime($date)).'-'.$i;
1234
-
1235
  $week = week_of_month($i);
1236
-
1237
  if ( date('D',strtotime($string)) == $day_of_event && $week == $week_of_event ) {
1238
  $date_of_event_this_month = $i;
 
1239
  }
1240
  }
1241
  if ( get_option('mc_no_fifth_week') == 'true' && $date_of_event_this_month == '' ) {
@@ -1244,6 +1434,7 @@ function my_calendar_grab_events($y,$m,$d,$category=null) {
1244
  $string = date( 'Y',strtotime($date) ).'-'.date('m',strtotime($date)).'-'.$i;
1245
  if ( date('D',strtotime($string)) == $day_of_event && $week == $new_week_of_event ) {
1246
  $date_of_event_this_month = $i;
 
1247
  }
1248
  }
1249
  }
@@ -1289,8 +1480,12 @@ function my_calendar_grab_events($y,$m,$d,$category=null) {
1289
  }
1290
  }
1291
  } else {
1292
- // there's got to be a better way to do this, but I can't think of it right now.
1293
- for ($n=0;$n<=52;$n++) {
 
 
 
 
1294
  if ( $current_date == my_calendar_add_date($start_date,(14*$n)) ) {
1295
  $arr_events[]=$event;
1296
  }
@@ -1361,7 +1556,7 @@ function mc_can_edit_event($author_id) {
1361
  get_currentuserinfo();
1362
  $user = get_userdata($user_ID);
1363
 
1364
- if ( current_user_can('manage_options') ) {
1365
  return true;
1366
  } elseif ( $user_ID == $author_id ) {
1367
  return true;
5
  Description: Accessible WordPress event calendar plugin. Show events from multiple calendars on pages, in posts, or in widgets.
6
  Author: Joseph C Dolson
7
  Author URI: http://www.joedolson.com
8
+ Version: 1.7.2
9
  */
10
  /* Copyright 2009-2010 Joe Dolson (email : joe@joedolson.com)
11
 
23
  along with this program; if not, write to the Free Software
24
  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
  */
26
+ $mc_version = '1.7.2';
27
  // Enable internationalisation
28
  $plugin_dir = basename(dirname(__FILE__));
29
  load_plugin_textdomain( 'my-calendar','wp-content/plugins/'.$plugin_dir, $plugin_dir);
44
  // Add the function that deals with deleted users
45
  add_action('delete_user', 'mc_deal_with_deleted_user');
46
  // Add the widgets if we are using version 2.8
47
+ add_action('widgets_init', create_function('', 'return register_widget("my_calendar_today_widget");'));
48
+ add_action('widgets_init', create_function('', 'return register_widget("my_calendar_upcoming_widget");'));
49
  // custom user actions
50
  add_action( 'show_user_profile', 'mc_user_profile' );
51
  add_action( 'edit_user_profile', 'mc_user_profile' );
52
  add_action( 'profile_update', 'mc_user_save_profile');
53
 
54
+ add_action( 'init', 'my_calendar_add_feed' );
55
+ function my_calendar_add_feed() {
56
+ add_feed( 'my-calendar-rss', 'my_calendar_rss' );
57
+ add_feed( 'my-calendar-ics', 'my_calendar_ical' );
58
+ }
59
+
60
  register_activation_hook( __FILE__, 'check_my_calendar' );
61
  // add filters to text widgets which will process shortcodes
62
  add_filter( 'widget_text', 'do_shortcode', 9 );
63
 
64
+ if ( ! function_exists( 'is_ssl' ) ) {
65
+ function is_ssl() {
66
+ if ( isset($_SERVER['HTTPS']) ) {
67
+ if ( 'on' == strtolower($_SERVER['HTTPS']) )
68
+ return true;
69
+ if ( '1' == $_SERVER['HTTPS'] )
70
+ return true;
71
+ } elseif ( isset($_SERVER['SERVER_PORT']) && ( '443' == $_SERVER['SERVER_PORT'] ) ) {
72
+ return true;
73
+ }
74
+ return false;
75
+ }
76
+ }
77
+
78
+ if ( version_compare( get_bloginfo( 'version' ) , '3.0' , '<' ) && is_ssl() ) {
79
+ $wp_content_url = str_replace( 'http://' , 'https://' , get_option( 'siteurl' ) );
80
+ } else {
81
+ $wp_content_url = get_option( 'siteurl' );
82
+ }
83
+ $wp_content_url .= '/wp-content';
84
+ $wp_content_dir = ABSPATH . 'wp-content';
85
+ $wp_plugin_url = $wp_content_url . '/plugins';
86
+ $wp_plugin_dir = $wp_content_dir . '/plugins';
87
+ $wpmu_plugin_url = $wp_content_url . '/mu-plugins';
88
+ $wpmu_plugin_dir = $wp_content_dir . '/mu-plugins';
89
+
90
  function jd_calendar_plugin_action($links, $file) {
91
  if ($file == plugin_basename(dirname(__FILE__).'/my-calendar.php')) {
92
  $links[] = "<a href='admin.php?page=my-calendar-config'>" . __('Settings', 'my-calendar') . "</a>";
110
  include(dirname(__FILE__).'/my-calendar-user.php' );
111
  include(dirname(__FILE__).'/my-calendar-output.php' );
112
  include(dirname(__FILE__).'/my-calendar-templates.php' );
113
+ //include(dirname(__FILE__).'/my-calendar-export.php' );
114
+ include(dirname(__FILE__).'/my-calendar-rss.php' );
115
+ include(dirname(__FILE__).'/my-calendar-ical.php' );
116
 
117
+ //include(dirname(__FILE__).'/my-calendar-postevent.php' );
 
 
 
 
 
 
 
 
 
 
 
 
118
 
119
  function jd_show_support_box() {
120
  ?>
153
  global $wpdb, $wp_query;
154
  // If the calendar isn't installed or upgraded this won't work
155
  check_my_calendar();
156
+ $styles = mc_get_style_path( get_option( 'my_calendar_css_file' ),'url' );
157
  if ( get_option('my_calendar_use_styles') != 'true' ) {
158
 
159
  $this_post = $wp_query->get_queried_object();
169
  if ( @in_array( $id, $array ) || get_option( 'my_calendar_show_css' ) == '' ) {
170
 
171
  // generate category colors
172
+ $category_styles = '';
173
  $categories = $wpdb->get_results("SELECT * FROM " . MY_CALENDAR_CATEGORIES_TABLE . " ORDER BY category_id ASC");
174
  foreach ( $categories as $category ) {
175
  $class = "mc_".sanitize_title($category->category_name);
180
  $type = 'background';
181
  }
182
  if ( get_option( 'mc_apply_color' ) == 'font' || get_option( 'mc_apply_color' ) == 'background' ) {
183
+ $category_styles .= "\n#jd-calendar .$class .event-title { $type: $color; }";
184
  }
185
  }
186
 
187
  echo "
188
+ <link rel=\"stylesheet\" href=\"$styles\" type=\"text/css\" media=\"all\" />
189
  <style type=\"text/css\">
190
  <!--
191
  .js #jd-calendar .details { display: none; }
192
+ /* Styles from My Calendar - Joseph C Dolson http://www.joedolson.com/ */
 
 
193
  $category_styles
 
194
  .mc-event-visible {
195
  display: block!important;
196
  }
233
 
234
  // Function to add the javascript to the admin header
235
  function my_calendar_add_javascript() {
236
+ global $wp_plugin_url;
237
  if ($_GET['page'] == 'my-calendar') {
238
+ wp_enqueue_script('jquery-ui-datepicker',$wp_plugin_url . '/my-calendar/js/ui.datepicker.js', array('jquery','jquery-ui-core') );
239
  }
240
  }
241
  function my_calendar_write_js() {
263
  }
264
  add_action('init','my_calendar_add_display_javascript');
265
 
 
266
  function my_calendar_fouc() {
267
  global $wp_query;
268
  if ( get_option('calendar_javascript') != 1 || get_option('list_javascript') != 1 || get_option('mini_javascript') != 1 ) {
321
  add_action('wp_head','my_calendar_fouc');
322
 
323
  function my_calendar_add_styles() {
324
+ global $wp_plugin_url;
325
  if ($_GET['page'] == 'my-calendar' || $_GET['page'] == 'my-calendar-categories' || $_GET['page'] == 'my-calendar-locations' || $_GET['page'] == 'my-calendar-config' || $_GET['page'] == 'my-calendar-styles' || $_GET['page'] == 'my-calendar-help' || $_GET['page'] == 'my-calendar-behaviors' ) {
326
+ echo '<link type="text/css" rel="stylesheet" href="'.$wp_plugin_url.'/my-calendar/js/ui.datepicker.css" />';
327
+ echo '<link type="text/css" rel="stylesheet" href="'.$wp_plugin_url.'/my-calendar/mc-styles.css" />';
328
  }
329
  }
330
 
334
  'format' => 'calendar',
335
  'category' => 'all',
336
  'showkey' => 'yes',
337
+ 'shownav' => 'yes',
338
+ 'time' => 'month'
339
  ), $atts));
340
  if ( isset($_GET['format']) ) {
341
  $format = mysql_real_escape_string($_GET['format']);
342
+ }
343
+ return my_calendar($name,$format,$category,$showkey,$shownav,$time);
344
  }
345
 
346
  function my_calendar_insert_upcoming($atts) {
349
  'after' => 'default',
350
  'type' => 'default',
351
  'category' => 'default',
352
+ 'template' => 'default',
353
+ 'fallback' => '',
354
  ), $atts));
355
+ return my_calendar_upcoming_events($before, $after, $type, $category, $template, $fallback);
356
  }
357
 
358
  function my_calendar_insert_today($atts) {
359
  extract(shortcode_atts(array(
360
  'category' => 'default',
361
+ 'template' => 'default',
362
+ 'fallback' => '',
363
  ), $atts));
364
+ return my_calendar_todays_events($category, $template, $fallback);
365
  }
366
 
367
  function my_calendar_locations($atts) {
378
  if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";}
379
  $pageURL .= "://";
380
  if ($_SERVER["SERVER_PORT"] != "80") {
381
+ $pageURL .= $_SERVER["HTTP_HOST"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"];
382
  } else {
383
+ $pageURL .= $_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"];
384
  }
385
  return $pageURL;
386
  }
392
 
393
  // Function to check what version of My Calendar is installed and install if needed
394
  function check_my_calendar() {
395
+ global $wpdb, $initial_listjs, $initial_caljs, $initial_minijs, $initial_ajaxjs, $mc_version,$stored_styles;
396
  $current_version = get_option('my_calendar_version');
397
  // If current version matches, don't bother running this.
398
+
399
+ if ($current_version == $mc_version) {
400
  return true;
401
  }
402
 
438
  $upgrade_path[] = "1.6.2";
439
  } else if ( version_compare( $current_version, "1.6.3", "<" ) ) {
440
  $upgrade_path[] = "1.6.3";
441
+ } else if ( version_compare( $current_version, "1.7.0", "<" ) ) {
442
+ $upgrade_path[] = "1.7.0";
443
+ } else if ( version_compare( $current_version, "1.7.1", "<" ) ) {
444
+ $upgrade_path[] = "1.7.1";
445
  }
446
 
447
  // having determined upgrade path, assign new version number
448
+ update_option( 'my_calendar_version' , $mc_version );
449
 
450
  // Now we've determined what the current install is or isn't
451
  if ( $new_install == true ) {
452
  //add default settings
453
  mc_default_settings();
 
 
454
  $sql = "INSERT INTO " . MY_CALENDAR_CATEGORIES_TABLE . " SET category_id=1, category_name='General', category_color='#ffffff', category_icon='event.png'";
455
+ $wpdb->query($sql);
456
  }
457
 
458
  // switch for different upgrade paths
506
  case '1.6.2':
507
  $mc_user_settings = array(
508
  'my_calendar_tz_default'=>array(
509
+ 'enabled'=>'off',
510
  'label'=>'My Calendar Default Timezone',
511
  'values'=>array(
512
  "-12" => "(GMT -12:00) Eniwetok, Kwajalein",
551
  ),
552
  ),
553
  'my_calendar_location_default'=>array(
554
+ 'enabled'=>'off',
555
  'label'=>'My Calendar Default Location',
556
  'values'=>array(
557
  'AL'=>"Alabama",
615
  add_option( 'my_calendar_templates', array(
616
  'title'=>'{title}'
617
  ));
618
+ break;
619
+ case '1.7.0':
620
+ update_option('mc_db_version','1.7.0');
621
+ add_option('mc_show_rss','false');
622
+ add_option('mc_show_ical','false');
623
+ add_option('mc_skip_holidays','false');
624
+ add_option('mc_event_edit_perms','manage_options');
625
+ $original_styles = get_option('my_calendar_style');
626
+ if ($original_styles != '') {
627
+ $stylefile = mc_get_style_path('my-calendar.css');
628
+ if ( mc_write_styles( $stylefile, $original_styles ) ) {
629
+ delete_option('my_calendar_style');
630
+ } else {
631
+ add_option('my_calendar_file_permissions','false');
632
+ }
633
+ }
634
+ add_option('my_calendar_stored_styles',$stored_styles);
635
+ update_option('my_calendar_css_file','my-calendar.css');
636
+ // convert old widget settings into new defaults
637
+ $type = get_option('display_upcoming_type');
638
+ if ($type == 'events') {
639
+ $before = get_option('display_upcoming_events');
640
+ $after = get_option('display_past_events');
641
+ } else {
642
+ $before = get_option('display_upcoming_days');
643
+ $after = get_option('display_past_days');
644
+ }
645
+ $category = get_option('display_in_category');
646
+ $today_template = get_option('my_calendar_today_template');
647
+ $upcoming_template = get_option('my_calendar_upcoming_template');
648
+ $today_title = get_option('my_calendar_today_title');
649
+ $today_text = get_option('my_calendar_no_events_text');
650
+ $upcoming_title = get_option('my_calendar_upcoming_title');
651
+
652
+ $defaults = array(
653
+ 'upcoming'=>array(
654
+ 'type'=>$type,
655
+ 'before'=>$before,
656
+ 'after'=>$after,
657
+ 'template'=>$upcoming_template,
658
+ 'category'=>$category,
659
+ 'text'=>'',
660
+ 'title'=>$upcoming_title
661
+ ),
662
+ 'today'=>array(
663
+ 'template'=>$today_template,
664
+ 'category'=>'',
665
+ 'title'=>$today_title,
666
+ 'text'=>$today_text
667
+ )
668
+ );
669
+ add_option('my_calendar_widget_defaults',$defaults);
670
+ delete_option('display_upcoming_type');
671
+ delete_option('display_upcoming_events');
672
+ delete_option('display_past_events');
673
+ delete_option('display_upcoming_days');
674
+ delete_option('display_todays','true');
675
+ delete_option('display_upcoming','true');
676
+ delete_option('display_upcoming_days',7);
677
+ delete_option('display_past_days');
678
+ delete_option('display_in_category');
679
+ delete_option('my_calendar_today_template');
680
+ delete_option('my_calendar_upcoming_template');
681
+ delete_option('my_calendar_today_title');
682
+ delete_option('my_calendar_no_events_text');
683
+ delete_option('my_calendar_upcoming_title');
684
+ break;
685
+ case '1.7.1':
686
+ if (get_option('mc_location_type') == '') {
687
+ update_option('mc_location_type','event_state');
688
+ }
689
+ break;
690
  default:
691
  break;
692
  }
699
  mc_default_settings();
700
  update_option( 'mc_db_version', '1.4.0' );
701
  }
 
 
 
 
 
702
  }
703
 
704
  function jd_cal_checkCheckbox( $theFieldname,$theValue,$theArray='' ){
730
  function my_calendar_permalink_prefix() {
731
  // Get the permalink structure from WordPress
732
  $p_link = get_permalink();
733
+ $real_link = get_current_url();
 
 
 
 
 
734
 
735
  // Now use all of that to get the My Calendar link prefix
736
  if (strstr($p_link, '?') && $p_link == $real_link) {
739
  $link_part = $p_link.'?';
740
  } else if (strstr($real_link, '?')) {
741
 
742
+ if ( isset($_GET['month']) || isset($_GET['yr']) || isset($_GET['week']) ) {
743
  $link_part = '';
744
  $new_base = split('\?', $real_link);
745
  if(count($new_base) > 1) {
746
  $new_tail = split('&', $new_base[1]);
747
  foreach ($new_tail as $item) {
748
+ if ( isset($_GET['month']) && isset($_GET['yr']) ) {
749
+ if (!strstr($item, 'month') && !strstr($item, 'yr')) {
750
+ $link_part .= $item.'&';
751
+ }
752
+ }
753
+ if ( isset($_GET['week']) && isset($_GET['yr']) ) {
754
+ if (!strstr($item, 'week') && !strstr($item, 'yr')) {
755
+ $link_part .= $item.'&';
756
+ }
757
+ }
758
  }
759
  }
760
  $link_part = $new_base[0] . ($link_part ? "?$link_part" : '?');
831
  $select_category = "";
832
  }
833
  $limit_string = mc_limit_string('all');
834
+ if ($select_category != '' && $limit_string != '') {
835
+ $join = ' AND ';
836
+ } else if ($select_category == '' && $limit_string != '' ) {
837
+ $join = ' WHERE ';
838
+ } else {
839
+ $join = '';
840
+ }
841
+ $limits = $select_category . $join . $limit_string;
842
+ $events = $wpdb->get_results("SELECT * FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) $limits");
843
  $offset = (60*60*get_option('gmt_offset'));
844
  $date = date('Y', time()+($offset)).'-'.date('m', time()+($offset)).'-'.date('d', time()+($offset));
845
  if (!empty($events)) {
896
  for ($i=$numback;$i<=$numforward;$i++) {
897
  $approxbegin = my_calendar_add_date($orig_begin,0,$i,0);
898
  $approxend = my_calendar_add_date($orig_end,0,$i,0);
899
+ $day_of_event = date('D',strtotime($event->event_begin) );
900
+ $week_of_event = week_of_month( date('d',strtotime($event->event_begin) ) );
901
+ for ($n=-6;$n<=6;$n++) {
902
+ $timestamp = strtotime(my_calendar_add_date($approxbegin,$n,0,0));
903
+ $current_day = date('D',$timestamp);
904
+ if ($current_day == $day_of_event) {
905
+ $current_week = week_of_month( date( 'd',$timestamp));
906
+ $current_date = date( 'd',$timestamp);
907
+ if ($current_day == $day_of_event && $current_week == $week_of_event) {
908
+ $date_of_event_this_month == $current_date;
909
+ //echo "Principle<br />";
910
+ } else {
911
+ //echo "Busted<br />";
912
+ for ($s = 1;$s<=31;$s++) {
913
+ $string = date( 'Y', $timestamp ).'-'.date( 'm', $timestamp).'-'.$s;
914
+ $week = week_of_month($s);
915
+ if ( date('D',strtotime($string)) == $day_of_event && $week == $week_of_event ) {
916
+ $date_of_event_this_month = $s;
917
+ break;
918
+ }
919
+ }
920
+ if ( get_option('mc_no_fifth_week') == 'true' && $date_of_event_this_month == '' ) {
921
+ $new_week_of_event = $week_of_event-1;
922
+ for ($s=1;$s<=31;$s++) {
923
+ $string = date( 'Y', $timestamp ).'-'.date('m', $timestamp).'-'.$s;
924
+ if ( date('D',strtotime($string)) == $day_of_event && $week == $new_week_of_event ) {
925
+ $date_of_event_this_month = $s;
926
+ break;
927
+ }
928
+ }
929
+ }
930
+ }
931
+ if ( ($current_day == $day_of_event && $current_week == $week_of_event) || ($current_date >= $date_of_event_this_month && $current_date <= $date_of_event_this_month+$day_diff && $date_of_event_this_month != '' ) ) {
932
+ $begin = my_calendar_add_date($approxbegin,$n,0,0);
933
+ $end = my_calendar_add_date($approxend,$n,0,0);
934
+ //$i=4;
935
+ ${$i} = clone($event);
936
+ ${$i}->event_begin = $begin;
937
+ ${$i}->event_end = $end;
938
+ $arr_events[]=${$i};
939
+ }
940
+ }
941
+ }
942
+ }
943
  break;
944
  case "Y":
945
  for ($i=$numback;$i<=$numforward;$i++) {
957
  case "D":
958
  $event_begin = $event->event_begin;
959
  $today = date('Y',time()+($offset)).'-'.date('m',time()+($offset)).'-'.date('d',time()+($offset));
960
+ $nDays = 30;
961
+ $fDays = 30;
962
  if (my_calendar_date_comp( $event_begin, my_calendar_add_date($today,-($nDays),0,0) )) {
963
  $diff = jd_date_diff_precise(strtotime($event_begin));
964
  $diff_days = $diff/(86400);
973
  ${$realStart}->event_begin = $this_date;
974
  $arr_events[] = ${$realStart};
975
  }
976
+ }
977
+ } else {
 
978
  $realDays = -($nDays);
979
  for ($realDays;$realDays<=$fDays;$realDays++) { // for each event within plus or minus range, mod date and add to array.
980
  $this_date = my_calendar_add_date($event_begin,$realDays,0,0);
986
  }
987
  }
988
  break;
 
989
  case "W":
990
  $event_begin = $event->event_begin;
991
  $today = date('Y',time()+($offset)).'-'.date('m',time()+($offset)).'-'.date('d',time()+($offset));
992
+ $nDays = 6;
993
+ $fDays = 6;
994
 
995
  if (my_calendar_date_comp( $event_begin, my_calendar_add_date($today,-($nDays*7),0,0) ) ) {
996
  $diff = jd_date_diff_precise(strtotime($event_begin));
1021
  }
1022
  }
1023
  break;
 
1024
  case "B":
1025
  $event_begin = $event->event_begin;
1026
  $today = date('Y',time()+($offset)).'-'.date('m',time()+($offset)).'-'.date('d',time()+($offset));
1027
+ $nDays = 6;
1028
+ $fDays = 6;
1029
 
1030
  if (my_calendar_date_comp( $event_begin, my_calendar_add_date($today,-($nDays*14),0,0) )) {
1031
  $diff = jd_date_diff_precise(strtotime($event_begin));
1059
  case "M":
1060
  $event_begin = $event->event_begin;
1061
  $today = date('Y',time()+($offset)).'-'.date('m',time()+($offset)).'-'.date('d',time()+($offset));
1062
+ $nDays = 5;
1063
+ $fDays = 5;
1064
 
1065
  if (my_calendar_date_comp( $event_begin, my_calendar_add_date($today,-($nDays),0,0) )) {
1066
  $diff = jd_date_diff_precise(strtotime($event_begin));
1090
  }
1091
  }
1092
  break;
1093
+ // "U" is month by day
1094
  case "U":
1095
  $event_begin = $event->event_begin;
1096
  $event_end = $event->event_end;
1097
  $today = date('Y',time()+($offset)).'-'.date('m',time()+($offset)).'-'.date('d',time()+($offset));
1098
+ $nDays = 5;
1099
+ $fDays = 5;
1100
+ $day_of_event = date( 'D', strtotime($event->event_begin) );
1101
+ $week_of_event = week_of_month( date( 'd', strtotime($event->event_begin) ) );
1102
+ $day_diff = jd_date_diff($event_begin, $event_end);
1103
+
1104
  if (my_calendar_date_comp( $event_begin, my_calendar_add_date($today,-($nDays),0,0) )) {
1105
+ // this doesn't need to be precise; it only effects what dates will be checked.
1106
  $diff = jd_date_diff_precise(strtotime($event_begin));
1107
  $diff_days = floor($diff/(86400*30));
1108
  $realStart = $diff_days - $nDays;
1112
  $approxbegin = my_calendar_add_date($event_begin,0,$realStart,0);
1113
  $approxend = my_calendar_add_date($event_end,0,$realStart,0);
1114
  for ($n=-6;$n<=6;$n++) {
1115
+ $timestamp = strtotime(my_calendar_add_date($approxbegin,$n,0,0));
1116
+ $current_day = date('D',$timestamp);
1117
+ if ($current_day == $day_of_event) {
1118
+ $current_week = week_of_month( date( 'd',$timestamp));
1119
+ $current_date = date( 'd',$timestamp);
1120
+ if ($current_day == $day_of_event && $current_week == $week_of_event) {
1121
+ $date_of_event_this_month = $current_date;
1122
+ } else {
1123
+ for ($i = 1;$i<=31;$i++) {
1124
+ $string = date( 'Y', $timestamp ).'-'.date( 'm', $timestamp).'-'.$n;
1125
+ $week = week_of_month($i);
1126
+ if ( date('D',strtotime($string)) == $day_of_event && $week == $week_of_event ) {
1127
+ $date_of_event_this_month = $i;
1128
+ break;
1129
+ }
1130
+ }
1131
+ if ( get_option('mc_no_fifth_week') == 'true' && $date_of_event_this_month == '' ) {
1132
+ $new_week_of_event = $week_of_event-1;
1133
+ for ($i=1;$i<=31;$i++) {
1134
+ $string = date( 'Y', $timestamp ).'-'.date('m', $timestamp).'-'.$i;
1135
+ if ( date('D',strtotime($string)) == $day_of_event && $week == $new_week_of_event ) {
1136
+ $date_of_event_this_month = $i;
1137
+ break;
1138
+ }
1139
+ }
1140
+ }
1141
+ }
1142
+ if ( ($current_day == $day_of_event && $current_week == $week_of_event) || ($current_date >= $date_of_event_this_month && $current_date <= $date_of_event_this_month+$day_diff && $date_of_event_this_month != '' ) ) {
1143
+ $begin = my_calendar_add_date($approxbegin,$n,0,0);
1144
+ $end = my_calendar_add_date($approxend,$n,0,0);
1145
+ ${$realStart} = clone($event);
1146
+ ${$realStart}->event_begin = $begin;
1147
+ ${$realStart}->event_end = $end;
1148
+ $arr_events[]=${$realStart};
1149
+ break;
1150
+ }
1151
+ }
1152
  }
1153
+ }
1154
 
1155
  } else {
1156
  $realDays = -($nDays);
1158
  $approxbegin = my_calendar_add_date($event_begin,0,$realDays,0);
1159
  $approxend = my_calendar_add_date($event_end,0,$realDays,0);
1160
  for ($n=-6;$n<=6;$n++) {
1161
+ $timestamp = strtotime(my_calendar_add_date($approxbegin,$n,0,0));
1162
+ $current_day = date('D',$timestamp);
1163
+ $current_week = week_of_month( date( 'd',$timestamp));
1164
+ $current_date = date( 'd',$timestamp);
1165
+ for ($i = 1;$i<=31;$i++) {
1166
+ $string = date( 'Y', $timestamp ).'-'.date( 'm', $timestamp).'-'.$n;
1167
+ $week = week_of_month($i);
1168
+ if ( date('D',strtotime($string)) == $day_of_event && $week == $week_of_event ) {
1169
+ $date_of_event_this_month = $i;
1170
+ break;
1171
+ }
1172
+ }
1173
+ if ( get_option('mc_no_fifth_week') == 'true' && $date_of_event_this_month == '' ) {
1174
+ $new_week_of_event = $week_of_event-1;
1175
+ for ($i=1;$i<=31;$i++) {
1176
+ $string = date( 'Y', $timestamp ).'-'.date('m', $timestamp).'-'.$i;
1177
+ if ( date('D',strtotime($string)) == $day_of_event && $week == $new_week_of_event ) {
1178
+ $date_of_event_this_month = $i;
1179
+ break;
1180
+ }
1181
+ }
1182
+ }
1183
+ if ( ($current_day == $day_of_event && $current_week == $week_of_event) || ($current_date >= $date_of_event_this_month && $current_date <= $date_of_event_this_month+$day_diff && $date_of_event_this_month != '' ) ) {
1184
  $begin = my_calendar_add_date($approxbegin,$n,0,0);
1185
  $end = my_calendar_add_date($approxend,$n,0,0);
1186
  ${$realDays} = clone($event);
1187
  ${$realDays}->event_begin = $begin;
1188
  ${$realDays}->event_end = $end;
1189
+ $arr_events[]=${$realDays};
1190
+ break;
1191
  }
1192
  }
1193
+ }
1194
  }
1195
  break;
 
1196
  case "Y":
1197
  $event_begin = $event->event_begin;
1198
  $today = date('Y',time()+($offset)).'-'.date('m',time()+($offset)).'-'.date('d',time()+($offset));
1199
+ $nDays = 3;
1200
+ $fDays = 3;
1201
 
1202
  if (my_calendar_date_comp( $event_begin, my_calendar_add_date($today,-($nDays),0,0) )) {
1203
  $diff = jd_date_diff_precise(strtotime($event_begin));
1214
  $arr_events[] = ${$realStart};
1215
  }
1216
  }
 
1217
  } else {
1218
  $realDays = -($nDays);
1219
  for ($realDays;$realDays<=$fDays;$realDays++) { // for each event within plus or minus range, mod date and add to array.
1328
  SELECT * FROM " . MY_CALENDAR_TABLE . " JOIN " . MY_CALENDAR_CATEGORIES_TABLE . " ON (event_category=category_id) WHERE $select_category $limit_string event_begin <= '$date' AND event_end >= '$date' AND event_recur = 'S' ORDER BY event_id");
1329
  if (!empty($events)) {
1330
  foreach($events as $event) {
1331
+ $this_event_start = strtotime("$event->event_begin $event->event_time");
1332
+ $this_event_end = strtotime("$event->event_end $event->event_endtime");
1333
+ $event->event_start_ts = $this_event_start;
1334
+ $event->event_end_ts = $this_event_end;
1335
  $arr_events[]=$event;
1336
  }
1337
  }
1362
 
1363
  if (!empty($events)) {
1364
  foreach($events as $event) {
1365
+ // add timestamps for start and end
1366
+ $this_event_start = strtotime("$date $event->event_time");
1367
+ $this_event_end = strtotime("$date $event->event_endtime");
1368
+ $event->event_start_ts = $this_event_start;
1369
+ $event->event_end_ts = $this_event_end;
1370
  switch ($event->event_recur) {
1371
  case 'Y':
1372
  // Technically we don't care about the years, but we need to find out if the
1418
  $week_of_event = week_of_month($date_of_event);
1419
  $current_week = week_of_month($current_date);
1420
 
1421
+ $day_diff = jd_date_diff($event->event_begin,$event->event_end);
 
 
1422
 
1423
  for ($i=1;$i<=31;$i++) {
1424
  $string = date( 'Y',strtotime($date) ).'-'.date('m',strtotime($date)).'-'.$i;
 
1425
  $week = week_of_month($i);
 
1426
  if ( date('D',strtotime($string)) == $day_of_event && $week == $week_of_event ) {
1427
  $date_of_event_this_month = $i;
1428
+ break;
1429
  }
1430
  }
1431
  if ( get_option('mc_no_fifth_week') == 'true' && $date_of_event_this_month == '' ) {
1434
  $string = date( 'Y',strtotime($date) ).'-'.date('m',strtotime($date)).'-'.$i;
1435
  if ( date('D',strtotime($string)) == $day_of_event && $week == $new_week_of_event ) {
1436
  $date_of_event_this_month = $i;
1437
+ break;
1438
  }
1439
  }
1440
  }
1480
  }
1481
  }
1482
  } else {
1483
+ // get difference between today and event start date in biweekly periods; grab enough events to fill max poss.
1484
+ $diffdays = jd_date_diff($start_date,$current_date);
1485
+ $diffper = floor($diffdays/14) - 2;
1486
+ $advanceper = get_option('my_calendar_show_months') * 3;
1487
+ $diffend = $diffper + $advanceper;
1488
+ for ($n=$diffper;$n<=$diffend;$n++) {
1489
  if ( $current_date == my_calendar_add_date($start_date,(14*$n)) ) {
1490
  $arr_events[]=$event;
1491
  }
1556
  get_currentuserinfo();
1557
  $user = get_userdata($user_ID);
1558
 
1559
+ if ( current_user_can( get_option('mc_event_edit_perms') ) ) {
1560
  return true;
1561
  } elseif ( $user_ID == $author_id ) {
1562
  return true;
my-calendar.pot CHANGED
@@ -2,9 +2,9 @@
2
  # This file is distributed under the same license as the My Calendar package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: My Calendar 1.6.3\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/my-calendar\n"
7
- "POT-Creation-Date: 2010-12-23 19:33:22+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -12,30 +12,156 @@ msgstr ""
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
- #: my-calendar-templates.php:151
16
- msgid "Published"
17
  msgstr ""
18
 
19
- #: my-calendar-templates.php:153
20
- msgid "Reserved"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  msgstr ""
22
 
23
  #: my-calendar-user.php:39
24
  msgid "My Calendar User Settings"
25
  msgstr ""
26
 
27
- #: my-calendar-event-manager.php:27 my-calendar-settings.php:511
28
  msgid ""
29
  "My Calendar has identified that you have the Calendar plugin by Kieran "
30
  "O'Shea installed. You can import those events and categories into the My "
31
  "Calendar database. Would you like to import these events?"
32
  msgstr ""
33
 
34
- #: my-calendar-event-manager.php:33 my-calendar-settings.php:517
35
  msgid "Import from Calendar"
36
  msgstr ""
37
 
38
- #: my-calendar-event-manager.php:38
39
  msgid ""
40
  "Although it is possible that this import could fail to import your events "
41
  "correctly, it should not have any impact on your existing Calendar database. "
@@ -43,136 +169,152 @@ msgid ""
43
  "\">please contact me</a>!"
44
  msgstr ""
45
 
46
- #: my-calendar-event-manager.php:68
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  msgid "Delete Event"
48
  msgstr ""
49
 
50
- #: my-calendar-event-manager.php:68
51
  msgid "Are you sure you want to delete this event?"
52
  msgstr ""
53
 
54
- #: my-calendar-event-manager.php:73 my-calendar-event-manager.php:743
55
- #: my-calendar-categories.php:160 my-calendar-categories.php:179
56
- #: my-calendar-locations.php:150 my-calendar-locations.php:162
57
  msgid "Delete"
58
  msgstr ""
59
 
60
- #: my-calendar-event-manager.php:81
61
  msgid "You do not have permission to delete that event."
62
  msgstr ""
63
 
64
- #: my-calendar-event-manager.php:96 my-calendar-event-manager.php:211
65
  msgid "You do not have permission to approve that event."
66
  msgstr ""
67
 
68
- #: my-calendar-event-manager.php:110 my-calendar-event-manager.php:225
69
  msgid "You do not have permission to reject that event."
70
  msgstr ""
71
 
72
- #: my-calendar-event-manager.php:133 my-calendar-event-manager.php:156
73
- #: my-calendar-event-manager.php:180 my-calendar-event-manager.php:195
74
- #: my-calendar-event-manager.php:875 my-calendar-event-manager.php:880
75
- #: my-calendar-event-manager.php:885 my-calendar-event-manager.php:897
76
- #: my-calendar-event-manager.php:907 my-calendar-event-manager.php:915
77
- #: my-calendar-event-manager.php:924 my-calendar-event-manager.php:932
78
- msgid "Error"
 
 
 
 
 
 
 
 
 
 
 
79
  msgstr ""
80
 
81
- #: my-calendar-event-manager.php:133
82
  msgid "I'm sorry! I couldn't add that event to the database."
83
  msgstr ""
84
 
85
- #: my-calendar-event-manager.php:135
86
  msgid "Event added. It will now show in your calendar."
87
  msgstr ""
88
 
89
- #: my-calendar-event-manager.php:156
90
  msgid "Your event was not updated."
91
  msgstr ""
92
 
93
- #: my-calendar-event-manager.php:160
94
  msgid "Nothing was changed in that update."
95
  msgstr ""
96
 
97
- #: my-calendar-event-manager.php:164
98
  msgid "Event updated successfully"
99
  msgstr ""
100
 
101
- #: my-calendar-event-manager.php:170
102
  msgid "You do not have sufficient permissions to edit that event."
103
  msgstr ""
104
 
105
- #: my-calendar-event-manager.php:180
106
  msgid "You can't delete an event if you haven't submitted an event id"
107
  msgstr ""
108
 
109
- #: my-calendar-event-manager.php:191
110
  msgid "Event deleted successfully"
111
  msgstr ""
112
 
113
- #: my-calendar-event-manager.php:195
114
  msgid ""
115
  "Despite issuing a request to delete, the event still remains in the "
116
  "database. Please investigate."
117
  msgstr ""
118
 
119
- #: my-calendar-event-manager.php:242 my-calendar-event-manager.php:345
120
- msgid "Edit Event"
121
- msgstr ""
122
-
123
- #: my-calendar-event-manager.php:246 my-calendar-event-manager.php:255
124
- msgid "You must provide an event id in order to edit it"
125
- msgstr ""
126
-
127
- #: my-calendar-event-manager.php:251 my-calendar-event-manager.php:345
128
- msgid "Copy Event"
129
- msgstr ""
130
-
131
- #: my-calendar-event-manager.php:261
132
- msgid "Add Event"
133
- msgstr ""
134
-
135
- #: my-calendar-event-manager.php:266
136
- msgid "Manage Events"
137
- msgstr ""
138
-
139
- #: my-calendar-event-manager.php:317
140
  msgid "Sorry! That's an invalid event key."
141
  msgstr ""
142
 
143
- #: my-calendar-event-manager.php:322
144
  msgid "Sorry! We couldn't find an event with that ID."
145
  msgstr ""
146
 
147
- #: my-calendar-event-manager.php:345
148
  msgid "Add an Event"
149
  msgstr ""
150
 
151
- #: my-calendar-event-manager.php:349
152
  msgid "This event must be approved in order for it to appear on the calendar."
153
  msgstr ""
154
 
155
- #: my-calendar-event-manager.php:364
 
 
 
 
156
  msgid "Enter your Event Information"
157
  msgstr ""
158
 
159
- #: my-calendar-event-manager.php:366
160
  msgid "Event Title"
161
  msgstr ""
162
 
163
- #: my-calendar-event-manager.php:370
 
 
 
 
164
  msgid "Publish"
165
  msgstr ""
166
 
167
- #: my-calendar-event-manager.php:370
168
  msgid "You must approve this event to promote it to the calendar."
169
  msgstr ""
170
 
171
- #: my-calendar-event-manager.php:372
172
  msgid "An administrator must approve your new event."
173
  msgstr ""
174
 
175
- #: my-calendar-event-manager.php:384
176
  msgid ""
177
  "Event Description (<abbr title=\"hypertext markup language\">HTML</abbr> "
178
  "allowed)"
@@ -184,38 +326,46 @@ msgid ""
184
  "abbr> allowed)"
185
  msgstr ""
186
 
187
- #: my-calendar-event-manager.php:405
188
  msgid "Event Host"
189
  msgstr ""
190
 
191
- #: my-calendar-event-manager.php:426
192
  msgid "Event Category"
193
  msgstr ""
194
 
195
- #: my-calendar-event-manager.php:451
196
  msgid "Event Link (Optional)"
197
  msgstr ""
198
 
199
- #: my-calendar-event-manager.php:451
200
  msgid "This link will expire when the event passes."
201
  msgstr ""
202
 
203
- #: my-calendar-event-manager.php:455
204
- msgid "Start Date (YYYY-MM-DD)"
205
  msgstr ""
206
 
207
- #: my-calendar-event-manager.php:458
208
- msgid "End Date (YYYY-MM-DD) (Optional)"
 
 
 
 
 
 
209
  msgstr ""
210
 
211
- #: my-calendar-event-manager.php:461
212
  msgid "Time (hh:mm)"
213
  msgstr ""
214
 
215
- #: my-calendar-event-manager.php:473
216
- msgid ""
217
- "Optional, set blank if your event is an all-day event or does not happen at "
218
- "a specific time."
 
 
219
  msgstr ""
220
 
221
  #: my-calendar-event-manager.php:473
@@ -226,1028 +376,1044 @@ msgstr ""
226
  msgid " hour(s)"
227
  msgstr ""
228
 
229
- #: my-calendar-event-manager.php:476
230
- msgid "End Time (hh:mm)"
231
- msgstr ""
232
-
233
- #: my-calendar-event-manager.php:486
234
- msgid ""
235
- "Optional. End times will not be displayed on events where this is not set."
236
- msgstr ""
237
-
238
- #: my-calendar-event-manager.php:491
239
  msgid "Recurring Events"
240
  msgstr ""
241
 
242
- #: my-calendar-event-manager.php:494
243
  msgid "Repeats for"
244
  msgstr ""
245
 
246
- #: my-calendar-event-manager.php:495
247
  msgid "Units"
248
  msgstr ""
249
 
250
- #: my-calendar-event-manager.php:496
251
  msgid "Does not recur"
252
  msgstr ""
253
 
254
- #: my-calendar-event-manager.php:497 my-calendar-event-manager.php:716
255
  msgid "Daily"
256
  msgstr ""
257
 
258
- #: my-calendar-event-manager.php:498 my-calendar-event-manager.php:717
259
  msgid "Weekly"
260
  msgstr ""
261
 
262
- #: my-calendar-event-manager.php:499
263
  msgid "Bi-weekly"
264
  msgstr ""
265
 
266
- #: my-calendar-event-manager.php:500
267
  msgid "Date of Month (e.g., the 24th of each month)"
268
  msgstr ""
269
 
270
- #: my-calendar-event-manager.php:501
271
  msgid "Day of Month (e.g., the 3rd Monday of each month)"
272
  msgstr ""
273
 
274
- #: my-calendar-event-manager.php:502
275
  msgid "Annually"
276
  msgstr ""
277
 
278
- #: my-calendar-event-manager.php:504
279
- msgid ""
280
- "Entering 0 means forever, if a unit is selected. If the recurrence unit is "
281
- "left at \"Does not recur,\" the event will not reoccur."
282
  msgstr ""
283
 
284
- #: my-calendar-event-manager.php:515
285
  msgid "Event Registration Status"
286
  msgstr ""
287
 
288
- #: my-calendar-event-manager.php:517
 
 
 
 
 
 
289
  msgid "Open"
290
  msgstr ""
291
 
292
- #: my-calendar-event-manager.php:518
293
  msgid "Closed"
294
  msgstr ""
295
 
296
- #: my-calendar-event-manager.php:519
297
  msgid "Does not apply"
298
  msgstr ""
299
 
300
- #: my-calendar-event-manager.php:522
301
  msgid ""
302
  "If this event recurs, it can only be registered for as a complete series."
303
  msgstr ""
304
 
305
- #: my-calendar-event-manager.php:532 my-calendar-locations.php:81
306
  msgid "Event Location"
307
  msgstr ""
308
 
309
- #: my-calendar-event-manager.php:541
310
  msgid "Choose a preset location:"
311
  msgstr ""
312
 
313
- #: my-calendar-event-manager.php:555
314
  msgid "Add recurring locations for later use."
315
  msgstr ""
316
 
317
- #: my-calendar-event-manager.php:564 my-calendar-locations.php:83
318
  msgid ""
319
  "All location fields are optional: <em>insufficient information may result in "
320
  "an inaccurate map</em>."
321
  msgstr ""
322
 
323
- #: my-calendar-event-manager.php:567 my-calendar-locations.php:86
324
  msgid "Name of Location (e.g. <em>Joe's Bar and Grill</em>)"
325
  msgstr ""
326
 
327
- #: my-calendar-event-manager.php:570 my-calendar-locations.php:89
328
  msgid "Street Address"
329
  msgstr ""
330
 
331
- #: my-calendar-event-manager.php:573 my-calendar-locations.php:92
332
  msgid "Street Address (2)"
333
  msgstr ""
334
 
335
- #: my-calendar-event-manager.php:576 my-calendar-settings.php:490
336
- #: my-calendar-locations.php:95
337
  msgid "City"
338
  msgstr ""
339
 
340
- #: my-calendar-event-manager.php:576 my-calendar-settings.php:491
341
- #: my-calendar-locations.php:95
342
  msgid "State/Province"
343
  msgstr ""
344
 
345
- #: my-calendar-event-manager.php:576 my-calendar-settings.php:493
346
- #: my-calendar-locations.php:95
347
  msgid "Postal Code"
348
  msgstr ""
349
 
350
- #: my-calendar-event-manager.php:579 my-calendar-settings.php:492
351
- #: my-calendar-locations.php:98
352
  msgid "Country"
353
  msgstr ""
354
 
355
- #: my-calendar-event-manager.php:582 my-calendar-locations.php:101
356
  msgid "Initial Zoom"
357
  msgstr ""
358
 
359
- #: my-calendar-event-manager.php:584 my-calendar-locations.php:103
360
  msgid "Neighborhood"
361
  msgstr ""
362
 
363
- #: my-calendar-event-manager.php:585 my-calendar-locations.php:104
364
  msgid "Small City"
365
  msgstr ""
366
 
367
- #: my-calendar-event-manager.php:586 my-calendar-locations.php:105
368
  msgid "Large City"
369
  msgstr ""
370
 
371
- #: my-calendar-event-manager.php:587 my-calendar-locations.php:106
372
  msgid "Greater Metro Area"
373
  msgstr ""
374
 
375
- #: my-calendar-event-manager.php:588 my-calendar-locations.php:107
376
  msgid "State"
377
  msgstr ""
378
 
379
- #: my-calendar-event-manager.php:589 my-calendar-locations.php:108
380
  msgid "Region"
381
  msgstr ""
382
 
383
- #: my-calendar-event-manager.php:593 my-calendar-locations.php:112
384
  msgid "GPS Coordinates (optional)"
385
  msgstr ""
386
 
387
- #: my-calendar-event-manager.php:595
388
  msgid ""
389
  "If you supply GPS coordinates for your location, they will be used in place "
390
  "of any other address information to provide your map link."
391
  msgstr ""
392
 
393
- #: my-calendar-event-manager.php:598 my-calendar-locations.php:117
394
  msgid "Longitude"
395
  msgstr ""
396
 
397
- #: my-calendar-event-manager.php:598 my-calendar-locations.php:117
398
  msgid "Latitude"
399
  msgstr ""
400
 
401
- #: my-calendar-event-manager.php:606
402
- msgid "Save Event"
403
  msgstr ""
404
 
405
- #: my-calendar-event-manager.php:682 my-calendar-categories.php:155
406
- #: my-calendar-locations.php:147
407
  msgid "ID"
408
  msgstr ""
409
 
410
- #: my-calendar-event-manager.php:683 my-calendar-widgets.php:37
411
- #: my-calendar-widgets.php:122
412
  msgid "Title"
413
  msgstr ""
414
 
415
- #: my-calendar-event-manager.php:684
416
- msgid "Link"
417
- msgstr ""
418
-
419
- #: my-calendar-event-manager.php:685 my-calendar-locations.php:148
420
  msgid "Location"
421
  msgstr ""
422
 
423
- #: my-calendar-event-manager.php:686
424
  msgid "Description"
425
  msgstr ""
426
 
427
- #: my-calendar-event-manager.php:687
428
  msgid "Start Date"
429
  msgstr ""
430
 
431
- #: my-calendar-event-manager.php:688
432
  msgid "Recurs"
433
  msgstr ""
434
 
435
- #: my-calendar-event-manager.php:689 my-calendar-settings.php:250
436
- #: my-calendar-settings.php:259
437
  msgid "Author"
438
  msgstr ""
439
 
440
- #: my-calendar-event-manager.php:690
441
  msgid "Category"
442
  msgstr ""
443
 
444
- #: my-calendar-event-manager.php:691
445
  msgid "Edit / Delete"
446
  msgstr ""
447
 
448
- #: my-calendar-event-manager.php:715
449
  msgid "Never"
450
  msgstr ""
451
 
452
- #: my-calendar-event-manager.php:718
453
  msgid "Bi-Weekly"
454
  msgstr ""
455
 
456
- #: my-calendar-event-manager.php:719
457
  msgid "Monthly (by date)"
458
  msgstr ""
459
 
460
- #: my-calendar-event-manager.php:720
461
  msgid "Monthly (by day)"
462
  msgstr ""
463
 
464
- #: my-calendar-event-manager.php:721
465
  msgid "Yearly"
466
  msgstr ""
467
 
468
- #: my-calendar-event-manager.php:724 my-calendar-settings.php:281
469
- #: my-calendar-categories.php:176 my-calendar-output.php:115
470
  msgid "N/A"
471
  msgstr ""
472
 
473
- #: my-calendar-event-manager.php:725
474
  msgid "Forever"
475
  msgstr ""
476
 
477
- #: my-calendar-event-manager.php:726
478
  msgid "Times"
479
  msgstr ""
480
 
481
- #: my-calendar-event-manager.php:741
482
  msgid "Copy"
483
  msgstr ""
484
 
485
- #: my-calendar-event-manager.php:743 my-calendar-categories.php:159
486
- #: my-calendar-categories.php:173 my-calendar-locations.php:149
487
- #: my-calendar-locations.php:161
488
  msgid "Edit"
489
  msgstr ""
490
 
491
- #: my-calendar-event-manager.php:744
492
  msgid "Not editable."
493
  msgstr ""
494
 
495
- #: my-calendar-event-manager.php:750
496
  msgid "Reject"
497
  msgstr ""
498
 
499
- #: my-calendar-event-manager.php:752
500
  msgid "Approve"
501
  msgstr ""
502
 
503
- #: my-calendar-event-manager.php:757
504
  msgid "Approved"
505
  msgstr ""
506
 
507
- #: my-calendar-event-manager.php:759
508
  msgid "Rejected"
509
  msgstr ""
510
 
511
- #: my-calendar-event-manager.php:761
512
  msgid "Awaiting Approval"
513
  msgstr ""
514
 
515
- #: my-calendar-event-manager.php:774
516
  msgid "There are no events in the database!"
517
  msgstr ""
518
 
519
- #: my-calendar-event-manager.php:875
520
  msgid ""
521
  "Your event end date must be either after or the same as your event begin date"
522
  msgstr ""
523
 
524
- #: my-calendar-event-manager.php:880
525
  msgid ""
526
  "Your date formatting is correct but one or more of your dates is invalid. "
527
  "Check for number of days in month and leap year related errors."
528
  msgstr ""
529
 
530
- #: my-calendar-event-manager.php:885
531
  msgid "Both start and end dates must be in the format YYYY-MM-DD"
532
  msgstr ""
533
 
534
- #: my-calendar-event-manager.php:897
535
  msgid "The time field must either be blank or be entered in the format hh:mm"
536
  msgstr ""
537
 
538
- #: my-calendar-event-manager.php:907
539
  msgid ""
540
  "The end time field must either be blank or be entered in the format hh:mm"
541
  msgstr ""
542
 
543
- #: my-calendar-event-manager.php:915
544
- msgid ""
545
- "The URL entered must either be prefixed with http:// or be completely blank"
546
- msgstr ""
547
-
548
- #: my-calendar-event-manager.php:924
549
  msgid "The event title must be between 1 and 255 characters in length."
550
  msgstr ""
551
 
552
- #: my-calendar-event-manager.php:932
553
  msgid "The repetition value must be 0 unless a type of recurrence is selected."
554
  msgstr ""
555
 
556
- #: my-calendar-settings.php:80
557
- msgid "Categories imported successfully."
558
  msgstr ""
559
 
560
- #: my-calendar-settings.php:82
561
- msgid "Categories not imported."
562
  msgstr ""
563
 
564
- #: my-calendar-settings.php:85
565
- msgid "Events imported successfully."
566
  msgstr ""
567
 
568
- #: my-calendar-settings.php:87
569
- msgid "Events not imported."
 
 
570
  msgstr ""
571
 
572
- #: my-calendar-settings.php:112
573
- msgid "Permissions Settings saved"
574
  msgstr ""
575
 
576
- #: my-calendar-settings.php:151
577
- msgid "Output Settings saved"
578
  msgstr ""
579
 
580
- #: my-calendar-settings.php:168
581
- msgid "Input Settings saved"
582
  msgstr ""
583
 
584
- #: my-calendar-settings.php:184
585
- msgid "Custom text settings saved"
586
  msgstr ""
587
 
588
- #: my-calendar-settings.php:197
589
- msgid "Email notice settings saved"
590
  msgstr ""
591
 
592
- #: my-calendar-settings.php:211
593
- msgid "User custom settings saved"
594
  msgstr ""
595
 
596
- #: my-calendar-settings.php:236
597
- msgid "My Calendar Options"
598
  msgstr ""
599
 
600
- #: my-calendar-settings.php:239
601
- msgid "Calendar Settings"
 
602
  msgstr ""
603
 
604
- #: my-calendar-settings.php:241
605
- msgid "Calendar Management Settings"
606
  msgstr ""
607
 
608
- #: my-calendar-settings.php:245
609
- msgid "Calendar Options: Management"
610
  msgstr ""
611
 
612
- #: my-calendar-settings.php:247
613
- msgid "Choose the lowest user group that may create events"
614
  msgstr ""
615
 
616
- #: my-calendar-settings.php:248 my-calendar-settings.php:257
617
- msgid "Subscriber"
618
  msgstr ""
619
 
620
- #: my-calendar-settings.php:249 my-calendar-settings.php:258
621
- msgid "Contributor"
622
  msgstr ""
623
 
624
- #: my-calendar-settings.php:251 my-calendar-settings.php:260
625
- msgid "Editor"
626
  msgstr ""
627
 
628
- #: my-calendar-settings.php:252 my-calendar-settings.php:261
629
- msgid "Administrator"
630
  msgstr ""
631
 
632
- #: my-calendar-settings.php:256
633
- msgid "Choose the lowest user group that may approve events"
634
  msgstr ""
635
 
636
- #: my-calendar-settings.php:265
637
- msgid "Enable approval options."
638
  msgstr ""
639
 
640
- #: my-calendar-settings.php:269
641
- msgid "Save Approval Settings"
642
  msgstr ""
643
 
644
- #: my-calendar-settings.php:275
645
- msgid "Calendar Text Settings"
646
  msgstr ""
647
 
648
- #: my-calendar-settings.php:279
649
- msgid "Calendar Options: Customize Text"
650
  msgstr ""
651
 
652
- #: my-calendar-settings.php:281
653
- msgid "Label for events without a specific time"
654
  msgstr ""
655
 
656
- #: my-calendar-settings.php:284
657
- msgid "Previous events link text"
658
  msgstr ""
659
 
660
- #: my-calendar-settings.php:284
661
- msgid "Previous Events"
662
  msgstr ""
663
 
664
- #: my-calendar-settings.php:287
665
- msgid "Next events link text"
666
  msgstr ""
667
 
668
- #: my-calendar-settings.php:287
669
- msgid "Next Events"
670
  msgstr ""
671
 
672
- #: my-calendar-settings.php:290
673
- msgid "Text when events are open"
674
  msgstr ""
675
 
676
- #: my-calendar-settings.php:290
677
- msgid "Registration is open"
678
  msgstr ""
679
 
680
- #: my-calendar-settings.php:293
681
- msgid "Text when events are closed"
682
  msgstr ""
683
 
684
- #: my-calendar-settings.php:293
685
- msgid "Registration is closed"
686
  msgstr ""
687
 
688
- #: my-calendar-settings.php:296
689
- msgid "Additional caption text"
690
  msgstr ""
691
 
692
- #: my-calendar-settings.php:296
693
- msgid ""
694
- "The calendar caption is the text containing the displayed month and year in "
695
- "either list or calendar format. This text will be displayed following that "
696
- "existing text."
697
  msgstr ""
698
 
699
- #: my-calendar-settings.php:300
700
- msgid "Save Custom Text Settings"
701
  msgstr ""
702
 
703
- #: my-calendar-settings.php:306
704
- msgid "Calendar Output Settings"
705
  msgstr ""
706
 
707
- #: my-calendar-settings.php:310
708
- msgid "Calendar Options: Output"
709
  msgstr ""
710
 
711
- #: my-calendar-settings.php:312
712
- msgid "Event title template"
713
  msgstr ""
714
 
715
- #: my-calendar-settings.php:314 my-calendar-settings.php:421
716
- msgid "Shortcode Help"
717
  msgstr ""
718
 
719
- #: my-calendar-settings.php:314 my-calendar-settings.php:421
720
- msgid "All template shortcodes are available."
721
  msgstr ""
722
 
723
- #: my-calendar-settings.php:317
724
- msgid "Show Heading for Calendar"
725
  msgstr ""
726
 
727
- #: my-calendar-settings.php:320
728
- msgid "In list mode, show how many months of events at a time:"
729
  msgstr ""
730
 
731
- #: my-calendar-settings.php:323
732
- msgid "Date format in list mode"
733
  msgstr ""
734
 
735
- #: my-calendar-settings.php:324
736
- msgid ""
737
- "Date format uses the same syntax as the <a href=\"http://php.net/date\">PHP "
738
- "<code>date()</code> function</a>. Save options to update sample output."
739
  msgstr ""
740
 
741
- #: my-calendar-settings.php:327
742
- msgid "Do you want to display the author name on events?"
743
  msgstr ""
744
 
745
- #: my-calendar-settings.php:330
746
- msgid "Display a jumpbox for changing month and year quickly?"
747
  msgstr ""
748
 
749
- #: my-calendar-settings.php:333
750
- msgid "Hide category icons in output"
751
  msgstr ""
752
 
753
- #: my-calendar-settings.php:336
754
  msgid ""
755
- "Show Link to Google Map (when sufficient address information is available.)"
756
- msgstr ""
757
-
758
- #: my-calendar-settings.php:339
759
- msgid "Show Event Address in Details"
760
  msgstr ""
761
 
762
- #: my-calendar-settings.php:342
763
- msgid "Show short description field on calendar."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
764
  msgstr ""
765
 
766
- #: my-calendar-settings.php:345
767
- msgid "Show full description field on calendar."
 
 
 
768
  msgstr ""
769
 
770
- #: my-calendar-settings.php:348
771
  msgid ""
772
- "Links associated with events will automatically expire after the event has "
773
- "passed."
 
 
 
 
 
 
774
  msgstr ""
775
 
776
- #: my-calendar-settings.php:351
777
- msgid "Show current availability status of events."
778
  msgstr ""
779
 
780
- #: my-calendar-settings.php:354
781
  msgid ""
782
- "If a recurring event is scheduled for a date which doesn't exist (such as "
783
- "the 5th Wednesday in February), move it back one week."
 
 
 
 
784
  msgstr ""
785
 
786
- #: my-calendar-settings.php:355
787
  msgid ""
788
- "If this option is unchecked, recurring events which fall on dates which "
789
- "don't exist will simply not be shown on the calendar."
 
 
 
790
  msgstr ""
791
 
792
- #: my-calendar-settings.php:359
793
- msgid "Calendar Options: Style"
794
  msgstr ""
795
 
796
- #: my-calendar-settings.php:361
797
- msgid "Default usage of category colors."
798
  msgstr ""
799
 
800
- #: my-calendar-settings.php:362
801
- msgid "Apply category colors to event titles as a font color."
802
  msgstr ""
803
 
804
- #: my-calendar-settings.php:363
805
- msgid "Apply category colors to event titles as a background color."
 
 
 
 
806
  msgstr ""
807
 
808
- #: my-calendar-settings.php:367
809
- msgid "Save Output Settings"
810
  msgstr ""
811
 
812
- #: my-calendar-settings.php:373
813
- msgid "Calendar Input Settings"
814
  msgstr ""
815
 
816
- #: my-calendar-settings.php:377
817
- msgid "Calendar Options: Input"
818
  msgstr ""
819
 
820
- #: my-calendar-settings.php:382
821
- msgid "Show Event Location Dropdown Menu"
 
 
822
  msgstr ""
823
 
824
- #: my-calendar-settings.php:382
825
- msgid "Show Event Short Description field"
826
  msgstr ""
827
 
828
- #: my-calendar-settings.php:382
829
- msgid "Show Event Description Field"
830
  msgstr ""
831
 
832
- #: my-calendar-settings.php:382
833
- msgid "Show Event Category field"
834
  msgstr ""
835
 
836
- #: my-calendar-settings.php:382
837
- msgid "Show Event Link field"
 
 
 
838
  msgstr ""
839
 
840
- #: my-calendar-settings.php:382
841
- msgid "Show Event Recurrence Options"
842
  msgstr ""
843
 
844
- #: my-calendar-settings.php:382
845
- msgid "Show event registration options"
846
  msgstr ""
847
 
848
- #: my-calendar-settings.php:382
849
- msgid "Show event location fields"
850
  msgstr ""
851
 
852
- #: my-calendar-settings.php:391
853
- msgid "Administrators see all input options"
854
  msgstr ""
855
 
856
- #: my-calendar-settings.php:395
857
- msgid "Save Input Settings"
858
  msgstr ""
859
 
860
- #: my-calendar-settings.php:401
861
- msgid "Calendar Email Settings"
862
  msgstr ""
863
 
864
- #: my-calendar-settings.php:405
865
- msgid "Calendar Options: Email Notifications"
866
  msgstr ""
867
 
868
- #: my-calendar-settings.php:409
869
- msgid "Send Email Notifications when new events are scheduled or reserved."
 
 
870
  msgstr ""
871
 
872
- #: my-calendar-settings.php:412
873
- msgid "Notification messages are sent to: "
874
  msgstr ""
875
 
876
- #: my-calendar-settings.php:416
877
- msgid "Email subject"
878
  msgstr ""
879
 
880
- #: my-calendar-settings.php:416
881
- msgid "New event Added"
882
  msgstr ""
883
 
884
- #: my-calendar-settings.php:420
885
- msgid "Message Body"
886
  msgstr ""
887
 
888
- #: my-calendar-settings.php:420
889
- msgid "New Event:"
890
  msgstr ""
891
 
892
- #: my-calendar-settings.php:425
893
- msgid "Save Email Settings"
894
  msgstr ""
895
 
896
- #: my-calendar-settings.php:431
897
- msgid "Calendar User Settings"
898
  msgstr ""
899
 
900
- #: my-calendar-settings.php:437
901
- msgid "My Calendar: User Settings"
 
 
902
  msgstr ""
903
 
904
- #: my-calendar-settings.php:440
905
  msgid ""
906
- "Allow registered users to provide timezone or location presets in their user "
907
- "profiles."
908
  msgstr ""
909
 
910
- #: my-calendar-settings.php:447
911
- msgid "Timezone Settings"
 
 
912
  msgstr ""
913
 
914
- #: my-calendar-settings.php:448
915
- msgid ""
916
- "These settings provide registered users with the ability to select a time "
917
- "zone in their user profile. When they view your calendar, the times for "
918
- "events will display the time the event happens in their time zone as well as "
919
- "the entered value."
920
  msgstr ""
921
 
922
- #: my-calendar-settings.php:450
923
- msgid "Enable Timezone"
 
 
924
  msgstr ""
925
 
926
- #: my-calendar-settings.php:453
927
- msgid "Select Timezone Label"
928
  msgstr ""
929
 
930
- #: my-calendar-settings.php:456
931
- msgid "Timezone Options"
932
  msgstr ""
933
 
934
- #: my-calendar-settings.php:456 my-calendar-settings.php:477
935
- msgid "Value, Label; one per line"
936
  msgstr ""
937
 
938
- #: my-calendar-settings.php:468
939
- msgid "Location Settings"
940
  msgstr ""
941
 
942
- #: my-calendar-settings.php:469
943
- msgid ""
944
- "These settings provide registered users with the ability to select a "
945
- "location in their user profile. When they view your calendar, their initial "
946
- "view will be limited to locations which include that location parameter."
947
  msgstr ""
948
 
949
- #: my-calendar-settings.php:471
950
- msgid "Enable Location"
951
  msgstr ""
952
 
953
- #: my-calendar-settings.php:474
954
- msgid "Select Location Label"
955
  msgstr ""
956
 
957
- #: my-calendar-settings.php:477
958
- msgid "Location Options"
 
 
959
  msgstr ""
960
 
961
- #: my-calendar-settings.php:487
962
- msgid "Location Type"
963
  msgstr ""
964
 
965
- #: my-calendar-settings.php:489
966
- msgid "Location Name"
967
  msgstr ""
968
 
969
- #: my-calendar-settings.php:501
970
- msgid "Save User Settings"
971
  msgstr ""
972
 
973
- #: my-calendar-upgrade-db.php:20
974
- msgid "The My Calendar database needs to be updated."
975
  msgstr ""
976
 
977
- #: my-calendar-upgrade-db.php:21 my-calendar-upgrade-db.php:35
978
- msgid "Update now"
979
  msgstr ""
980
 
981
- #: my-calendar-upgrade-db.php:34
982
- msgid ""
983
- "You haven't entered any events, so My Calendar can't tell whether your "
984
- "database is up to date. If you can't add events, upgrade your database!"
985
  msgstr ""
986
 
987
- #: my-calendar-upgrade-db.php:45
988
- msgid "My Calendar Database is updated."
989
  msgstr ""
990
 
991
- #: my-calendar-categories.php:41
992
- msgid "Category added successfully"
993
  msgstr ""
994
 
995
- #: my-calendar-categories.php:43
996
- msgid "Category addition failed."
997
  msgstr ""
998
 
999
- #: my-calendar-categories.php:53
1000
- msgid "Category deleted successfully. Categories in calendar updated."
1001
  msgstr ""
1002
 
1003
- #: my-calendar-categories.php:55
1004
- msgid "Category deleted successfully. Categories in calendar not updated."
1005
  msgstr ""
1006
 
1007
- #: my-calendar-categories.php:57
1008
- msgid "Category not deleted. Categories in calendar updated."
1009
  msgstr ""
1010
 
1011
- #: my-calendar-categories.php:66
1012
- msgid "Category edited successfully"
1013
  msgstr ""
1014
 
1015
- #: my-calendar-categories.php:88 my-calendar-categories.php:112
1016
- #: my-calendar-categories.php:130
1017
- msgid "Add Category"
1018
  msgstr ""
1019
 
1020
- #: my-calendar-categories.php:90 my-calendar-categories.php:112
1021
- msgid "Edit Category"
1022
  msgstr ""
1023
 
1024
- #: my-calendar-categories.php:97
1025
- msgid "Category Editor"
1026
  msgstr ""
1027
 
1028
- #: my-calendar-categories.php:113 my-calendar-categories.php:156
1029
- msgid "Category Name"
1030
  msgstr ""
1031
 
1032
- #: my-calendar-categories.php:114
1033
- msgid "Category Color (Hex format)"
1034
  msgstr ""
1035
 
1036
- #: my-calendar-categories.php:115 my-calendar-categories.php:158
1037
- msgid "Category Icon"
1038
  msgstr ""
1039
 
1040
- #: my-calendar-categories.php:130 my-calendar-locations.php:121
1041
- msgid "Save Changes"
1042
  msgstr ""
1043
 
1044
- #: my-calendar-categories.php:143 my-calendar.php:202
1045
- msgid "Manage Categories"
1046
  msgstr ""
1047
 
1048
- #: my-calendar-categories.php:157
1049
- msgid "Category Color"
1050
  msgstr ""
1051
 
1052
- #: my-calendar-categories.php:179 my-calendar-locations.php:162
1053
- msgid "Are you sure you want to delete this category?"
1054
  msgstr ""
1055
 
1056
- #: my-calendar-categories.php:190
1057
- msgid "There are no categories in the database - something has gone wrong!"
1058
  msgstr ""
1059
 
1060
- #: my-calendar-install.php:561
1061
- msgid "My Calendar Default Timezone"
1062
  msgstr ""
1063
 
1064
- #: my-calendar-install.php:606
1065
- msgid "My Calendar Default Location"
1066
  msgstr ""
1067
 
1068
- #: my-calendar.php:60 my-calendar.php:204
1069
- msgid "Settings"
1070
  msgstr ""
1071
 
1072
- #: my-calendar.php:61 my-calendar.php:207
1073
- msgid "Help"
1074
  msgstr ""
1075
 
1076
- #: my-calendar.php:100
1077
- msgid "Buy the Beginner's Guide"
1078
  msgstr ""
1079
 
1080
- #: my-calendar.php:101
1081
- msgid "Get Support"
1082
  msgstr ""
1083
 
1084
- #: my-calendar.php:102 my-calendar.php:207
1085
- msgid "My Calendar Help"
1086
- msgstr ""
1087
-
1088
- #: my-calendar.php:103
1089
- msgid "Make a Donation"
1090
- msgstr ""
1091
-
1092
- #. #-#-#-#-# plugin.pot (My Calendar 1.6.3) #-#-#-#-#
1093
- #. Plugin Name of the plugin/theme
1094
- #: my-calendar.php:195
1095
- msgid "My Calendar"
1096
- msgstr ""
1097
-
1098
- #: my-calendar.php:198
1099
- msgid "Add/Edit Events"
1100
  msgstr ""
1101
 
1102
- #: my-calendar.php:203 my-calendar-locations.php:135
1103
- msgid "Manage Locations"
1104
  msgstr ""
1105
 
1106
- #: my-calendar.php:205
1107
- msgid "Style Editor"
1108
  msgstr ""
1109
 
1110
- #: my-calendar.php:206
1111
- msgid "Behavior Editor"
1112
  msgstr ""
1113
 
1114
- #: my-calendar-behaviors.php:39
1115
- msgid "Behavior Settings saved"
1116
  msgstr ""
1117
 
1118
- #: my-calendar-behaviors.php:62
1119
- msgid "My Calendar Behaviors"
1120
  msgstr ""
1121
 
1122
- #: my-calendar-behaviors.php:66
1123
- msgid "Calendar Behavior Settings"
1124
  msgstr ""
1125
 
1126
- #: my-calendar-behaviors.php:70
1127
- msgid "Apply JavaScript only on these pages (comma separated page IDs)"
1128
  msgstr ""
1129
 
1130
- #: my-calendar-behaviors.php:73
1131
- msgid "Calendar Behaviors: Calendar View"
1132
  msgstr ""
1133
 
1134
- #: my-calendar-behaviors.php:75
1135
- msgid "Reset the My Calendar Calendar Javascript"
1136
  msgstr ""
1137
 
1138
- #: my-calendar-behaviors.php:75
1139
- msgid "Disable Calendar Javascript Effects"
1140
  msgstr ""
1141
 
1142
- #: my-calendar-behaviors.php:78
1143
- msgid "Edit the jQuery scripts for My Calendar in Calendar format"
1144
  msgstr ""
1145
 
1146
- #: my-calendar-behaviors.php:81 my-calendar-behaviors.php:93
1147
- #: my-calendar-behaviors.php:105 my-calendar-behaviors.php:117
1148
- #: my-calendar-styles.php:54
1149
- msgid "Save"
1150
  msgstr ""
1151
 
1152
- #: my-calendar-behaviors.php:85
1153
- msgid "Calendar Behaviors: List View"
1154
  msgstr ""
1155
 
1156
- #: my-calendar-behaviors.php:87
1157
- msgid "Reset the My Calendar List Javascript"
1158
  msgstr ""
1159
 
1160
- #: my-calendar-behaviors.php:87 my-calendar-behaviors.php:111
1161
- msgid "Disable List Javascript Effects"
1162
  msgstr ""
1163
 
1164
- #: my-calendar-behaviors.php:90
1165
- msgid "Edit the jQuery scripts for My Calendar in List format"
1166
  msgstr ""
1167
 
1168
- #: my-calendar-behaviors.php:97
1169
- msgid "Calendar Behaviors: Mini Calendar View"
1170
  msgstr ""
1171
 
1172
- #: my-calendar-behaviors.php:99
1173
- msgid "Reset the My Calendar Mini Format Javascript"
1174
  msgstr ""
1175
 
1176
- #: my-calendar-behaviors.php:99
1177
- msgid "Disable Mini Javascript Effects"
1178
  msgstr ""
1179
 
1180
- #: my-calendar-behaviors.php:102
1181
- msgid "Edit the jQuery scripts for My Calendar in Mini Calendar format"
1182
  msgstr ""
1183
 
1184
- #: my-calendar-behaviors.php:109
1185
- msgid "Calendar Behaviors: AJAX Navigation"
1186
  msgstr ""
1187
 
1188
- #: my-calendar-behaviors.php:111
1189
- msgid "Reset the My Calendar AJAX Javascript"
1190
  msgstr ""
1191
 
1192
- #: my-calendar-behaviors.php:114
1193
- msgid "Edit the jQuery scripts for My Calendar AJAX navigation"
1194
  msgstr ""
1195
 
1196
- #: my-calendar-locations.php:22
1197
  msgid "Location added successfully"
1198
  msgstr ""
1199
 
1200
- #: my-calendar-locations.php:24
1201
  msgid "Location could not be added to database"
1202
  msgstr ""
1203
 
1204
- #: my-calendar-locations.php:30
1205
  msgid "Location deleted successfully"
1206
  msgstr ""
1207
 
1208
- #: my-calendar-locations.php:32
1209
  msgid "Location could not be deleted"
1210
  msgstr ""
1211
 
1212
- #: my-calendar-locations.php:43
1213
  msgid "Location could not be edited."
1214
  msgstr ""
1215
 
1216
- #: my-calendar-locations.php:45
1217
  msgid "Location was not changed."
1218
  msgstr ""
1219
 
1220
- #: my-calendar-locations.php:47
1221
  msgid "Location edited successfully"
1222
  msgstr ""
1223
 
1224
- #: my-calendar-locations.php:59
1225
  msgid "Add New Location"
1226
  msgstr ""
1227
 
1228
- #: my-calendar-locations.php:61
1229
  msgid "Edit Location"
1230
  msgstr ""
1231
 
1232
- #: my-calendar-locations.php:66
1233
  msgid "Location Editor"
1234
  msgstr ""
1235
 
1236
- #: my-calendar-locations.php:114
1237
  msgid ""
1238
  "If you supply GPS coordinates for your location, they will be used in place "
1239
  "of any other address information to pinpoint your location."
1240
  msgstr ""
1241
 
1242
- #: my-calendar-locations.php:121
1243
  msgid "Add Location"
1244
  msgstr ""
1245
 
1246
- #: my-calendar-locations.php:170
1247
  msgid "There are no locations in the database yet!"
1248
  msgstr ""
1249
 
1250
- #: my-calendar-locations.php:174
1251
  msgid ""
1252
  "Please note: editing or deleting locations stored for re-use will have no "
1253
  "effect on any event previously scheduled at that location. The location "
@@ -1255,483 +1421,452 @@ msgid ""
1255
  "locations into event records."
1256
  msgstr ""
1257
 
1258
- #: my-calendar-output.php:90
1259
- msgid "Event Details"
1260
  msgstr ""
1261
 
1262
- #: my-calendar-output.php:99
1263
- msgid "Close"
1264
  msgstr ""
1265
 
1266
- #: my-calendar-output.php:109
1267
- msgid "in your time zone"
1268
  msgstr ""
1269
 
1270
- #: my-calendar-output.php:115
1271
- msgid "Not Applicable"
1272
  msgstr ""
1273
 
1274
- #: my-calendar-output.php:127
1275
- msgid "Posted by"
1276
  msgstr ""
1277
 
1278
- #: my-calendar-output.php:173
1279
- msgid ""
1280
- "This class is part of a series. You must register for the first event in "
1281
- "this series to attend."
1282
  msgstr ""
1283
 
1284
- #: my-calendar-output.php:206
1285
- msgid "Month"
1286
  msgstr ""
1287
 
1288
- #: my-calendar-output.php:207 my-calendar-output.php:289
1289
- msgid "January"
1290
  msgstr ""
1291
 
1292
- #: my-calendar-output.php:208 my-calendar-output.php:289
1293
- msgid "February"
1294
  msgstr ""
1295
 
1296
- #: my-calendar-output.php:209 my-calendar-output.php:289
1297
- msgid "March"
1298
  msgstr ""
1299
 
1300
- #: my-calendar-output.php:210 my-calendar-output.php:289
1301
- msgid "April"
1302
  msgstr ""
1303
 
1304
- #: my-calendar-output.php:211 my-calendar-output.php:289
1305
- msgid "May"
1306
  msgstr ""
1307
 
1308
- #: my-calendar-output.php:212 my-calendar-output.php:289
1309
- msgid "June"
1310
  msgstr ""
1311
 
1312
- #: my-calendar-output.php:213 my-calendar-output.php:289
1313
- msgid "July"
1314
  msgstr ""
1315
 
1316
- #: my-calendar-output.php:214 my-calendar-output.php:289
1317
- msgid "August"
1318
  msgstr ""
1319
 
1320
- #: my-calendar-output.php:215 my-calendar-output.php:289
1321
- msgid "September"
1322
  msgstr ""
1323
 
1324
- #: my-calendar-output.php:216 my-calendar-output.php:289
1325
- msgid "October"
 
1326
  msgstr ""
1327
 
1328
- #: my-calendar-output.php:217 my-calendar-output.php:289
1329
- msgid "November"
 
1330
  msgstr ""
1331
 
1332
- #: my-calendar-output.php:218 my-calendar-output.php:289
1333
- msgid "December"
 
1334
  msgstr ""
1335
 
1336
- #: my-calendar-output.php:220
1337
- msgid "Year"
1338
  msgstr ""
1339
 
1340
- #: my-calendar-output.php:245
1341
- msgid "Go"
1342
  msgstr ""
1343
 
1344
- #: my-calendar-output.php:263
1345
- msgid "<abbr title=\"Sunday\">Sun</abbr>"
1346
  msgstr ""
1347
 
1348
- #: my-calendar-output.php:264
1349
- msgid "<abbr title=\"Monday\">Mon</abbr>"
 
 
1350
  msgstr ""
1351
 
1352
- #: my-calendar-output.php:265
1353
- msgid "<abbr title=\"Tuesday\">Tues</abbr>"
1354
  msgstr ""
1355
 
1356
- #: my-calendar-output.php:266
1357
- msgid "<abbr title=\"Wednesday\">Wed</abbr>"
1358
  msgstr ""
1359
 
1360
- #: my-calendar-output.php:267
1361
- msgid "<abbr title=\"Thursday\">Thur</abbr>"
1362
  msgstr ""
1363
 
1364
- #: my-calendar-output.php:268
1365
- msgid "<abbr title=\"Friday\">Fri</abbr>"
1366
  msgstr ""
1367
 
1368
- #: my-calendar-output.php:269
1369
- msgid "<abbr title=\"Saturday\">Sat</abbr>"
1370
  msgstr ""
1371
 
1372
- #: my-calendar-output.php:274
1373
- msgid "<abbr title=\"Sunday\">S</abbr>"
1374
  msgstr ""
1375
 
1376
- #: my-calendar-output.php:275
1377
- msgid "<abbr title=\"Monday\">M</abbr>"
1378
  msgstr ""
1379
 
1380
- #: my-calendar-output.php:276
1381
- msgid "<abbr title=\"Tuesday\">T</abbr>"
1382
  msgstr ""
1383
 
1384
- #: my-calendar-output.php:277
1385
- msgid "<abbr title=\"Wednesday\">W</abbr>"
1386
  msgstr ""
1387
 
1388
- #: my-calendar-output.php:278
1389
- msgid "<abbr title=\"Thursday\">T</abbr>"
1390
  msgstr ""
1391
 
1392
- #: my-calendar-output.php:279
1393
- msgid "<abbr title=\"Friday\">F</abbr>"
1394
  msgstr ""
1395
 
1396
- #: my-calendar-output.php:280
1397
- msgid "<abbr title=\"Saturday\">S</abbr>"
1398
  msgstr ""
1399
 
1400
- #: my-calendar-output.php:323
1401
- msgid "and"
1402
  msgstr ""
1403
 
1404
- #: my-calendar-output.php:358 my-calendar-output.php:362
1405
- msgid "Calendar"
 
 
 
1406
  msgstr ""
1407
 
1408
- #: my-calendar-output.php:366
1409
- msgid "Events in"
1410
  msgstr ""
1411
 
1412
- #: my-calendar-output.php:470
1413
- msgid "There are no events scheduled during this period."
1414
  msgstr ""
1415
 
1416
- #: my-calendar-output.php:480
1417
- msgid "Category Key"
1418
  msgstr ""
1419
 
1420
- #: my-calendar-output.php:626
1421
- msgid "Show events in:"
1422
  msgstr ""
1423
 
1424
- #: my-calendar-output.php:653
1425
- msgid "Submit"
1426
  msgstr ""
1427
 
1428
- #: my-calendar-styles.php:28
1429
- msgid "Style Settings saved"
1430
  msgstr ""
1431
 
1432
- #: my-calendar-styles.php:35
1433
- msgid "My Calendar Styles"
1434
  msgstr ""
1435
 
1436
- #: my-calendar-styles.php:39
1437
- msgid "Calendar Style Settings"
1438
  msgstr ""
1439
 
1440
- #: my-calendar-styles.php:43
1441
- msgid "Apply CSS only on these pages (comma separated page IDs)"
1442
  msgstr ""
1443
 
1444
- #: my-calendar-styles.php:46
1445
- msgid "CSS Style Options"
 
 
1446
  msgstr ""
1447
 
1448
- #: my-calendar-styles.php:48
1449
- msgid "Reset the My Calendar stylesheet to the default"
1450
  msgstr ""
1451
 
1452
- #: my-calendar-styles.php:48
1453
- msgid "Disable My Calendar Stylesheet"
1454
  msgstr ""
1455
 
1456
- #: my-calendar-styles.php:51
1457
- msgid "Edit the stylesheet for My Calendar"
1458
  msgstr ""
1459
 
1460
- #: my-calendar-help.php:6
1461
- msgid "How to use My Calendar"
 
1462
  msgstr ""
1463
 
1464
- #: my-calendar-help.php:11
1465
- msgid "Shortcode Syntax"
1466
  msgstr ""
1467
 
1468
- #: my-calendar-help.php:14
1469
- msgid "These shortcodes can be used in Posts, Pages, or in text widgets."
1470
  msgstr ""
1471
 
1472
- #: my-calendar-help.php:18
1473
- msgid ""
1474
- "This basic shortcode will show the calendar on a post or page including all "
1475
- "categories and the category key, in a traditional month-by-month format."
1476
  msgstr ""
1477
 
1478
- #: my-calendar-help.php:22
1479
  msgid ""
1480
- "The shortcode supports three attributes, <code>category</code>, "
1481
- "<code>format</code> and <code>showkey</code>. There two alternate options "
1482
- "for <code>format</code>: <code>list</code>, which will show the calendar in "
1483
- "a list format, skipping dates without any events, and <code>mini</code>, "
1484
- "which will display the calendar in a form more suitable to being displayed "
1485
- "in smaller spaces, such as the sidebar. The <code>category</code> attribute "
1486
- "requires either the name of or ID number one of your event categories (the "
1487
- "name is case-sensitive). This will show a calendar only including events in "
1488
- "that category. Multiple categories can be specified by separating the "
1489
- "category names or IDs using the pipe character: <code>|</code>. Setting "
1490
- "<code>showkey</code> to <code>no</code> will prevent the category key from "
1491
- "being displayed &mdash; this can be useful with single-category output. "
1492
- "Setting <code>shownav</code> to <code>no</code> will disable the Previous/"
1493
- "Next links."
1494
- msgstr ""
1495
-
1496
- #: my-calendar-help.php:26
1497
- msgid ""
1498
- "This shortcode displays the output of the Upcoming Events widget. Without "
1499
- "attributes, it will display using the settings in your widget; the "
1500
- "attributes are used to override the widget settings. The <code>before</code> "
1501
- "and <code>after</code> attributes should be numbers; the <code>type</code> "
1502
- "attribute can be either \"event\" or \"days\", and the <code>category</code> "
1503
- "attribute works the same way as the category attribute on the main calendar "
1504
- "shortcode. Templates work using the template codes listed below."
1505
  msgstr ""
1506
 
1507
- #: my-calendar-help.php:29
1508
- msgid ""
1509
- "Predictably enough, this shortcode displays the output of the Today's Events "
1510
- "widget, with two configurable attributes: category and template."
1511
  msgstr ""
1512
 
1513
- #: my-calendar-help.php:32
1514
- msgid ""
1515
- "This shortcode produces a list of event locations, either as a list of links "
1516
- "or as a select dropdown form. The <code>show</code> attribute can either be "
1517
- "<code>list</code> or <code>form</code>, <code>type</code> is either "
1518
- "<code>saved</code> (to show items from your stored locations), or "
1519
- "<code>custom</code> (to show the options configured in your user settings). "
1520
- "<code>datatype</code> must be the type of data your limits are choosing "
1521
- "from: <code>name</code> (business name), <code>city</code>, <code>state</"
1522
- "code>, <code>country</code>, or <code>zip</code> (postal code)."
1523
  msgstr ""
1524
 
1525
- #: my-calendar-help.php:38
1526
- msgid "Category Icons"
1527
  msgstr ""
1528
 
1529
- #: my-calendar-help.php:41
1530
  msgid ""
1531
- "My Calendar is designed to manage multiple calendars. The basis for these "
1532
- "calendars are categories; you can easily setup a calendar page which "
1533
- "includes all categories, or you can dedicate separate pages to calendars in "
1534
- "each category. For an example, this might be useful for you in managing the "
1535
- "tour calendars for multiple bands; event calendars for a variety of "
1536
- "locations, etc."
1537
  msgstr ""
1538
 
1539
- #: my-calendar-help.php:44
1540
  msgid ""
1541
- "The pre-installed category icons may not be especially useful for your needs "
1542
- "or design. I'm assuming that you're going to upload your own icons -- all "
1543
- "you need to do is upload them to the plugin's icons folder, and they'll be "
1544
- "available for immediate use, or place them in a folder at \"my-calendar-"
1545
- "custom\" to avoid having them overwritten by upgrades."
1546
  msgstr ""
1547
 
1548
- #: my-calendar-help.php:44
1549
- msgid "Your icons folder is:"
 
 
1550
  msgstr ""
1551
 
1552
- #: my-calendar-help.php:44
1553
- msgid "You can alternately place icons in:"
1554
  msgstr ""
1555
 
1556
- #: my-calendar-help.php:52
1557
- msgid "Widget Templating"
1558
  msgstr ""
1559
 
1560
- #: my-calendar-help.php:55
1561
- msgid ""
1562
- "These codes are available in calendar widgets to create your own custom "
1563
- "calendar format."
1564
  msgstr ""
1565
 
1566
- #: my-calendar-help.php:59
1567
- msgid "Displays the name of the category the event is in."
1568
  msgstr ""
1569
 
1570
- #: my-calendar-help.php:62
1571
- msgid "Displays the title of the event."
1572
  msgstr ""
1573
 
1574
- #: my-calendar-help.php:65
1575
- msgid "Displays the start time for the event."
1576
  msgstr ""
1577
 
1578
- #: my-calendar-help.php:68
1579
- msgid ""
1580
- "Displays the start time for the event adjusted to the current user's time "
1581
- "zone settings. Blank output if user settings are disabled or the user has "
1582
- "not selected a preferred time zone."
1583
  msgstr ""
1584
 
1585
- #: my-calendar-help.php:71
1586
- msgid "Displays the date on which the event begins."
1587
  msgstr ""
1588
 
1589
- #: my-calendar-help.php:74
1590
- msgid "Displays the date on which the event ends."
1591
  msgstr ""
1592
 
1593
- #: my-calendar-help.php:77
1594
- msgid "Displays the time at which the event ends."
1595
  msgstr ""
1596
 
1597
- #: my-calendar-help.php:80
1598
- msgid "Displays the WordPress author who posted the event."
1599
  msgstr ""
1600
 
1601
- #: my-calendar-help.php:83
1602
- msgid "Displays the URL provided for the event."
1603
  msgstr ""
1604
 
1605
- #: my-calendar-help.php:86
1606
- msgid "Displays the description of the event."
1607
  msgstr ""
1608
 
1609
- #: my-calendar-help.php:89
1610
- msgid ""
1611
- "Displays title of the event as a link if a URL is present, or the title "
1612
- "alone if no URL is available."
1613
  msgstr ""
1614
 
1615
- #: my-calendar-help.php:92
1616
- msgid "Displays the name of the location of the event."
1617
  msgstr ""
1618
 
1619
- #: my-calendar-help.php:95
1620
- msgid "Displays the first line of the site address."
1621
  msgstr ""
1622
 
1623
- #: my-calendar-help.php:98
1624
- msgid "Displays the second line of the site address."
1625
  msgstr ""
1626
 
1627
- #: my-calendar-help.php:101
1628
- msgid "Displays the city for the event."
1629
  msgstr ""
1630
 
1631
- #: my-calendar-help.php:104
1632
- msgid "Displays the state for the event."
1633
  msgstr ""
1634
 
1635
- #: my-calendar-help.php:107
1636
- msgid "Displays the postcode for the event."
1637
  msgstr ""
1638
 
1639
- #: my-calendar-help.php:110
1640
- msgid "Displays the country for the event location."
1641
  msgstr ""
1642
 
1643
- #: my-calendar-help.php:113
1644
- msgid ""
1645
- "Displays the event address in <a href=\"http://microformats.org/wiki/hcard"
1646
- "\">hcard</a> format."
1647
  msgstr ""
1648
 
1649
- #: my-calendar-help.php:116
1650
- msgid ""
1651
- "Displays a link to a Google Map of the event, if sufficient address "
1652
- "information is available. If not, will be empty."
1653
  msgstr ""
1654
 
1655
- #: my-calendar-help.php:119
1656
- msgid ""
1657
- "Displays text indicating whether registration for the event is currently "
1658
- "open or closed; displays nothing if that choice is selected in the event."
1659
  msgstr ""
1660
 
1661
- #: my-calendar-help.php:122
1662
- msgid "Displays the short version of the event description."
1663
  msgstr ""
1664
 
1665
- #: my-calendar-help.php:125
1666
- msgid ""
1667
- "Displays the current status of the event: either \"Published\" or \"Reserved"
1668
- "\" - primary used in email templates."
1669
  msgstr ""
1670
 
1671
- #: my-calendar-help.php:128
1672
- msgid "Produces the address of the current event's category icon."
1673
  msgstr ""
1674
 
1675
- #: my-calendar-help.php:131
1676
- msgid "Produces the hex code for the current event's category color."
1677
  msgstr ""
1678
 
1679
- #: my-calendar-widgets.php:11 my-calendar-widgets.php:51
1680
- #: my-calendar-widgets.php:52
1681
- msgid "Today's Events"
1682
  msgstr ""
1683
 
1684
- #: my-calendar-widgets.php:41 my-calendar-widgets.php:126
1685
- msgid "Template"
 
 
1686
  msgstr ""
1687
 
1688
- #: my-calendar-widgets.php:45
1689
- msgid "Show this text if there are no events today:"
1690
  msgstr ""
1691
 
1692
- #: my-calendar-widgets.php:65 my-calendar-widgets.php:152
1693
- #: my-calendar-widgets.php:153
1694
- msgid "Upcoming Events"
 
 
 
1695
  msgstr ""
1696
 
1697
- #: my-calendar-widgets.php:130
1698
- msgid "Widget Options"
1699
  msgstr ""
1700
 
1701
- #: my-calendar-widgets.php:132
1702
- msgid "Display upcoming events by:"
1703
  msgstr ""
1704
 
1705
- #: my-calendar-widgets.php:133
1706
- msgid "Events (e.g. 2 past, 3 future)"
1707
  msgstr ""
1708
 
1709
- #: my-calendar-widgets.php:134
1710
- msgid "Dates (e.g. 4 days past, 5 forward)"
1711
  msgstr ""
1712
 
1713
- #: my-calendar-widgets.php:138
1714
- msgid "events into the future;"
1715
  msgstr ""
1716
 
1717
- #: my-calendar-widgets.php:139
1718
- msgid "events from the past"
 
 
 
1719
  msgstr ""
1720
 
1721
- #: my-calendar-widgets.php:142
1722
- msgid "days into the future;"
1723
  msgstr ""
1724
 
1725
- #: my-calendar-widgets.php:143
1726
- msgid "days from the past"
1727
  msgstr ""
1728
 
1729
- #: my-calendar-widgets.php:146
1730
- msgid "Show only this category:"
1731
  msgstr ""
1732
 
1733
- #: my-calendar-widgets.php:285
1734
- msgid "There are no events currently scheduled."
 
 
 
 
 
 
 
 
1735
  msgstr ""
1736
 
1737
  #. Plugin URI of the plugin/theme
2
  # This file is distributed under the same license as the My Calendar package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: My Calendar 1.7.1\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/my-calendar\n"
7
+ "POT-Creation-Date: 2011-01-18 19:16:29+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
+ #: my-calendar-styles.php:51
16
+ msgid "The stylesheet has been updated."
17
  msgstr ""
18
 
19
+ #: my-calendar-styles.php:51
20
+ msgid "Write Error! Please verify write permissions on the style file."
21
+ msgstr ""
22
+
23
+ #: my-calendar-styles.php:67
24
+ msgid "Stylesheet reset to default."
25
+ msgstr ""
26
+
27
+ #: my-calendar-styles.php:69
28
+ msgid "Style Settings Saved"
29
+ msgstr ""
30
+
31
+ #: my-calendar-styles.php:78
32
+ msgid "New theme selected."
33
+ msgstr ""
34
+
35
+ #: my-calendar-styles.php:92
36
+ msgid ""
37
+ "Sorry. The file you are looking for doesn't appear to exist. Please check "
38
+ "your file name and location!"
39
+ msgstr ""
40
+
41
+ #: my-calendar-styles.php:100
42
+ msgid "My Calendar Styles"
43
+ msgstr ""
44
+
45
+ #: my-calendar-styles.php:104
46
+ msgid "Calendar Style Settings"
47
+ msgstr ""
48
+
49
+ #: my-calendar-styles.php:111
50
+ msgid "Select My Calendar Theme"
51
+ msgstr ""
52
+
53
+ #: my-calendar-styles.php:119
54
+ msgid "Your Custom Stylesheets"
55
+ msgstr ""
56
+
57
+ #: my-calendar-styles.php:128
58
+ msgid "Installed Stylesheets"
59
+ msgstr ""
60
+
61
+ #: my-calendar-styles.php:136
62
+ msgid "Choose Style"
63
+ msgstr ""
64
+
65
+ #: my-calendar-styles.php:149
66
+ msgid ""
67
+ "My Calendar was unable to update your CSS files during the upgrade. Please "
68
+ "check your file permissions if you wish to edit your My Calendar styles. "
69
+ "Your previously stored styles are below. This message and these styles will "
70
+ "be deleted from the database when you successfully update your stylesheet."
71
+ msgstr ""
72
+
73
+ #: my-calendar-styles.php:157
74
+ msgid "CSS Style Options"
75
+ msgstr ""
76
+
77
+ #: my-calendar-styles.php:160
78
+ msgid "Apply CSS only on these pages (comma separated page IDs)"
79
+ msgstr ""
80
+
81
+ #: my-calendar-styles.php:163
82
+ msgid "Reset the My Calendar stylesheet to the default"
83
+ msgstr ""
84
+
85
+ #: my-calendar-styles.php:163
86
+ msgid "Disable My Calendar Stylesheet"
87
+ msgstr ""
88
+
89
+ #: my-calendar-styles.php:166
90
+ msgid "Edit the stylesheet for My Calendar"
91
+ msgstr ""
92
+
93
+ #: my-calendar-styles.php:169 my-calendar-behaviors.php:83
94
+ #: my-calendar-behaviors.php:95 my-calendar-behaviors.php:107
95
+ #: my-calendar-behaviors.php:119
96
+ msgid "Save"
97
+ msgstr ""
98
+
99
+ #: my-calendar.php:92 my-calendar.php:226
100
+ msgid "Settings"
101
+ msgstr ""
102
+
103
+ #: my-calendar.php:93 my-calendar.php:229
104
+ msgid "Help"
105
+ msgstr ""
106
+
107
+ #: my-calendar.php:123
108
+ msgid "Buy the Beginner's Guide"
109
+ msgstr ""
110
+
111
+ #: my-calendar.php:124
112
+ msgid "Get Support"
113
+ msgstr ""
114
+
115
+ #: my-calendar.php:125 my-calendar.php:229
116
+ msgid "My Calendar Help"
117
+ msgstr ""
118
+
119
+ #: my-calendar.php:126
120
+ msgid "Make a Donation"
121
+ msgstr ""
122
+
123
+ #. #-#-#-#-# plugin.pot (My Calendar 1.7.1) #-#-#-#-#
124
+ #. Plugin Name of the plugin/theme
125
+ #: my-calendar.php:217
126
+ msgid "My Calendar"
127
+ msgstr ""
128
+
129
+ #: my-calendar.php:220
130
+ msgid "Add/Edit Events"
131
+ msgstr ""
132
+
133
+ #: my-calendar.php:224 my-calendar-categories.php:195
134
+ msgid "Manage Categories"
135
+ msgstr ""
136
+
137
+ #: my-calendar.php:225 my-calendar-locations.php:141
138
+ msgid "Manage Locations"
139
+ msgstr ""
140
+
141
+ #: my-calendar.php:227
142
+ msgid "Style Editor"
143
+ msgstr ""
144
+
145
+ #: my-calendar.php:228
146
+ msgid "Behavior Editor"
147
  msgstr ""
148
 
149
  #: my-calendar-user.php:39
150
  msgid "My Calendar User Settings"
151
  msgstr ""
152
 
153
+ #: my-calendar-event-manager.php:28 my-calendar-settings.php:577
154
  msgid ""
155
  "My Calendar has identified that you have the Calendar plugin by Kieran "
156
  "O'Shea installed. You can import those events and categories into the My "
157
  "Calendar database. Would you like to import these events?"
158
  msgstr ""
159
 
160
+ #: my-calendar-event-manager.php:35 my-calendar-settings.php:584
161
  msgid "Import from Calendar"
162
  msgstr ""
163
 
164
+ #: my-calendar-event-manager.php:40
165
  msgid ""
166
  "Although it is possible that this import could fail to import your events "
167
  "correctly, it should not have any impact on your existing Calendar database. "
169
  "\">please contact me</a>!"
170
  msgstr ""
171
 
172
+ #: my-calendar-event-manager.php:85
173
+ msgid "%1$d events deleted successfully out of %2$d selected"
174
+ msgstr ""
175
+
176
+ #: my-calendar-event-manager.php:87 my-calendar-event-manager.php:241
177
+ #: my-calendar-event-manager.php:263 my-calendar-event-manager.php:277
178
+ #: my-calendar-event-manager.php:286 my-calendar-event-manager.php:871
179
+ #: my-calendar-event-manager.php:874 my-calendar-event-manager.php:877
180
+ #: my-calendar-event-manager.php:887 my-calendar-event-manager.php:895
181
+ #: my-calendar-event-manager.php:911 my-calendar-event-manager.php:917
182
+ msgid "Error"
183
+ msgstr ""
184
+
185
+ #: my-calendar-event-manager.php:87
186
+ msgid "Your events have not been deleted. Please investigate."
187
+ msgstr ""
188
+
189
+ #: my-calendar-event-manager.php:98
190
  msgid "Delete Event"
191
  msgstr ""
192
 
193
+ #: my-calendar-event-manager.php:98
194
  msgid "Are you sure you want to delete this event?"
195
  msgstr ""
196
 
197
+ #: my-calendar-event-manager.php:104 my-calendar-event-manager.php:732
198
+ #: my-calendar-categories.php:212 my-calendar-categories.php:231
199
+ #: my-calendar-locations.php:156 my-calendar-locations.php:168
200
  msgid "Delete"
201
  msgstr ""
202
 
203
+ #: my-calendar-event-manager.php:112
204
  msgid "You do not have permission to delete that event."
205
  msgstr ""
206
 
207
+ #: my-calendar-event-manager.php:127
208
  msgid "You do not have permission to approve that event."
209
  msgstr ""
210
 
211
+ #: my-calendar-event-manager.php:141
212
  msgid "You do not have permission to reject that event."
213
  msgstr ""
214
 
215
+ #: my-calendar-event-manager.php:170 my-calendar-event-manager.php:326
216
+ msgid "Edit Event"
217
+ msgstr ""
218
+
219
+ #: my-calendar-event-manager.php:174 my-calendar-event-manager.php:183
220
+ msgid "You must provide an event id in order to edit it"
221
+ msgstr ""
222
+
223
+ #: my-calendar-event-manager.php:179 my-calendar-event-manager.php:326
224
+ msgid "Copy Event"
225
+ msgstr ""
226
+
227
+ #: my-calendar-event-manager.php:189
228
+ msgid "Add Event"
229
+ msgstr ""
230
+
231
+ #: my-calendar-event-manager.php:193
232
+ msgid "Manage Events"
233
  msgstr ""
234
 
235
+ #: my-calendar-event-manager.php:241
236
  msgid "I'm sorry! I couldn't add that event to the database."
237
  msgstr ""
238
 
239
+ #: my-calendar-event-manager.php:247
240
  msgid "Event added. It will now show in your calendar."
241
  msgstr ""
242
 
243
+ #: my-calendar-event-manager.php:263
244
  msgid "Your event was not updated."
245
  msgstr ""
246
 
247
+ #: my-calendar-event-manager.php:265
248
  msgid "Nothing was changed in that update."
249
  msgstr ""
250
 
251
+ #: my-calendar-event-manager.php:267
252
  msgid "Event updated successfully"
253
  msgstr ""
254
 
255
+ #: my-calendar-event-manager.php:270
256
  msgid "You do not have sufficient permissions to edit that event."
257
  msgstr ""
258
 
259
+ #: my-calendar-event-manager.php:277
260
  msgid "You can't delete an event if you haven't submitted an event id"
261
  msgstr ""
262
 
263
+ #: my-calendar-event-manager.php:284
264
  msgid "Event deleted successfully"
265
  msgstr ""
266
 
267
+ #: my-calendar-event-manager.php:286
268
  msgid ""
269
  "Despite issuing a request to delete, the event still remains in the "
270
  "database. Please investigate."
271
  msgstr ""
272
 
273
+ #: my-calendar-event-manager.php:298
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
274
  msgid "Sorry! That's an invalid event key."
275
  msgstr ""
276
 
277
+ #: my-calendar-event-manager.php:302
278
  msgid "Sorry! We couldn't find an event with that ID."
279
  msgstr ""
280
 
281
+ #: my-calendar-event-manager.php:326
282
  msgid "Add an Event"
283
  msgstr ""
284
 
285
+ #: my-calendar-event-manager.php:329
286
  msgid "This event must be approved in order for it to appear on the calendar."
287
  msgstr ""
288
 
289
+ #: my-calendar-event-manager.php:338
290
+ msgid "Save Event"
291
+ msgstr ""
292
+
293
+ #: my-calendar-event-manager.php:362
294
  msgid "Enter your Event Information"
295
  msgstr ""
296
 
297
+ #: my-calendar-event-manager.php:364
298
  msgid "Event Title"
299
  msgstr ""
300
 
301
+ #: my-calendar-event-manager.php:364 my-calendar-event-manager.php:456
302
+ msgid "(required)"
303
+ msgstr ""
304
+
305
+ #: my-calendar-event-manager.php:368
306
  msgid "Publish"
307
  msgstr ""
308
 
309
+ #: my-calendar-event-manager.php:368
310
  msgid "You must approve this event to promote it to the calendar."
311
  msgstr ""
312
 
313
+ #: my-calendar-event-manager.php:370
314
  msgid "An administrator must approve your new event."
315
  msgstr ""
316
 
317
+ #: my-calendar-event-manager.php:383
318
  msgid ""
319
  "Event Description (<abbr title=\"hypertext markup language\">HTML</abbr> "
320
  "allowed)"
326
  "abbr> allowed)"
327
  msgstr ""
328
 
329
+ #: my-calendar-event-manager.php:400
330
  msgid "Event Host"
331
  msgstr ""
332
 
333
+ #: my-calendar-event-manager.php:419
334
  msgid "Event Category"
335
  msgstr ""
336
 
337
+ #: my-calendar-event-manager.php:444
338
  msgid "Event Link (Optional)"
339
  msgstr ""
340
 
341
+ #: my-calendar-event-manager.php:444
342
  msgid "This link will expire when the event passes."
343
  msgstr ""
344
 
345
+ #: my-calendar-event-manager.php:452
346
+ msgid "Event Date and Time"
347
  msgstr ""
348
 
349
+ #: my-calendar-event-manager.php:454
350
+ msgid ""
351
+ "Enter the beginning and ending information for the first occurrence of this "
352
+ "event."
353
+ msgstr ""
354
+
355
+ #: my-calendar-event-manager.php:456
356
+ msgid "Start Date (YYYY-MM-DD)"
357
  msgstr ""
358
 
359
+ #: my-calendar-event-manager.php:456
360
  msgid "Time (hh:mm)"
361
  msgstr ""
362
 
363
+ #: my-calendar-event-manager.php:465
364
+ msgid "End Date (YYYY-MM-DD)"
365
+ msgstr ""
366
+
367
+ #: my-calendar-event-manager.php:465
368
+ msgid "End Time (hh:mm)"
369
  msgstr ""
370
 
371
  #: my-calendar-event-manager.php:473
376
  msgid " hour(s)"
377
  msgstr ""
378
 
379
+ #: my-calendar-event-manager.php:482
 
 
 
 
 
 
 
 
 
380
  msgid "Recurring Events"
381
  msgstr ""
382
 
383
+ #: my-calendar-event-manager.php:485
384
  msgid "Repeats for"
385
  msgstr ""
386
 
387
+ #: my-calendar-event-manager.php:486
388
  msgid "Units"
389
  msgstr ""
390
 
391
+ #: my-calendar-event-manager.php:487
392
  msgid "Does not recur"
393
  msgstr ""
394
 
395
+ #: my-calendar-event-manager.php:488 my-calendar-event-manager.php:706
396
  msgid "Daily"
397
  msgstr ""
398
 
399
+ #: my-calendar-event-manager.php:489 my-calendar-event-manager.php:707
400
  msgid "Weekly"
401
  msgstr ""
402
 
403
+ #: my-calendar-event-manager.php:490
404
  msgid "Bi-weekly"
405
  msgstr ""
406
 
407
+ #: my-calendar-event-manager.php:491
408
  msgid "Date of Month (e.g., the 24th of each month)"
409
  msgstr ""
410
 
411
+ #: my-calendar-event-manager.php:492
412
  msgid "Day of Month (e.g., the 3rd Monday of each month)"
413
  msgstr ""
414
 
415
+ #: my-calendar-event-manager.php:493
416
  msgid "Annually"
417
  msgstr ""
418
 
419
+ #: my-calendar-event-manager.php:495
420
+ msgid "Enter \"0\" if the event should recur indefinitely."
 
 
421
  msgstr ""
422
 
423
+ #: my-calendar-event-manager.php:512
424
  msgid "Event Registration Status"
425
  msgstr ""
426
 
427
+ #: my-calendar-event-manager.php:513
428
+ msgid ""
429
+ "My Calendar does not manage event registrations. Use this for information "
430
+ "only."
431
+ msgstr ""
432
+
433
+ #: my-calendar-event-manager.php:515
434
  msgid "Open"
435
  msgstr ""
436
 
437
+ #: my-calendar-event-manager.php:516
438
  msgid "Closed"
439
  msgstr ""
440
 
441
+ #: my-calendar-event-manager.php:517
442
  msgid "Does not apply"
443
  msgstr ""
444
 
445
+ #: my-calendar-event-manager.php:520
446
  msgid ""
447
  "If this event recurs, it can only be registered for as a complete series."
448
  msgstr ""
449
 
450
+ #: my-calendar-event-manager.php:537 my-calendar-locations.php:87
451
  msgid "Event Location"
452
  msgstr ""
453
 
454
+ #: my-calendar-event-manager.php:544
455
  msgid "Choose a preset location:"
456
  msgstr ""
457
 
458
+ #: my-calendar-event-manager.php:557
459
  msgid "Add recurring locations for later use."
460
  msgstr ""
461
 
462
+ #: my-calendar-event-manager.php:566 my-calendar-locations.php:89
463
  msgid ""
464
  "All location fields are optional: <em>insufficient information may result in "
465
  "an inaccurate map</em>."
466
  msgstr ""
467
 
468
+ #: my-calendar-event-manager.php:569 my-calendar-locations.php:92
469
  msgid "Name of Location (e.g. <em>Joe's Bar and Grill</em>)"
470
  msgstr ""
471
 
472
+ #: my-calendar-event-manager.php:572 my-calendar-locations.php:95
473
  msgid "Street Address"
474
  msgstr ""
475
 
476
+ #: my-calendar-event-manager.php:575 my-calendar-locations.php:98
477
  msgid "Street Address (2)"
478
  msgstr ""
479
 
480
+ #: my-calendar-event-manager.php:578 my-calendar-locations.php:101
481
+ #: my-calendar-settings.php:556
482
  msgid "City"
483
  msgstr ""
484
 
485
+ #: my-calendar-event-manager.php:578 my-calendar-locations.php:101
486
+ #: my-calendar-settings.php:557
487
  msgid "State/Province"
488
  msgstr ""
489
 
490
+ #: my-calendar-event-manager.php:578 my-calendar-locations.php:101
491
+ #: my-calendar-settings.php:559
492
  msgid "Postal Code"
493
  msgstr ""
494
 
495
+ #: my-calendar-event-manager.php:581 my-calendar-locations.php:104
496
+ #: my-calendar-settings.php:558
497
  msgid "Country"
498
  msgstr ""
499
 
500
+ #: my-calendar-event-manager.php:584 my-calendar-locations.php:107
501
  msgid "Initial Zoom"
502
  msgstr ""
503
 
504
+ #: my-calendar-event-manager.php:586 my-calendar-locations.php:109
505
  msgid "Neighborhood"
506
  msgstr ""
507
 
508
+ #: my-calendar-event-manager.php:587 my-calendar-locations.php:110
509
  msgid "Small City"
510
  msgstr ""
511
 
512
+ #: my-calendar-event-manager.php:588 my-calendar-locations.php:111
513
  msgid "Large City"
514
  msgstr ""
515
 
516
+ #: my-calendar-event-manager.php:589 my-calendar-locations.php:112
517
  msgid "Greater Metro Area"
518
  msgstr ""
519
 
520
+ #: my-calendar-event-manager.php:590 my-calendar-locations.php:113
521
  msgid "State"
522
  msgstr ""
523
 
524
+ #: my-calendar-event-manager.php:591 my-calendar-locations.php:114
525
  msgid "Region"
526
  msgstr ""
527
 
528
+ #: my-calendar-event-manager.php:595 my-calendar-locations.php:118
529
  msgid "GPS Coordinates (optional)"
530
  msgstr ""
531
 
532
+ #: my-calendar-event-manager.php:597
533
  msgid ""
534
  "If you supply GPS coordinates for your location, they will be used in place "
535
  "of any other address information to provide your map link."
536
  msgstr ""
537
 
538
+ #: my-calendar-event-manager.php:600 my-calendar-locations.php:123
539
  msgid "Longitude"
540
  msgstr ""
541
 
542
+ #: my-calendar-event-manager.php:600 my-calendar-locations.php:123
543
  msgid "Latitude"
544
  msgstr ""
545
 
546
+ #: my-calendar-event-manager.php:666
547
+ msgid "Table of Calendar Events"
548
  msgstr ""
549
 
550
+ #: my-calendar-event-manager.php:669 my-calendar-categories.php:207
551
+ #: my-calendar-locations.php:153
552
  msgid "ID"
553
  msgstr ""
554
 
555
+ #: my-calendar-event-manager.php:670 my-calendar-widgets.php:32
556
+ #: my-calendar-widgets.php:98
557
  msgid "Title"
558
  msgstr ""
559
 
560
+ #: my-calendar-event-manager.php:671 my-calendar-locations.php:154
 
 
 
 
561
  msgid "Location"
562
  msgstr ""
563
 
564
+ #: my-calendar-event-manager.php:672
565
  msgid "Description"
566
  msgstr ""
567
 
568
+ #: my-calendar-event-manager.php:673
569
  msgid "Start Date"
570
  msgstr ""
571
 
572
+ #: my-calendar-event-manager.php:674
573
  msgid "Recurs"
574
  msgstr ""
575
 
576
+ #: my-calendar-event-manager.php:675 my-calendar-settings.php:270
577
+ #: my-calendar-settings.php:279 my-calendar-settings.php:287
578
  msgid "Author"
579
  msgstr ""
580
 
581
+ #: my-calendar-event-manager.php:676
582
  msgid "Category"
583
  msgstr ""
584
 
585
+ #: my-calendar-event-manager.php:677
586
  msgid "Edit / Delete"
587
  msgstr ""
588
 
589
+ #: my-calendar-event-manager.php:705
590
  msgid "Never"
591
  msgstr ""
592
 
593
+ #: my-calendar-event-manager.php:708
594
  msgid "Bi-Weekly"
595
  msgstr ""
596
 
597
+ #: my-calendar-event-manager.php:709
598
  msgid "Monthly (by date)"
599
  msgstr ""
600
 
601
+ #: my-calendar-event-manager.php:710
602
  msgid "Monthly (by day)"
603
  msgstr ""
604
 
605
+ #: my-calendar-event-manager.php:711
606
  msgid "Yearly"
607
  msgstr ""
608
 
609
+ #: my-calendar-event-manager.php:713 my-calendar-categories.php:228
610
+ #: my-calendar-output.php:125 my-calendar-settings.php:308
611
  msgid "N/A"
612
  msgstr ""
613
 
614
+ #: my-calendar-event-manager.php:714
615
  msgid "Forever"
616
  msgstr ""
617
 
618
+ #: my-calendar-event-manager.php:715
619
  msgid "Times"
620
  msgstr ""
621
 
622
+ #: my-calendar-event-manager.php:730
623
  msgid "Copy"
624
  msgstr ""
625
 
626
+ #: my-calendar-event-manager.php:732 my-calendar-categories.php:211
627
+ #: my-calendar-categories.php:225 my-calendar-locations.php:155
628
+ #: my-calendar-locations.php:167
629
  msgid "Edit"
630
  msgstr ""
631
 
632
+ #: my-calendar-event-manager.php:733
633
  msgid "Not editable."
634
  msgstr ""
635
 
636
+ #: my-calendar-event-manager.php:739
637
  msgid "Reject"
638
  msgstr ""
639
 
640
+ #: my-calendar-event-manager.php:741
641
  msgid "Approve"
642
  msgstr ""
643
 
644
+ #: my-calendar-event-manager.php:746
645
  msgid "Approved"
646
  msgstr ""
647
 
648
+ #: my-calendar-event-manager.php:748
649
  msgid "Rejected"
650
  msgstr ""
651
 
652
+ #: my-calendar-event-manager.php:750
653
  msgid "Awaiting Approval"
654
  msgstr ""
655
 
656
+ #: my-calendar-event-manager.php:766
657
  msgid "There are no events in the database!"
658
  msgstr ""
659
 
660
+ #: my-calendar-event-manager.php:871
661
  msgid ""
662
  "Your event end date must be either after or the same as your event begin date"
663
  msgstr ""
664
 
665
+ #: my-calendar-event-manager.php:874
666
  msgid ""
667
  "Your date formatting is correct but one or more of your dates is invalid. "
668
  "Check for number of days in month and leap year related errors."
669
  msgstr ""
670
 
671
+ #: my-calendar-event-manager.php:877
672
  msgid "Both start and end dates must be in the format YYYY-MM-DD"
673
  msgstr ""
674
 
675
+ #: my-calendar-event-manager.php:887
676
  msgid "The time field must either be blank or be entered in the format hh:mm"
677
  msgstr ""
678
 
679
+ #: my-calendar-event-manager.php:895
680
  msgid ""
681
  "The end time field must either be blank or be entered in the format hh:mm"
682
  msgstr ""
683
 
684
+ #: my-calendar-event-manager.php:911
 
 
 
 
 
685
  msgid "The event title must be between 1 and 255 characters in length."
686
  msgstr ""
687
 
688
+ #: my-calendar-event-manager.php:917
689
  msgid "The repetition value must be 0 unless a type of recurrence is selected."
690
  msgstr ""
691
 
692
+ #: my-calendar-upgrade-db.php:21 my-calendar-upgrade-db.php:29
693
+ msgid "The My Calendar database needs to be updated."
694
  msgstr ""
695
 
696
+ #: my-calendar-upgrade-db.php:22 my-calendar-upgrade-db.php:43
697
+ msgid "Update now"
698
  msgstr ""
699
 
700
+ #: my-calendar-upgrade-db.php:29
701
+ msgid "Upgrade now."
702
  msgstr ""
703
 
704
+ #: my-calendar-upgrade-db.php:42
705
+ msgid ""
706
+ "You haven't entered any events, so My Calendar can't tell whether your "
707
+ "database is up to date. If you can't add events, upgrade your database!"
708
  msgstr ""
709
 
710
+ #: my-calendar-upgrade-db.php:53
711
+ msgid "My Calendar Database is updated."
712
  msgstr ""
713
 
714
+ #: my-calendar-categories.php:90
715
+ msgid "Category added successfully"
716
  msgstr ""
717
 
718
+ #: my-calendar-categories.php:92
719
+ msgid "Category addition failed."
720
  msgstr ""
721
 
722
+ #: my-calendar-categories.php:102
723
+ msgid "Category deleted successfully. Categories in calendar updated."
724
  msgstr ""
725
 
726
+ #: my-calendar-categories.php:104
727
+ msgid "Category deleted successfully. Categories in calendar not updated."
728
  msgstr ""
729
 
730
+ #: my-calendar-categories.php:106
731
+ msgid "Category not deleted. Categories in calendar updated."
732
  msgstr ""
733
 
734
+ #: my-calendar-categories.php:115
735
+ msgid "Category edited successfully"
736
  msgstr ""
737
 
738
+ #: my-calendar-categories.php:140 my-calendar-categories.php:165
739
+ #: my-calendar-categories.php:182
740
+ msgid "Add Category"
741
  msgstr ""
742
 
743
+ #: my-calendar-categories.php:142 my-calendar-categories.php:165
744
+ msgid "Edit Category"
745
  msgstr ""
746
 
747
+ #: my-calendar-categories.php:149
748
+ msgid "Category Editor"
749
  msgstr ""
750
 
751
+ #: my-calendar-categories.php:166 my-calendar-categories.php:208
752
+ msgid "Category Name"
753
  msgstr ""
754
 
755
+ #: my-calendar-categories.php:167
756
+ msgid "Category Color (Hex format)"
757
  msgstr ""
758
 
759
+ #: my-calendar-categories.php:168 my-calendar-categories.php:210
760
+ msgid "Category Icon"
761
  msgstr ""
762
 
763
+ #: my-calendar-categories.php:182 my-calendar-locations.php:127
764
+ msgid "Save Changes"
765
  msgstr ""
766
 
767
+ #: my-calendar-categories.php:209
768
+ msgid "Category Color"
769
  msgstr ""
770
 
771
+ #: my-calendar-categories.php:231 my-calendar-locations.php:168
772
+ msgid "Are you sure you want to delete this category?"
773
  msgstr ""
774
 
775
+ #: my-calendar-categories.php:242
776
+ msgid "There are no categories in the database - something has gone wrong!"
777
  msgstr ""
778
 
779
+ #: my-calendar-install.php:142
780
+ msgid "My Calendar Default Timezone"
781
  msgstr ""
782
 
783
+ #: my-calendar-install.php:187
784
+ msgid "My Calendar Default Location"
785
  msgstr ""
786
 
787
+ #: my-calendar-behaviors.php:40
788
+ msgid "Behavior Settings saved"
789
  msgstr ""
790
 
791
+ #: my-calendar-behaviors.php:63
792
+ msgid "My Calendar Behaviors"
793
  msgstr ""
794
 
795
+ #: my-calendar-behaviors.php:67
796
+ msgid "Calendar Behavior Settings"
797
  msgstr ""
798
 
799
+ #: my-calendar-behaviors.php:72
800
+ msgid "Apply JavaScript only on these pages (comma separated page IDs)"
801
  msgstr ""
802
 
803
+ #: my-calendar-behaviors.php:75
804
+ msgid "Calendar Behaviors: Calendar View"
805
  msgstr ""
806
 
807
+ #: my-calendar-behaviors.php:77
808
+ msgid "Reset the My Calendar Calendar Javascript"
809
  msgstr ""
810
 
811
+ #: my-calendar-behaviors.php:77
812
+ msgid "Disable Calendar Javascript Effects"
813
  msgstr ""
814
 
815
+ #: my-calendar-behaviors.php:80
816
+ msgid "Edit the jQuery scripts for My Calendar in Calendar format"
817
  msgstr ""
818
 
819
+ #: my-calendar-behaviors.php:87
820
+ msgid "Calendar Behaviors: List View"
821
  msgstr ""
822
 
823
+ #: my-calendar-behaviors.php:89
824
+ msgid "Reset the My Calendar List Javascript"
825
  msgstr ""
826
 
827
+ #: my-calendar-behaviors.php:89
828
+ msgid "Disable List Javascript Effects"
829
  msgstr ""
830
 
831
+ #: my-calendar-behaviors.php:92
832
+ msgid "Edit the jQuery scripts for My Calendar in List format"
 
 
 
833
  msgstr ""
834
 
835
+ #: my-calendar-behaviors.php:99
836
+ msgid "Calendar Behaviors: Mini Calendar View"
837
  msgstr ""
838
 
839
+ #: my-calendar-behaviors.php:101
840
+ msgid "Reset the My Calendar Mini Format Javascript"
841
  msgstr ""
842
 
843
+ #: my-calendar-behaviors.php:101
844
+ msgid "Disable Mini Javascript Effects"
845
  msgstr ""
846
 
847
+ #: my-calendar-behaviors.php:104
848
+ msgid "Edit the jQuery scripts for My Calendar in Mini Calendar format"
849
  msgstr ""
850
 
851
+ #: my-calendar-behaviors.php:111
852
+ msgid "Calendar Behaviors: AJAX Navigation"
853
  msgstr ""
854
 
855
+ #: my-calendar-behaviors.php:113
856
+ msgid "Reset the My Calendar AJAX Javascript"
857
  msgstr ""
858
 
859
+ #: my-calendar-behaviors.php:113
860
+ msgid "Disable AJAX Effects"
861
  msgstr ""
862
 
863
+ #: my-calendar-behaviors.php:116
864
+ msgid "Edit the jQuery scripts for My Calendar AJAX navigation"
865
  msgstr ""
866
 
867
+ #: my-calendar-templates.php:188
868
+ msgid "Published"
869
  msgstr ""
870
 
871
+ #: my-calendar-templates.php:190
872
+ msgid "Reserved"
 
 
873
  msgstr ""
874
 
875
+ #: my-calendar-help.php:7
876
+ msgid "How to use My Calendar"
877
  msgstr ""
878
 
879
+ #: my-calendar-help.php:12
880
+ msgid "Shortcode Syntax"
881
  msgstr ""
882
 
883
+ #: my-calendar-help.php:15
884
+ msgid "These shortcodes can be used in Posts, Pages, or in text widgets."
885
  msgstr ""
886
 
887
+ #: my-calendar-help.php:19
888
  msgid ""
889
+ "This basic shortcode will show the calendar on a post or page including all "
890
+ "categories and the category key, in a traditional month-by-month format."
 
 
 
891
  msgstr ""
892
 
893
+ #: my-calendar-help.php:23
894
+ msgid ""
895
+ "The shortcode supports five attributes, <code>category</code>, <code>format</"
896
+ "code>, <code>showkey</code>, <code>shownav</code> and <code>time</code>. "
897
+ "There two alternate options for <code>format</code>: <code>list</code>, "
898
+ "which will show the calendar in a list format, skipping dates without any "
899
+ "events, and <code>mini</code>, which will display the calendar in a form "
900
+ "more suitable to being displayed in smaller spaces, such as the sidebar. The "
901
+ "<code>category</code> attribute requires either the name of or ID number one "
902
+ "of your event categories (the name is case-sensitive). This will show a "
903
+ "calendar only including events in that category. Multiple categories can be "
904
+ "specified by separating the category names or IDs using the pipe character: "
905
+ "<code>|</code>. Setting <code>showkey</code> to <code>no</code> will prevent "
906
+ "the category key from being displayed &mdash; this can be useful with single-"
907
+ "category output. Setting <code>shownav</code> to <code>no</code> will "
908
+ "disable the Previous/Next links. The <code>time</code> shortcode switches "
909
+ "between a weekly view and the default monthly view."
910
+ msgstr ""
911
+
912
+ #: my-calendar-help.php:27
913
+ msgid ""
914
+ "This shortcode displays the output of the Upcoming Events widget. The "
915
+ "<code>before</code> and <code>after</code> attributes should be numbers; the "
916
+ "<code>type</code> attribute can be either \"event\" or \"days\", and the "
917
+ "<code>category</code> attribute works the same way as the category attribute "
918
+ "on the main calendar shortcode. Templates work using the template codes "
919
+ "listed below. <code>fallback</code> provides text in case there are no "
920
+ "events meeting your criteria."
921
  msgstr ""
922
 
923
+ #: my-calendar-help.php:30
924
+ msgid ""
925
+ "Predictably enough, this shortcode displays the output of the Today's Events "
926
+ "widget, with three configurable attributes: category, template and fallback "
927
+ "text."
928
  msgstr ""
929
 
930
+ #: my-calendar-help.php:33
931
  msgid ""
932
+ "This shortcode produces a list of event locations, either as a list of links "
933
+ "or as a select dropdown form. The <code>show</code> attribute can either be "
934
+ "<code>list</code> or <code>form</code>, <code>type</code> is either "
935
+ "<code>saved</code> (to show items from your stored locations), or "
936
+ "<code>custom</code> (to show the options configured in your user settings). "
937
+ "<code>datatype</code> must be the type of data your limits are choosing "
938
+ "from: <code>name</code> (business name), <code>city</code>, <code>state</"
939
+ "code>, <code>country</code>, or <code>zip</code> (postal code)."
940
  msgstr ""
941
 
942
+ #: my-calendar-help.php:39
943
+ msgid "Category Icons"
944
  msgstr ""
945
 
946
+ #: my-calendar-help.php:42
947
  msgid ""
948
+ "My Calendar is designed to manage multiple calendars. The basis for these "
949
+ "calendars are categories; you can easily setup a calendar page which "
950
+ "includes all categories, or you can dedicate separate pages to calendars in "
951
+ "each category. For an example, this might be useful for you in managing the "
952
+ "tour calendars for multiple bands; event calendars for a variety of "
953
+ "locations, etc."
954
  msgstr ""
955
 
956
+ #: my-calendar-help.php:45
957
  msgid ""
958
+ "The pre-installed category icons may not be especially useful for your needs "
959
+ "or design. I'm assuming that you're going to upload your own icons -- all "
960
+ "you need to do is upload them to the plugin's icons folder, and they'll be "
961
+ "available for immediate use, or place them in a folder at \"my-calendar-"
962
+ "custom\" to avoid having them overwritten by upgrades."
963
  msgstr ""
964
 
965
+ #: my-calendar-help.php:45
966
+ msgid "Your icons folder is:"
967
  msgstr ""
968
 
969
+ #: my-calendar-help.php:45
970
+ msgid "You can alternately place icons in:"
971
  msgstr ""
972
 
973
+ #: my-calendar-help.php:53
974
+ msgid "Custom Styles"
975
  msgstr ""
976
 
977
+ #: my-calendar-help.php:56
978
+ msgid ""
979
+ "My Calendar comes with four basic stylesheets. My Calendar will retain "
980
+ "changes to these basic stylesheets on upgrade, but if you want to add an "
981
+ "entirely new stylesheet, you may wish to store it in the My Calendar custom "
982
+ "styles directory."
983
  msgstr ""
984
 
985
+ #: my-calendar-help.php:58
986
+ msgid "Your stylesheet directory is"
987
  msgstr ""
988
 
989
+ #: my-calendar-help.php:58
990
+ msgid "Your custom stylesheets directory is"
991
  msgstr ""
992
 
993
+ #: my-calendar-help.php:66
994
+ msgid "Widget Templating"
995
  msgstr ""
996
 
997
+ #: my-calendar-help.php:69
998
+ msgid ""
999
+ "These codes are available in calendar widgets, email notifications, and "
1000
+ "event titles."
1001
  msgstr ""
1002
 
1003
+ #: my-calendar-help.php:73
1004
+ msgid "Displays the name of the category the event is in."
1005
  msgstr ""
1006
 
1007
+ #: my-calendar-help.php:76
1008
+ msgid "Displays the title of the event."
1009
  msgstr ""
1010
 
1011
+ #: my-calendar-help.php:79
1012
+ msgid "Displays the start time for the event."
1013
  msgstr ""
1014
 
1015
+ #: my-calendar-help.php:82
1016
+ msgid ""
1017
+ "Displays the start time for the event adjusted to the current user's time "
1018
+ "zone settings. Blank output if user settings are disabled or the user has "
1019
+ "not selected a preferred time zone."
1020
  msgstr ""
1021
 
1022
+ #: my-calendar-help.php:85
1023
+ msgid "Displays the date on which the event begins."
1024
  msgstr ""
1025
 
1026
+ #: my-calendar-help.php:88
1027
+ msgid "Displays the date on which the event ends."
1028
  msgstr ""
1029
 
1030
+ #: my-calendar-help.php:91
1031
+ msgid "Displays the time at which the event ends."
1032
  msgstr ""
1033
 
1034
+ #: my-calendar-help.php:94
1035
+ msgid "Displays the WordPress author who posted the event."
1036
  msgstr ""
1037
 
1038
+ #: my-calendar-help.php:97
1039
+ msgid "Displays the name of the person assigned as host for the event."
1040
  msgstr ""
1041
 
1042
+ #: my-calendar-help.php:100
1043
+ msgid "Displays the URL provided for the event."
1044
  msgstr ""
1045
 
1046
+ #: my-calendar-help.php:103
1047
+ msgid "Displays the description of the event."
1048
  msgstr ""
1049
 
1050
+ #: my-calendar-help.php:106
1051
+ msgid ""
1052
+ "Displays title of the event as a link if a URL is present, or the title "
1053
+ "alone if no URL is available."
1054
  msgstr ""
1055
 
1056
+ #: my-calendar-help.php:109
1057
+ msgid "Displays the name of the location of the event."
1058
  msgstr ""
1059
 
1060
+ #: my-calendar-help.php:112
1061
+ msgid "Displays the first line of the site address."
1062
  msgstr ""
1063
 
1064
+ #: my-calendar-help.php:115
1065
+ msgid "Displays the second line of the site address."
1066
  msgstr ""
1067
 
1068
+ #: my-calendar-help.php:118
1069
+ msgid "Displays the city for the event."
1070
  msgstr ""
1071
 
1072
+ #: my-calendar-help.php:121
1073
+ msgid "Displays the state for the event."
1074
  msgstr ""
1075
 
1076
+ #: my-calendar-help.php:124
1077
+ msgid "Displays the postcode for the event."
1078
  msgstr ""
1079
 
1080
+ #: my-calendar-help.php:127
1081
+ msgid "Displays the country for the event location."
1082
  msgstr ""
1083
 
1084
+ #: my-calendar-help.php:130
1085
+ msgid ""
1086
+ "Displays the event address in <a href=\"http://microformats.org/wiki/hcard"
1087
+ "\">hcard</a> format."
1088
  msgstr ""
1089
 
1090
+ #: my-calendar-help.php:133
1091
  msgid ""
1092
+ "Displays a link to a Google Map of the event, if sufficient address "
1093
+ "information is available. If not, will be empty."
1094
  msgstr ""
1095
 
1096
+ #: my-calendar-help.php:136
1097
+ msgid ""
1098
+ "Displays text indicating whether registration for the event is currently "
1099
+ "open or closed; displays nothing if that choice is selected in the event."
1100
  msgstr ""
1101
 
1102
+ #: my-calendar-help.php:139
1103
+ msgid "Displays the short version of the event description."
 
 
 
 
1104
  msgstr ""
1105
 
1106
+ #: my-calendar-help.php:142
1107
+ msgid ""
1108
+ "Displays the current status of the event: either \"Published\" or \"Reserved"
1109
+ "\" - primary used in email templates."
1110
  msgstr ""
1111
 
1112
+ #: my-calendar-help.php:145
1113
+ msgid "Produces the address of the current event's category icon."
1114
  msgstr ""
1115
 
1116
+ #: my-calendar-help.php:148
1117
+ msgid "Produces the hex code for the current event's category color."
1118
  msgstr ""
1119
 
1120
+ #: my-calendar-output.php:103
1121
+ msgid "Event Details"
1122
  msgstr ""
1123
 
1124
+ #: my-calendar-output.php:111
1125
+ msgid "Close"
1126
  msgstr ""
1127
 
1128
+ #: my-calendar-output.php:120
1129
+ msgid "in your time zone"
 
 
 
1130
  msgstr ""
1131
 
1132
+ #: my-calendar-output.php:125
1133
+ msgid "Not Applicable"
1134
  msgstr ""
1135
 
1136
+ #: my-calendar-output.php:137
1137
+ msgid "Posted by"
1138
  msgstr ""
1139
 
1140
+ #: my-calendar-output.php:187
1141
+ msgid ""
1142
+ "This class is part of a series. You must register for the first event in "
1143
+ "this series to attend."
1144
  msgstr ""
1145
 
1146
+ #: my-calendar-output.php:219
1147
+ msgid "Month"
1148
  msgstr ""
1149
 
1150
+ #: my-calendar-output.php:220 my-calendar-output.php:297
1151
+ msgid "January"
1152
  msgstr ""
1153
 
1154
+ #: my-calendar-output.php:221 my-calendar-output.php:297
1155
+ msgid "February"
1156
  msgstr ""
1157
 
1158
+ #: my-calendar-output.php:222 my-calendar-output.php:297
1159
+ msgid "March"
1160
  msgstr ""
1161
 
1162
+ #: my-calendar-output.php:223 my-calendar-output.php:297
1163
+ msgid "April"
1164
  msgstr ""
1165
 
1166
+ #: my-calendar-output.php:224 my-calendar-output.php:297
1167
+ msgid "May"
 
 
1168
  msgstr ""
1169
 
1170
+ #: my-calendar-output.php:225 my-calendar-output.php:297
1171
+ msgid "June"
1172
  msgstr ""
1173
 
1174
+ #: my-calendar-output.php:226 my-calendar-output.php:297
1175
+ msgid "July"
1176
  msgstr ""
1177
 
1178
+ #: my-calendar-output.php:227 my-calendar-output.php:297
1179
+ msgid "August"
1180
  msgstr ""
1181
 
1182
+ #: my-calendar-output.php:228 my-calendar-output.php:297
1183
+ msgid "September"
1184
  msgstr ""
1185
 
1186
+ #: my-calendar-output.php:229 my-calendar-output.php:297
1187
+ msgid "October"
1188
  msgstr ""
1189
 
1190
+ #: my-calendar-output.php:230 my-calendar-output.php:297
1191
+ msgid "November"
1192
  msgstr ""
1193
 
1194
+ #: my-calendar-output.php:231 my-calendar-output.php:297
1195
+ msgid "December"
1196
  msgstr ""
1197
 
1198
+ #: my-calendar-output.php:233
1199
+ msgid "Year"
 
1200
  msgstr ""
1201
 
1202
+ #: my-calendar-output.php:255
1203
+ msgid "Go"
1204
  msgstr ""
1205
 
1206
+ #: my-calendar-output.php:271
1207
+ msgid "<abbr title=\"Sunday\">Sun</abbr>"
1208
  msgstr ""
1209
 
1210
+ #: my-calendar-output.php:272
1211
+ msgid "<abbr title=\"Monday\">Mon</abbr>"
1212
  msgstr ""
1213
 
1214
+ #: my-calendar-output.php:273
1215
+ msgid "<abbr title=\"Tuesday\">Tues</abbr>"
1216
  msgstr ""
1217
 
1218
+ #: my-calendar-output.php:274
1219
+ msgid "<abbr title=\"Wednesday\">Wed</abbr>"
1220
  msgstr ""
1221
 
1222
+ #: my-calendar-output.php:275
1223
+ msgid "<abbr title=\"Thursday\">Thur</abbr>"
1224
  msgstr ""
1225
 
1226
+ #: my-calendar-output.php:276
1227
+ msgid "<abbr title=\"Friday\">Fri</abbr>"
1228
  msgstr ""
1229
 
1230
+ #: my-calendar-output.php:277
1231
+ msgid "<abbr title=\"Saturday\">Sat</abbr>"
1232
  msgstr ""
1233
 
1234
+ #: my-calendar-output.php:282
1235
+ msgid "<abbr title=\"Sunday\">S</abbr>"
1236
  msgstr ""
1237
 
1238
+ #: my-calendar-output.php:283
1239
+ msgid "<abbr title=\"Monday\">M</abbr>"
1240
  msgstr ""
1241
 
1242
+ #: my-calendar-output.php:284
1243
+ msgid "<abbr title=\"Tuesday\">T</abbr>"
1244
  msgstr ""
1245
 
1246
+ #: my-calendar-output.php:285
1247
+ msgid "<abbr title=\"Wednesday\">W</abbr>"
1248
  msgstr ""
1249
 
1250
+ #: my-calendar-output.php:286
1251
+ msgid "<abbr title=\"Thursday\">T</abbr>"
1252
  msgstr ""
1253
 
1254
+ #: my-calendar-output.php:287
1255
+ msgid "<abbr title=\"Friday\">F</abbr>"
1256
  msgstr ""
1257
 
1258
+ #: my-calendar-output.php:288
1259
+ msgid "<abbr title=\"Saturday\">S</abbr>"
1260
  msgstr ""
1261
 
1262
+ #: my-calendar-output.php:396
1263
+ msgid "and"
1264
  msgstr ""
1265
 
1266
+ #: my-calendar-output.php:415 my-calendar-output.php:420
1267
+ msgid "Calendar"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1268
  msgstr ""
1269
 
1270
+ #: my-calendar-output.php:416
1271
+ msgid "The week's events"
1272
  msgstr ""
1273
 
1274
+ #: my-calendar-output.php:425
1275
+ msgid "Events in"
1276
  msgstr ""
1277
 
1278
+ #: my-calendar-output.php:427
1279
+ msgid "This week's events"
1280
  msgstr ""
1281
 
1282
+ #: my-calendar-output.php:594
1283
+ msgid "There are no events scheduled during this period."
1284
  msgstr ""
1285
 
1286
+ #: my-calendar-output.php:604
1287
+ msgid "Category Key"
1288
  msgstr ""
1289
 
1290
+ #: my-calendar-output.php:637
1291
+ msgid "Subscribe by <abbr title=\"Really Simple Syndication\">RSS</abbr>"
1292
  msgstr ""
1293
 
1294
+ #: my-calendar-output.php:638
1295
+ msgid "Download as <abbr title=\"iCal Events Export\">iCal</abbr>"
1296
  msgstr ""
1297
 
1298
+ #: my-calendar-output.php:789
1299
+ msgid "Show events in:"
1300
  msgstr ""
1301
 
1302
+ #: my-calendar-output.php:821
1303
+ msgid "Submit"
1304
  msgstr ""
1305
 
1306
+ #: my-calendar-widgets.php:5
1307
+ msgid "My Calendar: Today's Events"
1308
  msgstr ""
1309
 
1310
+ #: my-calendar-widgets.php:14 my-calendar-widgets.php:76
1311
+ msgid "Today's Events"
1312
  msgstr ""
1313
 
1314
+ #: my-calendar-widgets.php:36 my-calendar-widgets.php:102
1315
+ msgid "Template"
 
 
1316
  msgstr ""
1317
 
1318
+ #: my-calendar-widgets.php:40
1319
+ msgid "Show this text if there are no events today:"
1320
  msgstr ""
1321
 
1322
+ #: my-calendar-widgets.php:44 my-calendar-widgets.php:124
1323
+ msgid "Category or categories to display:"
1324
  msgstr ""
1325
 
1326
+ #: my-calendar-widgets.php:64
1327
+ msgid "My Calendar: Upcoming Events"
1328
  msgstr ""
1329
 
1330
+ #: my-calendar-widgets.php:106
1331
+ msgid "Widget Options"
1332
  msgstr ""
1333
 
1334
+ #: my-calendar-widgets.php:109
1335
+ msgid "Display upcoming events by:"
1336
  msgstr ""
1337
 
1338
+ #: my-calendar-widgets.php:110
1339
+ msgid "Events (e.g. 2 past, 3 future)"
1340
  msgstr ""
1341
 
1342
+ #: my-calendar-widgets.php:111
1343
+ msgid "Dates (e.g. 4 days past, 5 forward)"
1344
  msgstr ""
1345
 
1346
+ #: my-calendar-widgets.php:115
1347
+ msgid "events into the future;"
1348
  msgstr ""
1349
 
1350
+ #: my-calendar-widgets.php:116
1351
+ msgid "events from the past"
1352
  msgstr ""
1353
 
1354
+ #: my-calendar-widgets.php:120
1355
+ msgid "Show this text if there are no events meeting your criteria:"
1356
  msgstr ""
1357
 
1358
+ #: my-calendar-widgets.php:282
1359
+ msgid "There are no events currently scheduled."
1360
  msgstr ""
1361
 
1362
+ #: my-calendar-locations.php:27
1363
  msgid "Location added successfully"
1364
  msgstr ""
1365
 
1366
+ #: my-calendar-locations.php:29
1367
  msgid "Location could not be added to database"
1368
  msgstr ""
1369
 
1370
+ #: my-calendar-locations.php:35
1371
  msgid "Location deleted successfully"
1372
  msgstr ""
1373
 
1374
+ #: my-calendar-locations.php:37
1375
  msgid "Location could not be deleted"
1376
  msgstr ""
1377
 
1378
+ #: my-calendar-locations.php:48
1379
  msgid "Location could not be edited."
1380
  msgstr ""
1381
 
1382
+ #: my-calendar-locations.php:50
1383
  msgid "Location was not changed."
1384
  msgstr ""
1385
 
1386
+ #: my-calendar-locations.php:52
1387
  msgid "Location edited successfully"
1388
  msgstr ""
1389
 
1390
+ #: my-calendar-locations.php:64
1391
  msgid "Add New Location"
1392
  msgstr ""
1393
 
1394
+ #: my-calendar-locations.php:66
1395
  msgid "Edit Location"
1396
  msgstr ""
1397
 
1398
+ #: my-calendar-locations.php:71
1399
  msgid "Location Editor"
1400
  msgstr ""
1401
 
1402
+ #: my-calendar-locations.php:120
1403
  msgid ""
1404
  "If you supply GPS coordinates for your location, they will be used in place "
1405
  "of any other address information to pinpoint your location."
1406
  msgstr ""
1407
 
1408
+ #: my-calendar-locations.php:127
1409
  msgid "Add Location"
1410
  msgstr ""
1411
 
1412
+ #: my-calendar-locations.php:176
1413
  msgid "There are no locations in the database yet!"
1414
  msgstr ""
1415
 
1416
+ #: my-calendar-locations.php:180
1417
  msgid ""
1418
  "Please note: editing or deleting locations stored for re-use will have no "
1419
  "effect on any event previously scheduled at that location. The location "
1421
  "locations into event records."
1422
  msgstr ""
1423
 
1424
+ #: my-calendar-settings.php:82
1425
+ msgid "Categories imported successfully."
1426
  msgstr ""
1427
 
1428
+ #: my-calendar-settings.php:84
1429
+ msgid "Categories not imported."
1430
  msgstr ""
1431
 
1432
+ #: my-calendar-settings.php:87
1433
+ msgid "Events imported successfully."
1434
  msgstr ""
1435
 
1436
+ #: my-calendar-settings.php:89
1437
+ msgid "Events not imported."
1438
  msgstr ""
1439
 
1440
+ #: my-calendar-settings.php:121
1441
+ msgid "Permissions Settings saved"
1442
  msgstr ""
1443
 
1444
+ #: my-calendar-settings.php:169
1445
+ msgid "Output Settings saved"
 
 
1446
  msgstr ""
1447
 
1448
+ #: my-calendar-settings.php:187
1449
+ msgid "Input Settings saved"
1450
  msgstr ""
1451
 
1452
+ #: my-calendar-settings.php:203
1453
+ msgid "Custom text settings saved"
1454
  msgstr ""
1455
 
1456
+ #: my-calendar-settings.php:216
1457
+ msgid "Email notice settings saved"
1458
  msgstr ""
1459
 
1460
+ #: my-calendar-settings.php:230
1461
+ msgid "User custom settings saved"
1462
  msgstr ""
1463
 
1464
+ #: my-calendar-settings.php:255
1465
+ msgid "My Calendar Options"
1466
  msgstr ""
1467
 
1468
+ #: my-calendar-settings.php:258
1469
+ msgid "Calendar Settings"
1470
  msgstr ""
1471
 
1472
+ #: my-calendar-settings.php:260
1473
+ msgid "Calendar Management Settings"
1474
  msgstr ""
1475
 
1476
+ #: my-calendar-settings.php:265
1477
+ msgid "Calendar Options: Management"
1478
  msgstr ""
1479
 
1480
+ #: my-calendar-settings.php:267
1481
+ msgid "Choose the lowest user group that may create events"
1482
  msgstr ""
1483
 
1484
+ #: my-calendar-settings.php:268 my-calendar-settings.php:277
1485
+ msgid "Subscriber"
1486
  msgstr ""
1487
 
1488
+ #: my-calendar-settings.php:269 my-calendar-settings.php:278
1489
+ #: my-calendar-settings.php:286
1490
+ msgid "Contributor"
1491
  msgstr ""
1492
 
1493
+ #: my-calendar-settings.php:271 my-calendar-settings.php:280
1494
+ #: my-calendar-settings.php:288
1495
+ msgid "Editor"
1496
  msgstr ""
1497
 
1498
+ #: my-calendar-settings.php:272 my-calendar-settings.php:281
1499
+ #: my-calendar-settings.php:289
1500
+ msgid "Administrator"
1501
  msgstr ""
1502
 
1503
+ #: my-calendar-settings.php:276
1504
+ msgid "Choose the lowest user group that may approve events"
1505
  msgstr ""
1506
 
1507
+ #: my-calendar-settings.php:282
1508
+ msgid "Enable approval options."
1509
  msgstr ""
1510
 
1511
+ #: my-calendar-settings.php:285
1512
+ msgid "Choose the lowest user group that may edit or delete any event"
1513
  msgstr ""
1514
 
1515
+ #: my-calendar-settings.php:291
1516
+ msgid ""
1517
+ "By default, only administrators may edit or delete any event. Other users "
1518
+ "may only edit or delete events which they authored."
1519
  msgstr ""
1520
 
1521
+ #: my-calendar-settings.php:295
1522
+ msgid "Save Approval Settings"
1523
  msgstr ""
1524
 
1525
+ #: my-calendar-settings.php:301
1526
+ msgid "Calendar Text Settings"
1527
  msgstr ""
1528
 
1529
+ #: my-calendar-settings.php:306
1530
+ msgid "Calendar Options: Customize Text"
1531
  msgstr ""
1532
 
1533
+ #: my-calendar-settings.php:308
1534
+ msgid "Label for events without a specific time"
1535
  msgstr ""
1536
 
1537
+ #: my-calendar-settings.php:311
1538
+ msgid "Previous events link text"
1539
  msgstr ""
1540
 
1541
+ #: my-calendar-settings.php:311
1542
+ msgid "Previous Events"
1543
  msgstr ""
1544
 
1545
+ #: my-calendar-settings.php:314
1546
+ msgid "Next events link text"
1547
  msgstr ""
1548
 
1549
+ #: my-calendar-settings.php:314
1550
+ msgid "Next Events"
1551
  msgstr ""
1552
 
1553
+ #: my-calendar-settings.php:317
1554
+ msgid "Text when events are open"
1555
  msgstr ""
1556
 
1557
+ #: my-calendar-settings.php:317
1558
+ msgid "Registration is open"
1559
  msgstr ""
1560
 
1561
+ #: my-calendar-settings.php:320
1562
+ msgid "Text when events are closed"
1563
  msgstr ""
1564
 
1565
+ #: my-calendar-settings.php:320
1566
+ msgid "Registration is closed"
1567
  msgstr ""
1568
 
1569
+ #: my-calendar-settings.php:323
1570
+ msgid "Additional caption text"
1571
  msgstr ""
1572
 
1573
+ #: my-calendar-settings.php:323
1574
+ msgid ""
1575
+ "The calendar caption is the text containing the displayed month and year in "
1576
+ "either list or calendar format. This text will be displayed following that "
1577
+ "existing text."
1578
  msgstr ""
1579
 
1580
+ #: my-calendar-settings.php:327
1581
+ msgid "Save Custom Text Settings"
1582
  msgstr ""
1583
 
1584
+ #: my-calendar-settings.php:333
1585
+ msgid "Calendar Output Settings"
1586
  msgstr ""
1587
 
1588
+ #: my-calendar-settings.php:338
1589
+ msgid "Calendar Options: Output"
1590
  msgstr ""
1591
 
1592
+ #: my-calendar-settings.php:340
1593
+ msgid "Event title template"
1594
  msgstr ""
1595
 
1596
+ #: my-calendar-settings.php:342 my-calendar-settings.php:481
1597
+ msgid "Shortcode Help"
1598
  msgstr ""
1599
 
1600
+ #: my-calendar-settings.php:342 my-calendar-settings.php:481
1601
+ msgid "All template shortcodes are available."
1602
  msgstr ""
1603
 
1604
+ #: my-calendar-settings.php:345
1605
+ msgid "Show Heading for Calendar"
1606
  msgstr ""
1607
 
1608
+ #: my-calendar-settings.php:348
1609
+ msgid "In list mode, show how many months of events at a time:"
1610
  msgstr ""
1611
 
1612
+ #: my-calendar-settings.php:351
1613
+ msgid "Date format in list mode"
1614
  msgstr ""
1615
 
1616
+ #: my-calendar-settings.php:352
1617
+ msgid ""
1618
+ "Date format uses the same syntax as the <a href=\"http://php.net/date\">PHP "
1619
+ "<code>date()</code> function</a>. Save options to update sample output."
1620
  msgstr ""
1621
 
1622
+ #: my-calendar-settings.php:355
1623
+ msgid "Do you want to display the author name on events?"
1624
  msgstr ""
1625
 
1626
+ #: my-calendar-settings.php:358
1627
+ msgid "Display a jumpbox for changing month and year quickly?"
1628
  msgstr ""
1629
 
1630
+ #: my-calendar-settings.php:361
1631
+ msgid "Hide category icons in output"
1632
  msgstr ""
1633
 
1634
+ #: my-calendar-settings.php:364
1635
+ msgid ""
1636
+ "Show Link to Google Map (when sufficient address information is available.)"
1637
  msgstr ""
1638
 
1639
+ #: my-calendar-settings.php:367
1640
+ msgid "Show Event Address in Details"
1641
  msgstr ""
1642
 
1643
+ #: my-calendar-settings.php:370
1644
+ msgid "Show short description field on calendar."
1645
  msgstr ""
1646
 
1647
+ #: my-calendar-settings.php:373
1648
+ msgid "Show full description field on calendar."
 
 
1649
  msgstr ""
1650
 
1651
+ #: my-calendar-settings.php:376
1652
  msgid ""
1653
+ "Links associated with events will automatically expire after the event has "
1654
+ "passed."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1655
  msgstr ""
1656
 
1657
+ #: my-calendar-settings.php:379
1658
+ msgid "Show current availability status of events."
 
 
1659
  msgstr ""
1660
 
1661
+ #: my-calendar-settings.php:382
1662
+ msgid "Show link to My Calendar RSS feed."
 
 
 
 
 
 
 
 
1663
  msgstr ""
1664
 
1665
+ #: my-calendar-settings.php:385
1666
+ msgid "Show link to iCal format download."
1667
  msgstr ""
1668
 
1669
+ #: my-calendar-settings.php:388
1670
  msgid ""
1671
+ "If a recurring event is scheduled for a date which doesn't exist (such as "
1672
+ "the 5th Wednesday in February), move it back one week."
 
 
 
 
1673
  msgstr ""
1674
 
1675
+ #: my-calendar-settings.php:389
1676
  msgid ""
1677
+ "If this option is unchecked, recurring events which fall on dates which "
1678
+ "don't exist will simply not be shown on the calendar."
 
 
 
1679
  msgstr ""
1680
 
1681
+ #: my-calendar-settings.php:392
1682
+ msgid ""
1683
+ "If an event coincides with an event in the designated \"Holiday\" category, "
1684
+ "do not show the event."
1685
  msgstr ""
1686
 
1687
+ #: my-calendar-settings.php:395
1688
+ msgid "Holiday Category"
1689
  msgstr ""
1690
 
1691
+ #: my-calendar-settings.php:413
1692
+ msgid "Calendar Options: Style"
1693
  msgstr ""
1694
 
1695
+ #: my-calendar-settings.php:415
1696
+ msgid "Default usage of category colors."
 
 
1697
  msgstr ""
1698
 
1699
+ #: my-calendar-settings.php:416
1700
+ msgid "Apply category colors to event titles as a font color."
1701
  msgstr ""
1702
 
1703
+ #: my-calendar-settings.php:417
1704
+ msgid "Apply category colors to event titles as a background color."
1705
  msgstr ""
1706
 
1707
+ #: my-calendar-settings.php:421
1708
+ msgid "Save Output Settings"
1709
  msgstr ""
1710
 
1711
+ #: my-calendar-settings.php:427
1712
+ msgid "Calendar Input Settings"
 
 
 
1713
  msgstr ""
1714
 
1715
+ #: my-calendar-settings.php:432
1716
+ msgid "Calendar Options: Input"
1717
  msgstr ""
1718
 
1719
+ #: my-calendar-settings.php:437
1720
+ msgid "Show Event Location Dropdown Menu"
1721
  msgstr ""
1722
 
1723
+ #: my-calendar-settings.php:437
1724
+ msgid "Show Event Short Description field"
1725
  msgstr ""
1726
 
1727
+ #: my-calendar-settings.php:437
1728
+ msgid "Show Event Description Field"
1729
  msgstr ""
1730
 
1731
+ #: my-calendar-settings.php:437
1732
+ msgid "Show Event Category field"
1733
  msgstr ""
1734
 
1735
+ #: my-calendar-settings.php:437
1736
+ msgid "Show Event Link field"
1737
  msgstr ""
1738
 
1739
+ #: my-calendar-settings.php:437
1740
+ msgid "Show Event Recurrence Options"
 
 
1741
  msgstr ""
1742
 
1743
+ #: my-calendar-settings.php:437
1744
+ msgid "Show event registration options"
1745
  msgstr ""
1746
 
1747
+ #: my-calendar-settings.php:437
1748
+ msgid "Show event location fields"
1749
  msgstr ""
1750
 
1751
+ #: my-calendar-settings.php:450
1752
+ msgid "Administrators see all input options"
1753
  msgstr ""
1754
 
1755
+ #: my-calendar-settings.php:454
1756
+ msgid "Save Input Settings"
1757
  msgstr ""
1758
 
1759
+ #: my-calendar-settings.php:460
1760
+ msgid "Calendar Email Settings"
1761
  msgstr ""
1762
 
1763
+ #: my-calendar-settings.php:465
1764
+ msgid "Calendar Options: Email Notifications"
1765
  msgstr ""
1766
 
1767
+ #: my-calendar-settings.php:469
1768
+ msgid "Send Email Notifications when new events are scheduled or reserved."
1769
  msgstr ""
1770
 
1771
+ #: my-calendar-settings.php:472
1772
+ msgid "Notification messages are sent to: "
 
 
1773
  msgstr ""
1774
 
1775
+ #: my-calendar-settings.php:476
1776
+ msgid "Email subject"
 
 
1777
  msgstr ""
1778
 
1779
+ #: my-calendar-settings.php:476
1780
+ msgid "New event Added"
 
 
1781
  msgstr ""
1782
 
1783
+ #: my-calendar-settings.php:480
1784
+ msgid "Message Body"
1785
  msgstr ""
1786
 
1787
+ #: my-calendar-settings.php:480
1788
+ msgid "New Event:"
 
 
1789
  msgstr ""
1790
 
1791
+ #: my-calendar-settings.php:485
1792
+ msgid "Save Email Settings"
1793
  msgstr ""
1794
 
1795
+ #: my-calendar-settings.php:491
1796
+ msgid "Calendar User Settings"
1797
  msgstr ""
1798
 
1799
+ #: my-calendar-settings.php:498
1800
+ msgid "My Calendar: User Settings"
 
1801
  msgstr ""
1802
 
1803
+ #: my-calendar-settings.php:501
1804
+ msgid ""
1805
+ "Allow registered users to provide timezone or location presets in their user "
1806
+ "profiles."
1807
  msgstr ""
1808
 
1809
+ #: my-calendar-settings.php:513
1810
+ msgid "Timezone Settings"
1811
  msgstr ""
1812
 
1813
+ #: my-calendar-settings.php:514
1814
+ msgid ""
1815
+ "These settings provide registered users with the ability to select a time "
1816
+ "zone in their user profile. When they view your calendar, the times for "
1817
+ "events will display the time the event happens in their time zone as well as "
1818
+ "the entered value."
1819
  msgstr ""
1820
 
1821
+ #: my-calendar-settings.php:516
1822
+ msgid "Enable Timezone"
1823
  msgstr ""
1824
 
1825
+ #: my-calendar-settings.php:519
1826
+ msgid "Select Timezone Label"
1827
  msgstr ""
1828
 
1829
+ #: my-calendar-settings.php:522
1830
+ msgid "Timezone Options"
1831
  msgstr ""
1832
 
1833
+ #: my-calendar-settings.php:522 my-calendar-settings.php:543
1834
+ msgid "Value, Label; one per line"
1835
  msgstr ""
1836
 
1837
+ #: my-calendar-settings.php:534
1838
+ msgid "Location Settings"
1839
  msgstr ""
1840
 
1841
+ #: my-calendar-settings.php:535
1842
+ msgid ""
1843
+ "These settings provide registered users with the ability to select a "
1844
+ "location in their user profile. When they view your calendar, their initial "
1845
+ "view will be limited to locations which include that location parameter."
1846
  msgstr ""
1847
 
1848
+ #: my-calendar-settings.php:537
1849
+ msgid "Enable Location"
1850
  msgstr ""
1851
 
1852
+ #: my-calendar-settings.php:540
1853
+ msgid "Select Location Label"
1854
  msgstr ""
1855
 
1856
+ #: my-calendar-settings.php:543
1857
+ msgid "Location Options"
1858
  msgstr ""
1859
 
1860
+ #: my-calendar-settings.php:553
1861
+ msgid "Location Type"
1862
+ msgstr ""
1863
+
1864
+ #: my-calendar-settings.php:555
1865
+ msgid "Location Name"
1866
+ msgstr ""
1867
+
1868
+ #: my-calendar-settings.php:567
1869
+ msgid "Save User Settings"
1870
  msgstr ""
1871
 
1872
  #. Plugin URI of the plugin/theme
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: joedolson
3
  Donate link: http://www.joedolson.com/donate.php
4
  Tags: calendar, dates, times, events, scheduling, event manager
5
- Requires at least: 2.7
6
- Tested up to: 3.1-alpha
7
  Stable tag: trunk
8
 
9
  Accessible WordPress event calendar plugin. Show events from multiple calendars on pages, in posts, or in widgets.
@@ -33,13 +33,15 @@ This calendar is a branch from [Kieran O'Shea's Calendar plugin](http://wordpres
33
  Languages available:
34
 
35
  * American English (Default)
36
- * Brazilian Portuguese ([Daniel Prata](daniel@grudaemmim.com.br))
37
  * Spanish ([Esteban Truelsegaard](http://www.netmdp.com))
38
  * Danish ([Jakob Smith](http://www.omkalfatring.dk/))
39
  * German (Roland P)
 
40
  * Dutch (Luud Heck)
41
  * Japanese ([Daisuke Abe](http://www.alter-ego.jp/))
42
  * Italian ([Sabir Musta](http://mustaphasabir.altervista.org))
 
43
 
44
  == Installation ==
45
 
@@ -62,6 +64,44 @@ Languages available:
62
 
63
  == Changelog ==
64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  = 1.6.3 =
66
 
67
  * Updated jQuery to fix conflicts in previous versions and so behaviors would work with AJAX navigation. Not updated by upgrade; use Behaviors reset to apply.
@@ -351,4 +391,4 @@ The widgets both use templates to determine what they'll display. You can edit t
351
 
352
  == Upgrade Notice ==
353
 
354
- Minor bug fixes with recurring events.
2
  Contributors: joedolson
3
  Donate link: http://www.joedolson.com/donate.php
4
  Tags: calendar, dates, times, events, scheduling, event manager
5
+ Requires at least: 2.9.2
6
+ Tested up to: 3.1-RC2
7
  Stable tag: trunk
8
 
9
  Accessible WordPress event calendar plugin. Show events from multiple calendars on pages, in posts, or in widgets.
33
  Languages available:
34
 
35
  * American English (Default)
36
+ * Brazilian Portuguese (Leonardo Kfoury)
37
  * Spanish ([Esteban Truelsegaard](http://www.netmdp.com))
38
  * Danish ([Jakob Smith](http://www.omkalfatring.dk/))
39
  * German (Roland P)
40
+ * Finnish (Ilpo Puhakka)
41
  * Dutch (Luud Heck)
42
  * Japanese ([Daisuke Abe](http://www.alter-ego.jp/))
43
  * Italian ([Sabir Musta](http://mustaphasabir.altervista.org))
44
+ * Czech ([Jan Rybarik](http://janrybarik.cz))
45
 
46
  == Installation ==
47
 
64
 
65
  == Changelog ==
66
 
67
+ = 1.7.2 =
68
+
69
+ * Bug fix: Fixed import from Calendar feature.
70
+ * Bug fixed: Upcoming events widget default text fixed
71
+ * Italian translation updated to 1.7.0
72
+
73
+ = 1.7.1 =
74
+
75
+ * Default setting for custom user location type not set
76
+ * Reset for inherit.css styles missing
77
+ * Widget shortcodes stripped HTML
78
+ * Added a fallback function for exif_imagetype 'cuz some servers don't have it available by default.
79
+ * Nonce missing in database upgrade
80
+ * Ability to edit text for shortcode fallback (No events text) lost.
81
+ * Widget defaults not installed on new installation
82
+ * Mini and List jQuery did not prevent default link action
83
+ * Changed install action to default User settings to off.
84
+
85
+ = 1.7.0 =
86
+
87
+ * Fix in AJAX navigation for IE
88
+ * Fix in JavaScript to re-activate close button
89
+ * Fixed bug with locations list not registering current location type in form mode
90
+ * Fixed bug with upcoming events and today's events output when regions limits were set
91
+ * Fixed bug with upcoming events producing incorrect dates for events recurring on a specific day of the month.
92
+ * Revision of Widgeting setup to offer multi-widget support (will require you to re-setup your widgets)
93
+ * Revision of style editor to use external stylesheets.
94
+ * Revision of style support to add option for custom stylesheets stored outside of plugin directory
95
+ * Added: multiple base stylesheets
96
+ * Added: Event markup in hCal format
97
+ * Added Weekly mode for list and grid view
98
+ * Added RSS and iCal exports for upcoming events (enable and disable in settings)
99
+ * Added option to block display of an event if there is an event that day which is in a designated 'Holiday' category.
100
+ * Added permission setting to allow non-administrators to edit or delete any event.
101
+ * Added Czech translation (to 1.6.3)
102
+ * Updated Italian and Danish translations
103
+ * Security: Implemented nonces
104
+
105
  = 1.6.3 =
106
 
107
  * Updated jQuery to fix conflicts in previous versions and so behaviors would work with AJAX navigation. Not updated by upgrade; use Behaviors reset to apply.
391
 
392
  == Upgrade Notice ==
393
 
394
+ Upgrading to version 1.6.4 will require you to re-configure your upcoming events and today's events widgets.
styles/dark.css ADDED
@@ -0,0 +1,332 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* A theme in dark grays and blacks with light text and dark blue highlighting. */
2
+
3
+ #jd-calendar .event-title {
4
+ color: #fff;
5
+ }
6
+ #jd-calendar,#calendar-list {
7
+ background: #333;
8
+ color: #fff;
9
+ }
10
+ #jd-calendar a {
11
+ color: #9cf;
12
+ text-decoration: none;
13
+ }
14
+ #jd-calendar a:hover {
15
+ text-decoration: underline;
16
+ color: #fff;
17
+ }
18
+ #jd-calendar caption, #jd-calendar .my-calendar-date-switcher,
19
+ #jd-calendar .category-key, #jd-calendar .calendar-event .details,
20
+ #jd-calendar .calendar-events {
21
+ background: #222;
22
+ color: #fff;
23
+ }
24
+
25
+ #jd-calendar .category-key .no-icon {
26
+ border: 1px solid #bbb;
27
+ }
28
+
29
+ #jd-calendar caption, #jd-calendar .my-calendar-date-switcher, #jd-calendar .my-calendar-nav li a:hover, #jd-calendar .category-key {
30
+ border: 1px solid #222;
31
+ }
32
+ #jd-calendar .list-event .details, #jd-calendar td {
33
+ border:1px solid #222;
34
+ }
35
+ #jd-calendar .calendar-event .details, #jd-calendar .calendar-events {
36
+ background: #444;
37
+ border: 1px solid #222;
38
+ color:#fff;
39
+ }
40
+
41
+ #jd-calendar .my-calendar-nav li a, #jd-calendar .calendar-event .details, #jd-calendar .calendar-events {
42
+ border:1px solid #444;
43
+ }
44
+
45
+ #jd-calendar .list-event .details, #jd-calendar .day-without-date {
46
+ background:#252525;
47
+ color: #eee;
48
+ }
49
+
50
+ #jd-calendar #calendar-list .odd {
51
+ background:#353535;
52
+ }
53
+
54
+ #jd-calendar .odd .list-event .details {
55
+ background:#151515;
56
+ border:1px solid #353535;
57
+ }
58
+
59
+ #jd-calendar .current-day {
60
+ background:#224;
61
+ }
62
+ #jd-calendar .current-day .mc-date {
63
+ color: #fff;
64
+ background: #111;
65
+ }
66
+ #jd-calendar .weekend {
67
+ background:#555!important;
68
+ color: #fff!important;
69
+ }
70
+ #jd-calendar .mc-date {
71
+ background:#080808;
72
+ color: #fff;
73
+ }
74
+ #jd-calendar .my-calendar-nav li a {
75
+ color: #aaf;
76
+ background:#000;
77
+
78
+ }
79
+ #jd-calendar .my-calendar-nav li a:hover {
80
+ color:#fff;
81
+ border: 1px solid #aaf;
82
+ }
83
+ #upcoming-events .past-event {
84
+ color: #aaa;
85
+ }
86
+ #upcoming-events .today {
87
+ color: #eee;
88
+ }
89
+ #upcoming-events .future-event {
90
+ color: #bbb;
91
+ }
92
+
93
+ #jd-calendar caption, #jd-calendar .my-calendar-date-switcher {
94
+ margin: 2px 0;
95
+ font-weight:700;
96
+ padding:2px 0;
97
+ }
98
+
99
+ #jd-calendar table {
100
+ width:100%;
101
+ line-height:1.2;
102
+ border-collapse:collapse;
103
+ }
104
+
105
+ #jd-calendar td {
106
+ vertical-align:top;
107
+ text-align:left;
108
+ width:13%;
109
+ height:70px;
110
+ padding:2px!important;
111
+ }
112
+ .mini td {
113
+ height: auto!important;
114
+ }
115
+ #jd-calendar th {
116
+ text-align: center;
117
+ padding: 5px 0!important;
118
+ letter-spacing: 1px;
119
+ }
120
+ #jd-calendar th abbr {
121
+ border-bottom: none;
122
+ }
123
+ #jd-calendar h3 {
124
+ font: 700 .8em Arial, Verdana, sans-serif;
125
+ margin:3px 0;
126
+ padding:0;
127
+ width: 100%;
128
+ color: #fff;
129
+ }
130
+ #jd-calendar h2 {
131
+ color: #fff;
132
+ }
133
+ #jd-calendar h3 img {
134
+ vertical-align: middle;
135
+ margin: 0 3px 0 0!important;
136
+ }
137
+ #jd-calendar #calendar-list h3 img {
138
+ vertical-align: middle;
139
+ }
140
+
141
+ #jd-calendar .list-event h3 {
142
+ font-size:1.2em;
143
+ margin:0;
144
+ }
145
+ #jd-calendar .calendar-event .details, #jd-calendar .calendar-events {
146
+ position:absolute;
147
+ left: 15%;
148
+ width:70%;
149
+ padding:5px;
150
+ z-index: 3;
151
+ border: 1px solid #222;
152
+ -moz-box-shadow: 3px 3px 10px #000;
153
+ -webkit-box-shadow: 3px 3px 10px #000;
154
+ box-shadow: 3px 3px 10px #000;
155
+ }
156
+
157
+ #jd-calendar .details .close a img {
158
+ float: right;
159
+ background: #aaa;
160
+ text-align: center;
161
+ padding: 2px;
162
+ -moz-border-radius: 3px;
163
+ -webkit-border-radius: 3px;
164
+ border-radius: 3px;
165
+ }
166
+ #jd-calendar .calendar-events {
167
+ width: 200px!important;
168
+ left: 0px;
169
+ }
170
+ #jd-calendar .list-event .details {
171
+ margin:5px 0;
172
+ padding:5px 5px 0;
173
+ }
174
+ #jd-calendar #calendar-list {
175
+ margin: 0;
176
+ padding: 0;
177
+ }
178
+ #jd-calendar #calendar-list li {
179
+ padding:5px;
180
+ list-style-type: none;
181
+ margin: 0;
182
+ }
183
+
184
+ #jd-calendar .mc-date {
185
+ display:block;
186
+ margin:-2px -2px 2px;
187
+ padding:2px 4px;
188
+ }
189
+ #jd-calendar th {
190
+ font-size:.8em;
191
+ text-transform:uppercase;
192
+ padding:2px 4px 2px 0;
193
+ }
194
+ #jd-calendar .category-key {
195
+ padding: 5px;
196
+ margin: 5px 0;
197
+ }
198
+ #jd-calendar .category-key ul {
199
+ list-style-type: none;
200
+ margin: 0;
201
+ padding: 0;
202
+ }
203
+ #jd-calendar .category-key li {
204
+ margin: 2px 10px;
205
+ }
206
+ #jd-calendar .category-key span {
207
+ margin-right:5px;
208
+ vertical-align:middle;
209
+ }
210
+ #jd-calendar .category-key .no-icon {
211
+ width: 10px;
212
+ height: 10px;
213
+ display: inline-block;
214
+ }
215
+
216
+ #calendar-list li {
217
+ text-indent:0;
218
+ margin:0;
219
+ padding:0;
220
+ }
221
+
222
+ #jd-calendar .calendar-event .event-time, #jd-calendar .list-event .event-time {
223
+ display:block;
224
+ height:100%;
225
+ margin-right:10px;
226
+ margin-bottom:10px;
227
+ font-weight:700;
228
+ font-size:.9em;
229
+ }
230
+
231
+ #jd-calendar p {
232
+ line-height:1.5;
233
+ margin:0 0 1em;
234
+ padding:0;
235
+ }
236
+
237
+ #jd-calendar .vcard {
238
+ font-size:.9em;
239
+ margin:10px 0;
240
+ }
241
+
242
+ #jd-calendar .calendar-event .vcard {
243
+ margin:0 0 10px;
244
+ }
245
+ #jd-calendar {
246
+ position: relative;
247
+ }
248
+ #jd-calendar img {
249
+ border: none;
250
+ }
251
+ .category-color-sample img {
252
+ margin-right: 5px;
253
+ vertical-align: top;
254
+ }
255
+
256
+ #jd-calendar .my-calendar-nav ul {
257
+ height: 2em;
258
+ list-style-type:none;
259
+ margin:0 5px;
260
+ padding:0;
261
+ }
262
+
263
+ .mini .my-calendar-nav ul {
264
+ height: 2em!important;
265
+ }
266
+
267
+ #jd-calendar .my-calendar-nav li {
268
+ float:left;
269
+ list-style-type: none;
270
+ }
271
+
272
+ #jd-calendar .my-calendar-nav li:before {
273
+ content:'';
274
+ }
275
+ #jd-calendar .my-calendar-nav li a {
276
+ display:block;
277
+ text-align:center;
278
+ padding:1px 20px;
279
+ }
280
+ .mini .my-calendar-nav li a {
281
+ padding: 1px 3px!important;
282
+ font-size: .7em;
283
+ }
284
+ #jd-calendar .my-calendar-next {
285
+ margin-left: 4px;
286
+ text-align:right;
287
+ }
288
+
289
+ #jd-calendar.mini .my-calendar-date-switcher label {
290
+ display: block;
291
+ float: left;
292
+ width: 6em;
293
+ }
294
+ #jd-calendar.mini .my-calendar-date-switcher {
295
+ padding: 4px;
296
+ }
297
+ #jd-calendar.mini td .category-icon {
298
+ display: none;
299
+ }
300
+ #jd-calendar.mini h3 {
301
+ font-size: 1.1em;
302
+ }
303
+
304
+ #jd-calendar.mini .day-with-date span, #jd-calendar.mini .day-with-date a {
305
+ font: .9em Arial, Verdana, sans-serif;
306
+ padding:1px;
307
+ color: #fff;
308
+ }
309
+ #jd-calendar .mini-event .sub-details {
310
+ margin: 0;
311
+ border-bottom: 1px solid #ccc;
312
+ padding: 2px 0 0;
313
+ margin-bottom: 5px;
314
+ }
315
+ #jd-calendar.mini .day-with-date a {
316
+ display: block;
317
+ margin: -2px;
318
+ font-weight: 700;
319
+ text-decoration: underline;
320
+ }
321
+
322
+ .mini td {
323
+ height: auto!important;
324
+ }
325
+
326
+ .mini .my-calendar-nav ul {
327
+ height: 2em!important;
328
+ }
329
+ .mini .my-calendar-nav li a {
330
+ padding: 1px 3px!important;
331
+ font-size: .7em;
332
+ }
styles/inherit.css ADDED
@@ -0,0 +1,218 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* These styles provide a minimal degree of styling, allowing most theme defaults to be dominant. */
2
+ #jd-calendar .details {
3
+ background: #fff;
4
+ border: 1px solid #000;
5
+ }
6
+ #jd-calendar.mini .mini-event {
7
+ background: #fff;
8
+ border: 1px solid #000;
9
+ padding: 5px;
10
+ }
11
+ #jd-calendar.mini .mini-event .details {
12
+ background: none;
13
+ border: none;
14
+ }
15
+ /* That's the end of all colors set (or set and removed) in this style sheet. */
16
+ #jd-calendar caption, #jd-calendar .my-calendar-date-switcher {
17
+ margin: 2px 0;
18
+ font-weight:700;
19
+ padding:2px 0;
20
+ }
21
+ #jd-calendar table {
22
+ width:100%;
23
+ line-height:1.2;
24
+ border-collapse:collapse;
25
+ }
26
+
27
+ #jd-calendar td {
28
+ vertical-align:top;
29
+ text-align:left;
30
+ width:13%;
31
+ height:70px;
32
+ padding:2px!important;
33
+ }
34
+ .mini td {
35
+ height: auto!important;
36
+ }
37
+ #jd-calendar th {
38
+ text-align: center;
39
+ padding: 5px 0!important;
40
+ letter-spacing: 1px;
41
+ }
42
+ #jd-calendar th abbr {
43
+ border-bottom: none;
44
+ }
45
+ #jd-calendar h3 {
46
+ font: 700 .8em Arial, Verdana, sans-serif;
47
+ margin:3px 0;
48
+ padding:0;
49
+ width: 100%;
50
+ }
51
+ #jd-calendar h3 img {
52
+ vertical-align: middle;
53
+ margin: 0 3px 0 0!important;
54
+ }
55
+ #jd-calendar #calendar-list h3 img {
56
+ vertical-align: middle;
57
+ }
58
+
59
+ #jd-calendar .list-event h3 {
60
+ font-size:1.2em;
61
+ margin:0;
62
+ }
63
+ #jd-calendar .calendar-event .details, #jd-calendar .calendar-events {
64
+ position:absolute;
65
+ left: 15%;
66
+ width:70%;
67
+ padding:5px;
68
+ z-index: 3;
69
+ }
70
+ #jd-calendar .details .close {
71
+ float: right;
72
+ width: 12px!important;
73
+ margin-top: -2px!important;
74
+ }
75
+ #jd-calendar .calendar-events {
76
+ width: 200px!important;
77
+ left: 0px;
78
+ }
79
+ #jd-calendar .list-event .details {
80
+ margin:5px 0;
81
+ padding:5px 5px 0;
82
+ }
83
+ #jd-calendar #calendar-list {
84
+ margin: 0;
85
+ padding: 0;
86
+ }
87
+ #jd-calendar #calendar-list li {
88
+ padding:5px;
89
+ list-style-type: none;
90
+ margin: 0;
91
+ }
92
+
93
+ #jd-calendar .mc-date {
94
+ display:block;
95
+ margin:-2px -2px 2px;
96
+ padding:2px 4px;
97
+ }
98
+ #jd-calendar th {
99
+ font-size:.8em;
100
+ text-transform:uppercase;
101
+ padding:2px 4px 2px 0;
102
+ }
103
+ #jd-calendar .category-key {
104
+ padding: 5px;
105
+ margin: 5px 0;
106
+ }
107
+ #jd-calendar .category-key ul {
108
+ list-style-type: none;
109
+ margin: 0;
110
+ padding: 0;
111
+ }
112
+ #jd-calendar .category-key li {
113
+ margin: 2px 10px;
114
+ }
115
+ #jd-calendar .category-key span {
116
+ margin-right:5px;
117
+ vertical-align:middle;
118
+ }
119
+ #jd-calendar .category-key .no-icon {
120
+ width: 10px;
121
+ height: 10px;
122
+ display: inline-block;
123
+ }
124
+
125
+ #calendar-list li {
126
+ text-indent:0;
127
+ margin:0;
128
+ padding:0;
129
+ }
130
+
131
+ #jd-calendar .calendar-event .event-time, #jd-calendar .list-event .event-time {
132
+ display:block;
133
+ height:100%;
134
+ margin-right:10px;
135
+ margin-bottom:10px;
136
+ font-weight:700;
137
+ font-size:.9em;
138
+ }
139
+
140
+ #jd-calendar p {
141
+ line-height:1.5;
142
+ margin:0 0 1em;
143
+ padding:0;
144
+ }
145
+
146
+ #jd-calendar .vcard {
147
+ font-size:.9em;
148
+ margin:10px 0;
149
+ }
150
+
151
+ #jd-calendar .calendar-event .vcard {
152
+ margin:0 0 10px;
153
+ }
154
+ #jd-calendar { position: relative; }
155
+ #jd-calendar img { border: none; }
156
+ .category-color-sample img {
157
+ margin-right: 5px;
158
+ vertical-align: top;
159
+ }
160
+
161
+ #jd-calendar .my-calendar-nav ul {
162
+ height: 2.95em;
163
+ list-style-type:none;
164
+ margin:0;
165
+ padding:0;
166
+ }
167
+
168
+ .mini .my-calendar-nav ul { height: 2em!important; }
169
+
170
+ #jd-calendar .my-calendar-nav li {
171
+ float:left;
172
+ list-style-type: none;
173
+ }
174
+ #jd-calendar .my-calendar-nav li:before { content:''; }
175
+ #jd-calendar .my-calendar-nav li a {
176
+ display:block;
177
+ text-align:center;
178
+ padding:1px 20px;
179
+ }
180
+ .mini .my-calendar-nav li a {
181
+ padding: 1px 3px!important;
182
+ font-size: .7em;
183
+ }
184
+ #jd-calendar .my-calendar-next {
185
+ margin-left: 4px;
186
+ text-align:right;
187
+ }
188
+
189
+ #jd-calendar.mini .my-calendar-date-switcher label {
190
+ display: block;
191
+ float: left;
192
+ width: 6em;
193
+ }
194
+ #jd-calendar.mini .my-calendar-date-switcher { padding: 4px; }
195
+ #jd-calendar.mini td .category-icon { display: none; }
196
+ #jd-calendar.mini h3 { font-size: 1.1em; }
197
+ #jd-calendar.mini .day-with-date span, #jd-calendar.mini .day-with-date a {
198
+ font: .9em Arial, Verdana, sans-serif;
199
+ padding:1px;
200
+ }
201
+ #jd-calendar .mini-event .sub-details {
202
+ margin: 0;
203
+ border-bottom: 1px solid #ccc;
204
+ padding: 2px 0 0;
205
+ margin-bottom: 5px;
206
+ }
207
+ #jd-calendar.mini .day-with-date a {
208
+ display: block;
209
+ margin: -2px;
210
+ font-weight: 700;
211
+ text-decoration: underline;
212
+ }
213
+ .mini td { height: auto!important; }
214
+ .mini .my-calendar-nav ul { height: 2em!important; }
215
+ .mini .my-calendar-nav li a {
216
+ padding: 1px 3px!important;
217
+ font-size: .7em;
218
+ }
styles/light.css ADDED
@@ -0,0 +1,300 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* A light-colored theme almost entirely in whites and light grays with black text. */
2
+ #jd-calendar,#calendar-list {
3
+ background: #fff;
4
+ }
5
+
6
+ #jd-calendar caption, #jd-calendar .my-calendar-date-switcher,
7
+ #jd-calendar .category-key, #jd-calendar .calendar-event .details,
8
+ #jd-calendar .calendar-events {
9
+ background: #fff;
10
+ }
11
+
12
+ #jd-calendar .category-key .no-icon {
13
+ border: 1px solid #555;
14
+ }
15
+
16
+ #jd-calendar caption, #jd-calendar .my-calendar-date-switcher, #jd-calendar .my-calendar-nav li a:hover, #jd-calendar .category-key {
17
+ border: 1px solid #ddd;
18
+ }
19
+ #jd-calendar .list-event .details, #jd-calendar td {
20
+ border:1px solid #eee;
21
+ }
22
+ #jd-calendar .calendar-event .details, #jd-calendar .calendar-events {
23
+ color:#000;
24
+ }
25
+
26
+ #jd-calendar .my-calendar-nav li a, #jd-calendar .calendar-event .details, #jd-calendar .calendar-events {
27
+ border:1px solid #bbb;
28
+ }
29
+
30
+ #jd-calendar .list-event .details, #jd-calendar .day-without-date {
31
+ background:#fafafa;
32
+ }
33
+
34
+ #jd-calendar #calendar-list .odd {
35
+ background:#e3e3e3;
36
+ }
37
+
38
+ #jd-calendar .odd .list-event .details {
39
+ background:#f3f3f3;
40
+ border:1px solid #d3d3d3;
41
+ }
42
+
43
+ #jd-calendar .current-day {
44
+ background:#ffd;
45
+ }
46
+ #jd-calendar .current-day .mc-date {
47
+ color: #000;
48
+ background: #eee;
49
+ }
50
+ #jd-calendar .weekend {
51
+ background:#bbb;
52
+ color: #000;
53
+ }
54
+ #jd-calendar .mc-date {
55
+ background:#f6f6f6;
56
+ }
57
+ #jd-calendar .my-calendar-nav li a {
58
+ color: #00a;
59
+ background:#fff;
60
+
61
+ }
62
+ #jd-calendar .my-calendar-nav li a:hover {
63
+ color:#000;
64
+ border: 1px solid #00a;
65
+ }
66
+ #upcoming-events .past-event {
67
+ color: #777;
68
+ }
69
+ #upcoming-events .today {
70
+ color: #111;
71
+ }
72
+ #upcoming-events .future-event {
73
+ color: #555;
74
+ }
75
+
76
+ #jd-calendar caption, #jd-calendar .my-calendar-date-switcher {
77
+ margin: 2px 0;
78
+ font-weight:700;
79
+ padding:2px 0;
80
+ }
81
+
82
+ #jd-calendar table {
83
+ width:100%;
84
+ line-height:1.2;
85
+ border-collapse:collapse;
86
+ }
87
+
88
+ #jd-calendar td {
89
+ vertical-align:top;
90
+ text-align:left;
91
+ width:13%;
92
+ height:70px;
93
+ padding:2px!important;
94
+ }
95
+ .mini td {
96
+ height: auto!important;
97
+ }
98
+ #jd-calendar th {
99
+ text-align: center;
100
+ padding: 5px 0!important;
101
+ letter-spacing: 1px;
102
+ }
103
+ #jd-calendar th abbr {
104
+ border-bottom: none;
105
+ }
106
+ #jd-calendar h3 {
107
+ font: 700 .8em Arial, Verdana, sans-serif;
108
+ margin:3px 0;
109
+ padding:0;
110
+ width: 100%;
111
+ }
112
+ #jd-calendar h3 img {
113
+ vertical-align: middle;
114
+ margin: 0 3px 0 0!important;
115
+ }
116
+ #jd-calendar #calendar-list h3 img {
117
+ vertical-align: middle;
118
+ }
119
+
120
+ #jd-calendar .list-event h3 {
121
+ font-size:1.2em;
122
+ margin:0;
123
+ }
124
+ #jd-calendar .calendar-event .details, #jd-calendar .calendar-events {
125
+ position:absolute;
126
+ left: 15%;
127
+ width:70%;
128
+ padding:5px;
129
+ z-index: 3;
130
+ }
131
+ #jd-calendar .details .close {
132
+ float: right;
133
+ width: 12px!important;
134
+ margin-top: -2px!important;
135
+ }
136
+ #jd-calendar .calendar-events {
137
+ width: 200px!important;
138
+ left: 0px;
139
+ }
140
+ #jd-calendar .list-event .details {
141
+ margin:5px 0;
142
+ padding:5px 5px 0;
143
+ }
144
+ #jd-calendar #calendar-list {
145
+ margin: 0;
146
+ padding: 0;
147
+ }
148
+ #jd-calendar #calendar-list li {
149
+ padding:5px;
150
+ list-style-type: none;
151
+ margin: 0;
152
+ }
153
+
154
+ #jd-calendar .mc-date {
155
+ display:block;
156
+ margin:-2px -2px 2px;
157
+ padding:2px 4px;
158
+ }
159
+ #jd-calendar th {
160
+ font-size:.8em;
161
+ text-transform:uppercase;
162
+ padding:2px 4px 2px 0;
163
+ }
164
+ #jd-calendar .category-key {
165
+ padding: 5px;
166
+ margin: 5px 0;
167
+ }
168
+ #jd-calendar .category-key ul {
169
+ list-style-type: none;
170
+ margin: 0;
171
+ padding: 0;
172
+ }
173
+ #jd-calendar .category-key li {
174
+ margin: 2px 10px;
175
+ }
176
+ #jd-calendar .category-key span {
177
+ margin-right:5px;
178
+ vertical-align:middle;
179
+ }
180
+ #jd-calendar .category-key .no-icon {
181
+ width: 10px;
182
+ height: 10px;
183
+ display: inline-block;
184
+ }
185
+
186
+ #calendar-list li {
187
+ text-indent:0;
188
+ margin:0;
189
+ padding:0;
190
+ }
191
+
192
+ #jd-calendar .calendar-event .event-time, #jd-calendar .list-event .event-time {
193
+ display:block;
194
+ height:100%;
195
+ margin-right:10px;
196
+ margin-bottom:10px;
197
+ font-weight:700;
198
+ font-size:.9em;
199
+ }
200
+
201
+ #jd-calendar p {
202
+ line-height:1.5;
203
+ margin:0 0 1em;
204
+ padding:0;
205
+ }
206
+
207
+ #jd-calendar .vcard {
208
+ font-size:.9em;
209
+ margin:10px 0;
210
+ }
211
+
212
+ #jd-calendar .calendar-event .vcard {
213
+ margin:0 0 10px;
214
+ }
215
+ #jd-calendar {
216
+ position: relative;
217
+ }
218
+ #jd-calendar img {
219
+ border: none;
220
+ }
221
+ .category-color-sample img {
222
+ margin-right: 5px;
223
+ vertical-align: top;
224
+ }
225
+
226
+ #jd-calendar .my-calendar-nav ul {
227
+ height: 2.95em;
228
+ list-style-type:none;
229
+ margin:0;
230
+ padding:0;
231
+ }
232
+
233
+ .mini .my-calendar-nav ul {
234
+ height: 2em!important;
235
+ }
236
+
237
+ #jd-calendar .my-calendar-nav li {
238
+ float:left;
239
+ list-style-type: none;
240
+ }
241
+
242
+ #jd-calendar .my-calendar-nav li:before {
243
+ content:'';
244
+ }
245
+ #jd-calendar .my-calendar-nav li a {
246
+ display:block;
247
+ text-align:center;
248
+ padding:1px 20px;
249
+ }
250
+ .mini .my-calendar-nav li a {
251
+ padding: 1px 3px!important;
252
+ font-size: .7em;
253
+ }
254
+ #jd-calendar .my-calendar-next {
255
+ margin-left: 4px;
256
+ text-align:right;
257
+ }
258
+
259
+ #jd-calendar.mini .my-calendar-date-switcher label {
260
+ display: block;
261
+ float: left;
262
+ width: 6em;
263
+ }
264
+ #jd-calendar.mini .my-calendar-date-switcher {
265
+ padding: 4px;
266
+ }
267
+ #jd-calendar.mini td .category-icon {
268
+ display: none;
269
+ }
270
+ #jd-calendar.mini h3 {
271
+ font-size: 1.1em;
272
+ }
273
+
274
+ #jd-calendar.mini .day-with-date span, #jd-calendar.mini .day-with-date a {
275
+ font: .9em Arial, Verdana, sans-serif;
276
+ padding:1px;
277
+ }
278
+ #jd-calendar .mini-event .sub-details {
279
+ margin: 0;
280
+ border-bottom: 1px solid #ccc;
281
+ padding: 2px 0 0;
282
+ margin-bottom: 5px;
283
+ }
284
+ #jd-calendar.mini .day-with-date a {
285
+ display: block;
286
+ margin: -2px;
287
+ font-weight: 700;
288
+ text-decoration: underline;
289
+ }
290
+ .mini td {
291
+ height: auto!important;
292
+ }
293
+
294
+ .mini .my-calendar-nav ul {
295
+ height: 2em!important;
296
+ }
297
+ .mini .my-calendar-nav li a {
298
+ padding: 1px 3px!important;
299
+ font-size: .7em;
300
+ }
styles/my-calendar.css ADDED
@@ -0,0 +1,369 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #jd-calendar,#calendar-list {
2
+ background: #fff;
3
+ }
4
+
5
+ #jd-calendar caption, #jd-calendar .my-calendar-date-switcher,
6
+ #jd-calendar .category-key, #jd-calendar .calendar-event .details,
7
+ #jd-calendar .calendar-events {
8
+ background: #edf7ff;
9
+ }
10
+
11
+ #jd-calendar .category-key .no-icon {
12
+ border: 1px solid #555;
13
+ }
14
+
15
+ #jd-calendar caption, #jd-calendar .my-calendar-date-switcher, #jd-calendar .my-calendar-nav li a:hover, #jd-calendar .category-key {
16
+ border: 1px solid #a9e3ff;
17
+ }
18
+ #jd-calendar .list-event .details, #jd-calendar td {
19
+ border:1px solid #eee;
20
+ }
21
+ #jd-calendar .calendar-event .details, #jd-calendar .calendar-events {
22
+ color:#000;
23
+ }
24
+
25
+ #jd-calendar .my-calendar-nav li a, #jd-calendar .calendar-event .details, #jd-calendar .calendar-events {
26
+ border:1px solid #9b5;
27
+ }
28
+
29
+ #jd-calendar .list-event .details, #jd-calendar .day-without-date {
30
+ background:#fafafa;
31
+ }
32
+
33
+ #jd-calendar #calendar-list .odd {
34
+ background:#d3e3e3;
35
+ }
36
+
37
+ #jd-calendar .odd .list-event .details {
38
+ background:#e3f3f3;
39
+ border:1px solid #c3d3d3;
40
+ }
41
+
42
+ #jd-calendar .current-day {
43
+ background:#ffb;
44
+ }
45
+ #jd-calendar .current-day .mc-date {
46
+ color: #000;
47
+ background: #eee;
48
+ }
49
+ #jd-calendar .weekend {
50
+ background:#bd7;
51
+ color: #000;
52
+ }
53
+ #jd-calendar .mc-date {
54
+ background:#f6f6f6;
55
+ }
56
+ #jd-calendar .my-calendar-nav li a {
57
+ color: #243f82;
58
+ background:#fff;
59
+
60
+ }
61
+ #jd-calendar .my-calendar-nav li a:hover {
62
+ color:#000;
63
+ border: 1px solid #243f82;
64
+ }
65
+ #upcoming-events .past-event {
66
+ color: #777;
67
+ }
68
+ #upcoming-events .today {
69
+ color: #111;
70
+ }
71
+ #upcoming-events .future-event {
72
+ color: #555;
73
+ }
74
+
75
+ #jd-calendar caption, #jd-calendar .my-calendar-date-switcher {
76
+ margin: 2px 0;
77
+ font-weight:700;
78
+ padding:2px 0;
79
+ }
80
+
81
+ #jd-calendar table {
82
+ width:100%;
83
+ line-height:1.2;
84
+ border-collapse:collapse;
85
+ }
86
+
87
+ #jd-calendar td {
88
+ vertical-align:top;
89
+ text-align:left;
90
+ width:13%;
91
+ height:70px;
92
+ padding:2px!important;
93
+ }
94
+ .mini td {
95
+ height: auto!important;
96
+ }
97
+ #jd-calendar th {
98
+ text-align: center;
99
+ padding: 5px 0!important;
100
+ letter-spacing: 1px;
101
+ }
102
+ #jd-calendar th abbr {
103
+ border-bottom: none;
104
+ }
105
+ #jd-calendar h3 {
106
+ font-size:.8em;
107
+ font-family: Arial, Verdana, sans-serif;
108
+ font-weight:700;
109
+ margin:3px 0;
110
+ padding:0;
111
+ width: 100%;
112
+ -moz-border-radius: 3px;
113
+ -webkit-border-radius: 3px;
114
+ border-radius: 3px;
115
+ }
116
+ #jd-calendar h3 img {
117
+ vertical-align: middle;
118
+ margin: 0 3px 0 0!important;
119
+ }
120
+ #jd-calendar #calendar-list h3 img {
121
+ vertical-align: middle;
122
+ }
123
+
124
+ #jd-calendar .list-event h3 {
125
+ font-size:1.2em;
126
+ margin:0;
127
+ }
128
+ #jd-calendar .calendar-event .details, #jd-calendar .calendar-events {
129
+ position:absolute;
130
+ width:50%;
131
+ -moz-border-radius:10px;
132
+ -moz-box-shadow:3px 3px 6px #777;
133
+ -webkit-box-shadow:3px 3px 6px #777;
134
+ box-shadow:3px 3px 6px #777;
135
+ padding:5px;
136
+ z-index: 3;
137
+ }
138
+ #jd-calendar .details .close {
139
+ float: right;
140
+ width: 12px!important;
141
+ margin-top: -2px!important;
142
+ }
143
+ #jd-calendar .calendar-events {
144
+ width: 200px!important;
145
+ left: 0px;
146
+ }
147
+ #jd-calendar .list-event .details {
148
+ -moz-border-radius:5px;
149
+ -webkit-border-radius:5px;
150
+ border-radius:5px;
151
+ margin:5px 0;
152
+ padding:5px 5px 0;
153
+ }
154
+ #jd-calendar #calendar-list {
155
+ margin: 0;
156
+ padding: 0;
157
+ }
158
+ #jd-calendar #calendar-list li {
159
+ padding:5px;
160
+ list-style-type: none;
161
+ margin: 0;
162
+ }
163
+
164
+ #jd-calendar .mc-date {
165
+ display:block;
166
+ margin:-2px -2px 2px;
167
+ padding:2px 4px;
168
+ }
169
+ #jd-calendar th {
170
+ font-size:.8em;
171
+ text-transform:uppercase;
172
+ padding:2px 4px 2px 0;
173
+ }
174
+ #jd-calendar .category-key {
175
+ padding: 5px;
176
+ margin: 5px 0;
177
+ }
178
+ #jd-calendar .category-key ul {
179
+ list-style-type: none;
180
+ margin: 0;
181
+ padding: 0;
182
+ }
183
+ #jd-calendar .category-key li {
184
+ margin: 2px 10px;
185
+ }
186
+ #jd-calendar .category-key span {
187
+ margin-right:5px;
188
+ vertical-align:middle;
189
+ }
190
+ #jd-calendar .category-key .no-icon {
191
+ width: 10px;
192
+ height: 10px;
193
+ display: inline-block;
194
+ -moz-border-radius: 2px;
195
+ -webkit-border-radius: 2px;
196
+ border-radius: 2px;
197
+ }
198
+
199
+ #calendar-list li {
200
+ text-indent:0;
201
+ margin:0;
202
+ padding:0;
203
+ }
204
+
205
+ #jd-calendar .calendar-event .event-time, #jd-calendar .list-event .event-time {
206
+ display:block;
207
+ float:left;
208
+ height:100%;
209
+ margin-right:10px;
210
+ margin-bottom:10px;
211
+ font-weight:700;
212
+ font-size:.9em;
213
+ width: 6em;
214
+ }
215
+
216
+ #jd-calendar p {
217
+ line-height:1.5;
218
+ margin:0 0 1em;
219
+ padding:0;
220
+ }
221
+
222
+ #jd-calendar .sub-details {
223
+ margin-left:6em;
224
+ }
225
+
226
+ #jd-calendar .vcard {
227
+ font-size:.9em;
228
+ margin:10px 0;
229
+ }
230
+
231
+ #jd-calendar .calendar-event .vcard {
232
+ margin:0 0 10px;
233
+ }
234
+ #jd-calendar {
235
+ position: relative;
236
+ }
237
+ #jd-calendar img {
238
+ border: none;
239
+ }
240
+ .category-color-sample img {
241
+ margin-right: 5px;
242
+ vertical-align: top;
243
+ }
244
+
245
+ #jd-calendar .my-calendar-nav ul {
246
+ height: 2.95em;
247
+ list-style-type:none;
248
+ margin:0;
249
+ padding:0;
250
+ }
251
+
252
+ .mini .my-calendar-nav ul {
253
+ height: 2em!important;
254
+ }
255
+
256
+ #jd-calendar .my-calendar-nav li {
257
+ float:left;
258
+ list-style-type: none;
259
+ }
260
+
261
+ #jd-calendar .my-calendar-nav li:before {
262
+ content:'';
263
+ }
264
+ #jd-calendar .my-calendar-nav li a {
265
+ display:block;
266
+ text-align:center;
267
+ padding:1px 20px;
268
+ }
269
+ .mini .my-calendar-nav li a {
270
+ padding: 1px 3px!important;
271
+ font-size: .7em;
272
+ }
273
+ #jd-calendar .my-calendar-next {
274
+ margin-left: 4px;
275
+ text-align:right;
276
+ }
277
+ #jd-calendar .my-calendar-next a {
278
+ -webkit-border-top-right-radius: 8px;
279
+ -webkit-border-bottom-right-radius: 8px;
280
+ -moz-border-radius-topright: 8px;
281
+ -moz-border-radius-bottomright: 8px;
282
+ border-top-right-radius: 8px;
283
+ border-bottom-right-radius: 8px;
284
+ }
285
+ #jd-calendar .my-calendar-prev a {
286
+ -webkit-border-top-left-radius: 8px;
287
+ -webkit-border-bottom-left-radius: 8px;
288
+ -moz-border-radius-topleft: 8px;
289
+ -moz-border-radius-bottomleft: 8px;
290
+ border-top-left-radius: 8px;
291
+ border-bottom-left-radius: 8px;
292
+ }
293
+
294
+ #jd-calendar.mini .my-calendar-date-switcher label {
295
+ display: block;
296
+ float: left;
297
+ width: 6em;
298
+ }
299
+ #jd-calendar.mini .my-calendar-date-switcher {
300
+ padding: 4px;
301
+ }
302
+ #jd-calendar.mini td .category-icon {
303
+ display: none;
304
+ }
305
+ #jd-calendar.mini h3 {
306
+ font-size: 1.1em;
307
+ }
308
+
309
+ #jd-calendar.mini .day-with-date span, #jd-calendar.mini .day-with-date a {
310
+ font-family: Arial, Verdana, sans-serif;
311
+ font-size: .9em;
312
+ padding:1px;
313
+ }
314
+ #jd-calendar .mini-event .sub-details {
315
+ margin: 0;
316
+ border-bottom: 1px solid #ccc;
317
+ padding: 2px 0 0;
318
+ margin-bottom: 5px;
319
+ }
320
+ #jd-calendar.mini .day-with-date a {
321
+ display: block;
322
+ margin: -2px;
323
+ font-weight: 700;
324
+ text-decoration: underline;
325
+ }";
326
+
327
+ $mini_styles = ".mini td {
328
+ height: auto!important;
329
+ }
330
+
331
+ .mini .my-calendar-nav ul {
332
+ height: 2em!important;
333
+ }
334
+ .mini .my-calendar-nav li a {
335
+ padding: 1px 3px!important;
336
+ font-size: .7em;
337
+ }
338
+ #jd-calendar.mini .my-calendar-date-switcher label {
339
+ display: block;
340
+ float: left;
341
+ width: 6em;
342
+ }
343
+ #jd-calendar.mini .my-calendar-date-switcher {
344
+ padding: 4px;
345
+ }
346
+ #jd-calendar.mini td .category-icon {
347
+ display: none;
348
+ }
349
+ #jd-calendar.mini h3 {
350
+ font-size: 1.1em;
351
+ }
352
+
353
+ #jd-calendar.mini .day-with-date span, #jd-calendar.mini .day-with-date a {
354
+ font-family: Arial, Verdana, sans-serif;
355
+ font-size: .9em;
356
+ padding:1px;
357
+ }
358
+ #jd-calendar .mini-event .sub-details {
359
+ margin: 0;
360
+ border-bottom: 1px solid #ccc;
361
+ padding: 2px 0 0;
362
+ margin-bottom: 5px;
363
+ }
364
+ #jd-calendar.mini .day-with-date a {
365
+ display: block;
366
+ margin: -2px;
367
+ font-weight: 700;
368
+ text-decoration: underline;
369
+ }
uninstall.php CHANGED
@@ -72,7 +72,16 @@ delete_option( 'mc_event_registration');
72
  delete_option( 'mc_short');
73
  delete_option( 'mc_desc');
74
  delete_option( 'mc_location_type');
75
-
 
 
 
 
 
 
 
 
76
  add_option('my_calendar_uninstalled','true');
 
77
  }
78
  ?>
72
  delete_option( 'mc_short');
73
  delete_option( 'mc_desc');
74
  delete_option( 'mc_location_type');
75
+ delete_option( 'mc_skip_holidays_category');
76
+ delete_option( 'mc_skip_holidays');
77
+ delete_option( 'mc_event_edit_perms');
78
+ delete_option( 'my_calendar_widgets_defaults');
79
+ delete_option( 'my_calendar_css_file');
80
+ delete_option( 'mc_db_version');
81
+ delete_option( 'my_calendar_stored_styles');
82
+ delete_option('mc_show_rss');
83
+ delete_option('mc_show_ical');
84
  add_option('my_calendar_uninstalled','true');
85
+
86
  }
87
  ?>