Event List - Version 0.7.2

Version Description

(2015-03-21) = * fixed an issue with multiday events when deleting a category * fixed displaying the category slug instead of the category name in event listing * fixed sub-category handling of deleted categories * fixed sub-category handling when a category slug is changed * fixed parent selection list in category edit mode * some helptext fixes

Download this release

Release Info

Developer mibuthu
Plugin Icon 128x128 Event List
Version 0.7.2
Comparing to
See all releases

Code changes from version 0.7.1 to 0.7.2

admin/includes/admin-about.php CHANGED
@@ -97,11 +97,11 @@ class EL_Admin_About {
97
  return '
98
  <h3 class="el-headline">'.__('Filter Syntax','event-list').'</h3>
99
  <p>'.__('For date and cat filters you can specify complex filters with the following syntax:','event-list').'</p>
100
- <p>'.__('You can use AND ( "<b>&amp;</b>" ) and OR ( "<b>&verbar;</b>" or "<b>&comma;</b>" ) connections to define complex filters. Additionally you can set brackets ( "<b>(</b>" and ("<b>)</b>" ) for nested queries.','event-list').'</p>
101
  '.__('Examples for cat filters:','event-list').'
102
- <p><code>tennis</code> ... '.__('Show all events with category "tennis".','event-list').'<br />
103
- <code>tennis,hockey</code> ... '.__('Show all events with category "tennis" or "hockey".','event-list').'<br />
104
- <code>tennis|(hockey&amp;winter)</code> ... '.__('Show all events with category "tennis" and all events where category "hockey" as well as "winter" is selected.','event-list').'</p>';
105
  }
106
 
107
  private function show_date_syntax() {
97
  return '
98
  <h3 class="el-headline">'.__('Filter Syntax','event-list').'</h3>
99
  <p>'.__('For date and cat filters you can specify complex filters with the following syntax:','event-list').'</p>
100
+ <p>'.__('You can use AND ( "<strong>&amp;</strong>" ) and OR ( "<strong>&verbar;</strong>" or "<strong>&comma;</strong>" ) connections to define complex filters. Additionally you can set brackets ( "<strong>(</strong>" and "<strong>)</strong>" ) for nested queries.','event-list').'</p>
101
  '.__('Examples for cat filters:','event-list').'
102
+ <p><code>tennis</code>&hellip; '.__('Show all events with category "tennis".','event-list').'<br />
103
+ <code>tennis&comma;hockey</code>&hellip; '.__('Show all events with category "tennis" or "hockey".','event-list').'<br />
104
+ <code>tennis&verbar;(hockey&amp;winter)</code>&hellip; '.__('Show all events with category "tennis" and all events where category "hockey" as well as "winter" is selected.','event-list').'</p>';
105
  }
106
 
107
  private function show_date_syntax() {
admin/includes/admin-categories.php CHANGED
@@ -119,7 +119,7 @@ class EL_Admin_Categories {
119
  $out .= '<div id="message" class="updated below-h2"><p><strong>'.sprintf(__('New Category "%s" was added','event-list'), $_POST['name']).'.</strong></p></div>';
120
  }
121
  else {
122
- $out .= '<div id="message" class="error below-h2"><p><strong>'.sprintf(__('Error: New Category "$s" could not be added','event-list'), $_POST['name']).'.</strong></p></div>';
123
  }
124
  }
125
  else {
@@ -173,14 +173,12 @@ class EL_Admin_Categories {
173
  // Category Parent
174
  $out .= '
175
  <div class="form-field"><label for="parent">'.__('Parent','event-list').': </label>';
176
- $cat_array = $this->categories->get_cat_array('name', 'asc');
177
  $option_array = array('' => __('None','event-list'));
178
  $class_array = array();
179
  foreach($cat_array as $cat) {
180
- if($cat['slug'] != $cat_data['slug']) {
181
- $option_array[$cat['slug']] = str_pad('', 12*$cat['level'], '&nbsp;', STR_PAD_LEFT).$cat['name'];
182
- $class_array[$cat['slug']] = 'level-'.$cat['level'];
183
- }
184
  }
185
  $selected = isset($cat_data['parent']) ? $cat_data['parent'] : null;
186
  $out .= $this->functions->show_combobox('parent', $option_array, $selected, $class_array, $is_disabled);
119
  $out .= '<div id="message" class="updated below-h2"><p><strong>'.sprintf(__('New Category "%s" was added','event-list'), $_POST['name']).'.</strong></p></div>';
120
  }
121
  else {
122
+ $out .= '<div id="message" class="error below-h2"><p><strong>'.sprintf(__('Error: New Category "%s" could not be added','event-list'), $_POST['name']).'.</strong></p></div>';
123
  }
124
  }
125
  else {
173
  // Category Parent
174
  $out .= '
175
  <div class="form-field"><label for="parent">'.__('Parent','event-list').': </label>';
176
+ $cat_array = $this->categories->get_cat_array('name', 'asc', $cat_data['slug']);
177
  $option_array = array('' => __('None','event-list'));
178
  $class_array = array();
179
  foreach($cat_array as $cat) {
180
+ $option_array[$cat['slug']] = str_pad('', 12*$cat['level'], '&nbsp;', STR_PAD_LEFT).$cat['name'];
181
+ $class_array[$cat['slug']] = 'level-'.$cat['level'];
 
 
182
  }
183
  $selected = isset($cat_data['parent']) ? $cat_data['parent'] : null;
184
  $out .= $this->functions->show_combobox('parent', $option_array, $selected, $class_array, $is_disabled);
admin/includes/admin-main.php CHANGED
@@ -198,7 +198,7 @@ class EL_Admin_Main {
198
  if(isset($eventdata['sql_end_date']) && '' != $eventdata['sql_end_date']) {
199
  $eventdata['end_date'] = $eventdata['sql_end_date'];
200
  }
201
- return $this->db->update_event($eventdata);
202
  }
203
 
204
  private function redirect($action=false, $error=false, $query_args=array()) {
198
  if(isset($eventdata['sql_end_date']) && '' != $eventdata['sql_end_date']) {
199
  $eventdata['end_date'] = $eventdata['sql_end_date'];
200
  }
201
+ return $this->db->update_event($eventdata, true);
202
  }
203
 
204
  private function redirect($action=false, $error=false, $query_args=array()) {
event-list.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Event List
4
  Plugin URI: http://wordpress.org/extend/plugins/event-list/
5
  Description: Manage your events and show them in a list view on your site.
6
- Version: 0.7.1
7
  Author: Michael Burtscher
8
  Author URI: http://wordpress.org/extend/plugins/event-list/
9
  License: GPLv2
3
  Plugin Name: Event List
4
  Plugin URI: http://wordpress.org/extend/plugins/event-list/
5
  Description: Manage your events and show them in a list view on your site.
6
+ Version: 0.7.2
7
  Author: Michael Burtscher
8
  Author URI: http://wordpress.org/extend/plugins/event-list/
9
  License: GPLv2
includes/categories.php CHANGED
@@ -43,73 +43,46 @@ class EL_Categories {
43
  }
44
  }
45
 
46
- public function add_category($cat_data, $allow_identical_names=false) {
47
- // check if name was set
48
- if( !isset( $cat_data['name'] ) || '' == $cat_data['name'] ) {
49
- return false;
50
- }
51
- // check if name already exists
52
- $cat_data['name'] = trim($cat_data['name']);
53
- if(!$allow_identical_names) {
54
- foreach( $this->cat_array as $category ) {
55
- if( $category['name'] === $cat_data['name'] ) {
56
- return false;
57
- }
58
- }
59
- }
60
- // set cat name
61
- $cat['name'] = $cat_data['name'];
62
- // set slug
63
- // generate slug if no slug was given
64
- if( !isset( $cat_data['slug'] ) || '' == $cat_data['slug'] ) {
65
- $cat_data['slug'] = $cat_data['name'];
66
- }
67
- // make slug unique
68
- $cat['slug'] = $slug = sanitize_title( $cat_data['slug'] );
69
- $num = 1;
70
- while( isset( $this->cat_array[$cat['slug']] ) ) {
71
- $num++;
72
- $cat['slug'] = $slug.'-'.$num;
73
- }
74
- // set parent and level
75
- if(!isset($cat_data['parent'])) {
76
- $cat_data['parent'] = '';
77
- }
78
- $cat['parent'] = $cat_data['parent'];
79
- if('' == $cat['parent']) {
80
- $cat['level'] = 0;
81
- }
82
- else {
83
- $cat['level'] = $this->cat_array[$cat_data['parent']]['level'] + 1;
84
- }
85
- // set description
86
- $cat['desc'] = isset( $cat_data['desc'] ) ? trim( $cat_data['desc'] ) : '';
87
- // add category
88
- $this->cat_array[$cat['slug']] = $cat;
89
- return $this->safe_categories();
90
  }
91
 
92
- public function edit_category($cat_data, $old_slug, $allow_identical_names=false) {
93
  // check if slug already exists
94
  if(!isset($this->cat_array[$old_slug])) {
95
  return false;
96
  }
97
- // update events if slug has changed
98
- if($old_slug != $cat_data['slug']) {
99
- $this->db->change_category_slug_in_events($old_slug, $cat_data['slug']);
100
- }
101
  // delete old category
102
  unset($this->cat_array[$old_slug]);
103
- // add new category
104
- return $this->add_category($cat_data, $allow_identical_names);
 
 
 
 
 
 
 
 
 
 
 
 
105
  }
106
 
107
  public function remove_categories($slugs, $remove_cats_in_events=true) {
108
  if($remove_cats_in_events) {
109
  $this->db->remove_category_in_events($slugs);
110
  }
111
- foreach( $slugs as $slug ) {
112
- unset( $this->cat_array[$slug] );
 
 
 
 
 
 
113
  }
114
  return $this->safe_categories();
115
  }
@@ -130,6 +103,46 @@ class EL_Categories {
130
  return true;
131
  }
132
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  public function sync_with_post_cats() {
134
  $post_cats = get_categories(array('type'=>'post', 'orderby'=>'slug', 'hide_empty'=>0));
135
  // delete not available categories(compare categories by slug)
@@ -219,24 +232,24 @@ class EL_Categories {
219
  }
220
  }
221
 
222
- public function get_cat_array($sort_key='name', $sort_order='asc') {
223
  if(empty($this->cat_array)) {
224
  return array();
225
  }
226
  else {
227
- return $this->get_cat_child_array('', $sort_key, $sort_order);
228
  }
229
  }
230
 
231
- private function get_cat_child_array($slug, $sort_key, $sort_order) {
232
- $children = $this->get_children($slug, $sort_key, $sort_order);
233
  if(empty($children)) {
234
  return null;
235
  }
236
  $ret = array();
237
  foreach($children as $child) {
238
  $ret[] = $this->cat_array[$child];
239
- $grandchilds = $this->get_cat_child_array($child, $sort_key, $sort_order);
240
  if(is_array($grandchilds)) {
241
  $ret = array_merge($ret, $grandchilds);
242
  }
@@ -244,11 +257,15 @@ class EL_Categories {
244
  return $ret;
245
  }
246
 
247
- private function get_children($slug='', $sort_key='slug', $sort_order='asc') {
 
 
 
 
248
  // create array with slugs
249
  $ret = array();
250
  foreach($this->cat_array as $cat) {
251
- if($slug == $cat['parent']) {
252
  $ret[] = $cat['slug'];
253
  }
254
  }
@@ -276,6 +293,24 @@ class EL_Categories {
276
  }
277
  }
278
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
279
  public function get_category_data($slug) {
280
  return $this->cat_array[$slug];
281
  }
@@ -298,7 +333,7 @@ class EL_Categories {
298
  switch($return_type) {
299
  case 'slug_array':
300
  return $slug_array;
301
- case $return_type:
302
  $string_array = $slug_array;
303
  break;
304
  default: // name_string
43
  }
44
  }
45
 
46
+ public function add_category($cat_data, $allow_duplicate_names=false) {
47
+ $this->add_cat_to_array($cat_data, $allow_duplicate_names);
48
+ return $this->safe_categories();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  }
50
 
51
+ public function edit_category($cat_data, $old_slug, $allow_duplicate_names=false) {
52
  // check if slug already exists
53
  if(!isset($this->cat_array[$old_slug])) {
54
  return false;
55
  }
 
 
 
 
56
  // delete old category
57
  unset($this->cat_array[$old_slug]);
58
+ // create new category
59
+ $new_slug = $this->add_cat_to_array($cat_data, $allow_duplicate_names);
60
+ // required modifications if slug was changed
61
+ if($old_slug != $new_slug) {
62
+ // update slug in events if slug has changed
63
+ $this->db->change_category_slug_in_events($old_slug, $new_slug);
64
+ // update parent slug in sub-categories
65
+ $subcats = $this->get_children($old_slug);
66
+ foreach($subcats as $subcat) {
67
+ $this->cat_array[$subcat]['parent'] = $new_slug;
68
+ }
69
+ }
70
+ // safe category
71
+ return $this->safe_categories();
72
  }
73
 
74
  public function remove_categories($slugs, $remove_cats_in_events=true) {
75
  if($remove_cats_in_events) {
76
  $this->db->remove_category_in_events($slugs);
77
  }
78
+ foreach($slugs as $slug) {
79
+ // check for subcategories and set their parent to the parent of the cat to delete
80
+ $children = $this->get_children($slug);
81
+ foreach($children as $child) {
82
+ $this->set_parent($child, $this->cat_array[$slug]['parent']);
83
+ }
84
+ // unset category
85
+ unset($this->cat_array[$slug]);
86
  }
87
  return $this->safe_categories();
88
  }
103
  return true;
104
  }
105
 
106
+ private function add_cat_to_array($cat_data, $allow_duplicate_names=false) {
107
+ // check if name was set
108
+ if( !isset( $cat_data['name'] ) || '' == $cat_data['name'] ) {
109
+ return false;
110
+ }
111
+ // check if name already exists
112
+ $cat_data['name'] = trim($cat_data['name']);
113
+ if(!$allow_duplicate_names) {
114
+ foreach( $this->cat_array as $category ) {
115
+ if( $category['name'] === $cat_data['name'] ) {
116
+ return false;
117
+ }
118
+ }
119
+ }
120
+ // set cat name
121
+ $cat['name'] = $cat_data['name'];
122
+ // set slug
123
+ // generate slug if no slug was given
124
+ if( !isset( $cat_data['slug'] ) || '' == $cat_data['slug'] ) {
125
+ $cat_data['slug'] = $cat_data['name'];
126
+ }
127
+ // make slug unique
128
+ $cat['slug'] = $slug = sanitize_title( $cat_data['slug'] );
129
+ $num = 1;
130
+ while( isset( $this->cat_array[$cat['slug']] ) ) {
131
+ $num++;
132
+ $cat['slug'] = $slug.'-'.$num;
133
+ }
134
+ // set description
135
+ $cat['desc'] = isset( $cat_data['desc'] ) ? trim( $cat_data['desc'] ) : '';
136
+ // add category
137
+ $this->cat_array[$cat['slug']] = $cat;
138
+ // set parent and level
139
+ if(!isset($cat_data['parent'])) {
140
+ $cat_data['parent'] = '';
141
+ }
142
+ $this->set_parent($cat['slug'], $cat_data['parent']);
143
+ return $cat['slug'];
144
+ }
145
+
146
  public function sync_with_post_cats() {
147
  $post_cats = get_categories(array('type'=>'post', 'orderby'=>'slug', 'hide_empty'=>0));
148
  // delete not available categories(compare categories by slug)
232
  }
233
  }
234
 
235
+ public function get_cat_array($sort_key='name', $sort_order='asc', $slug_filter=null) {
236
  if(empty($this->cat_array)) {
237
  return array();
238
  }
239
  else {
240
+ return $this->get_cat_child_array('', $sort_key, $sort_order, $slug_filter);
241
  }
242
  }
243
 
244
+ private function get_cat_child_array($slug, $sort_key, $sort_order, $slug_filter=null) {
245
+ $children = $this->get_children($slug, $sort_key, $sort_order, $slug_filter);
246
  if(empty($children)) {
247
  return null;
248
  }
249
  $ret = array();
250
  foreach($children as $child) {
251
  $ret[] = $this->cat_array[$child];
252
+ $grandchilds = $this->get_cat_child_array($child, $sort_key, $sort_order, $slug_filter);
253
  if(is_array($grandchilds)) {
254
  $ret = array_merge($ret, $grandchilds);
255
  }
257
  return $ret;
258
  }
259
 
260
+ private function get_children($slug='', $sort_key='slug', $sort_order='asc', $slug_filter=null) {
261
+ // filter initialization
262
+ if($slug_filter === '') {
263
+ $slug_filter = null;
264
+ }
265
  // create array with slugs
266
  $ret = array();
267
  foreach($this->cat_array as $cat) {
268
+ if($slug == $cat['parent'] && $slug_filter !== $cat['slug']) {
269
  $ret[] = $cat['slug'];
270
  }
271
  }
293
  }
294
  }
295
 
296
+ private function set_parent($cat_slug, $parent_slug) {
297
+ if(isset($this->cat_array[$parent_slug])) {
298
+ // set parent and level
299
+ $this->cat_array[$cat_slug]['parent'] = $parent_slug;
300
+ $this->cat_array[$cat_slug]['level'] = $this->cat_array[$parent_slug]['level'] + 1;
301
+ }
302
+ else {
303
+ // set to first level category
304
+ $this->cat_array[$cat_slug]['parent'] = '';
305
+ $this->cat_array[$cat_slug]['level'] = 0;
306
+ }
307
+ // check and update children
308
+ $children = $this->get_children($cat_slug);
309
+ foreach($children as $child) {
310
+ $this->set_parent($child, $cat_slug);
311
+ }
312
+ }
313
+
314
  public function get_category_data($slug) {
315
  return $this->cat_array[$slug];
316
  }
333
  switch($return_type) {
334
  case 'slug_array':
335
  return $slug_array;
336
+ case 'slug_string':
337
  $string_array = $slug_array;
338
  break;
339
  default: // name_string
includes/db.php CHANGED
@@ -83,7 +83,7 @@ class EL_Db {
83
  return $wpdb->get_var($sql);
84
  }
85
 
86
- public function update_event($event_data) {
87
  global $wpdb;
88
  // prepare and validate sqldata
89
  $sqldata = array();
@@ -99,7 +99,7 @@ class EL_Db {
99
  $sqldata['start_date'] = $this->validate_sql_date($event_data['start_date']);
100
  if(false === $sqldata['start_date']) { return false; }
101
  //end_date
102
- if(isset($event_data['multiday']) && "1" === $event_data['multiday']) {
103
  if(!isset($event_data['end_date'])) { $sqldata['end_date'] = $sqldata['start_date']; }
104
  $sqldata['end_date'] = $this->validate_sql_date($event_data['end_date']);
105
  if(false === $sqldata['end_date']) { $sqldata['end_date'] = $sqldata['start_date']; }
@@ -181,9 +181,9 @@ class EL_Db {
181
  // replace slug in categorystring
182
  $event['categories'] = str_replace('|'.$old_slug.'|', '|'.$new_slug.'|', $event['categories']);
183
  $event['categories'] = explode( '|', substr($event['categories'], 1, -1 ) );
184
- $this->update_event( $event );
185
  }
186
- return count( $affected_events );
187
  }
188
 
189
  public function count_events( $slug ) {
83
  return $wpdb->get_var($sql);
84
  }
85
 
86
+ public function update_event($event_data, $check_multiday=false) {
87
  global $wpdb;
88
  // prepare and validate sqldata
89
  $sqldata = array();
99
  $sqldata['start_date'] = $this->validate_sql_date($event_data['start_date']);
100
  if(false === $sqldata['start_date']) { return false; }
101
  //end_date
102
+ if(!$check_multiday || (isset($event_data['multiday']) && "1" === $event_data['multiday'])) {
103
  if(!isset($event_data['end_date'])) { $sqldata['end_date'] = $sqldata['start_date']; }
104
  $sqldata['end_date'] = $this->validate_sql_date($event_data['end_date']);
105
  if(false === $sqldata['end_date']) { $sqldata['end_date'] = $sqldata['start_date']; }
181
  // replace slug in categorystring
182
  $event['categories'] = str_replace('|'.$old_slug.'|', '|'.$new_slug.'|', $event['categories']);
183
  $event['categories'] = explode( '|', substr($event['categories'], 1, -1 ) );
184
+ $this->update_event($event);
185
  }
186
+ return count($affected_events);
187
  }
188
 
189
  public function count_events( $slug ) {
includes/sc_event-list.php CHANGED
@@ -207,7 +207,7 @@ class SC_Event_List {
207
  // event title
208
  $out .= '<div class="event-title"><h3>';
209
  $title = esc_attr($this->db->truncate($event->title, $a['title_length'], $this->single_event));
210
- if( $this->is_visible( $a['link_to_event'] ) ) {
211
  $out .= '<a href="'.esc_html(add_query_arg('event_id'.$a['sc_id_for_url'], $event->id, $this->get_url($a))).'">'.$title.'</a>';
212
  }
213
  else {
@@ -412,10 +412,9 @@ class SC_Event_List {
412
 
413
  private function is_visible( $attribute_value ) {
414
  switch ($attribute_value) {
415
- case 'false':
416
- return false;
417
- case '0': // = 'false'
418
- return false;
419
  case 'event_list_only':
420
  if( $this->single_event ) {
421
  return false;
@@ -430,8 +429,8 @@ class SC_Event_List {
430
  else {
431
  return false;
432
  }
433
- default: // 'true' or 1
434
- return true;
435
  }
436
  }
437
  }
207
  // event title
208
  $out .= '<div class="event-title"><h3>';
209
  $title = esc_attr($this->db->truncate($event->title, $a['title_length'], $this->single_event));
210
+ if($this->is_visible($a['link_to_event']) || ('events_with_details_only' == $a['link_to_event'] && !$this->single_event && '' != $event->details)) {
211
  $out .= '<a href="'.esc_html(add_query_arg('event_id'.$a['sc_id_for_url'], $event->id, $this->get_url($a))).'">'.$title.'</a>';
212
  }
213
  else {
412
 
413
  private function is_visible( $attribute_value ) {
414
  switch ($attribute_value) {
415
+ case 'true':
416
+ case '1': // = 'true'
417
+ return true;
 
418
  case 'event_list_only':
419
  if( $this->single_event ) {
420
  return false;
429
  else {
430
  return false;
431
  }
432
+ default: // 'false' or 0 or nothing handled by this function
433
+ return false;
434
  }
435
  }
436
  }
includes/sc_event-list_helptexts.php CHANGED
@@ -20,14 +20,12 @@ $sc_eventlist_helptexts = array(
20
  'desc' => __('This attribute specifies the dates and date ranges of which events are displayed. The standard is "all" to show all events.<br />
21
  Filtered events according to date_filter value are not available in the event list.<br />
22
  You can find all available values with a description and examples in "Available Date Formats" and "Available Date Range Formats" below.<br />
23
- See "Filter Syntax" description if you want to define complex filters.<br />
24
- When you only use OR connections (no AND connection) the years selection in the filterbar will also be filtered accordingly.','event-list')),
25
 
26
  'cat_filter' => array('val' => 'all<br />category slugs',
27
  'desc' => __('This attribute specifies the categories of which events are shown. The standard is "all" or an empty string to show all events.<br />
28
  Filtered events defined in categories which doesn´t match cat_filter are not shown in the event list. They are also not available if a manual url parameter is added.<br />
29
- The filter is specified via the given category slug. See "Filter Syntax" description if you want to define complex filters.<br />
30
- When you only use OR connections (no AND connection) the category selection in the filterbar will also be filtered accordingly.','event-list')),
31
 
32
  'num_events' => array('val' => 'number',
33
  'desc' => __('This attribute specifies how many events should be displayed if upcoming events is selected.<br />
@@ -98,10 +96,11 @@ $sc_eventlist_helptexts = array(
98
  With the standard value 0 the full details are displayed.<br />
99
  This attribute has no influence if only a single event is shown.','event-list')),
100
 
101
- 'link_to_event' => array('val' => 'false<br />true<br />event_list_only<br />single_event_only',
102
  'desc' => __('This attribute specifies if a link to the single event should be added onto the event name in the event list.<br />
103
  Choose "false" to never add and "true" to always add the link.<br />
104
- With "event_list_only" the link is only added in the event list and with "single_event_only" only for a single event','event-list')),
 
105
 
106
  'add_feed_link' => array('val' => 'false<br />true<br />event_list_only<br />single_event_only',
107
  'desc' => __('This attribute specifies if a rss feed link should be added.<br />
20
  'desc' => __('This attribute specifies the dates and date ranges of which events are displayed. The standard is "all" to show all events.<br />
21
  Filtered events according to date_filter value are not available in the event list.<br />
22
  You can find all available values with a description and examples in "Available Date Formats" and "Available Date Range Formats" below.<br />
23
+ See "Filter Syntax" description if you want to define complex filters.','event-list')),
 
24
 
25
  'cat_filter' => array('val' => 'all<br />category slugs',
26
  'desc' => __('This attribute specifies the categories of which events are shown. The standard is "all" or an empty string to show all events.<br />
27
  Filtered events defined in categories which doesn´t match cat_filter are not shown in the event list. They are also not available if a manual url parameter is added.<br />
28
+ The filter is specified via the given category slug. See "Filter Syntax" description if you want to define complex filters.','event-list')),
 
29
 
30
  'num_events' => array('val' => 'number',
31
  'desc' => __('This attribute specifies how many events should be displayed if upcoming events is selected.<br />
96
  With the standard value 0 the full details are displayed.<br />
97
  This attribute has no influence if only a single event is shown.','event-list')),
98
 
99
+ 'link_to_event' => array('val' => 'false<br />true<br />event_list_only<br />single_event_only<br />events_with_details_only',
100
  'desc' => __('This attribute specifies if a link to the single event should be added onto the event name in the event list.<br />
101
  Choose "false" to never add and "true" to always add the link.<br />
102
+ With "event_list_only" the link is only added in the event list and with "single_event_only" only for a single event.<br />
103
+ With "events_with_details_only" the link is only added in the event list for events with event details.','event-list')),
104
 
105
  'add_feed_link' => array('val' => 'false<br />true<br />event_list_only<br />single_event_only',
106
  'desc' => __('This attribute specifies if a rss feed link should be added.<br />
languages/event-list-de_DE.mo CHANGED
Binary file
languages/event-list-de_DE.po CHANGED
@@ -1,10 +1,11 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: wp-eventlist\n"
4
- "POT-Creation-Date: 2015-02-01 19:16+0100\n"
5
- "PO-Revision-Date: 2015-02-01 19:18+0100\n"
6
  "Last-Translator: Michael Burtscher <mike@mbnet.at>\n"
7
  "Language-Team: Michael Burtscher\n"
 
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -12,7 +13,6 @@ msgstr ""
12
  "X-Poedit-KeywordsList: __;_e\n"
13
  "X-Poedit-Basepath: .\n"
14
  "X-Poedit-SourceCharset: UTF-8\n"
15
- "Language: de\n"
16
  "X-Poedit-SearchPath-0: /home/zeus/mike/workspace/wp-eventlist\n"
17
 
18
  #: /home/zeus/mike/workspace/wp-eventlist/includes/widget.php:20
@@ -66,13 +66,10 @@ msgid ""
66
  "values with a description and examples in \"Available Date Formats\" and "
67
  "\"Available Date Range Formats\" below.<br />\n"
68
  "\t See \"Filter Syntax\" "
69
- "description if you want to define complex filters.<br />\n"
70
- "\t When you only use OR "
71
- "connections (no AND connection) the years selection in the filterbar will "
72
- "also be filtered accordingly."
73
  msgstr ""
74
 
75
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:27
76
  msgid ""
77
  "This attribute specifies the categories of which events are shown. The "
78
  "standard is \"all\" or an empty string to show all events.<br />\n"
@@ -81,13 +78,10 @@ msgid ""
81
  "They are also not available if a manual url parameter is added.<br />\n"
82
  "\t The filter is specified via "
83
  "the given category slug. See \"Filter Syntax\" description if you want to "
84
- "define complex filters.<br />\n"
85
- "\t When you only use OR "
86
- "connections (no AND connection) the category selection in the filterbar will "
87
- "also be filtered accordingly."
88
  msgstr ""
89
 
90
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:33
91
  msgid ""
92
  "This attribute specifies how many events should be displayed if upcoming "
93
  "events is selected.<br />\n"
@@ -97,7 +91,7 @@ msgid ""
97
  "version there is no pagination of the events available."
98
  msgstr ""
99
 
100
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:38
101
  msgid ""
102
  "This attribute specifies if the filterbar should be displayed. The filterbar "
103
  "allows the users to select filters to limit the listed events.<br />\n"
@@ -108,7 +102,7 @@ msgid ""
108
  "only for a single event"
109
  msgstr ""
110
 
111
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:77
112
  msgid ""
113
  "This attribute specifies if the starttime is displayed in the event list."
114
  "<br />\n"
@@ -119,7 +113,7 @@ msgid ""
119
  "only for a single event"
120
  msgstr ""
121
 
122
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:82
123
  msgid ""
124
  "This attribute specifies if the location is displayed in the event list.<br /"
125
  ">\n"
@@ -130,7 +124,7 @@ msgid ""
130
  "only for a single event"
131
  msgstr ""
132
 
133
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:87
134
  msgid ""
135
  "This attribute specifies if the categories are displayed in the event list."
136
  "<br />\n"
@@ -141,7 +135,7 @@ msgid ""
141
  "only for a single event"
142
  msgstr ""
143
 
144
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:92
145
  msgid ""
146
  "This attribute specifies if the details are displayed in the event list.<br /"
147
  ">\n"
@@ -152,7 +146,7 @@ msgid ""
152
  "only for a single event"
153
  msgstr ""
154
 
155
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:97
156
  msgid ""
157
  "This attribute specifies if the details should be truncate to the given "
158
  "number of characters in the event list.<br />\n"
@@ -162,7 +156,7 @@ msgid ""
162
  "influence if only a single event is shown."
163
  msgstr ""
164
 
165
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:102
166
  msgid ""
167
  "This attribute specifies if a link to the single event should be added onto "
168
  "the event name in the event list.<br />\n"
@@ -170,10 +164,12 @@ msgid ""
170
  "and \"true\" to always add the link.<br />\n"
171
  "\t With \"event_list_only\" the "
172
  "link is only added in the event list and with \"single_event_only\" only for "
173
- "a single event"
 
 
174
  msgstr ""
175
 
176
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:107
177
  msgid ""
178
  "This attribute specifies if a rss feed link should be added.<br />\n"
179
  "\t You have to enable the feed in "
@@ -187,8 +183,8 @@ msgid ""
187
  "a single event"
188
  msgstr ""
189
 
190
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:115
191
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:121
192
  msgid ""
193
  "This attribute specifies if the title should be truncate to the given number "
194
  "of characters in the event list.<br />\n"
@@ -198,7 +194,7 @@ msgid ""
198
  "influence if only a single event is shown."
199
  msgstr ""
200
 
201
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:127
202
  msgid ""
203
  "This attribute specifies that the link should follow the given url.<br />\n"
204
  "\t The standard is to leave this "
@@ -209,7 +205,7 @@ msgid ""
209
  "list widget."
210
  msgstr ""
211
 
212
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:133
213
  msgid ""
214
  "This attribute the specifies shortcode id of the used shortcode on the page "
215
  "specified with \"url_to_page\" attribute.<br />\n"
@@ -803,8 +799,9 @@ msgid "New Category \"%s\" was added"
803
  msgstr "Neue Kategorie \"%s\" wurde hinzugefügt"
804
 
805
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:122
806
- msgid "Error: New Category \"$s\" could not be added"
807
- msgstr "Fehler: Neue Kategorie \"$s\" konnte nicht hinzugefügt werden"
 
808
 
809
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:128
810
  #, php-format
@@ -856,7 +853,7 @@ msgstr "Parent"
856
  msgid "None"
857
  msgstr "Keine"
858
 
859
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:187
860
  msgid ""
861
  "Categories can have a hierarchy. You might have a Jazz category, and under "
862
  "that have children categories for Bebop and Big Band. Totally optional."
@@ -865,16 +862,16 @@ msgstr ""
865
  "Kategorie Musik anlegen, welche die Unterkategorien Schlager und Jazz "
866
  "enthält."
867
 
868
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:190
869
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:108
870
  msgid "Description"
871
  msgstr "Beschreibung"
872
 
873
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:234
874
  msgid "Apply"
875
  msgstr "Anwenden"
876
 
877
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:244
878
  msgid "Do a manual sync with post categories"
879
  msgstr "Führe eine manuelle Synchronisation mit den Beitragskategorien durch"
880
 
@@ -1007,9 +1004,10 @@ msgstr ""
1007
 
1008
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:100
1009
  msgid ""
1010
- "You can use AND ( \"<b>&amp;</b>\" ) and OR ( \"<b>&verbar;</b>\" or "
1011
- "\"<b>&comma;</b>\" ) connections to define complex filters. Additionally you "
1012
- "can set brackets ( \"<b>(</b>\" and (\"<b>)</b>\" ) for nested queries."
 
1013
  msgstr ""
1014
 
1015
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:101
@@ -1048,11 +1046,11 @@ msgstr ""
1048
 
1049
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:131
1050
  msgid "Value"
1051
- msgstr ""
1052
 
1053
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:135
1054
  msgid "Example"
1055
- msgstr ""
1056
 
1057
  #~ msgid ""
1058
  #~ "This widget displays a list of upcoming events. If you want to enable a "
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: wp-eventlist\n"
4
+ "POT-Creation-Date: 2015-03-21 13:49+0100\n"
5
+ "PO-Revision-Date: 2015-03-21 13:49+0100\n"
6
  "Last-Translator: Michael Burtscher <mike@mbnet.at>\n"
7
  "Language-Team: Michael Burtscher\n"
8
+ "Language: de\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
13
  "X-Poedit-KeywordsList: __;_e\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
 
16
  "X-Poedit-SearchPath-0: /home/zeus/mike/workspace/wp-eventlist\n"
17
 
18
  #: /home/zeus/mike/workspace/wp-eventlist/includes/widget.php:20
66
  "values with a description and examples in \"Available Date Formats\" and "
67
  "\"Available Date Range Formats\" below.<br />\n"
68
  "\t See \"Filter Syntax\" "
69
+ "description if you want to define complex filters."
 
 
 
70
  msgstr ""
71
 
72
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:26
73
  msgid ""
74
  "This attribute specifies the categories of which events are shown. The "
75
  "standard is \"all\" or an empty string to show all events.<br />\n"
78
  "They are also not available if a manual url parameter is added.<br />\n"
79
  "\t The filter is specified via "
80
  "the given category slug. See \"Filter Syntax\" description if you want to "
81
+ "define complex filters."
 
 
 
82
  msgstr ""
83
 
84
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:31
85
  msgid ""
86
  "This attribute specifies how many events should be displayed if upcoming "
87
  "events is selected.<br />\n"
91
  "version there is no pagination of the events available."
92
  msgstr ""
93
 
94
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:36
95
  msgid ""
96
  "This attribute specifies if the filterbar should be displayed. The filterbar "
97
  "allows the users to select filters to limit the listed events.<br />\n"
102
  "only for a single event"
103
  msgstr ""
104
 
105
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:75
106
  msgid ""
107
  "This attribute specifies if the starttime is displayed in the event list."
108
  "<br />\n"
113
  "only for a single event"
114
  msgstr ""
115
 
116
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:80
117
  msgid ""
118
  "This attribute specifies if the location is displayed in the event list.<br /"
119
  ">\n"
124
  "only for a single event"
125
  msgstr ""
126
 
127
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:85
128
  msgid ""
129
  "This attribute specifies if the categories are displayed in the event list."
130
  "<br />\n"
135
  "only for a single event"
136
  msgstr ""
137
 
138
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:90
139
  msgid ""
140
  "This attribute specifies if the details are displayed in the event list.<br /"
141
  ">\n"
146
  "only for a single event"
147
  msgstr ""
148
 
149
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:95
150
  msgid ""
151
  "This attribute specifies if the details should be truncate to the given "
152
  "number of characters in the event list.<br />\n"
156
  "influence if only a single event is shown."
157
  msgstr ""
158
 
159
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:100
160
  msgid ""
161
  "This attribute specifies if a link to the single event should be added onto "
162
  "the event name in the event list.<br />\n"
164
  "and \"true\" to always add the link.<br />\n"
165
  "\t With \"event_list_only\" the "
166
  "link is only added in the event list and with \"single_event_only\" only for "
167
+ "a single event.<br />\n"
168
+ "\t With \"events_with_details_only"
169
+ "\" the link is only added in the event list for events with event details."
170
  msgstr ""
171
 
172
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:106
173
  msgid ""
174
  "This attribute specifies if a rss feed link should be added.<br />\n"
175
  "\t You have to enable the feed in "
183
  "a single event"
184
  msgstr ""
185
 
186
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:114
187
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:120
188
  msgid ""
189
  "This attribute specifies if the title should be truncate to the given number "
190
  "of characters in the event list.<br />\n"
194
  "influence if only a single event is shown."
195
  msgstr ""
196
 
197
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:126
198
  msgid ""
199
  "This attribute specifies that the link should follow the given url.<br />\n"
200
  "\t The standard is to leave this "
205
  "list widget."
206
  msgstr ""
207
 
208
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:132
209
  msgid ""
210
  "This attribute the specifies shortcode id of the used shortcode on the page "
211
  "specified with \"url_to_page\" attribute.<br />\n"
799
  msgstr "Neue Kategorie \"%s\" wurde hinzugefügt"
800
 
801
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:122
802
+ #, php-format
803
+ msgid "Error: New Category \"%s\" could not be added"
804
+ msgstr "Fehler: Neue Kategorie \"%s\" konnte nicht hinzugefügt werden"
805
 
806
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:128
807
  #, php-format
853
  msgid "None"
854
  msgstr "Keine"
855
 
856
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:185
857
  msgid ""
858
  "Categories can have a hierarchy. You might have a Jazz category, and under "
859
  "that have children categories for Bebop and Big Band. Totally optional."
862
  "Kategorie Musik anlegen, welche die Unterkategorien Schlager und Jazz "
863
  "enthält."
864
 
865
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:188
866
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:108
867
  msgid "Description"
868
  msgstr "Beschreibung"
869
 
870
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:232
871
  msgid "Apply"
872
  msgstr "Anwenden"
873
 
874
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:242
875
  msgid "Do a manual sync with post categories"
876
  msgstr "Führe eine manuelle Synchronisation mit den Beitragskategorien durch"
877
 
1004
 
1005
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:100
1006
  msgid ""
1007
+ "You can use AND ( \"<strong>&amp;</strong>\" ) and OR ( \"<strong>&verbar;</"
1008
+ "strong>\" or \"<strong>&comma;</strong>\" ) connections to define complex "
1009
+ "filters. Additionally you can set brackets ( \"<strong>(</strong>\" and "
1010
+ "\"<strong>)</strong>\" ) for nested queries."
1011
  msgstr ""
1012
 
1013
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:101
1046
 
1047
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:131
1048
  msgid "Value"
1049
+ msgstr "Wert"
1050
 
1051
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:135
1052
  msgid "Example"
1053
+ msgstr "Beispiel"
1054
 
1055
  #~ msgid ""
1056
  #~ "This widget displays a list of upcoming events. If you want to enable a "
languages/event-list.pot CHANGED
@@ -8,7 +8,7 @@ msgid ""
8
  msgstr ""
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2015-02-01 19:10+0100\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
@@ -52,75 +52,74 @@ msgid ""
52
  "This attribute specifies the dates and date ranges of which events are displayed. The standard is \"all\" to show all events.<br />\n"
53
  "\t Filtered events according to date_filter value are not available in the event list.<br />\n"
54
  "\t You can find all available values with a description and examples in \"Available Date Formats\" and \"Available Date Range Formats\" below.<br />\n"
55
- "\t See \"Filter Syntax\" description if you want to define complex filters.<br />\n"
56
- "\t When you only use OR connections (no AND connection) the years selection in the filterbar will also be filtered accordingly."
57
  msgstr ""
58
 
59
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:27
60
  msgid ""
61
  "This attribute specifies the categories of which events are shown. The standard is \"all\" or an empty string to show all events.<br />\n"
62
  "\t Filtered events defined in categories which doesn´t match cat_filter are not shown in the event list. They are also not available if a manual url parameter is added.<br />\n"
63
- "\t The filter is specified via the given category slug. See \"Filter Syntax\" description if you want to define complex filters.<br />\n"
64
- "\t When you only use OR connections (no AND connection) the category selection in the filterbar will also be filtered accordingly."
65
  msgstr ""
66
 
67
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:33
68
  msgid ""
69
  "This attribute specifies how many events should be displayed if upcoming events is selected.<br />\n"
70
  "\t 0 is the standard value which means that all events will be displayed.<br />\n"
71
  "\t Please not that in the actual version there is no pagination of the events available."
72
  msgstr ""
73
 
74
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:38
75
  msgid ""
76
  "This attribute specifies if the filterbar should be displayed. The filterbar allows the users to select filters to limit the listed events.<br />\n"
77
  "\t Choose \"false\" to always hide and \"true\" to always show the navigation.<br />\n"
78
  "\t With \"event_list_only\" the filterbar is only visible in the event list and with \"single_event_only\" only for a single event"
79
  msgstr ""
80
 
81
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:77
82
  msgid ""
83
  "This attribute specifies if the starttime is displayed in the event list.<br />\n"
84
  "\t Choose \"false\" to always hide and \"true\" to always show the starttime.<br />\n"
85
  "\t With \"event_list_only\" the starttime is only visible in the event list and with \"single_event_only\" only for a single event"
86
  msgstr ""
87
 
88
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:82
89
  msgid ""
90
  "This attribute specifies if the location is displayed in the event list.<br />\n"
91
  "\t Choose \"false\" to always hide and \"true\" to always show the location.<br />\n"
92
  "\t With \"event_list_only\" the location is only visible in the event list and with \"single_event_only\" only for a single event"
93
  msgstr ""
94
 
95
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:87
96
  msgid ""
97
  "This attribute specifies if the categories are displayed in the event list.<br />\n"
98
  "\t Choose \"false\" to always hide and \"true\" to always show the category.<br />\n"
99
  "\t With \"event_list_only\" the categories are only visible in the event list and with \"single_event_only\" only for a single event"
100
  msgstr ""
101
 
102
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:92
103
  msgid ""
104
  "This attribute specifies if the details are displayed in the event list.<br />\n"
105
  "\t Choose \"false\" to always hide and \"true\" to always show the details.<br />\n"
106
  "\t With \"event_list_only\" the details are only visible in the event list and with \"single_event_only\" only for a single event"
107
  msgstr ""
108
 
109
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:97
110
  msgid ""
111
  "This attribute specifies if the details should be truncate to the given number of characters in the event list.<br />\n"
112
  "\t With the standard value 0 the full details are displayed.<br />\n"
113
  "\t This attribute has no influence if only a single event is shown."
114
  msgstr ""
115
 
116
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:102
117
  msgid ""
118
  "This attribute specifies if a link to the single event should be added onto the event name in the event list.<br />\n"
119
  "\t Choose \"false\" to never add and \"true\" to always add the link.<br />\n"
120
- "\t With \"event_list_only\" the link is only added in the event list and with \"single_event_only\" only for a single event"
 
121
  msgstr ""
122
 
123
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:107
124
  msgid ""
125
  "This attribute specifies if a rss feed link should be added.<br />\n"
126
  "\t You have to enable the feed in the eventlist settings to make this attribute workable.<br />\n"
@@ -129,22 +128,22 @@ msgid ""
129
  "\t With \"event_list_only\" the link is only added in the event list and with \"single_event_only\" only for a single event"
130
  msgstr ""
131
 
132
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:115
133
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:121
134
  msgid ""
135
  "This attribute specifies if the title should be truncate to the given number of characters in the event list.<br />\n"
136
  "\t With the standard value 0 the full details are displayed.<br />\n"
137
  "\t This attribute has no influence if only a single event is shown."
138
  msgstr ""
139
 
140
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:127
141
  msgid ""
142
  "This attribute specifies that the link should follow the given url.<br />\n"
143
  "\t The standard is to leave this attribute empty, then the url will be calculated automatically from the actual page or post url.<br />\n"
144
  "\t This is o.k. for the normal use of the shortcode. This attribute is normally only required for the event-list widget."
145
  msgstr ""
146
 
147
- #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:133
148
  msgid ""
149
  "This attribute the specifies shortcode id of the used shortcode on the page specified with \"url_to_page\" attribute.<br />\n"
150
  "\t The empty standard value is o.k. for the normal use. This attribute is normally only required for the event-list widget."
@@ -569,7 +568,8 @@ msgid "New Category \"%s\" was added"
569
  msgstr ""
570
 
571
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:122
572
- msgid "Error: New Category \"$s\" could not be added"
 
573
  msgstr ""
574
 
575
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:128
@@ -615,20 +615,20 @@ msgstr ""
615
  msgid "None"
616
  msgstr ""
617
 
618
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:187
619
  msgid "Categories can have a hierarchy. You might have a Jazz category, and under that have children categories for Bebop and Big Band. Totally optional."
620
  msgstr ""
621
 
622
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:190
623
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:108
624
  msgid "Description"
625
  msgstr ""
626
 
627
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:234
628
  msgid "Apply"
629
  msgstr ""
630
 
631
- #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:244
632
  msgid "Do a manual sync with post categories"
633
  msgstr ""
634
 
@@ -791,7 +791,7 @@ msgid "For date and cat filters you can specify complex filters with the followi
791
  msgstr ""
792
 
793
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:100
794
- msgid "You can use AND ( \"<b>&amp;</b>\" ) and OR ( \"<b>&verbar;</b>\" or \"<b>&comma;</b>\" ) connections to define complex filters. Additionally you can set brackets ( \"<b>(</b>\" and (\"<b>)</b>\" ) for nested queries."
795
  msgstr ""
796
 
797
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:101
8
  msgstr ""
9
  "Project-Id-Version: PACKAGE VERSION\n"
10
  "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2015-03-21 13:48+0100\n"
12
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
52
  "This attribute specifies the dates and date ranges of which events are displayed. The standard is \"all\" to show all events.<br />\n"
53
  "\t Filtered events according to date_filter value are not available in the event list.<br />\n"
54
  "\t You can find all available values with a description and examples in \"Available Date Formats\" and \"Available Date Range Formats\" below.<br />\n"
55
+ "\t See \"Filter Syntax\" description if you want to define complex filters."
 
56
  msgstr ""
57
 
58
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:26
59
  msgid ""
60
  "This attribute specifies the categories of which events are shown. The standard is \"all\" or an empty string to show all events.<br />\n"
61
  "\t Filtered events defined in categories which doesn´t match cat_filter are not shown in the event list. They are also not available if a manual url parameter is added.<br />\n"
62
+ "\t The filter is specified via the given category slug. See \"Filter Syntax\" description if you want to define complex filters."
 
63
  msgstr ""
64
 
65
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:31
66
  msgid ""
67
  "This attribute specifies how many events should be displayed if upcoming events is selected.<br />\n"
68
  "\t 0 is the standard value which means that all events will be displayed.<br />\n"
69
  "\t Please not that in the actual version there is no pagination of the events available."
70
  msgstr ""
71
 
72
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:36
73
  msgid ""
74
  "This attribute specifies if the filterbar should be displayed. The filterbar allows the users to select filters to limit the listed events.<br />\n"
75
  "\t Choose \"false\" to always hide and \"true\" to always show the navigation.<br />\n"
76
  "\t With \"event_list_only\" the filterbar is only visible in the event list and with \"single_event_only\" only for a single event"
77
  msgstr ""
78
 
79
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:75
80
  msgid ""
81
  "This attribute specifies if the starttime is displayed in the event list.<br />\n"
82
  "\t Choose \"false\" to always hide and \"true\" to always show the starttime.<br />\n"
83
  "\t With \"event_list_only\" the starttime is only visible in the event list and with \"single_event_only\" only for a single event"
84
  msgstr ""
85
 
86
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:80
87
  msgid ""
88
  "This attribute specifies if the location is displayed in the event list.<br />\n"
89
  "\t Choose \"false\" to always hide and \"true\" to always show the location.<br />\n"
90
  "\t With \"event_list_only\" the location is only visible in the event list and with \"single_event_only\" only for a single event"
91
  msgstr ""
92
 
93
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:85
94
  msgid ""
95
  "This attribute specifies if the categories are displayed in the event list.<br />\n"
96
  "\t Choose \"false\" to always hide and \"true\" to always show the category.<br />\n"
97
  "\t With \"event_list_only\" the categories are only visible in the event list and with \"single_event_only\" only for a single event"
98
  msgstr ""
99
 
100
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:90
101
  msgid ""
102
  "This attribute specifies if the details are displayed in the event list.<br />\n"
103
  "\t Choose \"false\" to always hide and \"true\" to always show the details.<br />\n"
104
  "\t With \"event_list_only\" the details are only visible in the event list and with \"single_event_only\" only for a single event"
105
  msgstr ""
106
 
107
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:95
108
  msgid ""
109
  "This attribute specifies if the details should be truncate to the given number of characters in the event list.<br />\n"
110
  "\t With the standard value 0 the full details are displayed.<br />\n"
111
  "\t This attribute has no influence if only a single event is shown."
112
  msgstr ""
113
 
114
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:100
115
  msgid ""
116
  "This attribute specifies if a link to the single event should be added onto the event name in the event list.<br />\n"
117
  "\t Choose \"false\" to never add and \"true\" to always add the link.<br />\n"
118
+ "\t With \"event_list_only\" the link is only added in the event list and with \"single_event_only\" only for a single event.<br />\n"
119
+ "\t With \"events_with_details_only\" the link is only added in the event list for events with event details."
120
  msgstr ""
121
 
122
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:106
123
  msgid ""
124
  "This attribute specifies if a rss feed link should be added.<br />\n"
125
  "\t You have to enable the feed in the eventlist settings to make this attribute workable.<br />\n"
128
  "\t With \"event_list_only\" the link is only added in the event list and with \"single_event_only\" only for a single event"
129
  msgstr ""
130
 
131
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:114
132
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:120
133
  msgid ""
134
  "This attribute specifies if the title should be truncate to the given number of characters in the event list.<br />\n"
135
  "\t With the standard value 0 the full details are displayed.<br />\n"
136
  "\t This attribute has no influence if only a single event is shown."
137
  msgstr ""
138
 
139
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:126
140
  msgid ""
141
  "This attribute specifies that the link should follow the given url.<br />\n"
142
  "\t The standard is to leave this attribute empty, then the url will be calculated automatically from the actual page or post url.<br />\n"
143
  "\t This is o.k. for the normal use of the shortcode. This attribute is normally only required for the event-list widget."
144
  msgstr ""
145
 
146
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:132
147
  msgid ""
148
  "This attribute the specifies shortcode id of the used shortcode on the page specified with \"url_to_page\" attribute.<br />\n"
149
  "\t The empty standard value is o.k. for the normal use. This attribute is normally only required for the event-list widget."
568
  msgstr ""
569
 
570
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:122
571
+ #, php-format
572
+ msgid "Error: New Category \"%s\" could not be added"
573
  msgstr ""
574
 
575
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:128
615
  msgid "None"
616
  msgstr ""
617
 
618
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:185
619
  msgid "Categories can have a hierarchy. You might have a Jazz category, and under that have children categories for Bebop and Big Band. Totally optional."
620
  msgstr ""
621
 
622
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:188
623
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:108
624
  msgid "Description"
625
  msgstr ""
626
 
627
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:232
628
  msgid "Apply"
629
  msgstr ""
630
 
631
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:242
632
  msgid "Do a manual sync with post categories"
633
  msgstr ""
634
 
791
  msgstr ""
792
 
793
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:100
794
+ msgid "You can use AND ( \"<strong>&amp;</strong>\" ) and OR ( \"<strong>&verbar;</strong>\" or \"<strong>&comma;</strong>\" ) connections to define complex filters. Additionally you can set brackets ( \"<strong>(</strong>\" and \"<strong>)</strong>\" ) for nested queries."
795
  msgstr ""
796
 
797
  #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:101
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: event, events, list, listview, calendar, schedule, shortcode, page, category, categories, filter, admin, attribute, widget, sidebar, feed, rss
5
  Requires at least: 3.3
6
  Tested up to: 4.2
7
- Stable tag: 0.7.1
8
  Plugin URI: http://wordpress.org/extend/plugins/event-list
9
  Licence: GPLv2
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -67,11 +67,20 @@ Another possibility would be to call the wordpress function "do_shortcode()".
67
  6. Admin page: Settings (feed tab)
68
  7. Admin page: About page with help and shortcode attributes list
69
  8. Admin page: Widget with the available options
70
- 9. Example page created with [event-list] shortcode
 
71
 
72
 
73
  == Changelog ==
74
 
 
 
 
 
 
 
 
 
75
  = 0.7.1 (2015-02-01) =
76
  * added options for month filterbar item
77
  * only show years, months and cats with events in filterbar (acc. to available events and date/cat filter
4
  Tags: event, events, list, listview, calendar, schedule, shortcode, page, category, categories, filter, admin, attribute, widget, sidebar, feed, rss
5
  Requires at least: 3.3
6
  Tested up to: 4.2
7
+ Stable tag: 0.7.2
8
  Plugin URI: http://wordpress.org/extend/plugins/event-list
9
  Licence: GPLv2
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
67
  6. Admin page: Settings (feed tab)
68
  7. Admin page: About page with help and shortcode attributes list
69
  8. Admin page: Widget with the available options
70
+ 9. Example page with [event-list] shortcode
71
+ 10. Example widget
72
 
73
 
74
  == Changelog ==
75
 
76
+ = 0.7.2 (2015-03-21) =
77
+ * fixed an issue with multiday events when deleting a category
78
+ * fixed displaying the category slug instead of the category name in event listing
79
+ * fixed sub-category handling of deleted categories
80
+ * fixed sub-category handling when a category slug is changed
81
+ * fixed parent selection list in category edit mode
82
+ * some helptext fixes
83
+
84
  = 0.7.1 (2015-02-01) =
85
  * added options for month filterbar item
86
  * only show years, months and cats with events in filterbar (acc. to available events and date/cat filter
screenshot-1.png CHANGED
Binary file
screenshot-10.png ADDED
Binary file
screenshot-2.png CHANGED
Binary file
screenshot-3.png CHANGED
Binary file
screenshot-4.png CHANGED
Binary file
screenshot-5.png CHANGED
Binary file
screenshot-6.png CHANGED
Binary file
screenshot-7.png CHANGED
Binary file
screenshot-8.png CHANGED
Binary file
screenshot-9.png CHANGED
Binary file