Event List - Version 0.7.0

Version Description

(2014-12-22) = * initial multilanguage support * German translation (not complete yet) * Unicode support in truncate function * Changed position of admin menu * Changed icon in admin menu

Download this release

Release Info

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

Code changes from version 0.6.9 to 0.7.0

admin/admin.php CHANGED
@@ -42,26 +42,26 @@ class EL_Admin {
42
  */
43
  public function register_pages() {
44
  // Main Menu page
45
- add_menu_page('Event List', 'Event List', 'edit_posts', 'el_admin_main', array(&$this, 'show_main_page'));
46
 
47
  // All Events subpage
48
- $page = add_submenu_page('el_admin_main', 'Events', 'All Events', 'edit_posts', 'el_admin_main', array(&$this, 'show_main_page'));
49
  add_action('admin_print_scripts-'.$page, array(&$this, 'embed_main_scripts'));
50
 
51
  // New Event subpage
52
- $page = add_submenu_page('el_admin_main', 'Add New Event', 'Add New', 'edit_posts', 'el_admin_new', array(&$this, 'show_new_page'));
53
  add_action('admin_print_scripts-'.$page, array(&$this, 'embed_new_scripts'));
54
 
55
  // Categories subpage
56
- $page = add_submenu_page('el_admin_main', 'Event List Categories', 'Categories', 'manage_options', 'el_admin_categories', array(&$this, 'show_categories_page'));
57
  add_action('admin_print_scripts-'.$page, array(&$this, 'embed_categories_scripts'));
58
 
59
  // Settings subpage
60
- $page = add_submenu_page('el_admin_main', 'Event List Settings', 'Settings', 'manage_options', 'el_admin_settings', array(&$this, 'show_settings_page'));
61
  add_action('admin_print_scripts-'.$page, array(&$this, 'embed_settings_scripts'));
62
 
63
  // About subpage
64
- $page = add_submenu_page('el_admin_main', 'About Event List', 'About', 'edit_posts', 'el_admin_about', array(&$this, 'show_about_page'));
65
  add_action('admin_print_scripts-'.$page, array(&$this, 'embed_about_scripts'));
66
  }
67
 
@@ -77,7 +77,7 @@ class EL_Admin {
77
  $out = '
78
  <tr>
79
  <td class="first b b-events"><a href="'.$event_link.'">'.$num_events.'</a></td>
80
- <td class="t events"><a href="'.$event_link.'">'.__('Events').'</a></td>
81
  </tr>';
82
  echo $out;
83
  }
42
  */
43
  public function register_pages() {
44
  // Main Menu page
45
+ add_menu_page(__('Event List','eventlist'), __('Event List','eventlist'), 'edit_posts', 'el_admin_main', array(&$this, 'show_main_page'), EL_URL.'admin/images/calendar.png', '22.2');
46
 
47
  // All Events subpage
48
+ $page = add_submenu_page('el_admin_main', __('Events','eventlist'), __('All Events','eventlist'), 'edit_posts', 'el_admin_main', array(&$this, 'show_main_page'));
49
  add_action('admin_print_scripts-'.$page, array(&$this, 'embed_main_scripts'));
50
 
51
  // New Event subpage
52
+ $page = add_submenu_page('el_admin_main', __('Add New Event','eventlist'), __('Add New','eventlist'), 'edit_posts', 'el_admin_new', array(&$this, 'show_new_page'));
53
  add_action('admin_print_scripts-'.$page, array(&$this, 'embed_new_scripts'));
54
 
55
  // Categories subpage
56
+ $page = add_submenu_page('el_admin_main', __('Event List Categories','eventlist'), __('Categories','eventlist'), 'manage_options', 'el_admin_categories', array(&$this, 'show_categories_page'));
57
  add_action('admin_print_scripts-'.$page, array(&$this, 'embed_categories_scripts'));
58
 
59
  // Settings subpage
60
+ $page = add_submenu_page('el_admin_main', __('Event List Settings','eventlist'), __('Settings','eventlist'), 'manage_options', 'el_admin_settings', array(&$this, 'show_settings_page'));
61
  add_action('admin_print_scripts-'.$page, array(&$this, 'embed_settings_scripts'));
62
 
63
  // About subpage
64
+ $page = add_submenu_page('el_admin_main', __('About Event List','eventlist'), __('About','eventlist'), 'edit_posts', 'el_admin_about', array(&$this, 'show_about_page'));
65
  add_action('admin_print_scripts-'.$page, array(&$this, 'embed_about_scripts'));
66
  }
67
 
77
  $out = '
78
  <tr>
79
  <td class="first b b-events"><a href="'.$event_link.'">'.$num_events.'</a></td>
80
+ <td class="t events"><a href="'.$event_link.'">'.__('Events','eventlist').'</a></td>
81
  </tr>';
82
  echo $out;
83
  }
admin/images/{calendar-icon.png → calendar.png} RENAMED
File without changes
admin/includes/admin-about.php CHANGED
@@ -23,10 +23,10 @@ class EL_Admin_About {
23
 
24
  public function show_about() {
25
  if(!current_user_can('edit_posts')) {
26
- wp_die(__('You do not have sufficient permissions to access this page.'));
27
  }
28
  echo '<div class="wrap">
29
- <div id="icon-edit-pages" class="icon32"><br /></div><h2>About Event List</h2>
30
  <h3 class="el-headline">Help and Instructions</h3>
31
  <p>You can manage your events <a href="admin.php?page=el_admin_main">here</a>.</p>
32
  <p>To show the events on your site you have two possibilities:
@@ -95,19 +95,19 @@ class EL_Admin_About {
95
 
96
  private function show_filter_syntax() {
97
  return '
98
- <h3 class="el-headline">'.__('Filter Syntax').'</h3>
99
- <p>'.__('For date and cat filters you can specify complex filters with the following syntax:').'</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.').'</p>
101
- '.__('Examples for cat filters:').'
102
- <p><code>tennis</code> ... '.__('Show all events with category "tennis".').'<br />
103
- <code>tennis,hockey</code> ... '.__('Show all events with category "tennis" or "hockey".').'<br />
104
- <code>tennis|(hockey&winter)</code> ... '.__('Show all events with category "tennis" and all events where category "hockey" as well as "winter" is selected.').'</p>';
105
  }
106
 
107
  private function show_date_syntax() {
108
  return '
109
- <h3 class="el-headline">'.__('Available Date Formats').'</h3>
110
- <p>'.__('For date filters you can use the following date formats:').'</p>
111
  <ul class="el-formats">
112
  '.$this->show_formats($this->options->date_formats).'
113
  </ul>';
@@ -115,8 +115,8 @@ class EL_Admin_About {
115
 
116
  private function show_daterange_syntax() {
117
  return '
118
- <h3 class="el-headline">'.__('Available Date Range Formats').'</h3>
119
- <p>'.__('For date filters you can use the following daterange formats:').'</p>
120
  <ul class="el-formats">
121
  '.$this->show_formats($this->options->daterange_formats).'
122
  </ul>';
@@ -128,11 +128,11 @@ class EL_Admin_About {
128
  $out .= '
129
  <li><div class="el-format-entry"><div class="el-format-name">'.$format['name'].':</div><div class="el-format-desc">';
130
  if(isset($format['value'])) {
131
- $out .= __('Value').': <em>'.$format['value'].'</em><br />';
132
  }
133
  $out .= $format['desc'].'<br />';
134
  if(isset($format['examp'])) {
135
- $out .= __('Example').': <em>'.$format['examp'].'</em>';
136
  }
137
  $out .= '</div></div></li>';
138
  }
23
 
24
  public function show_about() {
25
  if(!current_user_can('edit_posts')) {
26
+ wp_die(__('You do not have sufficient permissions to access this page.','eventlist'));
27
  }
28
  echo '<div class="wrap">
29
+ <div id="icon-edit-pages" class="icon32"><br /></div><h2>'.__('About Event List','eventlist').'</h2>
30
  <h3 class="el-headline">Help and Instructions</h3>
31
  <p>You can manage your events <a href="admin.php?page=el_admin_main">here</a>.</p>
32
  <p>To show the events on your site you have two possibilities:
95
 
96
  private function show_filter_syntax() {
97
  return '
98
+ <h3 class="el-headline">'.__('Filter Syntax','eventlist').'</h3>
99
+ <p>'.__('For date and cat filters you can specify complex filters with the following syntax:','eventlist').'</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.','eventlist').'</p>
101
+ '.__('Examples for cat filters:','eventlist').'
102
+ <p><code>tennis</code> ... '.__('Show all events with category "tennis".','eventlist').'<br />
103
+ <code>tennis,hockey</code> ... '.__('Show all events with category "tennis" or "hockey".','eventlist').'<br />
104
+ <code>tennis|(hockey&winter)</code> ... '.__('Show all events with category "tennis" and all events where category "hockey" as well as "winter" is selected.','eventlist').'</p>';
105
  }
106
 
107
  private function show_date_syntax() {
108
  return '
109
+ <h3 class="el-headline">'.__('Available Date Formats','eventlist').'</h3>
110
+ <p>'.__('For date filters you can use the following date formats:','eventlist').'</p>
111
  <ul class="el-formats">
112
  '.$this->show_formats($this->options->date_formats).'
113
  </ul>';
115
 
116
  private function show_daterange_syntax() {
117
  return '
118
+ <h3 class="el-headline">'.__('Available Date Range Formats','eventlist').'</h3>
119
+ <p>'.__('For date filters you can use the following daterange formats:','eventlist').'</p>
120
  <ul class="el-formats">
121
  '.$this->show_formats($this->options->daterange_formats).'
122
  </ul>';
128
  $out .= '
129
  <li><div class="el-format-entry"><div class="el-format-name">'.$format['name'].':</div><div class="el-format-desc">';
130
  if(isset($format['value'])) {
131
+ $out .= __('Value','eventlist').': <em>'.$format['value'].'</em><br />';
132
  }
133
  $out .= $format['desc'].'<br />';
134
  if(isset($format['examp'])) {
135
+ $out .= __('Example','eventlist').': <em>'.$format['examp'].'</em>';
136
  }
137
  $out .= '</div></div></li>';
138
  }
admin/includes/admin-categories.php CHANGED
@@ -34,7 +34,7 @@ class EL_Admin_Categories {
34
 
35
  public function show_categories () {
36
  if(!current_user_can('manage_options')) {
37
- wp_die(__('You do not have sufficient permissions to access this page.'));
38
  }
39
  $out = '';
40
 
@@ -47,16 +47,16 @@ class EL_Admin_Categories {
47
 
48
  // normal output
49
  $out.= '<div class="wrap">
50
- <div id="icon-edit-pages" class="icon32"><br /></div><h2>Event List Categories</h2>
51
  <div id="posttype-page" class="posttypediv">';
52
  if('edit' === $action && isset($_GET['id'])) {
53
- $out .=$this->show_edit_category_form(__('Edit Category'), __('Update Category'), $this->categories->get_category_data($_GET['id']));
54
  }
55
  else {
56
  // show category table
57
  $out .= $this->show_category_table();
58
  // show add category form
59
- $out .= $this->show_edit_category_form(__('Add New Category'), __('Add New Category'));
60
  // show cat sync option form
61
  $out .= $this->show_cat_sync_form();
62
  }
@@ -81,15 +81,15 @@ class EL_Admin_Categories {
81
  $num_affected_events = $this->db->remove_category_in_events($slug_array);
82
  if($this->categories->remove_categories($slug_array, false)) {
83
  $out .= '<div id="message" class="updated">
84
- <p><strong>'.sprintf(__('Category "%s" deleted.'), $_GET['slug']);
85
  if($num_affected_events > 0) {
86
- $out .= '<br />'.sprintf(__('This Category was also removed from %d events.'), $num_affected_events);
87
  }
88
  $out .= '</strong></p>
89
  </div>';
90
  }
91
  else {
92
- $out .= '<div id="message" class="error below-h2"><p><strong>Error while deleting category "'.$_GET['slug'].'".</strong></p></div>';
93
  }
94
  }
95
  }
@@ -99,16 +99,16 @@ class EL_Admin_Categories {
99
  $is_disabled = '1' == $this->options->get('el_sync_cats');
100
  if($is_disabled) {
101
  $this->categories->sync_with_post_cats();
102
- $out .= '<div id="message" class="updated"><p><strong>'.__('Sync with post categories enabled.').'</strong></p></div>';
103
  }
104
  else {
105
- $out .= '<div id="message" class="updated"><p><strong>'.__('Sync with post categories disabled.').'</strong></p></div>';
106
  }
107
  }
108
  else if('manualcatsync' === $action) {
109
  if(!$is_disabled) {
110
  $this->categories->sync_with_post_cats();
111
- $out .= '<div id="message" class="updated"><p><strong>'.__('Manual sync with post categories sucessfully finished.').'</strong></p></div>';
112
  }
113
  }
114
  else if('editcat' === $action && !empty($_POST)) {
@@ -116,19 +116,19 @@ class EL_Admin_Categories {
116
  if(!isset($_POST['id'])) {
117
  // add new category
118
  if($this->categories->add_category($_POST)) {
119
- $out .= '<div id="message" class="updated below-h2"><p><strong>New Category "'.$_POST['name'].'" was added.</strong></p></div>';
120
  }
121
  else {
122
- $out .= '<div id="message" class="error below-h2"><p><strong>Error: New Category "'.$_POST['name'].'" could not be added.</strong></p></div>';
123
  }
124
  }
125
  else {
126
  // edit category
127
  if($this->categories->edit_category($_POST, $_POST['id'])) {
128
- $out .= '<div id="message" class="updated below-h2"><p><strong>Category "'.$_POST['id'].'" was modified.</strong></p></div>';
129
  }
130
  else {
131
- $out .= '<div id="message" class="error below-h2"><p><strong>Error: Category "'.$_POST['id'].'" could not be modified.</strong></p></div>';
132
  }
133
  }
134
  }
@@ -137,7 +137,7 @@ class EL_Admin_Categories {
137
  if($is_disabled) {
138
  $out .= '<div id="message" class="updated"><p>'.__('Categories are automatically synced with the post categories.<br />
139
  Because of this all options to add new categories or editing existing categories are disabled.<br />
140
- If you want to manually edit the categories you have to disable this option.').'</p></div>';
141
  }
142
  return $out;
143
  }
@@ -162,19 +162,19 @@ class EL_Admin_Categories {
162
  }
163
  // Category Name
164
  $out .= '
165
- <div class="form-field form-required"><label for="name">Name: </label>';
166
  $out .= $this->functions->show_text('name', $cat_data['name'], $is_disabled);
167
- $out .= '<p>'.__('The name is how it appears on your site.').'</p></div>';
168
  // Category Slug
169
  $out .= '
170
- <div class="form-field"><label for="name">Slug: </label>';
171
  $out .= $this->functions->show_text('slug', $cat_data['slug'], $is_disabled);
172
- $out .= '<p>'.__('The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.').'</p></div>';
173
  // Category Parent
174
  $out .= '
175
- <div class="form-field"><label for="parent">Parent: </label>';
176
  $cat_array = $this->categories->get_cat_array('name', 'asc');
177
- $option_array = array('' => __('None'));
178
  $class_array = array();
179
  foreach($cat_array as $cat) {
180
  if($cat['slug'] != $cat_data['slug']) {
@@ -184,10 +184,10 @@ class EL_Admin_Categories {
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);
187
- $out .= '<p>'.__('Categories can have a hierarchy. You might have a Jazz category, and under that have children categories for Bebop and Big Band. Totally optional.').'</p></div>';
188
  // Category Description
189
  $out .= '
190
- <div class="form-field"><label for="name">Description: </label>';
191
  $out .= $this->functions->show_textarea('desc', $cat_data['desc'], $is_disabled);
192
  $out .= '</div>
193
  <p class="submit"><input type="submit" class="button-primary" value="'.$button_text.'" id="submitbutton"'.$this->functions->get_disabled_text($is_disabled).'></p>';
@@ -231,7 +231,7 @@ class EL_Admin_Categories {
231
  <h3>'.$sync_option['label'].'</h3>
232
  <form id="catsync" method="POST" action="?page=el_admin_categories&amp;action=setcatsync">';
233
  // Checkbox
234
- $out .= $this->functions->show_checkbox('el_sync_cats', $sync_option_value, $sync_option['caption'].' <input type="submit" class="button-primary" value="'.__('Apply').'" id="catsyncsubmitbutton">');
235
  $out .= '<br />'.$sync_option['desc'];
236
  $out .= '
237
  </form>
@@ -241,7 +241,7 @@ class EL_Admin_Categories {
241
  $out .= '<br />
242
  <div>
243
  <form id="manualcatsync" method="POST" action="?page=el_admin_categories&amp;action=manualcatsync">
244
- <input type="submit" class="button-secondary" value="'.__('Do a manual sync with post categories').'" id="manualcatsyncbutton"'.$disabled_text.'>
245
  </form>
246
  </div>';
247
  $out .= '
34
 
35
  public function show_categories () {
36
  if(!current_user_can('manage_options')) {
37
+ wp_die(__('You do not have sufficient permissions to access this page.','eventlist'));
38
  }
39
  $out = '';
40
 
47
 
48
  // normal output
49
  $out.= '<div class="wrap">
50
+ <div id="icon-edit-pages" class="icon32"><br /></div><h2>'.__('Event List Categories','eventlist').'</h2>
51
  <div id="posttype-page" class="posttypediv">';
52
  if('edit' === $action && isset($_GET['id'])) {
53
+ $out .=$this->show_edit_category_form(__('Edit Category','eventlist'), __('Update Category','eventlist'), $this->categories->get_category_data($_GET['id']));
54
  }
55
  else {
56
  // show category table
57
  $out .= $this->show_category_table();
58
  // show add category form
59
+ $out .= $this->show_edit_category_form(__('Add New Category','eventlist'), __('Add New Category','eventlist'));
60
  // show cat sync option form
61
  $out .= $this->show_cat_sync_form();
62
  }
81
  $num_affected_events = $this->db->remove_category_in_events($slug_array);
82
  if($this->categories->remove_categories($slug_array, false)) {
83
  $out .= '<div id="message" class="updated">
84
+ <p><strong>'.sprintf(__('Category "%s" deleted.','eventlist'), $_GET['slug']);
85
  if($num_affected_events > 0) {
86
+ $out .= '<br />'.sprintf(__('This Category was also removed from %d events.','eventlist'), $num_affected_events);
87
  }
88
  $out .= '</strong></p>
89
  </div>';
90
  }
91
  else {
92
+ $out .= '<div id="message" class="error below-h2"><p><strong>'.sprintf(__('Error while deleting category "%s"','eventlist'), $_GET['slug']).'.</strong></p></div>';
93
  }
94
  }
95
  }
99
  $is_disabled = '1' == $this->options->get('el_sync_cats');
100
  if($is_disabled) {
101
  $this->categories->sync_with_post_cats();
102
+ $out .= '<div id="message" class="updated"><p><strong>'.__('Sync with post categories enabled.','eventlist').'</strong></p></div>';
103
  }
104
  else {
105
+ $out .= '<div id="message" class="updated"><p><strong>'.__('Sync with post categories disabled.','eventlist').'</strong></p></div>';
106
  }
107
  }
108
  else if('manualcatsync' === $action) {
109
  if(!$is_disabled) {
110
  $this->categories->sync_with_post_cats();
111
+ $out .= '<div id="message" class="updated"><p><strong>'.__('Manual sync with post categories sucessfully finished.','eventlist').'</strong></p></div>';
112
  }
113
  }
114
  else if('editcat' === $action && !empty($_POST)) {
116
  if(!isset($_POST['id'])) {
117
  // add new category
118
  if($this->categories->add_category($_POST)) {
119
+ $out .= '<div id="message" class="updated below-h2"><p><strong>'.sprintf(__('New Category "%s" was added','eventlist'), $_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','eventlist'), $_POST['name']).'.</strong></p></div>';
123
  }
124
  }
125
  else {
126
  // edit category
127
  if($this->categories->edit_category($_POST, $_POST['id'])) {
128
+ $out .= '<div id="message" class="updated below-h2"><p><strong>'.sprintf(__('Category "%s" was modified','eventlist'), $_POST['id']).'.</strong></p></div>';
129
  }
130
  else {
131
+ $out .= '<div id="message" class="error below-h2"><p><strong>'.sprintf(__('Error: Category "%s" could not be modified','eventlist'), $_POST['id']).'.</strong></p></div>';
132
  }
133
  }
134
  }
137
  if($is_disabled) {
138
  $out .= '<div id="message" class="updated"><p>'.__('Categories are automatically synced with the post categories.<br />
139
  Because of this all options to add new categories or editing existing categories are disabled.<br />
140
+ If you want to manually edit the categories you have to disable this option.','eventlist').'</p></div>';
141
  }
142
  return $out;
143
  }
162
  }
163
  // Category Name
164
  $out .= '
165
+ <div class="form-field form-required"><label for="name">'.__('Name','eventlist').': </label>';
166
  $out .= $this->functions->show_text('name', $cat_data['name'], $is_disabled);
167
+ $out .= '<p>'.__('The name is how it appears on your site.','eventlist').'</p></div>';
168
  // Category Slug
169
  $out .= '
170
+ <div class="form-field"><label for="name">'.__('Slug','eventlist').': </label>';
171
  $out .= $this->functions->show_text('slug', $cat_data['slug'], $is_disabled);
172
+ $out .= '<p>'.__('The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.','eventlist').'</p></div>';
173
  // Category Parent
174
  $out .= '
175
+ <div class="form-field"><label for="parent">'.__('Parent','eventlist').': </label>';
176
  $cat_array = $this->categories->get_cat_array('name', 'asc');
177
+ $option_array = array('' => __('None','eventlist'));
178
  $class_array = array();
179
  foreach($cat_array as $cat) {
180
  if($cat['slug'] != $cat_data['slug']) {
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);
187
+ $out .= '<p>'.__('Categories can have a hierarchy. You might have a Jazz category, and under that have children categories for Bebop and Big Band. Totally optional.','eventlist').'</p></div>';
188
  // Category Description
189
  $out .= '
190
+ <div class="form-field"><label for="name">'.__('Description','eventlist').': </label>';
191
  $out .= $this->functions->show_textarea('desc', $cat_data['desc'], $is_disabled);
192
  $out .= '</div>
193
  <p class="submit"><input type="submit" class="button-primary" value="'.$button_text.'" id="submitbutton"'.$this->functions->get_disabled_text($is_disabled).'></p>';
231
  <h3>'.$sync_option['label'].'</h3>
232
  <form id="catsync" method="POST" action="?page=el_admin_categories&amp;action=setcatsync">';
233
  // Checkbox
234
+ $out .= $this->functions->show_checkbox('el_sync_cats', $sync_option_value, $sync_option['caption'].' <input type="submit" class="button-primary" value="'.__('Apply','eventlist').'" id="catsyncsubmitbutton">');
235
  $out .= '<br />'.$sync_option['desc'];
236
  $out .= '
237
  </form>
241
  $out .= '<br />
242
  <div>
243
  <form id="manualcatsync" method="POST" action="?page=el_admin_categories&amp;action=manualcatsync">
244
+ <input type="submit" class="button-secondary" value="'.__('Do a manual sync with post categories','eventlist').'" id="manualcatsyncbutton"'.$disabled_text.'>
245
  </form>
246
  </div>';
247
  $out .= '
admin/includes/admin-main.php CHANGED
@@ -66,7 +66,7 @@ class EL_Admin_Main {
66
  public function show_main() {
67
  // check permissions
68
  if(!current_user_can('edit_posts')) {
69
- wp_die(__('You do not have sufficient permissions to access this page.'));
70
  }
71
  // TODO: add check_admin_referer to improve security (see /wp-admin/edit.php)
72
  // is there POST data an event was edited must be updated
@@ -102,14 +102,14 @@ class EL_Admin_Main {
102
  private function show_page_header($action, $editview=false) {
103
  if($editview) {
104
  $duplicate_link = add_query_arg(array('id'=>$_GET['id'], 'action'=>'copy'), '?page=el_admin_new');
105
- $header = 'Edit Event <a href="'.$duplicate_link.'" class="add-new-h2">'.__('Duplicate').'</a>';
106
  }
107
  else {
108
- $header = 'Events';
109
  }
110
  echo '
111
  <div class="wrap">
112
- <div id="icon-edit-pages" class="icon32"><br /></div><h2>'.$header.' <a href="?page=el_admin_new" class="add-new-h2">'.__('Add New').'</a></h2>';
113
  $this->show_message($action);
114
  }
115
 
66
  public function show_main() {
67
  // check permissions
68
  if(!current_user_can('edit_posts')) {
69
+ wp_die(__('You do not have sufficient permissions to access this page.','eventlist'));
70
  }
71
  // TODO: add check_admin_referer to improve security (see /wp-admin/edit.php)
72
  // is there POST data an event was edited must be updated
102
  private function show_page_header($action, $editview=false) {
103
  if($editview) {
104
  $duplicate_link = add_query_arg(array('id'=>$_GET['id'], 'action'=>'copy'), '?page=el_admin_new');
105
+ $header = __('Edit Event','eventlist').' <a href="'.$duplicate_link.'" class="add-new-h2">'.__('Duplicate','eventlist').'</a>';
106
  }
107
  else {
108
+ $header = __('Events', 'eventlist');
109
  }
110
  echo '
111
  <div class="wrap">
112
+ <div id="icon-edit-pages" class="icon32"><br /></div><h2>'.$header.' <a href="?page=el_admin_new" class="add-new-h2">'.__('Add New','eventlist').'</a></h2>';
113
  $this->show_message($action);
114
  }
115
 
admin/includes/admin-new.php CHANGED
@@ -35,12 +35,12 @@ class EL_Admin_New {
35
 
36
  public function show_new() {
37
  if(!current_user_can('edit_posts')) {
38
- wp_die(__('You do not have sufficient permissions to access this page.'));
39
  }
40
  $out = '<div class="wrap">
41
- <div id="icon-edit-pages" class="icon32"><br /></div><h2>'.__('Add New Event').'</h2>';
42
  if($this->is_duplicate) {
43
- $out .= '<span style="color:silver">('.sprintf(__('Duplicate of event id:%d'), $_GET['id']).')</span>';
44
  }
45
  $out .= $this->edit_event();
46
  $out .= '</div>';
@@ -94,28 +94,28 @@ class EL_Admin_New {
94
  $out .= '
95
  <table class="form-table">
96
  <tr>
97
- <th><label>Event Title (required)</label></th>
98
  <td><input type="text" class="text form-required" name="title" id="title" value="'.str_replace('"', '&quot;', isset($event->title) ? $event->title : '').'" /></td>
99
  </tr>
100
  <tr>
101
- <th><label>Event Date (required)</label></th>
102
  <td><input type="text" class="text datepicker form-required" name="start_date" id="start_date" value="'.date('Y-m-d', $start_date).'" />
103
  <span id="end_date_area"> - <input type="text" class="text datepicker" name="end_date" id="end_date" value="'.date('Y-m-d', $end_date).'" /></span>
104
- <label><input type="checkbox" name="multiday" id="multiday" value="1" /> Multi-Day Event</label>
105
  <input type="hidden" id="sql_start_date" name="sql_start_date" value="" />
106
  <input type="hidden" id="sql_end_date" name="sql_end_date" value="" />
107
  </td>
108
  </tr>
109
  <tr>
110
- <th><label>Event Time</label></th>
111
  <td><input type="text" class="text" name="time" id="time" value="'.str_replace('"', '&quot;', isset($event->time) ? $event->time : '').'" /></td>
112
  </tr>
113
  <tr>
114
- <th><label>Event Location</label></th>
115
  <td><input type="text" class="text" name="location" id="location" value="'.str_replace('"', '&quot;', isset($event->location) ? $event->location : '').'" /></td>
116
  </tr>
117
  <tr>
118
- <th><label>Event Details</label></th>
119
  <td>';
120
  $editor_settings = array('drag_drop_upload' => true,
121
  'textarea_rows' => 20);
@@ -131,9 +131,9 @@ class EL_Admin_New {
131
  </div>
132
  <div id="postbox-container-1" class="postbox-container">
133
  <div id="side-sortables" class="meta-box-sortables ui-sortable">';
134
- add_meta_box('event-publish', __('Publish'), array(&$this, 'render_publish_metabox'), 'event-list');
135
  $metabox_args = isset($event->categories) ? array('event_cats' => $event->categories) : null;
136
- add_meta_box('event-categories', __('Categories'), array(&$this, 'render_category_metabox'), 'event-list', 'advanced', 'default', $metabox_args);
137
  ob_start();
138
  do_meta_boxes('event-list', 'advanced', null);
139
  $out .= ob_get_contents();
@@ -148,9 +148,9 @@ class EL_Admin_New {
148
  }
149
 
150
  public function render_publish_metabox() {
151
- $button_text = $this->is_new ? __('Publish') : __('Update');
152
  $out = '<div class="submitbox">
153
- <div id="delete-action"><a href="?page=el_admin_main" class="submitdelete deletion">'.__('Cancel').'</a></div>
154
  <div id="publishing-action"><input type="submit" class="button button-primary button-large" name="publish" value="'.$button_text.'" id="publish"></div>
155
  <div class="clear"></div>
156
  </div>';
@@ -163,7 +163,7 @@ class EL_Admin_New {
163
  <div id="category-all" class="tabs-panel">';
164
  $cat_array = $this->categories->get_cat_array('name', 'asc');
165
  if(empty($cat_array)) {
166
- $out .= __('No categories available.');
167
  }
168
  else {
169
  $out .= '
@@ -200,16 +200,16 @@ class EL_Admin_New {
200
  </div>';
201
  // TODO: Adding new categories in edit event form
202
  /* <div id="category-adder" class="wp-hidden-children">
203
- <h4><a id="category-add-toggle" href="#category-add" class="hide-if-no-js">'.__('+ Add New Category').'</a></h4>
204
  <p id="category-add" class="category-add wp-hidden-child">
205
- <label class="screen-reader-text" for="newcategory">'.__('Category Name').'</label>
206
  <input type="text" name="newcategory" id="newcategory" class="form-required form-input-tip" value="" aria-required="true"/>
207
- <input type="button" id="category-add-submit" class="button category-add-submit" value="'.__('Add Category').'" />
208
  </p>
209
  </div>*/
210
  $out .= '
211
  <div id="category-manager">
212
- <a id="category-manage-link" href="?page=el_admin_categories">'.__('Goto Category Settings').'</a>
213
  </div>
214
  </div>';
215
  echo $out;
35
 
36
  public function show_new() {
37
  if(!current_user_can('edit_posts')) {
38
+ wp_die(__('You do not have sufficient permissions to access this page.','eventlist'));
39
  }
40
  $out = '<div class="wrap">
41
+ <div id="icon-edit-pages" class="icon32"><br /></div><h2>'.__('Add New Event','eventlist').'</h2>';
42
  if($this->is_duplicate) {
43
+ $out .= '<span style="color:silver">('.sprintf(__('Duplicate of event id:%d','eventlist'), $_GET['id']).')</span>';
44
  }
45
  $out .= $this->edit_event();
46
  $out .= '</div>';
94
  $out .= '
95
  <table class="form-table">
96
  <tr>
97
+ <th><label>'.__('Title','eventlist').' ('.__('required','eventlist').')</label></th>
98
  <td><input type="text" class="text form-required" name="title" id="title" value="'.str_replace('"', '&quot;', isset($event->title) ? $event->title : '').'" /></td>
99
  </tr>
100
  <tr>
101
+ <th><label>'.__('Date','eventlist').' ('.__('required','eventlist').')</label></th>
102
  <td><input type="text" class="text datepicker form-required" name="start_date" id="start_date" value="'.date('Y-m-d', $start_date).'" />
103
  <span id="end_date_area"> - <input type="text" class="text datepicker" name="end_date" id="end_date" value="'.date('Y-m-d', $end_date).'" /></span>
104
+ <label><input type="checkbox" name="multiday" id="multiday" value="1" /> '.__('Multi-Day Event','eventlist').'</label>
105
  <input type="hidden" id="sql_start_date" name="sql_start_date" value="" />
106
  <input type="hidden" id="sql_end_date" name="sql_end_date" value="" />
107
  </td>
108
  </tr>
109
  <tr>
110
+ <th><label>'.__('Time','eventlist').'</label></th>
111
  <td><input type="text" class="text" name="time" id="time" value="'.str_replace('"', '&quot;', isset($event->time) ? $event->time : '').'" /></td>
112
  </tr>
113
  <tr>
114
+ <th><label>'.__('Location','eventlist').'</label></th>
115
  <td><input type="text" class="text" name="location" id="location" value="'.str_replace('"', '&quot;', isset($event->location) ? $event->location : '').'" /></td>
116
  </tr>
117
  <tr>
118
+ <th><label>'.__('Details','eventlist').'</label></th>
119
  <td>';
120
  $editor_settings = array('drag_drop_upload' => true,
121
  'textarea_rows' => 20);
131
  </div>
132
  <div id="postbox-container-1" class="postbox-container">
133
  <div id="side-sortables" class="meta-box-sortables ui-sortable">';
134
+ add_meta_box('event-publish', __('Publish','eventlist'), array(&$this, 'render_publish_metabox'), 'event-list');
135
  $metabox_args = isset($event->categories) ? array('event_cats' => $event->categories) : null;
136
+ add_meta_box('event-categories', __('Categories','eventlist'), array(&$this, 'render_category_metabox'), 'event-list', 'advanced', 'default', $metabox_args);
137
  ob_start();
138
  do_meta_boxes('event-list', 'advanced', null);
139
  $out .= ob_get_contents();
148
  }
149
 
150
  public function render_publish_metabox() {
151
+ $button_text = $this->is_new ? __('Publish','eventlist') : __('Update','eventlist');
152
  $out = '<div class="submitbox">
153
+ <div id="delete-action"><a href="?page=el_admin_main" class="submitdelete deletion">'.__('Cancel','eventlist').'</a></div>
154
  <div id="publishing-action"><input type="submit" class="button button-primary button-large" name="publish" value="'.$button_text.'" id="publish"></div>
155
  <div class="clear"></div>
156
  </div>';
163
  <div id="category-all" class="tabs-panel">';
164
  $cat_array = $this->categories->get_cat_array('name', 'asc');
165
  if(empty($cat_array)) {
166
+ $out .= __('No categories available.','eventlist');
167
  }
168
  else {
169
  $out .= '
200
  </div>';
201
  // TODO: Adding new categories in edit event form
202
  /* <div id="category-adder" class="wp-hidden-children">
203
+ <h4><a id="category-add-toggle" href="#category-add" class="hide-if-no-js">'.__('+ Add New Category','eventlist').'</a></h4>
204
  <p id="category-add" class="category-add wp-hidden-child">
205
+ <label class="screen-reader-text" for="newcategory">'.__('Category Name','eventlist').'</label>
206
  <input type="text" name="newcategory" id="newcategory" class="form-required form-input-tip" value="" aria-required="true"/>
207
+ <input type="button" id="category-add-submit" class="button category-add-submit" value="'.__('Add Category','eventlist').'" />
208
  </p>
209
  </div>*/
210
  $out .= '
211
  <div id="category-manager">
212
+ <a id="category-manage-link" href="?page=el_admin_categories">'.__('Goto Category Settings','eventlist').'</a>
213
  </div>
214
  </div>';
215
  echo $out;
admin/includes/admin-settings.php CHANGED
@@ -28,14 +28,14 @@ class EL_Admin_Settings {
28
 
29
  public function show_settings () {
30
  if(!current_user_can('manage_options')) {
31
- wp_die(__('You do not have sufficient permissions to access this page.'));
32
  }
33
  $out = '';
34
  // check for changed settings
35
  if(isset($_GET['settings-updated'])) {
36
  // show "settings saved" message
37
  $out .= '<div id="message" class="updated">
38
- <p><strong>'.__('Settings saved.').'</strong></p>
39
  </div>';
40
  // check feed rewrite status and update it if required
41
  if('feed' == $_GET['tab']) {
@@ -47,7 +47,7 @@ class EL_Admin_Settings {
47
  // normal output
48
  $out.= '
49
  <div class="wrap">
50
- <div id="icon-edit-pages" class="icon32"><br /></div><h2>Event List Settings</h2>';
51
  if(!isset($_GET['tab'])) {
52
  $_GET['tab'] = 'general';
53
  }
28
 
29
  public function show_settings () {
30
  if(!current_user_can('manage_options')) {
31
+ wp_die(__('You do not have sufficient permissions to access this page.','eventlist'));
32
  }
33
  $out = '';
34
  // check for changed settings
35
  if(isset($_GET['settings-updated'])) {
36
  // show "settings saved" message
37
  $out .= '<div id="message" class="updated">
38
+ <p><strong>'.__('Settings saved.','eventlist').'</strong></p>
39
  </div>';
40
  // check feed rewrite status and update it if required
41
  if('feed' == $_GET['tab']) {
47
  // normal output
48
  $out.= '
49
  <div class="wrap">
50
+ <div id="icon-edit-pages" class="icon32"><br /></div><h2>'.__('Event List Settings','eventlist').'</h2>';
51
  if(!isset($_GET['tab'])) {
52
  $_GET['tab'] = 'general';
53
  }
admin/includes/category_table.php CHANGED
@@ -24,8 +24,8 @@ class EL_Category_Table extends WP_List_Table {
24
  $this->is_disabled = $is_disabled;
25
  //Set parent defaults
26
  parent::__construct( array(
27
- 'singular' => 'event', //singular name of the listed records
28
- 'plural' => 'events', //plural name of the listed records
29
  'ajax' => false //does this table support ajax?
30
  ) );
31
  }
@@ -67,8 +67,8 @@ class EL_Category_Table extends WP_List_Table {
67
  if(!$this->is_disabled) {
68
  // prepare Actions
69
  $actions = array(
70
- 'edit' => '<a href="?page='.$_REQUEST['page'].'&amp;id='.$item['slug'].'&amp;action=edit">Edit</a>',
71
- 'delete' => '<a href="#" onClick="eventlist_deleteCategory(\''.$item['slug'].'\');return false;">Delete</a>'
72
  );
73
  //Return the title contents
74
  $out .= $this->row_actions($actions);
@@ -104,10 +104,10 @@ class EL_Category_Table extends WP_List_Table {
104
  public function get_columns() {
105
  return array(
106
  'cb' => $this->is_disabled ? '' : '<input type="checkbox" />', //Render a checkbox instead of text
107
- 'name' => 'Name',
108
- 'desc' => 'Description',
109
- 'slug' => 'Slug',
110
- 'num_events' => 'Events'
111
  );
112
  }
113
 
@@ -142,7 +142,7 @@ class EL_Category_Table extends WP_List_Table {
142
  public function get_bulk_actions() {
143
  if(!$this->is_disabled) {
144
  $actions = array(
145
- 'delete_bulk' => 'Delete'
146
  );
147
  return $actions;
148
  }
24
  $this->is_disabled = $is_disabled;
25
  //Set parent defaults
26
  parent::__construct( array(
27
+ 'singular' => __('event','eventlist'), //singular name of the listed records
28
+ 'plural' => __('events','eventlist'), //plural name of the listed records
29
  'ajax' => false //does this table support ajax?
30
  ) );
31
  }
67
  if(!$this->is_disabled) {
68
  // prepare Actions
69
  $actions = array(
70
+ 'edit' => '<a href="?page='.$_REQUEST['page'].'&amp;id='.$item['slug'].'&amp;action=edit">'.__('Edit','eventlist').'</a>',
71
+ 'delete' => '<a href="#" onClick="eventlist_deleteCategory(\''.$item['slug'].'\');return false;">'.__('Delete','eventlist').'</a>'
72
  );
73
  //Return the title contents
74
  $out .= $this->row_actions($actions);
104
  public function get_columns() {
105
  return array(
106
  'cb' => $this->is_disabled ? '' : '<input type="checkbox" />', //Render a checkbox instead of text
107
+ 'name' => __('Name','eventlist'),
108
+ 'desc' => __('Description','eventlist'),
109
+ 'slug' => __('Slug','eventlist'),
110
+ 'num_events' => __('Events','eventlist')
111
  );
112
  }
113
 
142
  public function get_bulk_actions() {
143
  if(!$this->is_disabled) {
144
  $actions = array(
145
+ 'delete_bulk' => __('Delete','eventlist')
146
  );
147
  return $actions;
148
  }
admin/includes/event_table.php CHANGED
@@ -25,11 +25,11 @@ class EL_Event_Table extends WP_List_Table {
25
 
26
  global $status, $page;
27
  //Set parent defaults
28
- parent::__construct( array(
29
- 'singular' => 'event', //singular name of the listed records
30
- 'plural' => 'events', //plural name of the listed records
31
- 'ajax' => false //does this table support ajax?
32
- ) );
33
  }
34
 
35
  /** ************************************************************************
@@ -68,9 +68,9 @@ class EL_Event_Table extends WP_List_Table {
68
  protected function column_title($item) {
69
  //Prepare Columns
70
  $actions = array(
71
- 'edit' => '<a href="?page='.$_REQUEST['page'].'&amp;id='.$item->id.'&amp;action=edit">Edit</a>',
72
- 'duplicate' => '<a href="?page=el_admin_new&amp;id='.$item->id.'&amp;action=copy">Duplicate</a>',
73
- 'delete' => '<a href="#" onClick="eventlist_deleteEvent('.$item->id.');return false;">Delete</a>');
74
 
75
  //Return the title contents
76
  return sprintf('<b>%1$s</b> <span style="color:silver">(id:%2$s)</span>%3$s',
@@ -104,13 +104,13 @@ class EL_Event_Table extends WP_List_Table {
104
  public function get_columns() {
105
  return array(
106
  'cb' => '<input type="checkbox" />', //Render a checkbox instead of text
107
- 'date' => __( 'Date' ),
108
- 'title' => __( 'Event' ),
109
- 'location' => __( 'Location' ),
110
- 'details' => __( 'Details' ),
111
- 'categories' => __( 'Categories' ),
112
- 'pub_user' => __( 'Author' ),
113
- 'pub_date' => __( 'Published' )
114
  );
115
  }
116
 
@@ -124,11 +124,11 @@ class EL_Event_Table extends WP_List_Table {
124
  ***************************************************************************/
125
  public function get_sortable_columns() {
126
  $sortable_columns = array(
127
- 'date' => array( 'date', true ), //true means its already sorted
128
- 'title' => array( 'title', false ),
129
- 'location' => array( 'location', false ),
130
- 'pub_user' => array( 'pub_user', false ),
131
- 'pub_date' => array( 'pub_date', false )
132
  );
133
  return $sortable_columns;
134
  }
@@ -143,7 +143,7 @@ class EL_Event_Table extends WP_List_Table {
143
  ****************************************************************************/
144
  public function get_bulk_actions() {
145
  $actions = array(
146
- 'delete_bulk' => 'Delete'
147
  );
148
  return $actions;
149
  }
@@ -155,9 +155,9 @@ class EL_Event_Table extends WP_List_Table {
155
  ***************************************************************************/
156
  private function process_bulk_action() {
157
  //Detect when a bulk action is being triggered...
158
- if( 'delete_bulk'===$this->current_action() ) {
159
  // Show confirmation window before deleting
160
- echo '<script language="JavaScript">eventlist_deleteEvent ("'.implode( ', ', $_GET['id'] ).'");</script>';
161
  }
162
  }
163
 
@@ -171,7 +171,7 @@ class EL_Event_Table extends WP_List_Table {
171
  $out .= $this->filterbar->show_cats('?page=el_admin_main', $this->args, 'dropdown', 'admin');
172
  $out .= '
173
  <input type="hidden" name="noheader" value="true" />
174
- <input id="event-query-submit" class="button" type="submit" name ="filter" value="'.__('Filter').'" />
175
  </div>';
176
  }
177
  echo $out;
@@ -194,20 +194,20 @@ class EL_Event_Table extends WP_List_Table {
194
  $columns = $this->get_columns();
195
  $hidden = array();
196
  $sortable = $this->get_sortable_columns();
197
- $this->_column_headers = array( $columns, $hidden, $sortable );
198
  // handle the bulk actions
199
  $this->process_bulk_action();
200
  // get the required event data
201
  $data = $this->get_events();
202
  // setup pagination
203
  $current_page = $this->get_pagenum();
204
- $total_items = count( $data );
205
- $data = array_slice( $data, ( ( $current_page-1 )*$per_page ), $per_page );
206
- $this->set_pagination_args( array(
207
  'total_items' => $total_items,
208
  'per_page' => $per_page,
209
  'total_pages' => ceil($total_items/$per_page)
210
- ) );
211
  // setup items which are used by the rest of the class
212
  $this->items = $data;
213
  }
@@ -231,34 +231,34 @@ class EL_Event_Table extends WP_List_Table {
231
  private function get_events() {
232
  // define sort_array
233
  $order = 'ASC';
234
- if( isset( $_GET['order'] ) && $_GET['order'] === 'desc' ) {
235
  $order = 'DESC';
236
  }
237
  $orderby = '';
238
- if( isset( $_GET['orderby'] ) ){
239
  $orderby = $_GET['orderby'];
240
  }
241
  // set standard sort according date ASC, only when date should be sorted desc, DESC should be used
242
- if( $orderby == 'date' && $order == 'DESC' ) {
243
- $sort_array = array( 'start_date DESC', 'time DESC', 'end_date DESC');
244
  }
245
  else {
246
- $sort_array = array( 'start_date ASC', 'time ASC', 'end_date ASC');
247
  }
248
  // add primary order column to the front of the standard sort array
249
- switch( $orderby )
250
  {
251
  case 'title' :
252
- array_unshift( $sort_array, 'title '.$order );
253
  break;
254
  case 'location' :
255
- array_unshift( $sort_array, 'location '.$order );
256
  break;
257
  case 'pub_user' :
258
- array_unshift( $sort_array, 'pub_user '.$order );
259
  break;
260
  case 'pub_date' :
261
- array_unshift( $sort_array, 'pub_date '.$order );
262
  break;
263
  }
264
  // get and return events in the correct order
@@ -273,20 +273,20 @@ class EL_Event_Table extends WP_List_Table {
273
  * @param string $end_date The end date of the event
274
  * @param string $time The start time of the event
275
  ***************************************************************************/
276
- private function format_event_date( $start_date, $end_date, $start_time ) {
277
  $out = '<span style="white-space:nowrap;">';
278
  // start date
279
- $out .= mysql2date( __( 'Y/m/d' ), $start_date );
280
  // end date for multiday event
281
- if( $start_date !== $end_date ) {
282
- $out .= ' -<br />'.mysql2date( __( 'Y/m/d' ), $end_date );
283
  }
284
  // event time
285
- if( '' !== $start_time ) {
286
  // set time format if a known format is available, else only show the text
287
- $date_array = date_parse( $start_time );
288
- if( empty( $date_array['errors']) && is_numeric( $date_array['hour'] ) && is_numeric( $date_array['minute'] ) ) {
289
- $start_time = mysql2date( get_option( 'time_format' ), $start_time );
290
  }
291
  $out .= '<br />
292
  <span class="time">'.esc_html($start_time).'</span>';
@@ -295,17 +295,17 @@ class EL_Event_Table extends WP_List_Table {
295
  return $out;
296
  }
297
 
298
- private function format_pub_date( $pub_date ) {
299
  // similar output than for post or pages
300
- $timestamp = strtotime( $pub_date );
301
  $time_diff = time() - $timestamp;
302
- if( $time_diff >= 0 && $time_diff < 24*60*60 ) {
303
- $date = sprintf( __( '%s ago' ), human_time_diff( $timestamp ) );
304
  }
305
  else {
306
- $date = mysql2date( __( 'Y/m/d' ), $pub_date );
307
  }
308
- $datetime = mysql2date( __( 'Y/m/d g:i:s A' ), $pub_date );
309
  return '<abbr title="'.$datetime.'">'.$date.'</abbr>';
310
  }
311
  }
25
 
26
  global $status, $page;
27
  //Set parent defaults
28
+ parent::__construct(array(
29
+ 'singular' => __('event','eventlist'), //singular name of the listed records
30
+ 'plural' => __('events','eventlist'), //plural name of the listed records
31
+ 'ajax' => false //does this table support ajax?
32
+ ));
33
  }
34
 
35
  /** ************************************************************************
68
  protected function column_title($item) {
69
  //Prepare Columns
70
  $actions = array(
71
+ 'edit' => '<a href="?page='.$_REQUEST['page'].'&amp;id='.$item->id.'&amp;action=edit">'.__('Edit','eventlist').'</a>',
72
+ 'duplicate' => '<a href="?page=el_admin_new&amp;id='.$item->id.'&amp;action=copy">'.__('Duplicate','eventlist').'</a>',
73
+ 'delete' => '<a href="#" onClick="eventlist_deleteEvent('.$item->id.');return false;">'.__('Delete','eventlist').'</a>');
74
 
75
  //Return the title contents
76
  return sprintf('<b>%1$s</b> <span style="color:silver">(id:%2$s)</span>%3$s',
104
  public function get_columns() {
105
  return array(
106
  'cb' => '<input type="checkbox" />', //Render a checkbox instead of text
107
+ 'date' => __('Date','eventlist'),
108
+ 'title' => __('Title','eventlist'),
109
+ 'location' => __('Location','eventlist'),
110
+ 'details' => __('Details','eventlist'),
111
+ 'categories' => __('Categories','eventlist'),
112
+ 'pub_user' => __('Author','eventlist'),
113
+ 'pub_date' => __('Published','eventlist')
114
  );
115
  }
116
 
124
  ***************************************************************************/
125
  public function get_sortable_columns() {
126
  $sortable_columns = array(
127
+ 'date' => array('date', true), //true means its already sorted
128
+ 'title' => array('title', false),
129
+ 'location' => array('location', false),
130
+ 'pub_user' => array('pub_user', false),
131
+ 'pub_date' => array('pub_date', false)
132
  );
133
  return $sortable_columns;
134
  }
143
  ****************************************************************************/
144
  public function get_bulk_actions() {
145
  $actions = array(
146
+ 'delete_bulk' => __('Delete','eventlist')
147
  );
148
  return $actions;
149
  }
155
  ***************************************************************************/
156
  private function process_bulk_action() {
157
  //Detect when a bulk action is being triggered...
158
+ if('delete_bulk'===$this->current_action()) {
159
  // Show confirmation window before deleting
160
+ echo '<script language="JavaScript">eventlist_deleteEvent ("'.implode(', ', $_GET['id']).'");</script>';
161
  }
162
  }
163
 
171
  $out .= $this->filterbar->show_cats('?page=el_admin_main', $this->args, 'dropdown', 'admin');
172
  $out .= '
173
  <input type="hidden" name="noheader" value="true" />
174
+ <input id="event-query-submit" class="button" type="submit" name ="filter" value="'.__('Filter','eventlist').'" />
175
  </div>';
176
  }
177
  echo $out;
194
  $columns = $this->get_columns();
195
  $hidden = array();
196
  $sortable = $this->get_sortable_columns();
197
+ $this->_column_headers = array($columns, $hidden, $sortable);
198
  // handle the bulk actions
199
  $this->process_bulk_action();
200
  // get the required event data
201
  $data = $this->get_events();
202
  // setup pagination
203
  $current_page = $this->get_pagenum();
204
+ $total_items = count($data);
205
+ $data = array_slice($data, (($current_page-1)*$per_page), $per_page);
206
+ $this->set_pagination_args(array(
207
  'total_items' => $total_items,
208
  'per_page' => $per_page,
209
  'total_pages' => ceil($total_items/$per_page)
210
+ ));
211
  // setup items which are used by the rest of the class
212
  $this->items = $data;
213
  }
231
  private function get_events() {
232
  // define sort_array
233
  $order = 'ASC';
234
+ if(isset($_GET['order']) && $_GET['order'] === 'desc') {
235
  $order = 'DESC';
236
  }
237
  $orderby = '';
238
+ if(isset($_GET['orderby'])){
239
  $orderby = $_GET['orderby'];
240
  }
241
  // set standard sort according date ASC, only when date should be sorted desc, DESC should be used
242
+ if($orderby == 'date' && $order == 'DESC') {
243
+ $sort_array = array('start_date DESC', 'time DESC', 'end_date DESC');
244
  }
245
  else {
246
+ $sort_array = array('start_date ASC', 'time ASC', 'end_date ASC');
247
  }
248
  // add primary order column to the front of the standard sort array
249
+ switch($orderby)
250
  {
251
  case 'title' :
252
+ array_unshift($sort_array, 'title '.$order);
253
  break;
254
  case 'location' :
255
+ array_unshift($sort_array, 'location '.$order);
256
  break;
257
  case 'pub_user' :
258
+ array_unshift($sort_array, 'pub_user '.$order);
259
  break;
260
  case 'pub_date' :
261
+ array_unshift($sort_array, 'pub_date '.$order);
262
  break;
263
  }
264
  // get and return events in the correct order
273
  * @param string $end_date The end date of the event
274
  * @param string $time The start time of the event
275
  ***************************************************************************/
276
+ private function format_event_date($start_date, $end_date, $start_time) {
277
  $out = '<span style="white-space:nowrap;">';
278
  // start date
279
+ $out .= mysql2date(__('Y/m/d'), $start_date);
280
  // end date for multiday event
281
+ if($start_date !== $end_date) {
282
+ $out .= ' -<br />'.mysql2date(__('Y/m/d'), $end_date);
283
  }
284
  // event time
285
+ if('' !== $start_time) {
286
  // set time format if a known format is available, else only show the text
287
+ $date_array = date_parse($start_time);
288
+ if(empty($date_array['errors']) && is_numeric($date_array['hour']) && is_numeric($date_array['minute'])) {
289
+ $start_time = mysql2date(get_option('time_format'), $start_time);
290
  }
291
  $out .= '<br />
292
  <span class="time">'.esc_html($start_time).'</span>';
295
  return $out;
296
  }
297
 
298
+ private function format_pub_date($pub_date) {
299
  // similar output than for post or pages
300
+ $timestamp = strtotime($pub_date);
301
  $time_diff = time() - $timestamp;
302
+ if($time_diff >= 0 && $time_diff < 24*60*60) {
303
+ $date = sprintf(__('%s ago','eventlist'), human_time_diff($timestamp));
304
  }
305
  else {
306
+ $date = mysql2date(__('Y/m/d'), $pub_date);
307
  }
308
+ $datetime = mysql2date(__('Y/m/d g:i:s A'), $pub_date);
309
  return '<abbr title="'.$datetime.'">'.$date.'</abbr>';
310
  }
311
  }
admin/js/admin_new.js CHANGED
@@ -22,7 +22,7 @@ jQuery(document).ready(function($) {
22
  changeYear: true,
23
  numberOfMonths: 3,
24
  showOn: "both",
25
- buttonImage: conf.el_url + "admin/images/calendar-icon.png",
26
  buttonImageOnly: true,
27
  constrainInput: true,
28
  altField: "#sql_start_date",
@@ -41,7 +41,7 @@ jQuery(document).ready(function($) {
41
  changeYear: true,
42
  numberOfMonths: 3,
43
  showOn: "both",
44
- buttonImage: conf.el_url + "admin/images/calendar-icon.png",
45
  buttonImageOnly: true,
46
  constrainInput: true,
47
  altField: "#sql_end_date",
22
  changeYear: true,
23
  numberOfMonths: 3,
24
  showOn: "both",
25
+ buttonImage: conf.el_url + "admin/images/calendar.png",
26
  buttonImageOnly: true,
27
  constrainInput: true,
28
  altField: "#sql_start_date",
41
  changeYear: true,
42
  numberOfMonths: 3,
43
  showOn: "both",
44
+ buttonImage: conf.el_url + "admin/images/calendar.png",
45
  buttonImageOnly: true,
46
  constrainInput: true,
47
  altField: "#sql_end_date",
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.6.9
7
  Author: Michael Burtscher
8
  Author URI: http://wordpress.org/extend/plugins/event-list/
9
  License: GPLv2
@@ -25,13 +25,13 @@ You can view a copy of the HTML version of the GNU General Public
25
  License at http://www.gnu.org/copyleft/gpl.html
26
  */
27
 
28
- if( !defined( 'ABSPATH' ) ) {
29
  exit;
30
  }
31
 
32
  // GENERAL DEFINITIONS
33
- define( 'EL_URL', plugin_dir_url( __FILE__ ) );
34
- define( 'EL_PATH', plugin_dir_path( __FILE__ ) );
35
 
36
  require_once(EL_PATH.'includes/options.php');
37
 
@@ -49,10 +49,12 @@ class Event_List {
49
  $this->styles_loaded = false;
50
 
51
  // ALWAYS:
 
 
52
  // Register shortcodes
53
- add_shortcode( 'event-list', array( &$this, 'shortcode_event_list' ) );
54
  // Register widgets
55
- add_action( 'widgets_init', array( &$this, 'widget_init' ) );
56
  // Add RSS Feed page
57
  $options = EL_Options::get_instance();
58
  if($options->get('el_enable_feed')) {
@@ -61,19 +63,23 @@ class Event_List {
61
  }
62
 
63
  // ADMIN PAGE:
64
- if ( is_admin() ) {
65
  // Include required php-files and initialize required objects
66
- require_once( EL_PATH.'admin/admin.php' );
67
  EL_Admin::get_instance()->init_admin_page();
68
  }
69
 
70
  // FRONT PAGE:
71
  else {
72
  // Register actions
73
- add_action('wp_print_styles', array( &$this, 'print_styles' ) );
74
  }
75
  } // end constructor
76
 
 
 
 
 
77
  public function shortcode_event_list($atts) {
78
  if(null == $this->shortcode) {
79
  require_once(EL_PATH.'includes/sc_event-list.php');
@@ -84,13 +90,13 @@ class Event_List {
84
  $this->enqueue_styles();
85
  }
86
  }
87
- return $this->shortcode->show_html( $atts );
88
  }
89
 
90
  public function widget_init() {
91
  // Widget "event-list"
92
- require_once( EL_PATH.'includes/widget.php' );
93
- return register_widget( 'EL_Widget' );
94
  }
95
 
96
  public function print_styles() {
@@ -102,7 +108,7 @@ class Event_List {
102
 
103
  public function enqueue_styles() {
104
  wp_register_style('event-list', EL_URL.'includes/css/event-list.css');
105
- wp_enqueue_style( 'event-list');
106
  $this->styles_loaded = true;
107
  }
108
  } // end class linkview
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.0
7
  Author: Michael Burtscher
8
  Author URI: http://wordpress.org/extend/plugins/event-list/
9
  License: GPLv2
25
  License at http://www.gnu.org/copyleft/gpl.html
26
  */
27
 
28
+ if(!defined('WPINC')) {
29
  exit;
30
  }
31
 
32
  // GENERAL DEFINITIONS
33
+ define('EL_URL', plugin_dir_url(__FILE__));
34
+ define('EL_PATH', plugin_dir_path(__FILE__));
35
 
36
  require_once(EL_PATH.'includes/options.php');
37
 
49
  $this->styles_loaded = false;
50
 
51
  // ALWAYS:
52
+ // Register translation
53
+ add_action('plugins_loaded', array(&$this, 'load_textdomain'));
54
  // Register shortcodes
55
+ add_shortcode('event-list', array(&$this, 'shortcode_event_list'));
56
  // Register widgets
57
+ add_action('widgets_init', array(&$this, 'widget_init'));
58
  // Add RSS Feed page
59
  $options = EL_Options::get_instance();
60
  if($options->get('el_enable_feed')) {
63
  }
64
 
65
  // ADMIN PAGE:
66
+ if(is_admin()) {
67
  // Include required php-files and initialize required objects
68
+ require_once(EL_PATH.'admin/admin.php');
69
  EL_Admin::get_instance()->init_admin_page();
70
  }
71
 
72
  // FRONT PAGE:
73
  else {
74
  // Register actions
75
+ add_action('wp_print_styles', array(&$this, 'print_styles'));
76
  }
77
  } // end constructor
78
 
79
+ public function load_textdomain() {
80
+ load_plugin_textdomain('eventlist', false, dirname(plugin_basename(__FILE__)).'/languages');
81
+ }
82
+
83
  public function shortcode_event_list($atts) {
84
  if(null == $this->shortcode) {
85
  require_once(EL_PATH.'includes/sc_event-list.php');
90
  $this->enqueue_styles();
91
  }
92
  }
93
+ return $this->shortcode->show_html($atts);
94
  }
95
 
96
  public function widget_init() {
97
  // Widget "event-list"
98
+ require_once(EL_PATH.'includes/widget.php');
99
+ return register_widget('EL_Widget');
100
  }
101
 
102
  public function print_styles() {
108
 
109
  public function enqueue_styles() {
110
  wp_register_style('event-list', EL_URL.'includes/css/event-list.css');
111
+ wp_enqueue_style('event-list');
112
  $this->styles_loaded = true;
113
  }
114
  } // end class linkview
includes/db.php CHANGED
@@ -66,7 +66,7 @@ class EL_Db {
66
  $sql = 'SELECT * FROM '.$this->table.' WHERE id = '.$id.' LIMIT 1';
67
  return $wpdb->get_row( $sql );
68
  }
69
-
70
  public function get_event_months() {
71
  global $wpdb;
72
  $sql = 'SELECT DISTINCT substr(`start_date`,1,7)as a FROM '.$this->table.' WHERE 1 order by a asc';
@@ -336,13 +336,14 @@ class EL_Db {
336
  * @param bool perserve_tags Specifies if html tags should be preserved or if only the text should be shortened
337
  ***************************************************************************************************************/
338
  public function truncate($html, $length, $skip=false, $preserve_tags=true) {
339
- if(0 >= $length || strlen($html) <= $length || $skip) {
 
340
  // do nothing
341
  return $html;
342
  }
343
  elseif(!$preserve_tags) {
344
  // only shorten text
345
- return substr($html, 0, $length);
346
  }
347
  else {
348
  // truncate with preserving html tags
@@ -350,18 +351,18 @@ class EL_Db {
350
  $position = 0;
351
  $tags = array();
352
  $out = '';
353
- while($printedLength < $length && preg_match('{</?([a-z]+\d?)[^>]*>|&#?[a-zA-Z0-9]+;}', $html, $match, PREG_OFFSET_CAPTURE, $position)) {
354
  list($tag, $tagPosition) = $match[0];
355
  // Print text leading up to the tag
356
- $str = substr($html, $position, $tagPosition - $position);
357
- if($printedLength + strlen($str) > $length) {
358
- $out .= substr($str, 0, $length - $printedLength);
359
  $printedLength = $length;
360
  break;
361
  }
362
  $out .= $str;
363
- $printedLength += strlen($str);
364
- if($tag[0] == '&') {
365
  // Handle the entity
366
  $out .= $tag;
367
  $printedLength++;
@@ -369,31 +370,31 @@ class EL_Db {
369
  else {
370
  // Handle the tag
371
  $tagName = $match[1][0];
372
- if($tag[1] == '/') {
373
  // This is a closing tag
374
  $openingTag = array_pop($tags);
375
  assert($openingTag == $tagName); // check that tags are properly nested
376
  $out .= $tag;
377
  }
378
- else if($tag[strlen($tag) - 2] == '/') {
379
  // Self-closing tag
380
  $out .= $tag;
381
- }
382
  else {
383
- // Opening tag
384
  $out .= $tag;
385
  $tags[] = $tagName;
386
  }
387
  }
388
  // Continue after the tag
389
- $position = $tagPosition + strlen($tag);
390
  }
391
  // Print any remaining text
392
- if($printedLength < $length && $position < strlen($html)) {
393
- $out .= substr($html, $position, $length - $printedLength);
394
  }
395
- // Print "..." if the html is not complete
396
- if(strlen($html) != $position) {
397
  $out .= ' &hellip;';
398
  }
399
  // Close any open tags.
@@ -405,6 +406,23 @@ class EL_Db {
405
  }
406
  }
407
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
408
  /* create date_create_from_format (DateTime::createFromFormat) alternative for PHP 5.2
409
  *
410
  * This function is only a small implementation of this function with reduced functionality to handle sql dates (format: 2014-01-31)
66
  $sql = 'SELECT * FROM '.$this->table.' WHERE id = '.$id.' LIMIT 1';
67
  return $wpdb->get_row( $sql );
68
  }
69
+
70
  public function get_event_months() {
71
  global $wpdb;
72
  $sql = 'SELECT DISTINCT substr(`start_date`,1,7)as a FROM '.$this->table.' WHERE 1 order by a asc';
336
  * @param bool perserve_tags Specifies if html tags should be preserved or if only the text should be shortened
337
  ***************************************************************************************************************/
338
  public function truncate($html, $length, $skip=false, $preserve_tags=true) {
339
+ mb_internal_encoding("UTF-8");
340
+ if(0 >= $length || mb_strlen($html) <= $length || $skip) {
341
  // do nothing
342
  return $html;
343
  }
344
  elseif(!$preserve_tags) {
345
  // only shorten text
346
+ return mb_substr($html, 0, $length);
347
  }
348
  else {
349
  // truncate with preserving html tags
351
  $position = 0;
352
  $tags = array();
353
  $out = '';
354
+ while($printedLength < $length && mb_preg_match('{</?([a-z]+\d?)[^>]*>|&#?[a-zA-Z0-9]+;}', $html, $match, PREG_OFFSET_CAPTURE, $position)) {
355
  list($tag, $tagPosition) = $match[0];
356
  // Print text leading up to the tag
357
+ $str = mb_substr($html, $position, $tagPosition - $position);
358
+ if($printedLength + mb_strlen($str) > $length) {
359
+ $out .= mb_substr($str, 0, $length - $printedLength);
360
  $printedLength = $length;
361
  break;
362
  }
363
  $out .= $str;
364
+ $printedLength += mb_strlen($str);
365
+ if('&' == $tag[0]) {
366
  // Handle the entity
367
  $out .= $tag;
368
  $printedLength++;
370
  else {
371
  // Handle the tag
372
  $tagName = $match[1][0];
373
+ if('/' == $tag[1]) {
374
  // This is a closing tag
375
  $openingTag = array_pop($tags);
376
  assert($openingTag == $tagName); // check that tags are properly nested
377
  $out .= $tag;
378
  }
379
+ else if('/' == $tag[mb_strlen($tag) - 2]) {
380
  // Self-closing tag
381
  $out .= $tag;
382
+ }
383
  else {
384
+ // Opening tag
385
  $out .= $tag;
386
  $tags[] = $tagName;
387
  }
388
  }
389
  // Continue after the tag
390
+ $position = $tagPosition + mb_strlen($tag);
391
  }
392
  // Print any remaining text
393
+ if($printedLength < $length && $position < mb_strlen($html)) {
394
+ $out .= mb_substr($html, $position, $length - $printedLength);
395
  }
396
+ // Print ellipsis ("...") if the html is not complete
397
+ if(mb_strlen($html) != $position) {
398
  $out .= ' &hellip;';
399
  }
400
  // Close any open tags.
406
  }
407
  }
408
 
409
+ if(!function_exists("mb_preg_match")) {
410
+ function mb_preg_match($ps_pattern, $ps_subject, &$pa_matches, $pn_flags=0, $pn_offset=0, $ps_encoding=NULL) {
411
+ // WARNING! - All this function does is to correct offsets, nothing else:
412
+ //(code is independent of PREG_PATTER_ORDER / PREG_SET_ORDER)
413
+ if(is_null($ps_encoding)) {
414
+ $ps_encoding = mb_internal_encoding();
415
+ }
416
+ $pn_offset = strlen(mb_substr($ps_subject, 0, $pn_offset, $ps_encoding));
417
+ $out = preg_match($ps_pattern, $ps_subject, $pa_matches, $pn_flags, $pn_offset);
418
+ if($out && ($pn_flags & PREG_OFFSET_CAPTURE))
419
+ foreach($pa_matches as &$ha_match) {
420
+ $ha_match[1] = mb_strlen(substr($ps_subject, 0, $ha_match[1]), $ps_encoding);
421
+ }
422
+ return $out;
423
+ }
424
+ }
425
+
426
  /* create date_create_from_format (DateTime::createFromFormat) alternative for PHP 5.2
427
  *
428
  * This function is only a small implementation of this function with reduced functionality to handle sql dates (format: 2014-01-31)
includes/filterbar.php CHANGED
@@ -94,7 +94,7 @@ class EL_Filterbar {
94
  // prepare displayed elements
95
  $elements = array();
96
  if(!isset($options['show_all']) || 'true' == $options['show_all']) { // default is true
97
- $elements[] = $this->all_element('hlist'==$type ? null : __('Show all dates'));
98
  }
99
  if(!isset($options['show_upcoming']) || 'true' == $options['show_upcoming']) { // default is true
100
  $elements[] = $this->upcoming_element();
@@ -218,7 +218,7 @@ class EL_Filterbar {
218
  $cat_array = $this->categories->get_cat_array();
219
  $elements = array();
220
  if(!isset($options['show_all']) || 'true' == $options['show_all']) {
221
- $elements[] = $this->all_element('hlist'==$type ? null : __('View all categories'));
222
  }
223
  foreach($cat_array as $cat) {
224
  $elements[] = array('slug' => $cat['slug'], 'name' => str_pad('', 12*$cat['level'], '&nbsp;', STR_PAD_LEFT).$cat['name']);
@@ -298,17 +298,17 @@ class EL_Filterbar {
298
 
299
  private function all_element($name=null) {
300
  if(null == $name) {
301
- $name = __('All');
302
  }
303
  return array('slug' => 'all', 'name' => $name);
304
  }
305
 
306
  private function upcoming_element() {
307
- return array('slug' => 'upcoming', 'name' => __('Upcoming'));
308
  }
309
 
310
  private function past_element() {
311
- return array('slug' => 'past', 'name' => __('Past'));
312
  }
313
 
314
  private function parse_args($args) {
94
  // prepare displayed elements
95
  $elements = array();
96
  if(!isset($options['show_all']) || 'true' == $options['show_all']) { // default is true
97
+ $elements[] = $this->all_element('hlist'==$type ? null : __('Show all dates','eventlist'));
98
  }
99
  if(!isset($options['show_upcoming']) || 'true' == $options['show_upcoming']) { // default is true
100
  $elements[] = $this->upcoming_element();
218
  $cat_array = $this->categories->get_cat_array();
219
  $elements = array();
220
  if(!isset($options['show_all']) || 'true' == $options['show_all']) {
221
+ $elements[] = $this->all_element('hlist'==$type ? null : __('View all categories','eventlist'));
222
  }
223
  foreach($cat_array as $cat) {
224
  $elements[] = array('slug' => $cat['slug'], 'name' => str_pad('', 12*$cat['level'], '&nbsp;', STR_PAD_LEFT).$cat['name']);
298
 
299
  private function all_element($name=null) {
300
  if(null == $name) {
301
+ $name = __('All','eventlist');
302
  }
303
  return array('slug' => 'all', 'name' => $name);
304
  }
305
 
306
  private function upcoming_element() {
307
+ return array('slug' => 'upcoming', 'name' => __('Upcoming','eventlist'));
308
  }
309
 
310
  private function past_element() {
311
+ return array('slug' => 'past', 'name' => __('Past','eventlist'));
312
  }
313
 
314
  private function parse_args($args) {
includes/options.php CHANGED
@@ -16,7 +16,6 @@ class EL_Options {
16
  // Create class instance if required
17
  if(!isset(self::$instance)) {
18
  self::$instance = new EL_Options();
19
- self::$instance->init();
20
  }
21
  // Return class instance
22
  return self::$instance;
@@ -24,141 +23,30 @@ class EL_Options {
24
 
25
  private function __construct() {
26
  $this->group = 'event-list';
 
 
 
 
27
 
 
28
  $this->options = array(
29
- 'el_db_version' => array('section' => 'system',
30
- 'type' => 'text',
31
- 'std_val' => '',
32
- 'label' => '',
33
- 'caption' => '',
34
- 'desc' => __('Database version')),
35
-
36
- 'el_categories' => array('section' => 'categories',
37
- 'type' => 'category',
38
- 'std_val' => null,
39
- 'label' => __('Event Categories'),
40
- 'caption' => '',
41
- 'desc' => __('This option specifies all event category data.')),
42
-
43
- 'el_sync_cats' => array('section' => 'categories',
44
- 'type' => 'checkbox',
45
- 'std_val' => '',
46
- 'label' => __('Sync Categories'),
47
- 'caption' => __('Keep event categories in sync with post categories automatically'),
48
- 'desc' => '<table><tr style="vertical-align:top"><td><strong>'.__('Attention').':</strong></td>
49
- <td>'.__('Please note that this option will delete all categories which are not available in the post categories! Existing Categories with the same slug will be updated.').'</td></tr></table>'),
50
-
51
- 'el_no_event_text' => array('section' => 'general',
52
- 'type' => 'text',
53
- 'std_val' => 'no event',
54
- 'label' => __('Text for no events'),
55
- 'caption' => '',
56
- 'desc' => __('This option defines the text which is displayed if no events are available for the selected view.')),
57
-
58
- 'el_date_once_per_day' => array('section' => 'general',
59
- 'type' => 'checkbox',
60
- 'std_val' => '',
61
- 'label' => __('Date display'),
62
- 'caption' => __('Show date only once per day'),
63
- 'desc' => __('With this option you can display the date only once per day if multiple events are available on the same day.<br />
64
- If this option is enabled the events are ordered in a different way (end date before start time) to allow using the same date for as much events as possible.')),
65
-
66
- 'el_html_tags_in_time' => array('section' => 'general',
67
- 'type' => 'checkbox',
68
- 'std_val' => '',
69
- 'label' => __('HTML tags'),
70
- 'caption' => __('Allow HTML tags in event time field'),
71
- 'desc' => __('This option specifies if HTML tags are allowed in the event start time field.')),
72
-
73
- 'el_html_tags_in_loc' => array('section' => 'general',
74
- 'type' => 'checkbox',
75
- 'std_val' => '',
76
- 'label' => '', // only one label for all html tags settings
77
- 'caption' => __('Allow HTML tags in event location field'),
78
- 'desc' => __('This option specifies if HTML tags are allowed in the event location field.')),
79
-
80
- 'el_edit_dateformat' => array('section' => 'admin',
81
- 'type' => 'text',
82
- 'std_val' => '',
83
- 'label' => __('Date format in edit form'),
84
- 'desc' => __('This option sets a specific date format for the event date fields in the new/edit event form.<br />
85
- The standard is an empty string to use the wordpress standard setting.<br />
86
- All available options to specify the format can be found <a href="http://php.net/manual/en/function.date.php" target="_blank">here</a>')),
87
-
88
- 'el_enable_feed' => array('section' => 'feed',
89
- 'type' => 'checkbox',
90
- 'std_val' => '',
91
- 'label' => __('Enable RSS feed'),
92
- 'caption' => __('Enable support for an event RSS feed'),
93
- 'desc' => __('This option activates a RSS feed for the events.<br />
94
- You have to enable this option if you want to use one of the RSS feed features.')),
95
-
96
- 'el_feed_name' => array('section' => 'feed',
97
- 'type' => 'text',
98
- 'std_val' => 'eventlist',
99
- 'label' => __('Feed name'),
100
- 'desc' => __('This options sets the feed name. The standard value is "eventlist".<br />
101
- This name will be used in the feed url (e.g. <code>domain.com/?feed=eventlist</code> or <code>domain.com/feed/eventlist</code> for an installation with permalinks')),
102
-
103
- 'el_feed_description' => array('section' => 'feed',
104
- 'type' => 'text',
105
- 'std_val' => 'Eventlist Feed',
106
- 'label' => __('Feed Description'),
107
- 'desc' => __('This options sets the feed description. The standard value is "Eventlist Feed".<br />
108
- This description will be used in the title for the feed link in the html head and for the description in the feed itself.')),
109
-
110
- 'el_feed_upcoming_only' => array('section' => 'feed',
111
- 'type' => 'checkbox',
112
- 'std_val' => '',
113
- 'label' => __('Listed events'),
114
- 'caption' => __('Only show upcoming events in feed'),
115
- 'desc' => __('If this option is enabled only the upcoming events are listed in the feed.<br />
116
- If disabled all events (upcoming and past) will be listed.')),
117
-
118
- 'el_head_feed_link' => array('section' => 'feed',
119
- 'type' => 'checkbox',
120
- 'std_val' => '1',
121
- 'label' => __('Add RSS feed link in head'),
122
- 'caption' => __('Add RSS feed link in the html head'),
123
- 'desc' => __('This option adds a RSS feed in the html head for the events.<br />
124
- You have 2 possibilities to include the RSS feed:<br />
125
- The first option is to use this option to include a link in the html head. This link will be recognized by browers or feed readers.<br />
126
- The second possibility is to include a visible feed link directly in the event list. This can be done by setting the shortcode attribute "add_feed_link" to "true"<br />
127
- This option is only valid if the option "Enable RSS feed" is enabled.')),
128
-
129
- 'el_feed_link_pos' => array('section' => 'feed',
130
- 'type' => 'radio',
131
- 'std_val' => 'bottom',
132
- 'label' => __('Position of the RSS feed link'),
133
- 'caption' => array('top' => 'at the top (above the navigation bar)', 'below_nav' => 'between navigation bar and events', 'bottom' => 'at the bottom'),
134
- 'desc' => __('This option specifies the position of the RSS feed link in the event list.<br />
135
- The options are to display the link at the top, at the bottom or between the navigation bar and the event list.<br />
136
- You have to set the shortcode attribute "add_feed_link" to "true" if you want to show the feed link.')),
137
-
138
- 'el_feed_link_align' => array('section' => 'feed',
139
- 'type' => 'radio',
140
- 'std_val' => 'left',
141
- 'label' => __('Align of the RSS feed link'),
142
- 'caption' => array('left' => 'left', 'center' => 'center', 'right' => 'right'),
143
- 'desc' => __('This option specifies the align of the RSS feed link in the event list.<br />
144
- The link can be displayed on the left side, centered or on the right.<br />
145
- You have to set the shortcode attribute "add_feed_link" to "true" if you want to show the feed link.')),
146
-
147
- 'el_feed_link_text' => array('section' => 'feed',
148
- 'type' => 'text',
149
- 'std_val' => 'RSS Feed',
150
- 'label' => __('Feed link text'),
151
- 'desc' => __('This option specifies the caption of the RSS feed link in the event list.<br />
152
- Insert an empty text to hide any text if you only want to show the rss image.<br />
153
- You have to set the shortcode attribute "add_feed_link" to "true" if you want to show the feed link.')),
154
-
155
- 'el_feed_link_img' => array('section' => 'feed',
156
- 'type' => 'checkbox',
157
- 'std_val' => '1',
158
- 'label' => __('Feed link image'),
159
- 'caption' => __('Show rss image in feed link'),
160
- 'desc' => __('This option specifies if the an image should be dispayed in the feed link in front of the text.<br />
161
- You have to set the shortcode attribute "add_feed_link" to "true" if you want to show the feed link.')),
162
  );
163
 
164
  $this->date_formats = array(
@@ -166,53 +54,58 @@ class EL_Options {
166
  'regex' => '^[12]\d{3}$',
167
  'examp' => '2015',
168
  'start' => '%v%-01-01',
169
- 'end' => '%v%-12-31',
170
- 'desc' => __('You can specify a year in 4 digit format.<br /> Other formats will not be accepted.')),
171
  'month' => array('name' => 'Month',
172
  'regex' => '^[12]\d{3}-(0[1-9]|1[012])$',
173
  'examp' => '2015-03',
174
  'start' => '%v%-01',
175
- 'end' => '%v%-31',
176
- 'desc' => __('You can specify a month with 4 digits for the year and 2 digits for the month, seperated by a hyphen (-).<br />Other formats will not be accepted.')),
177
  'day' => array('name' => 'Day',
178
  'regex' => '^[12]\d{3}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$',
179
  'examp' => '2015-03-29',
180
  'start' => '%v%',
181
- 'end' => '%v%',
182
- 'desc' => __('You can specify a day with 4 digits for the year, 2 digits for the month and 2 digets for the day, seperated by a hyphen (-).<br /> Other formats will not be accepted.')),
183
  );
184
 
185
  $this->daterange_formats = array(
186
  'date_range' => array('name' => 'Date range',
187
  'regex' => '.+~.+',
188
- 'examp' => '2015-03-29~2016',
189
- 'desc' => __('You can specify a rage or dates seperated by a tilde (~).<br >You can specify any available date format before and after the tilde.')),
190
  'all' => array('name' => 'All',
191
  'regex' => '^all$',
192
  'value' => 'all',
193
  'start' => '1000-01-01',
194
- 'end' => '2999-12-31',
195
- 'desc' => __('"all" specifies the full time range without any limitation.')),
196
  'upcoming' => array('name' => 'Upcoming',
197
  'regex' => '^upcoming$',
198
  'value' => 'upcoming',
199
  'start' => '--func--date("Y-m-d", current_time("timestamp"));',
200
- 'end' => '2999-12-31',
201
- 'desc' => __('"upcoming" specifies a time range from the actual day to the future.')),
202
  'past' => array('name' => 'Past',
203
  'regex' => '^past$',
204
  'value' => 'past',
205
  'start' => '1000-01-01',
206
- 'end' => '--func--date("Y-m-d", current_time("timestamp")-86400);', // previous day (86400 seconds = 1*24*60*60 = 1 day
207
- 'desc' => __('"past" specifies a time rage from the past to the previous day.')),
208
  );
209
  }
210
 
211
- public function init() {
212
- add_action('admin_init', array(&$this, 'register'));
 
 
 
 
 
 
 
 
 
 
 
 
213
  }
214
 
215
- public function register() {
216
  foreach($this->options as $oname => $o) {
217
  register_setting('el_'.$o['section'], $oname);
218
  }
16
  // Create class instance if required
17
  if(!isset(self::$instance)) {
18
  self::$instance = new EL_Options();
 
19
  }
20
  // Return class instance
21
  return self::$instance;
23
 
24
  private function __construct() {
25
  $this->group = 'event-list';
26
+ add_action('init', array(&$this, 'init_options'), 1);
27
+ add_action('admin_init', array(&$this, 'load_options_helptexts'), 2);
28
+ add_action('admin_init', array(&$this, 'register_options'));
29
+ }
30
 
31
+ public function init_options() {
32
  $this->options = array(
33
+ 'el_db_version' => array('std_val' => ''),
34
+ 'el_categories' => array('std_val' => null),
35
+ 'el_sync_cats' => array('std_val' => ''),
36
+ 'el_no_event_text' => array('std_val' => 'no event'),
37
+ 'el_date_once_per_day' => array('std_val' => ''),
38
+ 'el_html_tags_in_time' => array('std_val' => ''),
39
+ 'el_html_tags_in_loc' => array('std_val' => ''),
40
+ 'el_edit_dateformat' => array('std_val' => ''),
41
+ 'el_enable_feed' => array('std_val' => ''),
42
+ 'el_feed_name' => array('std_val' => 'eventlist'),
43
+ 'el_feed_description' => array('std_val' => 'Eventlist Feed'),
44
+ 'el_feed_upcoming_only' => array('std_val' => ''),
45
+ 'el_head_feed_link' => array('std_val' => '1'),
46
+ 'el_feed_link_pos' => array('std_val' => 'bottom'),
47
+ 'el_feed_link_align' => array('std_val' => 'left'),
48
+ 'el_feed_link_text' => array('std_val' => 'RSS Feed'),
49
+ 'el_feed_link_img' => array('std_val' => '1'),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  );
51
 
52
  $this->date_formats = array(
54
  'regex' => '^[12]\d{3}$',
55
  'examp' => '2015',
56
  'start' => '%v%-01-01',
57
+ 'end' => '%v%-12-31'),
 
58
  'month' => array('name' => 'Month',
59
  'regex' => '^[12]\d{3}-(0[1-9]|1[012])$',
60
  'examp' => '2015-03',
61
  'start' => '%v%-01',
62
+ 'end' => '%v%-31'),
 
63
  'day' => array('name' => 'Day',
64
  'regex' => '^[12]\d{3}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$',
65
  'examp' => '2015-03-29',
66
  'start' => '%v%',
67
+ 'end' => '%v%'),
 
68
  );
69
 
70
  $this->daterange_formats = array(
71
  'date_range' => array('name' => 'Date range',
72
  'regex' => '.+~.+',
73
+ 'examp' => '2015-03-29~2016'),
 
74
  'all' => array('name' => 'All',
75
  'regex' => '^all$',
76
  'value' => 'all',
77
  'start' => '1000-01-01',
78
+ 'end' => '2999-12-31'),
 
79
  'upcoming' => array('name' => 'Upcoming',
80
  'regex' => '^upcoming$',
81
  'value' => 'upcoming',
82
  'start' => '--func--date("Y-m-d", current_time("timestamp"));',
83
+ 'end' => '2999-12-31'),
 
84
  'past' => array('name' => 'Past',
85
  'regex' => '^past$',
86
  'value' => 'past',
87
  'start' => '1000-01-01',
88
+ 'end' => '--func--date("Y-m-d", current_time("timestamp")-86400);'), // previous day (86400 seconds = 1*24*60*60 = 1 day
 
89
  );
90
  }
91
 
92
+ public function load_options_helptexts() {
93
+ require_once(EL_PATH.'includes/options_helptexts.php');
94
+ foreach($options_helptexts as $name => $values) {
95
+ $this->options[$name] = array_merge($this->options[$name], $values);
96
+ }
97
+ unset($options_helptexts);
98
+ foreach($date_formats_desc as $name => $value) {
99
+ $this->date_formats[$name]['desc'] = $value;
100
+ }
101
+ unset($date_formats_desc);
102
+ foreach($daterange_formats_desc as $name => $value) {
103
+ $this->daterange_formats[$name]['desc'] = $value;
104
+ }
105
+ unset($daterange_formats_desc);
106
  }
107
 
108
+ public function register_options() {
109
  foreach($this->options as $oname => $o) {
110
  register_setting('el_'.$o['section'], $oname);
111
  }
includes/options_helptexts.php ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if(!defined('WPINC')) {
3
+ exit;
4
+ }
5
+
6
+ $options_helptexts = array(
7
+ 'el_db_version' => array('section' => 'system',
8
+ 'type' => 'text'),
9
+
10
+ 'el_categories' => array('section' => 'categories',
11
+ 'type' => 'category',
12
+ 'label' => __('Event Categories','eventlist'),
13
+ 'caption' => '',
14
+ 'desc' => __('This option specifies all event category data.','eventlist')),
15
+
16
+ 'el_sync_cats' => array('section' => 'categories',
17
+ 'type' => 'checkbox',
18
+ 'label' => __('Sync Categories','eventlist'),
19
+ 'caption' => __('Keep event categories in sync with post categories automatically','eventlist'),
20
+ 'desc' => '<table><tr style="vertical-align:top"><td><strong>'.__('Attention','eventlist').':</strong></td>
21
+ <td>'.__('Please note that this option will delete all categories which are not available in the post categories! Existing Categories with the same slug will be updated.','eventlist').'</td></tr></table>'),
22
+
23
+ 'el_no_event_text' => array('section' => 'general',
24
+ 'type' => 'text',
25
+ 'label' => __('Text for no events','eventlist'),
26
+ 'caption' => '',
27
+ 'desc' => __('This option defines the text which is displayed if no events are available for the selected view.','eventlist')),
28
+
29
+ 'el_date_once_per_day' => array('section' => 'general',
30
+ 'type' => 'checkbox',
31
+ 'label' => __('Date display','eventlist'),
32
+ 'caption' => __('Show date only once per day','eventlist'),
33
+ 'desc' => __('With this option you can display the date only once per day if multiple events are available on the same day.<br />
34
+ If this option is enabled the events are ordered in a different way (end date before start time) to allow using the same date for as much events as possible.')),
35
+
36
+ 'el_html_tags_in_time' => array('section' => 'general',
37
+ 'type' => 'checkbox',
38
+ 'label' => __('HTML tags','eventlist'),
39
+ 'caption' => __('Allow HTML tags in event time field','eventlist'),
40
+ 'desc' => __('This option specifies if HTML tags are allowed in the event start time field.','eventlist')),
41
+
42
+ 'el_html_tags_in_loc' => array('section' => 'general',
43
+ 'type' => 'checkbox',
44
+ 'label' => '',
45
+ 'caption' => __('Allow HTML tags in event location field','eventlist'),
46
+ 'desc' => __('This option specifies if HTML tags are allowed in the event location field.','eventlist')),
47
+
48
+ 'el_edit_dateformat' => array('section' => 'admin',
49
+ 'type' => 'text',
50
+ 'label' => __('Date format in edit form','eventlist'),
51
+ 'desc' => __('This option sets a specific date format for the event date fields in the new/edit event form.<br />
52
+ The standard is an empty string to use the wordpress standard setting.<br />
53
+ All available options to specify the format can be found <a href="http://php.net/manual/en/function.date.php" target="_blank">here</a>')),
54
+
55
+ 'el_enable_feed' => array('section' => 'feed',
56
+ 'type' => 'checkbox',
57
+ 'label' => __('Enable RSS feed','eventlist'),
58
+ 'caption' => __('Enable support for an event RSS feed','eventlist'),
59
+ 'desc' => __('This option activates a RSS feed for the events.<br />
60
+ You have to enable this option if you want to use one of the RSS feed features.')),
61
+
62
+ 'el_feed_name' => array('section' => 'feed',
63
+ 'type' => 'text',
64
+ 'label' => __('Feed name','eventlist'),
65
+ 'desc' => __('This options sets the feed name. The standard value is "eventlist".<br />
66
+ This name will be used in the feed url (e.g. <code>domain.com/?feed=eventlist</code> or <code>domain.com/feed/eventlist</code> for an installation with permalinks')),
67
+
68
+ 'el_feed_description' => array('section' => 'feed',
69
+ 'type' => 'text',
70
+ 'label' => __('Feed Description','eventlist'),
71
+ 'desc' => __('This options sets the feed description. The standard value is "Eventlist Feed".<br />
72
+ This description will be used in the title for the feed link in the html head and for the description in the feed itself.')),
73
+
74
+ 'el_feed_upcoming_only' => array('section' => 'feed',
75
+ 'type' => 'checkbox',
76
+ 'label' => __('Listed events','eventlist'),
77
+ 'caption' => __('Only show upcoming events in feed','eventlist'),
78
+ 'desc' => __('If this option is enabled only the upcoming events are listed in the feed.<br />
79
+ If disabled all events (upcoming and past) will be listed.')),
80
+
81
+ 'el_head_feed_link' => array('section' => 'feed',
82
+ 'type' => 'checkbox',
83
+ 'label' => __('Add RSS feed link in head','eventlist'),
84
+ 'caption' => __('Add RSS feed link in the html head','eventlist'),
85
+ 'desc' => __('This option adds a RSS feed in the html head for the events.<br />
86
+ You have 2 possibilities to include the RSS feed:<br />
87
+ The first option is to use this option to include a link in the html head. This link will be recognized by browers or feed readers.<br />
88
+ The second possibility is to include a visible feed link directly in the event list. This can be done by setting the shortcode attribute "add_feed_link" to "true"<br />
89
+ This option is only valid if the option "Enable RSS feed" is enabled.')),
90
+
91
+ 'el_feed_link_pos' => array('section' => 'feed',
92
+ 'type' => 'radio',
93
+ 'label' => __('Position of the RSS feed link','eventlist'),
94
+ 'caption' => array('top' => 'at the top (above the navigation bar)', 'below_nav' => 'between navigation bar and events', 'bottom' => 'at the bottom'),
95
+ 'desc' => __('This option specifies the position of the RSS feed link in the event list.<br />
96
+ The options are to display the link at the top, at the bottom or between the navigation bar and the event list.<br />
97
+ You have to set the shortcode attribute "add_feed_link" to "true" if you want to show the feed link.')),
98
+
99
+ 'el_feed_link_align' => array('section' => 'feed',
100
+ 'type' => 'radio',
101
+ 'label' => __('Align of the RSS feed link','eventlist'),
102
+ 'caption' => array('left' => 'left', 'center' => 'center', 'right' => 'right'),
103
+ 'desc' => __('This option specifies the align of the RSS feed link in the event list.<br />
104
+ The link can be displayed on the left side, centered or on the right.<br />
105
+ You have to set the shortcode attribute "add_feed_link" to "true" if you want to show the feed link.')),
106
+
107
+ 'el_feed_link_text' => array('section' => 'feed',
108
+ 'type' => 'text',
109
+ 'label' => __('Feed link text','eventlist'),
110
+ 'desc' => __('This option specifies the caption of the RSS feed link in the event list.<br />
111
+ Insert an empty text to hide any text if you only want to show the rss image.<br />
112
+ You have to set the shortcode attribute "add_feed_link" to "true" if you want to show the feed link.')),
113
+
114
+ 'el_feed_link_img' => array('section' => 'feed',
115
+ 'type' => 'checkbox',
116
+ 'label' => __('Feed link image','eventlist'),
117
+ 'caption' => __('Show rss image in feed link','eventlist'),
118
+ 'desc' => __('This option specifies if the an image should be dispayed in the feed link in front of the text.<br />
119
+ You have to set the shortcode attribute "add_feed_link" to "true" if you want to show the feed link.')),
120
+ );
121
+
122
+ $date_formats_desc = array(
123
+ 'year' => __('You can specify a year in 4 digit format.<br /> Other formats will not be accepted.','eventlist'),
124
+ 'month' => __('You can specify a month with 4 digits for the year and 2 digits for the month, seperated by a hyphen (-).<br />Other formats will not be accepted.','eventlist'),
125
+ 'day' => __('You can specify a day with 4 digits for the year, 2 digits for the month and 2 digets for the day, seperated by a hyphen (-).<br /> Other formats will not be accepted.','eventlist'),
126
+ );
127
+
128
+ $daterange_formats_desc = array(
129
+ 'date_range' => __('You can specify a rage or dates seperated by a tilde (~).<br >You can specify any available date format before and after the tilde.','eventlist'),
130
+ 'all' => __('"all" specifies the full time range without any limitation.','eventlist'),
131
+ 'upcoming' => __('"upcoming" specifies a time range from the actual day to the future.','eventlist'),
132
+ 'past' => __('"past" specifies a time rage from the past to the previous day.','eventlist'),
133
+ );
134
+ ?>
includes/sc_event-list.php CHANGED
@@ -33,156 +33,46 @@ class SC_Event_List {
33
 
34
  // All available attributes
35
  $this->atts = array(
36
-
37
- 'initial_event_id' => array('val' => 'all<br />event-id',
38
- 'std_val' => 'all',
39
- 'desc' => __('With this attribute you can specify an event from which the event-details are shown initially. The standard is to show the event-list.<br />
40
- Specify an event-id e.g. "13" to change this behavior. It is still possible to go back to the event-list via the filterbar or url parameters.')),
41
-
42
- 'initial_date' => array('val' => 'all<br />upcoming<br />past<br />year',
43
- 'std_val' => 'upcoming',
44
- 'desc' => __('This attribute specifies which events are initially shown. The standard is to show the upcoming events.<br />
45
- Specify a year e.g. "2014" to change this behavior. It is still possible to change the displayed event date range via the filterbar or url parameters.')),
46
-
47
- 'initial_cat' => array('val' => 'all<br />category slug',
48
- 'std_val' => 'all',
49
- 'desc' => __('This attribute specifies the category of which events are initially shown. The standard is to show events of all categories.<br />
50
- Specify a category slug to change this behavior. It is still possible to change the displayed categories via the filterbar or url parameters.')),
51
-
52
- 'date_filter' => array('val' => 'all<br />upcoming<br />past<br />year',
53
- 'std_val' => 'all',
54
- 'desc' => 'This attribute specifies the dates and date ranges of which events are displayed. The standard is "all" to show all events.<br />
55
- Filtered events according to date_filter value are not available in the event list.<br />
56
- You can find all available values with a description and examples in "Available Date Formats" and "Available Date Range Formats" below.<br />
57
- See "Filter Syntax" description if you want to define complex filters.<br />
58
- When you only use OR connections (no AND connection) the years selection in the filterbar will also be filtered accordingly.'),
59
-
60
- 'cat_filter' => array('val' => 'all<br />category slugs',
61
- 'std_val' => 'all',
62
- 'desc' => 'This attribute specifies the categories of which events are shown. The standard is "all" or an empty string to show all events.<br />
63
- 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 />
64
- The filter is specified via the given category slug. See "Filter Syntax" description if you want to define complex filters.<br />
65
- When you only use OR connections (no AND connection) the category selection in the filterbar will also be filtered accordingly.'),
66
-
67
- 'num_events' => array('val' => 'number',
68
- 'std_val' => '0',
69
- 'desc' => 'This attribute specifies how many events should be displayed if upcoming events is selected.<br />
70
- 0 is the standard value which means that all events will be displayed.<br />
71
- Please not that in the actual version there is no pagination of the events available.'),
72
-
73
- 'show_filterbar' => array('val' => 'false<br />true<br />event_list_only<br />single_event_only',
74
- 'std_val' => 'true',
75
- 'desc' => 'This attribute specifies if the filterbar should be displayed. The filterbar allows the users to select filters to limit the listed events.<br />
76
- Choose "false" to always hide and "true" to always show the navigation.<br />
77
- With "event_list_only" the filterbar is only visible in the event list and with "single_event_only" only for a single event'),
78
-
79
- 'filterbar_items' => array('val' => 'years_hlist<br />years_dropdown<br />months_hlist<br />months_dropdown<br />daterange_hlist<br />daterange_dropdown<br />cats_hlist<br />cats_dropdown<br />reset_link',
80
- 'std_val' => 'years_hlist',
81
- 'desc' => 'This attribute specifies the available items in the filterbar. This options are only valid if the filterbar is displayed (see show_filterbar attribute).<br /><br />
82
- Find below an overview of the available filterbar items and their options:<br />
83
- <small><table class="el-filterbar-table">
84
- <th class="el-filterbar-item">filterbar item</th><th class="el-filterbar-desc">description</th><th class="el-filterbar-options">item options</th><th class="el-filterbar-values">option values</th><th class="el-filterbar-default">default value</th><th class="el-filterbar-desc2">option description</th></thead>
85
- <tr><td>years</td><td>Show a list of all available years. Additional there are some special entries available (see item options).</td><td>show_all<br />show_upcoming<br />show_past<br />years_order</td><td>true | false<br />true | false<br />true | false<br />desc | asc</td><td>true<br />true<br />false<br />desc</td><td>Add an entry to show all events.<br />Add an entry to show all upcoming events.<br />Add an entry to show events in the past.<br />Set descending or ascending order of year entries.</tr>
86
- <tr><td>months</td><td>Show a list of all available months.</td><td></td><td></td><td></td><td></td></tr>
87
- <tr><td>daterange</td><td>With this item you can display the special entries "all", "upcoming" and "past". You can use all or only some of the available values and you can specify their order.</td><td>item_order</td><td>all | upcoming | past</td><td>all&amp;upcoming&amp;past</td><td>Specifies the displayed values and their order. The items must be seperated by "&amp;".</td></tr>
88
- <tr><td>cats</td><td>Show a list of all available categories.</td><td>show_all</td><td>true | false</td><td>true</td><td>Add an entry to show events from all categories.</td></tr>
89
- <tr><td>reset</td><td>Only a link to reset the eventlist filter to standard.</td><td>caption</td><td>any text</td><td>Reset</td><td>Set the caption of the link.</td></tr>
90
- </table></small>
91
- Find below an overview of the available filterbar display options:<br />
92
- <small><table class="el-filterbar-table">
93
- <th class="el-filterbar-doption">display option</th><th class="el-filterbar-desc3">description</th><th class="el-filterbar-for">available for</th></thead>
94
- <tr><td>hlist</td><td>"hlist" shows a horizonal list seperated by "|" with a link to each item</td><td>years, months, daterange, cats</td></tr>
95
- <tr><td>dropdown</td><td>"dropdown" shows a select box where an item can be choosen. After the selection of an item the page is reloaded via javascript to show the filtered events.</td><td>years, months, daterange, cats</td></tr>
96
- <tr><td>link</td><td>"link" shows a simple link which can be clicked.</td><td>reset</td></tr>
97
- </table></small>
98
- <p>Find below some declaration examples with descriptions:</p>
99
- <code>years_hlist,cats_dropdown</code><br />
100
- In this example you can see that the filterbar item and the used display option is seperated by "_". You can define several filterbar items seperated by comma (","). The items will be aligned on the left side.
101
- <p><code>years_dropdown(show_all=false|show_past=true),cats_dropdown;;reset_link</code><br />
102
- In this example you can see that filterbar options can be added in brackets in format "option_name=value". You can also add multiple options seperated by a pipe ("|").<br />
103
- The 2 semicolon (";") devides the bar in 3 section. The first section will be displayed left-justified, the second section will be centered and the third section will be right-aligned. So in this example the 2 dropdown will be left-aligned and the reset link will be on the right side.</p>'),
104
-
105
- 'show_starttime' => array('val' => 'false<br />true<br />event_list_only<br />single_event_only',
106
- 'std_val' => 'true',
107
- 'desc' => 'This attribute specifies if the starttime is displayed in the event list.<br />
108
- Choose "false" to always hide and "true" to always show the starttime.<br />
109
- With "event_list_only" the starttime is only visible in the event list and with "single_event_only" only for a single event'),
110
-
111
- 'show_location' => array('val' => 'false<br />true<br />event_list_only<br />single_event_only',
112
- 'std_val' => 'true',
113
- 'desc' => 'This attribute specifies if the location is displayed in the event list.<br />
114
- Choose "false" to always hide and "true" to always show the location.<br />
115
- With "event_list_only" the location is only visible in the event list and with "single_event_only" only for a single event'),
116
-
117
- 'show_cat' => array('val' => 'false<br />true<br />event_list_only<br />single_event_only',
118
- 'std_val' => 'false',
119
- 'desc' => 'This attribute specifies if the categories are displayed in the event list.<br />
120
- Choose "false" to always hide and "true" to always show the category.<br />
121
- With "event_list_only" the categories are only visible in the event list and with "single_event_only" only for a single event'),
122
-
123
- 'show_details' => array('val' => 'false<br />true<br />event_list_only<br />single_event_only',
124
- 'std_val' => 'true',
125
- 'visible' => true,
126
- 'desc' => 'This attribute specifies if the details are displayed in the event list.<br />
127
- Choose "false" to always hide and "true" to always show the details.<br />
128
- With "event_list_only" the details are only visible in the event list and with "single_event_only" only for a single event'),
129
-
130
- 'details_length' => array('val' => 'number',
131
- 'std_val' => '0',
132
- 'desc' => 'This attribute specifies if the details should be truncate to the given number of characters in the event list.<br />
133
- With the standard value 0 the full details are displayed.<br />
134
- This attribute has no influence if only a single event is shown.'),
135
-
136
- 'link_to_event' => array( 'val' => 'false<br />true<br />event_list_only<br />single_event_only',
137
- 'std_val' => 'event_list_only',
138
- 'desc' => 'This attribute specifies if a link to the single event should be added onto the event name in the event list.<br />
139
- Choose "false" to never add and "true" to always add the link.<br />
140
- With "event_list_only" the link is only added in the event list and with "single_event_only" only for a single event'),
141
-
142
- 'add_feed_link' => array('val' => 'false<br />true<br />event_list_only<br />single_event_only',
143
- 'std_val' => 'false',
144
- 'desc' => 'This attribute specifies if a rss feed link should be added.<br />
145
- You have to enable the feed in the eventlist settings to make this attribute workable.<br />
146
- On that page you can also find some settings to modify the output.<br />
147
- Choose "false" to never add and "true" to always add the link.<br />
148
- With "event_list_only" the link is only added in the event list and with "single_event_only" only for a single event'),
149
- // Invisible attributes ('visibe' = false): This attributes are required for the widget but will not be listed in the attributes table on the admin info page
150
- 'title_length' => array('val' => 'number',
151
- 'std_val' => '0',
152
- 'hidden' => true,
153
- 'desc' => 'This attribute specifies if the title should be truncate to the given number of characters in the event list.<br />
154
- With the standard value 0 the full details are displayed.<br />
155
- This attribute has no influence if only a single event is shown.'),
156
-
157
- 'location_length' => array( 'val' => 'number',
158
- 'std_val' => '0',
159
- 'hidden' => true,
160
- 'desc' => 'This attribute specifies if the title should be truncate to the given number of characters in the event list.<br />
161
- With the standard value 0 the full details are displayed.<br />
162
- This attribute has no influence if only a single event is shown.'),
163
-
164
- 'url_to_page' => array('val' => 'url',
165
- 'std_val' => '',
166
- 'hidden' => true,
167
- 'desc' => 'This attribute specifies that the link should follow the given url.<br />
168
- The standard is to leave this attribute empty, then the url will be calculated automatically from the actual page or post url.<br />
169
- This is o.k. for the normal use of the shortcode. This attribute is normally only required for the event-list widget.' ),
170
-
171
- 'sc_id_for_url' => array('val' => 'number',
172
- 'std_val' => '',
173
- 'hidden' => true,
174
- 'desc' => 'This attribute the specifies shortcode id of the used shortcode on the page specified with "url_to_page" attribute.<br />
175
- The empty standard value is o.k. for the normal use. This attribute is normally only required for the event-list widget.' ),
176
  // Internal attributes: This parameters will be added by the script and are not available in the shortcode
177
- // 'sc_id'
178
- // 'actual_date'
179
- // 'actual_cat'
180
  );
181
 
 
 
 
182
  $this->num_sc_loaded = 0;
183
  $this->single_event = false;
184
  }
185
 
 
 
 
 
 
 
 
 
186
  public function get_atts($only_visible=true) {
187
  if($only_visible) {
188
  $atts = null;
@@ -247,7 +137,7 @@ class SC_Event_List {
247
  $event = $this->db->get_event($a['event_id']);
248
  $out = $this->html_filterbar($a);
249
  $out .= '
250
- <h2>Event Information:</h2>
251
  <ul class="single-event-view">';
252
  $single_day_only = ($event->start_date == $event->end_date) ? true : false;
253
  $out .= $this->html_event($event, $a, $single_day_only);
33
 
34
  // All available attributes
35
  $this->atts = array(
36
+ 'initial_event_id' => array('std_val' => 'all'),
37
+ 'initial_date' => array('std_val' => 'upcoming'),
38
+ 'initial_cat' => array('std_val' => 'all'),
39
+ 'date_filter' => array('std_val' => 'all'),
40
+ 'cat_filter' => array('std_val' => 'all'),
41
+ 'num_events' => array('std_val' => '0'),
42
+ 'show_filterbar' => array('std_val' => 'true'),
43
+ 'filterbar_items' => array('std_val' => 'years_hlist'),
44
+ 'show_starttime' => array('std_val' => 'true'),
45
+ 'show_location' => array('std_val' => 'true'),
46
+ 'show_cat' => array('std_val' => 'false'),
47
+ 'show_details' => array('std_val' => 'true'),
48
+ 'details_length' => array('std_val' => '0'),
49
+ 'link_to_event' => array('std_val' => 'event_list_only'),
50
+ 'add_feed_link' => array('std_val' => 'false'),
51
+ 'title_length' => array('std_val' => '0'),
52
+ 'location_length' => array('std_val' => '0'),
53
+ 'url_to_page' => array('std_val' => ''),
54
+ 'sc_id_for_url' => array('std_val' => ''),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
55
  // Internal attributes: This parameters will be added by the script and are not available in the shortcode
56
+ // 'sc_id'
57
+ // 'actual_date'
58
+ // 'actual_cat'
59
  );
60
 
61
+ if(is_admin()) {
62
+ $this->load_sc_eventlist_helptexts();
63
+ }
64
  $this->num_sc_loaded = 0;
65
  $this->single_event = false;
66
  }
67
 
68
+ private function load_sc_eventlist_helptexts() {
69
+ require_once(EL_PATH.'includes/sc_event-list_helptexts.php');
70
+ foreach($sc_eventlist_helptexts as $name => $values) {
71
+ $this->atts[$name] = array_merge($this->atts[$name], $values);
72
+ }
73
+ unset($sc_eventlist_helptexts);
74
+ }
75
+
76
  public function get_atts($only_visible=true) {
77
  if($only_visible) {
78
  $atts = null;
137
  $event = $this->db->get_event($a['event_id']);
138
  $out = $this->html_filterbar($a);
139
  $out .= '
140
+ <h2>'.__('Event Information:','eventlist').'</h2>
141
  <ul class="single-event-view">';
142
  $single_day_only = ($event->start_date == $event->end_date) ? true : false;
143
  $out .= $this->html_event($event, $a, $single_day_only);
includes/sc_event-list_helptexts.php ADDED
@@ -0,0 +1,127 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if(!defined('WPINC')) {
3
+ exit;
4
+ }
5
+
6
+ $sc_eventlist_helptexts = array(
7
+ 'initial_event_id' => array('val' => 'all<br />event-id',
8
+ 'desc' => __('With this attribute you can specify an event from which the event-details are shown initially. The standard is to show the event-list.<br />
9
+ Specify an event-id e.g. "13" to change this behavior. It is still possible to go back to the event-list via the filterbar or url parameters.','eventlist')),
10
+
11
+ 'initial_date' => array('val' => 'all<br />upcoming<br />past<br />year',
12
+ 'desc' => __('This attribute specifies which events are initially shown. The standard is to show the upcoming events.<br />
13
+ Specify a year e.g. "2014" to change this behavior. It is still possible to change the displayed event date range via the filterbar or url parameters.','eventlist')),
14
+
15
+ 'initial_cat' => array('val' => 'all<br />category slug',
16
+ 'desc' => __('This attribute specifies the category of which events are initially shown. The standard is to show events of all categories.<br />
17
+ Specify a category slug to change this behavior. It is still possible to change the displayed categories via the filterbar or url parameters.','eventlist')),
18
+
19
+ 'date_filter' => array('val' => 'all<br />upcoming<br />past<br />year',
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.','eventlist')),
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.','eventlist')),
31
+
32
+ 'num_events' => array('val' => 'number',
33
+ 'desc' => __('This attribute specifies how many events should be displayed if upcoming events is selected.<br />
34
+ 0 is the standard value which means that all events will be displayed.<br />
35
+ Please not that in the actual version there is no pagination of the events available.','eventlist')),
36
+
37
+ 'show_filterbar' => array('val' => 'false<br />true<br />event_list_only<br />single_event_only',
38
+ 'desc' => __('This attribute specifies if the filterbar should be displayed. The filterbar allows the users to select filters to limit the listed events.<br />
39
+ Choose "false" to always hide and "true" to always show the navigation.<br />
40
+ With "event_list_only" the filterbar is only visible in the event list and with "single_event_only" only for a single event','eventlist')),
41
+
42
+ 'filterbar_items' => array('val' => 'years_hlist<br />years_dropdown<br />months_hlist<br />months_dropdown<br />daterange_hlist<br />daterange_dropdown<br />cats_hlist<br />cats_dropdown<br />reset_link',
43
+ 'desc' => 'This attribute specifies the available items in the filterbar. This options are only valid if the filterbar is displayed (see show_filterbar attribute).<br /><br />
44
+ Find below an overview of the available filterbar items and their options:<br />
45
+ <small><table class="el-filterbar-table">
46
+ <th class="el-filterbar-item">filterbar item</th><th class="el-filterbar-desc">description</th><th class="el-filterbar-options">item options</th><th class="el-filterbar-values">option values</th><th class="el-filterbar-default">default value</th><th class="el-filterbar-desc2">option description</th></thead>
47
+ <tr><td>years</td><td>Show a list of all available years. Additional there are some special entries available (see item options).</td><td>show_all<br />show_upcoming<br />show_past<br />years_order</td><td>true | false<br />true | false<br />true | false<br />desc | asc</td><td>true<br />true<br />false<br />desc</td><td>Add an entry to show all events.<br />Add an entry to show all upcoming events.<br />Add an entry to show events in the past.<br />Set descending or ascending order of year entries.</tr>
48
+ <tr><td>months</td><td>Show a list of all available months.</td><td></td><td></td><td></td><td></td></tr>
49
+ <tr><td>daterange</td><td>With this item you can display the special entries "all", "upcoming" and "past". You can use all or only some of the available values and you can specify their order.</td><td>item_order</td><td>all | upcoming | past</td><td>all&amp;upcoming&amp;past</td><td>Specifies the displayed values and their order. The items must be seperated by "&amp;".</td></tr>
50
+ <tr><td>cats</td><td>Show a list of all available categories.</td><td>show_all</td><td>true | false</td><td>true</td><td>Add an entry to show events from all categories.</td></tr>
51
+ <tr><td>reset</td><td>Only a link to reset the eventlist filter to standard.</td><td>caption</td><td>any text</td><td>Reset</td><td>Set the caption of the link.</td></tr>
52
+ </table></small>
53
+ Find below an overview of the available filterbar display options:<br />
54
+ <small><table class="el-filterbar-table">
55
+ <th class="el-filterbar-doption">display option</th><th class="el-filterbar-desc3">description</th><th class="el-filterbar-for">available for</th></thead>
56
+ <tr><td>hlist</td><td>"hlist" shows a horizonal list seperated by "|" with a link to each item</td><td>years, months, daterange, cats</td></tr>
57
+ <tr><td>dropdown</td><td>"dropdown" shows a select box where an item can be choosen. After the selection of an item the page is reloaded via javascript to show the filtered events.</td><td>years, months, daterange, cats</td></tr>
58
+ <tr><td>link</td><td>"link" shows a simple link which can be clicked.</td><td>reset</td></tr>
59
+ </table></small>
60
+ <p>Find below some declaration examples with descriptions:</p>
61
+ <code>years_hlist,cats_dropdown</code><br />
62
+ In this example you can see that the filterbar item and the used display option is seperated by "_". You can define several filterbar items seperated by comma (","). The items will be aligned on the left side.
63
+ <p><code>years_dropdown(show_all=false|show_past=true),cats_dropdown;;reset_link</code><br />
64
+ In this example you can see that filterbar options can be added in brackets in format "option_name=value". You can also add multiple options seperated by a pipe ("|").<br />
65
+ The 2 semicolon (";") devides the bar in 3 section. The first section will be displayed left-justified, the second section will be centered and the third section will be right-aligned. So in this example the 2 dropdown will be left-aligned and the reset link will be on the right side.</p>'),
66
+
67
+ 'show_starttime' => array('val' => 'false<br />true<br />event_list_only<br />single_event_only',
68
+ 'desc' => __('This attribute specifies if the starttime is displayed in the event list.<br />
69
+ Choose "false" to always hide and "true" to always show the starttime.<br />
70
+ With "event_list_only" the starttime is only visible in the event list and with "single_event_only" only for a single event','eventlist')),
71
+
72
+ 'show_location' => array('val' => 'false<br />true<br />event_list_only<br />single_event_only',
73
+ 'desc' => __('This attribute specifies if the location is displayed in the event list.<br />
74
+ Choose "false" to always hide and "true" to always show the location.<br />
75
+ With "event_list_only" the location is only visible in the event list and with "single_event_only" only for a single event','eventlist')),
76
+
77
+ 'show_cat' => array('val' => 'false<br />true<br />event_list_only<br />single_event_only',
78
+ 'desc' => __('This attribute specifies if the categories are displayed in the event list.<br />
79
+ Choose "false" to always hide and "true" to always show the category.<br />
80
+ With "event_list_only" the categories are only visible in the event list and with "single_event_only" only for a single event','eventlist')),
81
+
82
+ 'show_details' => array('val' => 'false<br />true<br />event_list_only<br />single_event_only',
83
+ 'desc' => __('This attribute specifies if the details are displayed in the event list.<br />
84
+ Choose "false" to always hide and "true" to always show the details.<br />
85
+ With "event_list_only" the details are only visible in the event list and with "single_event_only" only for a single event','eventlist')),
86
+
87
+ 'details_length' => array('val' => 'number',
88
+ 'desc' => __('This attribute specifies if the details should be truncate to the given number of characters in the event list.<br />
89
+ With the standard value 0 the full details are displayed.<br />
90
+ This attribute has no influence if only a single event is shown.','eventlist')),
91
+
92
+ 'link_to_event' => array('val' => 'false<br />true<br />event_list_only<br />single_event_only',
93
+ 'desc' => __('This attribute specifies if a link to the single event should be added onto the event name in the event list.<br />
94
+ Choose "false" to never add and "true" to always add the link.<br />
95
+ With "event_list_only" the link is only added in the event list and with "single_event_only" only for a single event','eventlist')),
96
+
97
+ 'add_feed_link' => array('val' => 'false<br />true<br />event_list_only<br />single_event_only',
98
+ 'desc' => __('This attribute specifies if a rss feed link should be added.<br />
99
+ You have to enable the feed in the eventlist settings to make this attribute workable.<br />
100
+ On that page you can also find some settings to modify the output.<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','eventlist')),
103
+ // Invisible attributes ('hidden' = true): This attributes are required for the widget but will not be listed in the attributes table on the admin info page
104
+ 'title_length' => array('val' => 'number',
105
+ 'hidden' => true,
106
+ 'desc' => __('This attribute specifies if the title should be truncate to the given number of characters in the event list.<br />
107
+ With the standard value 0 the full details are displayed.<br />
108
+ This attribute has no influence if only a single event is shown.','eventlist')),
109
+
110
+ 'location_length' => array('val' => 'number',
111
+ 'hidden' => true,
112
+ 'desc' => __('This attribute specifies if the title should be truncate to the given number of characters in the event list.<br />
113
+ With the standard value 0 the full details are displayed.<br />
114
+ This attribute has no influence if only a single event is shown.','eventlist')),
115
+
116
+ 'url_to_page' => array('val' => 'url',
117
+ 'hidden' => true,
118
+ 'desc' => __('This attribute specifies that the link should follow the given url.<br />
119
+ The standard is to leave this attribute empty, then the url will be calculated automatically from the actual page or post url.<br />
120
+ This is o.k. for the normal use of the shortcode. This attribute is normally only required for the event-list widget.','eventlist')),
121
+
122
+ 'sc_id_for_url' => array('val' => 'number',
123
+ 'hidden' => true,
124
+ 'desc' => __('This attribute the specifies shortcode id of the used shortcode on the page specified with "url_to_page" attribute.<br />
125
+ The empty standard value is o.k. for the normal use. This attribute is normally only required for the event-list widget.','eventlist')),
126
+ );
127
+ ?>
includes/widget.php CHANGED
@@ -1,5 +1,5 @@
1
  <?php
2
- if( !defined( 'ABSPATH' ) ) {
3
  exit;
4
  }
5
 
@@ -17,123 +17,36 @@ class EL_Widget extends WP_Widget {
17
  parent::__construct(
18
  'event_list_widget', // Base ID
19
  'Event List', // Name
20
- array( 'description' => __( 'This widget displays a list of upcoming events. If you want to enable a link to the events or to the event page you have to insert a link to the event-list page or post.', 'text_domain' ), ) // Args
21
  );
22
 
23
  // define all available items
24
  $this->items = array(
25
- 'title' => array( 'type' => 'text',
26
- 'std_value' => __( 'Upcoming events', 'text_domain' ),
27
- 'caption' => __( 'Title:' ),
28
- 'caption_after' => null,
29
- 'tooltip' => __( 'The title for the widget' ),
30
- 'form_style' => null,
31
- 'form_width' => null ),
32
-
33
- 'cat_filter' => array( 'type' => 'text',
34
- 'std_value' => 'all',
35
- 'caption' => __('Category Filter:'),
36
- 'caption_after' => null,
37
- 'tooltip' => __('This attribute specifies the categories of which events are shown. The standard is \'all\' or an empty string to show all events. Specify a category slug or a list of category slugs to only show events of the specified categories. See description of the shortcode attribute "cat_filter" for detailed info about all possibilities.'),
38
- 'form_style' => 'margin:0 0 0.8em 0',
39
- 'form_width' => null ),
40
-
41
- 'num_events' => array( 'type' => 'text',
42
- 'std_value' => '3',
43
- 'caption' => __('Number of listed events:'),
44
- 'caption_after' => null,
45
- 'tooltip' => __('The number of upcoming events to display'),
46
- 'form_style' => '',
47
- 'form_width' => 30 ),
48
-
49
- 'title_length' => array( 'type' => 'text',
50
- 'std_value' => '0',
51
- 'caption' => __( 'Truncate event title to' ),
52
- 'caption_after' => __( 'chars' ),
53
- 'tooltip' => __( 'This option specifies the number of displayed characters for the event title. Set this value to 0 to view the full title.' ),
54
- 'form_style' => null,
55
- 'form_width' => 30 ),
56
-
57
- 'show_starttime' => array( 'type' => 'checkbox',
58
- 'std_value' => 'true',
59
- 'caption' => __( 'Show event starttime' ),
60
- 'caption_after' => null,
61
- 'tooltip' => __( 'This option defines if the event start time will be displayed.' ),
62
- 'form_style' => null,
63
- 'form_width' => null ),
64
-
65
- 'show_location' => array( 'type' => 'checkbox',
66
- 'std_value' => 'false',
67
- 'caption' => __( 'Show event location' ),
68
- 'caption_after' => null,
69
- 'tooltip' => __( 'This option defines if the event location will be displayed.' ),
70
- 'form_style' => 'margin:0 0 0.2em 0',
71
- 'form_width' => null ),
72
-
73
- 'location_length' => array( 'type' => 'text',
74
- 'std_value' => '0',
75
- 'caption' => __( 'Truncate location to' ),
76
- 'caption_after' => __( 'chars' ),
77
- 'tooltip' => __( 'If the event location is diplayed this option specifies the number of displayed characters. Set this value to 0 to view the full location.' ),
78
- 'form_style' => 'margin:0 0 0.6em 0.9em',
79
- 'form_width' => 30 ),
80
-
81
- 'show_details' => array( 'type' => 'checkbox',
82
- 'std_value' => 'false',
83
- 'caption' => __( 'Show event details' ),
84
- 'caption_after' => null,
85
- 'tooltip' => __( 'This option defines if the event details will be displayed.' ),
86
- 'form_style' => 'margin:0 0 0.2em 0',
87
- 'form_width' => null ),
88
-
89
- 'details_length' => array( 'type' => 'text',
90
- 'std_value' => '0',
91
- 'caption' => __( 'Truncate details to' ),
92
- 'caption_after' => __( 'characters' ),
93
- 'tooltip' => __( 'If the event details are diplayed this option specifies the number of diplayed characters. Set this value to 0 to view the full details.' ),
94
- 'form_style' => 'margin:0 0 0.6em 0.9em',
95
- 'form_width' => 30 ),
96
-
97
- 'url_to_page' => array( 'type' => 'text',
98
- 'std_value' => '',
99
- 'caption' => __( 'URL to the linked eventlist page:' ),
100
- 'caption_after' => null,
101
- 'tooltip' => __( 'This options specifies the url to the linked event-list page. This option is required if you want to use one of the options below.' ),
102
- 'form_style' => 'margin:0 0 0.4em 0',
103
- 'form_width' => null ),
104
-
105
- 'sc_id_for_url' => array( 'type' => 'text',
106
- 'std_value' => '1',
107
- 'caption' => __( 'Shortcode ID on linked page:' ),
108
- 'caption_after' => null,
109
- 'tooltip' => __( 'This option specifies the shortcode-id for the event-list on the linked page. Normally the standard value 1 is correct, you only have to change it if you use multiple event-list shortcodes on the linked page.' ),
110
- 'form_style' => null,
111
- 'form_width' => 30 ),
112
-
113
- 'link_to_event' => array( 'type' => 'checkbox',
114
- 'std_value' => 'false',
115
- 'caption' => __( 'Add links to the single events' ),
116
- 'caption_after' => null,
117
- 'tooltip' => __( 'With this option you can add a link to the single event page for every displayed event. You have to specify the url to the page and the shortcode id option if you want to use it.' ),
118
- 'form_style' => 'margin-left:0.8em',
119
- 'form_width' => null ),
120
 
121
- 'link_to_page' => array( 'type' => 'checkbox',
122
- 'std_value' => 'false',
123
- 'caption' => __( 'Add a link to an event page' ),
124
- 'caption_after' => null,
125
- 'tooltip' => __( 'With this option you can add a link to the event-list page below the diplayed events. You have to specify the url to page option if you want to use it.' ),
126
- 'form_style' => 'margin:0 0 0.2em 0.8em',
127
- 'form_width' => null ),
128
 
129
- 'link_to_page_caption' => array( 'type' => 'text',
130
- 'std_value' => __( 'show event-list page', 'text_domain' ),
131
- 'caption' => __( 'Caption for the link:' ),
132
- 'caption_after' => null,
133
- 'tooltip' => __( 'This option specifies the text for the link to the event-list page if the approriate option is selected.' ),
134
- 'form_style' => 'margin:0 0 1em 2.5em',
135
- 'form_width' => null ),
136
- );
137
  }
138
 
139
  /**
@@ -144,16 +57,16 @@ class EL_Widget extends WP_Widget {
144
  * @param array $args Widget arguments.
145
  * @param array $instance Saved values from database.
146
  */
147
- public function widget( $args, $instance ) {
148
  $this->prepare_instance($instance);
149
- $title = apply_filters( 'widget_title', $instance['title'] );
150
  echo $args['before_widget'];
151
- if ( ! empty( $title ) )
152
  {
153
  echo $args['before_title'].$title.$args['after_title'];
154
  }
155
  $this->upgrade_widget($instance, true);
156
- $linked_page_is_set = 0 < strlen( $instance['url_to_page'] );
157
  $linked_page_id_is_set = 0 < (int)$instance['sc_id_for_url'];
158
  $shortcode = '[event-list show_filterbar=false';
159
  $shortcode .= ' cat_filter='.$instance['cat_filter'];
@@ -164,7 +77,7 @@ class EL_Widget extends WP_Widget {
164
  $shortcode .= ' location_length='.$instance['location_length'];
165
  $shortcode .= ' show_details='.$instance['show_details'];
166
  $shortcode .= ' details_length='.$instance['details_length'];
167
- if( $linked_page_is_set && $linked_page_id_is_set ) {
168
  $shortcode .= ' link_to_event='.$instance['link_to_event'];
169
  $shortcode .= ' url_to_page="'.$instance['url_to_page'].'"';
170
  $shortcode .= ' sc_id_for_url='.$instance['sc_id_for_url'];
@@ -173,8 +86,8 @@ class EL_Widget extends WP_Widget {
173
  $shortcode .= ' link_to_event=false';
174
  }
175
  $shortcode .= ']';
176
- echo do_shortcode( $shortcode );
177
- if( 'true' === $instance['link_to_page'] && $linked_page_is_set ) {
178
  echo '<div style="clear:both"><a title="'.$instance['link_to_page_caption'].'" href="'.$instance[ 'url_to_page'].'">'.$instance['link_to_page_caption'].'</a></div>';
179
  }
180
  echo $args['after_widget'];
@@ -190,14 +103,14 @@ class EL_Widget extends WP_Widget {
190
  *
191
  * @return array Updated safe values to be saved.
192
  */
193
- public function update( $new_instance, $old_instance ) {
194
  $instance = array();
195
- foreach( $this->items as $itemname => $item ) {
196
- if( 'checkbox' === $item['type'] ) {
197
- $instance[$itemname] = ( isset( $new_instance[$itemname] ) && 1==$new_instance[$itemname] ) ? 'true' : 'false';
198
  }
199
  else { // 'text'
200
- $instance[$itemname] = strip_tags( $new_instance[$itemname] );
201
  }
202
  }
203
  return $instance;
@@ -210,28 +123,28 @@ class EL_Widget extends WP_Widget {
210
  *
211
  * @param array $instance Previously saved values from database.
212
  */
213
- public function form( $instance ) {
214
  $this->upgrade_widget($instance);
215
  $out = '';
216
- foreach( $this->items as $itemname => $item ) {
217
- if( ! isset( $instance[$itemname] ) ) {
218
  $instance[$itemname] = $item['std_value'];
219
  }
220
- $style_text = ( null===$item['form_style'] ) ? '' : ' style="'.$item['form_style'].'"';
221
- if( 'checkbox' === $item['type'] ) {
222
- $checked_text = ( 'true'===$instance[$itemname] || 1==$instance[$itemname] ) ? 'checked = "checked" ' : '';
223
  $out .= '
224
  <p'.$style_text.' title="'.$item['tooltip'].'">
225
- <label><input class="widefat" id="'.$this->get_field_id( $itemname ).'" name="'.$this->get_field_name( $itemname ).'" type="checkbox" '.$checked_text.'value="1" /> '.$item['caption'].'</label>
226
  </p>';
227
  }
228
  else { // 'text'
229
- $width_text = ( null === $item['form_width'] ) ? '' : 'style="width:'.$item['form_width'].'px" ';
230
- $caption_after_text = ( null === $item['caption_after'] ) ? '' : '<label>'.$item['caption_after'].'</label>';
231
  $out .= '
232
  <p'.$style_text.' title="'.$item['tooltip'].'">
233
- <label for="'.$this->get_field_id( $itemname ).'">'.$item['caption'].' </label>
234
- <input '.$width_text.'class="widefat" id="'.$this->get_field_id( $itemname ).'" name="'.$this->get_field_name( $itemname ).'" type="text" value="'.esc_attr( $instance[$itemname] ).'" />'.$caption_after_text.'
235
  </p>';
236
  }
237
  }
1
  <?php
2
+ if(!defined('ABSPATH')) {
3
  exit;
4
  }
5
 
17
  parent::__construct(
18
  'event_list_widget', // Base ID
19
  'Event List', // Name
20
+ array('description' => __('With this widget a list of upcoming events can be displayed.','eventlist')) // Args
21
  );
22
 
23
  // define all available items
24
  $this->items = array(
25
+ 'title' => array('std_value' => __('Upcoming events','eventlist').':'),
26
+ 'cat_filter' => array('std_value' => 'all'),
27
+ 'num_events' => array('std_value' => '3'),
28
+ 'title_length' => array('std_value' => '0'),
29
+ 'show_starttime' => array('std_value' => 'true'),
30
+ 'show_location' => array('std_value' => 'false'),
31
+ 'location_length' => array('std_value' => '0'),
32
+ 'show_details' => array('std_value' => 'false'),
33
+ 'details_length' => array('std_value' => '0'),
34
+ 'url_to_page' => array('std_value' => ''),
35
+ 'sc_id_for_url' => array('std_value' => '1'),
36
+ 'link_to_event' => array('std_value' => 'false'),
37
+ 'link_to_page' => array('std_value' => 'false'),
38
+ 'link_to_page_caption' => array('std_value' => __('show events page','eventlist')),
39
+ );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
 
41
+ add_action('admin_init', array(&$this, 'load_widget_items_helptexts'), 2);
42
+ }
 
 
 
 
 
43
 
44
+ public function load_widget_items_helptexts() {
45
+ require_once(EL_PATH.'includes/widget_helptexts.php');
46
+ foreach($widget_items_helptexts as $name => $values) {
47
+ $this->items[$name] = array_merge($this->items[$name], $values);
48
+ }
49
+ unset($widget_items_helptexts);
 
 
50
  }
51
 
52
  /**
57
  * @param array $args Widget arguments.
58
  * @param array $instance Saved values from database.
59
  */
60
+ public function widget($args, $instance) {
61
  $this->prepare_instance($instance);
62
+ $title = apply_filters('widget_title', $instance['title']);
63
  echo $args['before_widget'];
64
+ if(!empty($title))
65
  {
66
  echo $args['before_title'].$title.$args['after_title'];
67
  }
68
  $this->upgrade_widget($instance, true);
69
+ $linked_page_is_set = 0 < strlen($instance['url_to_page']);
70
  $linked_page_id_is_set = 0 < (int)$instance['sc_id_for_url'];
71
  $shortcode = '[event-list show_filterbar=false';
72
  $shortcode .= ' cat_filter='.$instance['cat_filter'];
77
  $shortcode .= ' location_length='.$instance['location_length'];
78
  $shortcode .= ' show_details='.$instance['show_details'];
79
  $shortcode .= ' details_length='.$instance['details_length'];
80
+ if($linked_page_is_set && $linked_page_id_is_set) {
81
  $shortcode .= ' link_to_event='.$instance['link_to_event'];
82
  $shortcode .= ' url_to_page="'.$instance['url_to_page'].'"';
83
  $shortcode .= ' sc_id_for_url='.$instance['sc_id_for_url'];
86
  $shortcode .= ' link_to_event=false';
87
  }
88
  $shortcode .= ']';
89
+ echo do_shortcode($shortcode);
90
+ if('true' === $instance['link_to_page'] && $linked_page_is_set) {
91
  echo '<div style="clear:both"><a title="'.$instance['link_to_page_caption'].'" href="'.$instance[ 'url_to_page'].'">'.$instance['link_to_page_caption'].'</a></div>';
92
  }
93
  echo $args['after_widget'];
103
  *
104
  * @return array Updated safe values to be saved.
105
  */
106
+ public function update($new_instance, $old_instance) {
107
  $instance = array();
108
+ foreach($this->items as $itemname => $item) {
109
+ if('checkbox' === $item['type']) {
110
+ $instance[$itemname] = (isset($new_instance[$itemname]) && 1==$new_instance[$itemname]) ? 'true' : 'false';
111
  }
112
  else { // 'text'
113
+ $instance[$itemname] = strip_tags($new_instance[$itemname]);
114
  }
115
  }
116
  return $instance;
123
  *
124
  * @param array $instance Previously saved values from database.
125
  */
126
+ public function form($instance) {
127
  $this->upgrade_widget($instance);
128
  $out = '';
129
+ foreach($this->items as $itemname => $item) {
130
+ if(! isset($instance[$itemname])) {
131
  $instance[$itemname] = $item['std_value'];
132
  }
133
+ $style_text = (null===$item['form_style']) ? '' : ' style="'.$item['form_style'].'"';
134
+ if('checkbox' === $item['type']) {
135
+ $checked_text = ('true'===$instance[$itemname] || 1==$instance[$itemname]) ? 'checked = "checked" ' : '';
136
  $out .= '
137
  <p'.$style_text.' title="'.$item['tooltip'].'">
138
+ <label><input class="widefat" id="'.$this->get_field_id($itemname).'" name="'.$this->get_field_name($itemname).'" type="checkbox" '.$checked_text.'value="1" /> '.$item['caption'].'</label>
139
  </p>';
140
  }
141
  else { // 'text'
142
+ $width_text = (null === $item['form_width']) ? '' : 'style="width:'.$item['form_width'].'px" ';
143
+ $caption_after_text = (null === $item['caption_after']) ? '' : '<label>'.$item['caption_after'].'</label>';
144
  $out .= '
145
  <p'.$style_text.' title="'.$item['tooltip'].'">
146
+ <label for="'.$this->get_field_id($itemname).'">'.$item['caption'].' </label>
147
+ <input '.$width_text.'class="widefat" id="'.$this->get_field_id($itemname).'" name="'.$this->get_field_name($itemname).'" type="text" value="'.esc_attr($instance[$itemname]).'" />'.$caption_after_text.'
148
  </p>';
149
  }
150
  }
includes/widget_helptexts.php ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if(!defined('WPINC')) {
3
+ exit;
4
+ }
5
+
6
+ $widget_items_helptexts = array(
7
+ 'title' => array('type' => 'text',
8
+ 'caption' => __('Title','eventlist'),
9
+ 'caption_after' => null,
10
+ 'tooltip' => __('This option defines the displayed title for the widget.','eventlist'),
11
+ 'form_style' => null,
12
+ 'form_width' => null),
13
+
14
+ 'cat_filter' => array('type' => 'text',
15
+ 'caption' => __('Category Filter','eventlist').':',
16
+ 'caption_after' => null,
17
+ 'tooltip' => __('This option defines the categories of which events are shown. The standard is all or an empty string to show all events. Specify a category slug or a list of category slugs to only show events of the specified categories. See description of the shortcode attribute cat_filter for detailed info about all possibilities.','eventlist'),
18
+ 'form_style' => 'margin:0 0 0.8em 0',
19
+ 'form_width' => null),
20
+
21
+ 'num_events' => array('type' => 'text',
22
+ 'caption' => __('Number of listed events','eventlist').':',
23
+ 'caption_after' => null,
24
+ 'tooltip' => __('The number of upcoming events to display','eventlist'),
25
+ 'form_style' => '',
26
+ 'form_width' => 30),
27
+
28
+ 'title_length' => array('type' => 'text',
29
+ 'caption' => __('Truncate event title to','eventlist'),
30
+ 'caption_after' => __('characters','eventlist'),
31
+ 'tooltip' => __('This option defines the number of displayed characters for the event title. Set this value to 0 to view the full title.','eventlist'),
32
+ 'form_style' => null,
33
+ 'form_width' => 30),
34
+
35
+ 'show_starttime' => array('type' => 'checkbox',
36
+ 'caption' => __('Show event starttime','eventlist'),
37
+ 'caption_after' => null,
38
+ 'tooltip' => __('This option defines if the event start time will be displayed.','eventlist'),
39
+ 'form_style' => null,
40
+ 'form_width' => null),
41
+
42
+ 'show_location' => array('type' => 'checkbox',
43
+ 'caption' => __('Show event location','eventlist'),
44
+ 'caption_after' => null,
45
+ 'tooltip' => __('This option defines if the event location will be displayed.','eventlist'),
46
+ 'form_style' => 'margin:0 0 0.2em 0',
47
+ 'form_width' => null),
48
+
49
+ 'location_length' => array('type' => 'text',
50
+ 'caption' => __('Truncate location to','eventlist'),
51
+ 'caption_after' => __('characters','eventlist'),
52
+ 'tooltip' => __('If the event location is diplayed this option defines the number of displayed characters. Set this value to 0 to view the full location.','eventlist'),
53
+ 'form_style' => 'margin:0 0 0.6em 0.9em',
54
+ 'form_width' => 30),
55
+
56
+ 'show_details' => array('type' => 'checkbox',
57
+ 'caption' => __('Show event details','eventlist'),
58
+ 'caption_after' => null,
59
+ 'tooltip' => __('This option defines if the event details will be displayed.','eventlist'),
60
+ 'form_style' => 'margin:0 0 0.2em 0',
61
+ 'form_width' => null),
62
+
63
+ 'details_length' => array('type' => 'text',
64
+ 'caption' => __('Truncate details to','eventlist'),
65
+ 'caption_after' => __('characters','eventlist'),
66
+ 'tooltip' => __('If the event details are diplayed this option defines the number of diplayed characters. Set this value to 0 to view the full details.','eventlist'),
67
+ 'form_style' => 'margin:0 0 0.6em 0.9em',
68
+ 'form_width' => 30),
69
+
70
+ 'url_to_page' => array('type' => 'text',
71
+ 'caption' => __('URL to the linked Event List page','eventlist').':',
72
+ 'caption_after' => null,
73
+ 'tooltip' => __('This option defines the url to the linked Event List page. This option is required if you want to use one of the options below.','eventlist'),
74
+ 'form_style' => 'margin:0 0 0.4em 0',
75
+ 'form_width' => null),
76
+
77
+ 'sc_id_for_url' => array('type' => 'text',
78
+ 'caption' => __('Shortcode ID on linked page','eventlist').':',
79
+ 'caption_after' => null,
80
+ 'tooltip' => __('This option defines the shortcode-id for the Event List on the linked page. Normally the standard value 1 is correct, you only have to change it if you use multiple event-list shortcodes on the linked page.','eventlist'),
81
+ 'form_style' => null,
82
+ 'form_width' => 30),
83
+
84
+ 'link_to_event' => array('type' => 'checkbox',
85
+ 'caption' => __('Add links to the single events','eventlist'),
86
+ 'caption_after' => null,
87
+ 'tooltip' => __('With this option you can add a link to the single event page for every displayed event. You have to specify the url to the page and the shortcode id option if you want to use it.','eventlist'),
88
+ 'form_style' => 'margin-left:0.8em',
89
+ 'form_width' => null),
90
+
91
+ 'link_to_page' => array('type' => 'checkbox',
92
+ 'caption' => __('Add a link to the Event List page','eventlist'),
93
+ 'caption_after' => null,
94
+ 'tooltip' => __('With this option you can add a link to the event-list page below the diplayed events. You have to specify the url to page option if you want to use it.','eventlist'),
95
+ 'form_style' => 'margin:0 0 0.2em 0.8em',
96
+ 'form_width' => null),
97
+
98
+ 'link_to_page_caption' => array('type' => 'text',
99
+ 'caption' => __('Caption for the link','eventlist').':',
100
+ 'caption_after' => null,
101
+ 'tooltip' => __('This option defines the text for the link to the Event List page if the approriate option is selected.','eventlist'),
102
+ 'form_style' => 'margin:0 0 1em 2.5em',
103
+ 'form_width' => null),
104
+ );
105
+ ?>
languages/eventlist-de_DE.mo ADDED
Binary file
languages/eventlist-de_DE.po ADDED
@@ -0,0 +1,1086 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: wp-eventlist\n"
4
+ "POT-Creation-Date: 2014-12-22 14:22+0100\n"
5
+ "PO-Revision-Date: 2014-12-22 14:23+0100\n"
6
+ "Last-Translator: Michael Burtscher <mike@mbnet.at>\n"
7
+ "Language-Team: \n"
8
+ "Language: de_DE\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 1.5.4\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
19
+ msgid "With this widget a list of upcoming events can be displayed."
20
+ msgstr ""
21
+ "Mit diesem Widget kann eine Liste mit den anstehenden Terminen angezeigt "
22
+ "werden."
23
+
24
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget.php:25
25
+ msgid "Upcoming events"
26
+ msgstr "Anstehende Termine"
27
+
28
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget.php:38
29
+ msgid "show events page"
30
+ msgstr "öffne den Kalender"
31
+
32
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:8
33
+ msgid ""
34
+ "With this attribute you can specify an event from which the event-details "
35
+ "are shown initially. The standard is to show the event-list.<br />\n"
36
+ "\t Specify an event-id e.g. "
37
+ "\"13\" to change this behavior. It is still possible to go back to the event-"
38
+ "list via the filterbar or url parameters."
39
+ msgstr ""
40
+
41
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:12
42
+ msgid ""
43
+ "This attribute specifies which events are initially shown. The standard is "
44
+ "to show the upcoming events.<br />\n"
45
+ "\t Specify a year e.g. \"2014\" "
46
+ "to change this behavior. It is still possible to change the displayed event "
47
+ "date range via the filterbar or url parameters."
48
+ msgstr ""
49
+
50
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:16
51
+ msgid ""
52
+ "This attribute specifies the category of which events are initially shown. "
53
+ "The standard is to show events of all categories.<br />\n"
54
+ "\t Specify a category slug to "
55
+ "change this behavior. It is still possible to change the displayed "
56
+ "categories via the filterbar or url parameters."
57
+ msgstr ""
58
+
59
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:20
60
+ msgid ""
61
+ "This attribute specifies the dates and date ranges of which events are "
62
+ "displayed. The standard is \"all\" to show all events.<br />\n"
63
+ "\t Filtered events according to "
64
+ "date_filter value are not available in the event list.<br />\n"
65
+ "\t You can find all available "
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"
79
+ "\t Filtered events defined in "
80
+ "categories which doesn´t match cat_filter are not shown in the event list. "
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"
94
+ "\t 0 is the standard value which "
95
+ "means that all events will be displayed.<br />\n"
96
+ "\t Please not that in the actual "
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"
104
+ "\t Choose \"false\" to always "
105
+ "hide and \"true\" to always show the navigation.<br />\n"
106
+ "\t With \"event_list_only\" the "
107
+ "filterbar is only visible in the event list and with \"single_event_only\" "
108
+ "only for a single event"
109
+ msgstr ""
110
+
111
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:68
112
+ msgid ""
113
+ "This attribute specifies if the starttime is displayed in the event list."
114
+ "<br />\n"
115
+ "\t Choose \"false\" to always "
116
+ "hide and \"true\" to always show the starttime.<br />\n"
117
+ "\t With \"event_list_only\" the "
118
+ "starttime is only visible in the event list and with \"single_event_only\" "
119
+ "only for a single event"
120
+ msgstr ""
121
+
122
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:73
123
+ msgid ""
124
+ "This attribute specifies if the location is displayed in the event list.<br /"
125
+ ">\n"
126
+ "\t Choose \"false\" to always "
127
+ "hide and \"true\" to always show the location.<br />\n"
128
+ "\t With \"event_list_only\" the "
129
+ "location is only visible in the event list and with \"single_event_only\" "
130
+ "only for a single event"
131
+ msgstr ""
132
+
133
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:78
134
+ msgid ""
135
+ "This attribute specifies if the categories are displayed in the event list."
136
+ "<br />\n"
137
+ "\t Choose \"false\" to always "
138
+ "hide and \"true\" to always show the category.<br />\n"
139
+ "\t With \"event_list_only\" the "
140
+ "categories are only visible in the event list and with \"single_event_only\" "
141
+ "only for a single event"
142
+ msgstr ""
143
+
144
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:83
145
+ msgid ""
146
+ "This attribute specifies if the details are displayed in the event list.<br /"
147
+ ">\n"
148
+ "\t Choose \"false\" to always "
149
+ "hide and \"true\" to always show the details.<br />\n"
150
+ "\t With \"event_list_only\" the "
151
+ "details are only visible in the event list and with \"single_event_only\" "
152
+ "only for a single event"
153
+ msgstr ""
154
+
155
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:88
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"
159
+ "\t With the standard value 0 the "
160
+ "full details are displayed.<br />\n"
161
+ "\t This attribute has no "
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:93
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"
169
+ "\t Choose \"false\" to never add "
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:98
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 "
180
+ "the eventlist settings to make this attribute workable.<br />\n"
181
+ "\t On that page you can also find "
182
+ "some settings to modify the output.<br />\n"
183
+ "\t Choose \"false\" to never add "
184
+ "and \"true\" to always add the link.<br />\n"
185
+ "\t With \"event_list_only\" the "
186
+ "link is only added in the event list and with \"single_event_only\" only for "
187
+ "a single event"
188
+ msgstr ""
189
+
190
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:106
191
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:112
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"
195
+ "\t With the standard value 0 the "
196
+ "full details are displayed.<br />\n"
197
+ "\t This attribute has no "
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:118
202
+ msgid ""
203
+ "This attribute specifies that the link should follow the given url.<br />\n"
204
+ "\t The standard is to leave this "
205
+ "attribute empty, then the url will be calculated automatically from the "
206
+ "actual page or post url.<br />\n"
207
+ "\t This is o.k. for the normal "
208
+ "use of the shortcode. This attribute is normally only required for the event-"
209
+ "list widget."
210
+ msgstr ""
211
+
212
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:124
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"
216
+ "\t The empty standard value is o."
217
+ "k. for the normal use. This attribute is normally only required for the "
218
+ "event-list widget."
219
+ msgstr ""
220
+
221
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list.php:140
222
+ msgid "Event Information:"
223
+ msgstr "Termin Informationen:"
224
+
225
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:8
226
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:97
227
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:108
228
+ msgid "Title"
229
+ msgstr "Titel"
230
+
231
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:10
232
+ msgid "This option defines the displayed title for the widget."
233
+ msgstr "Diese Option legt den anzuzeigenden Titel für das Widget fest."
234
+
235
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:15
236
+ msgid "Category Filter"
237
+ msgstr "Kategoriefilter"
238
+
239
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:17
240
+ msgid ""
241
+ "This option defines the categories of which events are shown. The standard "
242
+ "is all or an empty string to show all events. Specify a category slug or a "
243
+ "list of category slugs to only show events of the specified categories. See "
244
+ "description of the shortcode attribute cat_filter for detailed info about "
245
+ "all possibilities."
246
+ msgstr ""
247
+ "Diese Option legt die Kategorien fest, aus denen die Termine angezeigt "
248
+ "werden sollen. Der Standard-Wert ist all oder ein leerer Text mit dem alle "
249
+ "Termine aus allen Kategorien angezeigt werden. Wird ein Kategorie-Permalink "
250
+ "oder eine Liste von mehreren Kategorie-Permalinks angegeben, werden nur "
251
+ "Termine angezeigt, bei denen eine dieser Kategorien gesetzt ist. Siehe "
252
+ "hierzu die Beschreibung des Shortcode Attributs cat_filter für detaillierte "
253
+ "Informationen zu allen Möglichkeiten."
254
+
255
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:22
256
+ msgid "Number of listed events"
257
+ msgstr "Anzahl der angezeigten Termine"
258
+
259
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:24
260
+ msgid "The number of upcoming events to display"
261
+ msgstr "Die Anzahl der anstehenden Termine, die angezeigt werden sollen."
262
+
263
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:29
264
+ msgid "Truncate event title to"
265
+ msgstr "Kürze den Termin-Titel auf"
266
+
267
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:30
268
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:51
269
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:65
270
+ msgid "characters"
271
+ msgstr "Buchstaben"
272
+
273
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:31
274
+ msgid ""
275
+ "This option defines the number of displayed characters for the event title. "
276
+ "Set this value to 0 to view the full title."
277
+ msgstr ""
278
+ "Diese Option legt die Anzahl der angezeigten Buchstaben für den Termin-Titel "
279
+ "fest. Wird der Wert auf 0 gesetzt, wird der vollständige Titel angezeigt."
280
+
281
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:36
282
+ msgid "Show event starttime"
283
+ msgstr "Zeige die Termin-Uhrzeit"
284
+
285
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:38
286
+ msgid "This option defines if the event start time will be displayed."
287
+ msgstr "Diese Option definiert, ob die Uhrzeit des Termins angezeigt wird."
288
+
289
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:43
290
+ msgid "Show event location"
291
+ msgstr "Zeige den Termin-Ort"
292
+
293
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:45
294
+ msgid "This option defines if the event location will be displayed."
295
+ msgstr "Diese Option definiert, ob der Ort des Termins angezeigt wird."
296
+
297
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:50
298
+ msgid "Truncate location to"
299
+ msgstr "Kürze den Ort auf"
300
+
301
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:52
302
+ msgid ""
303
+ "If the event location is diplayed this option defines the number of "
304
+ "displayed characters. Set this value to 0 to view the full location."
305
+ msgstr ""
306
+ "Wenn die Termin-Beschreibung angezeigt wird, dann legt diese Option die "
307
+ "Anzahl der angezeigten Buchstaben fest. Wird der Wert auf 0 gesetzt, dann "
308
+ "wird die vollständige Beschreibung angezeigt."
309
+
310
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:57
311
+ msgid "Show event details"
312
+ msgstr "Zeige die Termin-Beschreibung"
313
+
314
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:59
315
+ msgid "This option defines if the event details will be displayed."
316
+ msgstr ""
317
+ "Diese Option definiert, ob die Beschreibung des Termins angezeigt wird."
318
+
319
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:64
320
+ msgid "Truncate details to"
321
+ msgstr "Kürze Beschreibung auf"
322
+
323
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:66
324
+ msgid ""
325
+ "If the event details are diplayed this option defines the number of diplayed "
326
+ "characters. Set this value to 0 to view the full details."
327
+ msgstr ""
328
+ "Wenn die Termin-Beschreibung angezeigt wird, dann legt diese Option die "
329
+ "Anzahl der angezeigten Buchstaben fest. Wird der Wert auf 0 gesetzt, dann "
330
+ "wird die vollständige Beschreibung angezeigt."
331
+
332
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:71
333
+ msgid "URL to the linked Event List page"
334
+ msgstr "URL zur verlinkten Event List Seite"
335
+
336
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:73
337
+ msgid ""
338
+ "This option defines the url to the linked Event List page. This option is "
339
+ "required if you want to use one of the options below."
340
+ msgstr ""
341
+ "Diese Option legt die URL zur verlinkten Event List Seite fest. Diese Option "
342
+ "muss zwingend gesetzt werden, wenn eine der unten stehenden Optionen "
343
+ "verwendet werden soll."
344
+
345
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:78
346
+ msgid "Shortcode ID on linked page"
347
+ msgstr "Shortcode ID auf der verlinkten Seite"
348
+
349
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:80
350
+ msgid ""
351
+ "This option defines the shortcode-id for the Event List on the linked page. "
352
+ "Normally the standard value 1 is correct, you only have to change it if you "
353
+ "use multiple event-list shortcodes on the linked page."
354
+ msgstr ""
355
+ "Diese Option legt die Shortcode-ID für die verlinkte Event List Seite fest. "
356
+ "Normalerweise ist der Standardwert 1 korrekt. Dieser Wert muss aber "
357
+ "eventuell geändert werden, wenn sich mehrere even-list Shortcodes auf der "
358
+ "verlinkten Seite befinden."
359
+
360
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:85
361
+ msgid "Add links to the single events"
362
+ msgstr "Füge Links zu den einzelnen Terminen ein"
363
+
364
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:87
365
+ msgid ""
366
+ "With this option you can add a link to the single event page for every "
367
+ "displayed event. You have to specify the url to the page and the shortcode "
368
+ "id option if you want to use it."
369
+ msgstr ""
370
+ "Wird diese Option aktiviert, dann werden Verknüpfungen zu den einzelnen "
371
+ "Terminen für alle Termine eingefügt. Soll diese Funktion genutzt werden, "
372
+ "dann muss die Option URL zur verlinkten Event List Seite und Shortcode ID "
373
+ "auf der verlinkten Seite korrekt gesetzt werden."
374
+
375
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:92
376
+ msgid "Add a link to the Event List page"
377
+ msgstr "Füge einen Link zur Event List Seite hinzu"
378
+
379
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:94
380
+ msgid ""
381
+ "With this option you can add a link to the event-list page below the "
382
+ "diplayed events. You have to specify the url to page option if you want to "
383
+ "use it."
384
+ msgstr ""
385
+ "Mit dieser Option kann eine zusätzliche Verknüpfung zur Event List Seite "
386
+ "unterhalb der angezeigten Termine ergänzt werden. Soll diese Funktion "
387
+ "genutzt werden, so muss die Option URL zur Event List Seite korrekt "
388
+ "eingetragen werden."
389
+
390
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:99
391
+ msgid "Caption for the link"
392
+ msgstr "Anzuzeigender Text für den Link"
393
+
394
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:101
395
+ msgid ""
396
+ "This option defines the text for the link to the Event List page if the "
397
+ "approriate option is selected."
398
+ msgstr ""
399
+ "Diese Option legt den anzuzeigenden Text für den Link zur Event List Seite "
400
+ "fest, wenn die entsprechende Option ausgewählt wurde."
401
+
402
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:12
403
+ msgid "Event Categories"
404
+ msgstr "Termin Kategorien"
405
+
406
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:14
407
+ msgid "This option specifies all event category data."
408
+ msgstr ""
409
+
410
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:18
411
+ msgid "Sync Categories"
412
+ msgstr "Synchronisiere Kategorien"
413
+
414
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:19
415
+ msgid "Keep event categories in sync with post categories automatically"
416
+ msgstr ""
417
+ "Halte die Termin-Kategorien mit den Beitragskategorien automatisch synchron"
418
+
419
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:20
420
+ msgid "Attention"
421
+ msgstr "Achtung"
422
+
423
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:21
424
+ msgid ""
425
+ "Please note that this option will delete all categories which are not "
426
+ "available in the post categories! Existing Categories with the same slug "
427
+ "will be updated."
428
+ msgstr ""
429
+ "Bitte beachte, dass diese Option alle Kategorien, welche nicht als "
430
+ "Beitragskategorien verfügbar sind, gelöscht werden! Existierende Kategorien "
431
+ "mit gleichem Permalink werden aktualisiert."
432
+
433
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:25
434
+ msgid "Text for no events"
435
+ msgstr ""
436
+
437
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:27
438
+ msgid ""
439
+ "This option defines the text which is displayed if no events are available "
440
+ "for the selected view."
441
+ msgstr ""
442
+
443
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:31
444
+ msgid "Date display"
445
+ msgstr ""
446
+
447
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:32
448
+ msgid "Show date only once per day"
449
+ msgstr ""
450
+
451
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:33
452
+ msgid ""
453
+ "With this option you can display the date only once per day if multiple "
454
+ "events are available on the same day.<br />\n"
455
+ "\t If this option is "
456
+ "enabled the events are ordered in a different way (end date before start "
457
+ "time) to allow using the same date for as much events as possible."
458
+ msgstr ""
459
+
460
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:38
461
+ msgid "HTML tags"
462
+ msgstr ""
463
+
464
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:39
465
+ msgid "Allow HTML tags in event time field"
466
+ msgstr ""
467
+
468
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:40
469
+ msgid ""
470
+ "This option specifies if HTML tags are allowed in the event start time field."
471
+ msgstr ""
472
+
473
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:45
474
+ msgid "Allow HTML tags in event location field"
475
+ msgstr ""
476
+
477
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:46
478
+ msgid ""
479
+ "This option specifies if HTML tags are allowed in the event location field."
480
+ msgstr ""
481
+
482
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:50
483
+ msgid "Date format in edit form"
484
+ msgstr ""
485
+
486
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:51
487
+ msgid ""
488
+ "This option sets a specific date format for the event date fields in the new/"
489
+ "edit event form.<br />\n"
490
+ "\t The standard is an empty "
491
+ "string to use the wordpress standard setting.<br />\n"
492
+ "\t All available options to "
493
+ "specify the format can be found <a href=\"http://php.net/manual/en/function."
494
+ "date.php\" target=\"_blank\">here</a>"
495
+ msgstr ""
496
+
497
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:57
498
+ msgid "Enable RSS feed"
499
+ msgstr ""
500
+
501
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:58
502
+ msgid "Enable support for an event RSS feed"
503
+ msgstr ""
504
+
505
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:59
506
+ msgid ""
507
+ "This option activates a RSS feed for the events.<br />\n"
508
+ "\t You have to enable this "
509
+ "option if you want to use one of the RSS feed features."
510
+ msgstr ""
511
+
512
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:64
513
+ msgid "Feed name"
514
+ msgstr ""
515
+
516
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:65
517
+ msgid ""
518
+ "This options sets the feed name. The standard value is \"eventlist\".<br />\n"
519
+ "\t This name will be used "
520
+ "in the feed url (e.g. <code>domain.com/?feed=eventlist</code> or "
521
+ "<code>domain.com/feed/eventlist</code> for an installation with permalinks"
522
+ msgstr ""
523
+
524
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:70
525
+ msgid "Feed Description"
526
+ msgstr ""
527
+
528
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:71
529
+ msgid ""
530
+ "This options sets the feed description. The standard value is \"Eventlist "
531
+ "Feed\".<br />\n"
532
+ "\t This description will be "
533
+ "used in the title for the feed link in the html head and for the description "
534
+ "in the feed itself."
535
+ msgstr ""
536
+
537
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:76
538
+ msgid "Listed events"
539
+ msgstr ""
540
+
541
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:77
542
+ msgid "Only show upcoming events in feed"
543
+ msgstr ""
544
+
545
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:78
546
+ msgid ""
547
+ "If this option is enabled only the upcoming events are listed in the feed."
548
+ "<br />\n"
549
+ "\t If disabled all events "
550
+ "(upcoming and past) will be listed."
551
+ msgstr ""
552
+
553
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:83
554
+ msgid "Add RSS feed link in head"
555
+ msgstr ""
556
+
557
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:84
558
+ msgid "Add RSS feed link in the html head"
559
+ msgstr ""
560
+
561
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:85
562
+ msgid ""
563
+ "This option adds a RSS feed in the html head for the events.<br />\n"
564
+ "\t You have 2 possibilities "
565
+ "to include the RSS feed:<br />\n"
566
+ "\t The first option is to "
567
+ "use this option to include a link in the html head. This link will be "
568
+ "recognized by browers or feed readers.<br />\n"
569
+ "\t The second possibility "
570
+ "is to include a visible feed link directly in the event list. This can be "
571
+ "done by setting the shortcode attribute \"add_feed_link\" to \"true\"<br />\n"
572
+ "\t This option is only "
573
+ "valid if the option \"Enable RSS feed\" is enabled."
574
+ msgstr ""
575
+
576
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:93
577
+ msgid "Position of the RSS feed link"
578
+ msgstr ""
579
+
580
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:95
581
+ msgid ""
582
+ "This option specifies the position of the RSS feed link in the event list."
583
+ "<br />\n"
584
+ "\t The options are to "
585
+ "display the link at the top, at the bottom or between the navigation bar and "
586
+ "the event list.<br />\n"
587
+ "\t You have to set the "
588
+ "shortcode attribute \"add_feed_link\" to \"true\" if you want to show the "
589
+ "feed link."
590
+ msgstr ""
591
+
592
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:101
593
+ msgid "Align of the RSS feed link"
594
+ msgstr ""
595
+
596
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:103
597
+ msgid ""
598
+ "This option specifies the align of the RSS feed link in the event list.<br /"
599
+ ">\n"
600
+ "\t The link can be "
601
+ "displayed on the left side, centered or on the right.<br />\n"
602
+ "\t You have to set the "
603
+ "shortcode attribute \"add_feed_link\" to \"true\" if you want to show the "
604
+ "feed link."
605
+ msgstr ""
606
+
607
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:109
608
+ msgid "Feed link text"
609
+ msgstr ""
610
+
611
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:110
612
+ msgid ""
613
+ "This option specifies the caption of the RSS feed link in the event list."
614
+ "<br />\n"
615
+ "\t Insert an empty text to "
616
+ "hide any text if you only want to show the rss image.<br />\n"
617
+ "\t You have to set the "
618
+ "shortcode attribute \"add_feed_link\" to \"true\" if you want to show the "
619
+ "feed link."
620
+ msgstr ""
621
+
622
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:116
623
+ msgid "Feed link image"
624
+ msgstr ""
625
+
626
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:117
627
+ msgid "Show rss image in feed link"
628
+ msgstr ""
629
+
630
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:118
631
+ msgid ""
632
+ "This option specifies if the an image should be dispayed in the feed link in "
633
+ "front of the text.<br />\n"
634
+ "\t You have to set the "
635
+ "shortcode attribute \"add_feed_link\" to \"true\" if you want to show the "
636
+ "feed link."
637
+ msgstr ""
638
+
639
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:123
640
+ msgid ""
641
+ "You can specify a year in 4 digit format.<br /> Other formats will not be "
642
+ "accepted."
643
+ msgstr ""
644
+
645
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:124
646
+ msgid ""
647
+ "You can specify a month with 4 digits for the year and 2 digits for the "
648
+ "month, seperated by a hyphen (-).<br />Other formats will not be accepted."
649
+ msgstr ""
650
+
651
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:125
652
+ msgid ""
653
+ "You can specify a day with 4 digits for the year, 2 digits for the month and "
654
+ "2 digets for the day, seperated by a hyphen (-).<br /> Other formats will "
655
+ "not be accepted."
656
+ msgstr ""
657
+
658
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:129
659
+ msgid ""
660
+ "You can specify a rage or dates seperated by a tilde (~).<br >You can "
661
+ "specify any available date format before and after the tilde."
662
+ msgstr ""
663
+
664
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:130
665
+ msgid "\"all\" specifies the full time range without any limitation."
666
+ msgstr ""
667
+
668
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:131
669
+ msgid "\"upcoming\" specifies a time range from the actual day to the future."
670
+ msgstr ""
671
+
672
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:132
673
+ msgid "\"past\" specifies a time rage from the past to the previous day."
674
+ msgstr ""
675
+
676
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:97
677
+ msgid "Show all dates"
678
+ msgstr "Zeige alle Datumsbereiche"
679
+
680
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:221
681
+ msgid "View all categories"
682
+ msgstr "Zeige alle Kategorien"
683
+
684
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:301
685
+ msgid "All"
686
+ msgstr "Alle"
687
+
688
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:307
689
+ msgid "Upcoming"
690
+ msgstr "Anstehend"
691
+
692
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:311
693
+ msgid "Past"
694
+ msgstr "Beendet"
695
+
696
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:45
697
+ msgid "Event List"
698
+ msgstr "Event List"
699
+
700
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:48
701
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:80
702
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:108
703
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:110
704
+ msgid "Events"
705
+ msgstr "Termine"
706
+
707
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:48
708
+ msgid "All Events"
709
+ msgstr "Alle Termine"
710
+
711
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:52
712
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:41
713
+ msgid "Add New Event"
714
+ msgstr "Neuen Termin erstellen"
715
+
716
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:52
717
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:112
718
+ msgid "Add New"
719
+ msgstr "Erstellen"
720
+
721
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:56
722
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:50
723
+ msgid "Event List Categories"
724
+ msgstr "Event List Kategorien"
725
+
726
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:56
727
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:136
728
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:111
729
+ msgid "Categories"
730
+ msgstr "Kategorien"
731
+
732
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:60
733
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-settings.php:50
734
+ msgid "Event List Settings"
735
+ msgstr "Event List Einstellungen"
736
+
737
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:60
738
+ msgid "Settings"
739
+ msgstr "Einstellungen"
740
+
741
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:64
742
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:29
743
+ msgid "About Event List"
744
+ msgstr "Informationen zu Event List"
745
+
746
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:64
747
+ msgid "About"
748
+ msgstr "Informationen"
749
+
750
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:37
751
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:69
752
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:38
753
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-settings.php:31
754
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:26
755
+ msgid "You do not have sufficient permissions to access this page."
756
+ msgstr ""
757
+
758
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:53
759
+ msgid "Edit Category"
760
+ msgstr "Kategorie bearbeiten"
761
+
762
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:53
763
+ msgid "Update Category"
764
+ msgstr "Kategorie aktualisieren"
765
+
766
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:59
767
+ msgid "Add New Category"
768
+ msgstr "Neue Kategorie erstellen"
769
+
770
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:84
771
+ #, php-format
772
+ msgid "Category \"%s\" deleted."
773
+ msgstr "Kategorie \"%s\" gelöscht."
774
+
775
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:86
776
+ #, php-format
777
+ msgid "This Category was also removed from %d events."
778
+ msgstr "Diese Kategorie wurde zudem aus %d Terminen gelöscht."
779
+
780
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:92
781
+ #, php-format
782
+ msgid "Error while deleting category \"%s\""
783
+ msgstr "Fehler beim Löschen der Kategorie \"%s\""
784
+
785
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:102
786
+ msgid "Sync with post categories enabled."
787
+ msgstr "Synchronisation mit Artikel-Kategorien ist aktiviert."
788
+
789
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:105
790
+ msgid "Sync with post categories disabled."
791
+ msgstr "Synchronisation mit Artikel-Kategorien ist deaktiviert."
792
+
793
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:111
794
+ msgid "Manual sync with post categories sucessfully finished."
795
+ msgstr ""
796
+ "Manuelle Synchronisation mit Artikelkategorien wurde erfolgreich "
797
+ "durchgeführt."
798
+
799
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:119
800
+ #, php-format
801
+ msgid "New Category \"%s\" was added"
802
+ msgstr "Neue Kategorie \"%s\" wurde hinzugefügt"
803
+
804
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:122
805
+ msgid "Error: New Category \"$s\" could not be added"
806
+ msgstr "Fehler: Neue Kategorie \"$s\" konnte nicht hinzugefügt werden"
807
+
808
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:128
809
+ #, php-format
810
+ msgid "Category \"%s\" was modified"
811
+ msgstr "Kategorie \"%s\" wurde geändert"
812
+
813
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:131
814
+ #, php-format
815
+ msgid "Error: Category \"%s\" could not be modified"
816
+ msgstr "Fehler: Kagegorie \"%s\" konnte nicht geändert werden"
817
+
818
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:138
819
+ msgid ""
820
+ "Categories are automatically synced with the post categories.<br />\n"
821
+ "\t\t\t Because of this "
822
+ "all options to add new categories or editing existing categories are "
823
+ "disabled.<br />\n"
824
+ "\t\t\t If you want to "
825
+ "manually edit the categories you have to disable this option."
826
+ msgstr ""
827
+
828
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:165
829
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:107
830
+ msgid "Name"
831
+ msgstr "Name"
832
+
833
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:167
834
+ msgid "The name is how it appears on your site."
835
+ msgstr "Dieser Name wird dann auf der Webseite angezeigt."
836
+
837
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:170
838
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:109
839
+ msgid "Slug"
840
+ msgstr "Permalink"
841
+
842
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:172
843
+ msgid ""
844
+ "The “slug” is the URL-friendly version of the name. It is usually all "
845
+ "lowercase and contains only letters, numbers, and hyphens."
846
+ msgstr ""
847
+ "Die \"Titelform (in URLs)\" ist die URL-Variante des Namens. Sie besteht "
848
+ "normalerweise nur aus Kleinbuchstaben, Zahlen und Bindestrichen."
849
+
850
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:175
851
+ msgid "Parent"
852
+ msgstr "Parent"
853
+
854
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:177
855
+ msgid "None"
856
+ msgstr "Keine"
857
+
858
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:187
859
+ msgid ""
860
+ "Categories can have a hierarchy. You might have a Jazz category, and under "
861
+ "that have children categories for Bebop and Big Band. Totally optional."
862
+ msgstr ""
863
+ "Kategorien können hierarchisch angeordnet werden. Du kannst z.Bsp. eine "
864
+ "Kategorie Musik anlegen, welche die Unterkategorien Schlager und Jazz "
865
+ "enthält."
866
+
867
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:190
868
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:108
869
+ msgid "Description"
870
+ msgstr "Beschreibung"
871
+
872
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:234
873
+ msgid "Apply"
874
+ msgstr "Anwenden"
875
+
876
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:244
877
+ msgid "Do a manual sync with post categories"
878
+ msgstr "Führe eine manuelle Synchronisation mit den Beitragskategorien durch"
879
+
880
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:105
881
+ msgid "Edit Event"
882
+ msgstr "Termin bearbeiten"
883
+
884
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:105
885
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:72
886
+ msgid "Duplicate"
887
+ msgstr "Duplizieren"
888
+
889
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:27
890
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:29
891
+ msgid "event"
892
+ msgstr "Termin"
893
+
894
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:28
895
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:30
896
+ msgid "events"
897
+ msgstr "Termine"
898
+
899
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:70
900
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:71
901
+ msgid "Edit"
902
+ msgstr "Bearbeiten"
903
+
904
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:71
905
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:145
906
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:73
907
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:146
908
+ msgid "Delete"
909
+ msgstr "Löschen"
910
+
911
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:43
912
+ #, php-format
913
+ msgid "Duplicate of event id:%d"
914
+ msgstr "Duplikat der Termin-ID: %d"
915
+
916
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:97
917
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:101
918
+ msgid "required"
919
+ msgstr "erforderlich"
920
+
921
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:101
922
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:107
923
+ msgid "Date"
924
+ msgstr "Datum"
925
+
926
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:104
927
+ msgid "Multi-Day Event"
928
+ msgstr "Mehrtägiger Termin"
929
+
930
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:110
931
+ msgid "Time"
932
+ msgstr "Uhrzeit"
933
+
934
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:114
935
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:109
936
+ msgid "Location"
937
+ msgstr "Ort"
938
+
939
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:118
940
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:110
941
+ msgid "Details"
942
+ msgstr "Beschreibung"
943
+
944
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:134
945
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:151
946
+ msgid "Publish"
947
+ msgstr "Veröffentlichen"
948
+
949
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:151
950
+ msgid "Update"
951
+ msgstr "Aktualisieren"
952
+
953
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:153
954
+ msgid "Cancel"
955
+ msgstr "Abbrechen"
956
+
957
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:166
958
+ msgid "No categories available."
959
+ msgstr "Keine Kategorien verfügbar."
960
+
961
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:212
962
+ msgid "Goto Category Settings"
963
+ msgstr ""
964
+
965
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:220
966
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:279
967
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:282
968
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:306
969
+ msgid "Y/m/d"
970
+ msgstr ""
971
+
972
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:112
973
+ msgid "Author"
974
+ msgstr "Autor"
975
+
976
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:113
977
+ msgid "Published"
978
+ msgstr "Veröffentlicht"
979
+
980
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:174
981
+ msgid "Filter"
982
+ msgstr "Auswahl einschränken"
983
+
984
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:303
985
+ #, php-format
986
+ msgid "%s ago"
987
+ msgstr "vor %s"
988
+
989
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:308
990
+ msgid "Y/m/d g:i:s A"
991
+ msgstr ""
992
+
993
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-settings.php:38
994
+ msgid "Settings saved."
995
+ msgstr "Einstellungen gespeichert."
996
+
997
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:98
998
+ msgid "Filter Syntax"
999
+ msgstr ""
1000
+
1001
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:99
1002
+ msgid ""
1003
+ "For date and cat filters you can specify complex filters with the following "
1004
+ "syntax:"
1005
+ msgstr ""
1006
+
1007
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:100
1008
+ msgid ""
1009
+ "You can use AND ( \"<b>&amp;</b>\" ) and OR ( \"<b>&verbar;</b>\" or "
1010
+ "\"<b>&comma;</b>\" ) connections to define complex filters. Additionally you "
1011
+ "can set brackets ( \"<b>(</b>\" and (\"<b>)</b>\" ) for nested queries."
1012
+ msgstr ""
1013
+
1014
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:101
1015
+ msgid "Examples for cat filters:"
1016
+ msgstr ""
1017
+
1018
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:102
1019
+ msgid "Show all events with category \"tennis\"."
1020
+ msgstr ""
1021
+
1022
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:103
1023
+ msgid "Show all events with category \"tennis\" or \"hockey\"."
1024
+ msgstr ""
1025
+
1026
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:104
1027
+ msgid ""
1028
+ "Show all events with category \"tennis\" and all events where category "
1029
+ "\"hockey\" as well as \"winter\" is selected."
1030
+ msgstr ""
1031
+
1032
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:109
1033
+ msgid "Available Date Formats"
1034
+ msgstr ""
1035
+
1036
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:110
1037
+ msgid "For date filters you can use the following date formats:"
1038
+ msgstr ""
1039
+
1040
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:118
1041
+ msgid "Available Date Range Formats"
1042
+ msgstr ""
1043
+
1044
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:119
1045
+ msgid "For date filters you can use the following daterange formats:"
1046
+ msgstr ""
1047
+
1048
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:131
1049
+ msgid "Value"
1050
+ msgstr ""
1051
+
1052
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:135
1053
+ msgid "Example"
1054
+ msgstr ""
1055
+
1056
+ #~ msgid ""
1057
+ #~ "This widget displays a list of upcoming events. If you want to enable a "
1058
+ #~ "link to the events or to the event page you have to insert a link to the "
1059
+ #~ "event-list page or post."
1060
+ #~ msgstr ""
1061
+ #~ "Dieses Widget zeigt eine Liste der anstehenden Termine. Wenn ein link zu "
1062
+ #~ "den Terminen oder zur Terminseite eingefügt werden soll, dann muss"
1063
+
1064
+ #~ msgid "chars"
1065
+ #~ msgstr "Buchstaben"
1066
+
1067
+ #~ msgid "Event Title"
1068
+ #~ msgstr "Titel"
1069
+
1070
+ #~ msgid "Event Date"
1071
+ #~ msgstr "Datum"
1072
+
1073
+ #~ msgid "Event Time"
1074
+ #~ msgstr "Uhrzeit"
1075
+
1076
+ #~ msgid "Event Location"
1077
+ #~ msgstr "Ort"
1078
+
1079
+ #~ msgid "Event Details"
1080
+ #~ msgstr "Details"
1081
+
1082
+ #~ msgid "Title:"
1083
+ #~ msgstr "Titel"
1084
+
1085
+ #~ msgid "Event"
1086
+ #~ msgstr "Termin"
languages/eventlist.pot ADDED
@@ -0,0 +1,851 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This is the translation template file for Event List.
2
+ # Copyright (C) 2014 Michael Burtscher
3
+ # This file is distributed under the same license as the plugin.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ #, fuzzy
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: PACKAGE VERSION\n"
10
+ "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2014-12-22 17:46+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"
15
+ "Language: \n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+
20
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget.php:20
21
+ msgid "With this widget a list of upcoming events can be displayed."
22
+ msgstr ""
23
+
24
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget.php:25
25
+ msgid "Upcoming events"
26
+ msgstr ""
27
+
28
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget.php:38
29
+ msgid "show events page"
30
+ msgstr ""
31
+
32
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:8
33
+ msgid ""
34
+ "With this attribute you can specify an event from which the event-details are shown initially. The standard is to show the event-list.<br />\n"
35
+ "\t Specify an event-id e.g. \"13\" to change this behavior. It is still possible to go back to the event-list via the filterbar or url parameters."
36
+ msgstr ""
37
+
38
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:12
39
+ msgid ""
40
+ "This attribute specifies which events are initially shown. The standard is to show the upcoming events.<br />\n"
41
+ "\t Specify a year e.g. \"2014\" to change this behavior. It is still possible to change the displayed event date range via the filterbar or url parameters."
42
+ msgstr ""
43
+
44
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:16
45
+ msgid ""
46
+ "This attribute specifies the category of which events are initially shown. The standard is to show events of all categories.<br />\n"
47
+ "\t Specify a category slug to change this behavior. It is still possible to change the displayed categories via the filterbar or url parameters."
48
+ msgstr ""
49
+
50
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:20
51
+ 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:68
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:73
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:78
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:83
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:88
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:93
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:98
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"
127
+ "\t On that page you can also find some settings to modify the output.<br />\n"
128
+ "\t Choose \"false\" to never add and \"true\" to always add the link.<br />\n"
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:106
133
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list_helptexts.php:112
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:118
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:124
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."
151
+ msgstr ""
152
+
153
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/sc_event-list.php:140
154
+ msgid "Event Information:"
155
+ msgstr ""
156
+
157
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:8
158
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:97
159
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:108
160
+ msgid "Title"
161
+ msgstr ""
162
+
163
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:10
164
+ msgid "This option defines the displayed title for the widget."
165
+ msgstr ""
166
+
167
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:15
168
+ msgid "Category Filter"
169
+ msgstr ""
170
+
171
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:17
172
+ msgid "This option defines the categories of which events are shown. The standard is all or an empty string to show all events. Specify a category slug or a list of category slugs to only show events of the specified categories. See description of the shortcode attribute cat_filter for detailed info about all possibilities."
173
+ msgstr ""
174
+
175
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:22
176
+ msgid "Number of listed events"
177
+ msgstr ""
178
+
179
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:24
180
+ msgid "The number of upcoming events to display"
181
+ msgstr ""
182
+
183
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:29
184
+ msgid "Truncate event title to"
185
+ msgstr ""
186
+
187
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:30
188
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:51
189
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:65
190
+ msgid "characters"
191
+ msgstr ""
192
+
193
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:31
194
+ msgid "This option defines the number of displayed characters for the event title. Set this value to 0 to view the full title."
195
+ msgstr ""
196
+
197
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:36
198
+ msgid "Show event starttime"
199
+ msgstr ""
200
+
201
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:38
202
+ msgid "This option defines if the event start time will be displayed."
203
+ msgstr ""
204
+
205
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:43
206
+ msgid "Show event location"
207
+ msgstr ""
208
+
209
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:45
210
+ msgid "This option defines if the event location will be displayed."
211
+ msgstr ""
212
+
213
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:50
214
+ msgid "Truncate location to"
215
+ msgstr ""
216
+
217
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:52
218
+ msgid "If the event location is diplayed this option defines the number of displayed characters. Set this value to 0 to view the full location."
219
+ msgstr ""
220
+
221
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:57
222
+ msgid "Show event details"
223
+ msgstr ""
224
+
225
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:59
226
+ msgid "This option defines if the event details will be displayed."
227
+ msgstr ""
228
+
229
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:64
230
+ msgid "Truncate details to"
231
+ msgstr ""
232
+
233
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:66
234
+ msgid "If the event details are diplayed this option defines the number of diplayed characters. Set this value to 0 to view the full details."
235
+ msgstr ""
236
+
237
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:71
238
+ msgid "URL to the linked Event List page"
239
+ msgstr ""
240
+
241
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:73
242
+ msgid "This option defines the url to the linked Event List page. This option is required if you want to use one of the options below."
243
+ msgstr ""
244
+
245
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:78
246
+ msgid "Shortcode ID on linked page"
247
+ msgstr ""
248
+
249
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:80
250
+ msgid "This option defines the shortcode-id for the Event List on the linked page. Normally the standard value 1 is correct, you only have to change it if you use multiple event-list shortcodes on the linked page."
251
+ msgstr ""
252
+
253
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:85
254
+ msgid "Add links to the single events"
255
+ msgstr ""
256
+
257
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:87
258
+ msgid "With this option you can add a link to the single event page for every displayed event. You have to specify the url to the page and the shortcode id option if you want to use it."
259
+ msgstr ""
260
+
261
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:92
262
+ msgid "Add a link to the Event List page"
263
+ msgstr ""
264
+
265
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:94
266
+ msgid "With this option you can add a link to the event-list page below the diplayed events. You have to specify the url to page option if you want to use it."
267
+ msgstr ""
268
+
269
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:99
270
+ msgid "Caption for the link"
271
+ msgstr ""
272
+
273
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/widget_helptexts.php:101
274
+ msgid "This option defines the text for the link to the Event List page if the approriate option is selected."
275
+ msgstr ""
276
+
277
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:12
278
+ msgid "Event Categories"
279
+ msgstr ""
280
+
281
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:14
282
+ msgid "This option specifies all event category data."
283
+ msgstr ""
284
+
285
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:18
286
+ msgid "Sync Categories"
287
+ msgstr ""
288
+
289
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:19
290
+ msgid "Keep event categories in sync with post categories automatically"
291
+ msgstr ""
292
+
293
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:20
294
+ msgid "Attention"
295
+ msgstr ""
296
+
297
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:21
298
+ msgid "Please note that this option will delete all categories which are not available in the post categories! Existing Categories with the same slug will be updated."
299
+ msgstr ""
300
+
301
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:25
302
+ msgid "Text for no events"
303
+ msgstr ""
304
+
305
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:27
306
+ msgid "This option defines the text which is displayed if no events are available for the selected view."
307
+ msgstr ""
308
+
309
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:31
310
+ msgid "Date display"
311
+ msgstr ""
312
+
313
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:32
314
+ msgid "Show date only once per day"
315
+ msgstr ""
316
+
317
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:33
318
+ msgid ""
319
+ "With this option you can display the date only once per day if multiple events are available on the same day.<br />\n"
320
+ "\t If this option is enabled the events are ordered in a different way (end date before start time) to allow using the same date for as much events as possible."
321
+ msgstr ""
322
+
323
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:38
324
+ msgid "HTML tags"
325
+ msgstr ""
326
+
327
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:39
328
+ msgid "Allow HTML tags in event time field"
329
+ msgstr ""
330
+
331
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:40
332
+ msgid "This option specifies if HTML tags are allowed in the event start time field."
333
+ msgstr ""
334
+
335
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:45
336
+ msgid "Allow HTML tags in event location field"
337
+ msgstr ""
338
+
339
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:46
340
+ msgid "This option specifies if HTML tags are allowed in the event location field."
341
+ msgstr ""
342
+
343
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:50
344
+ msgid "Date format in edit form"
345
+ msgstr ""
346
+
347
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:51
348
+ msgid ""
349
+ "This option sets a specific date format for the event date fields in the new/edit event form.<br />\n"
350
+ "\t The standard is an empty string to use the wordpress standard setting.<br />\n"
351
+ "\t All available options to specify the format can be found <a href=\"http://php.net/manual/en/function.date.php\" target=\"_blank\">here</a>"
352
+ msgstr ""
353
+
354
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:57
355
+ msgid "Enable RSS feed"
356
+ msgstr ""
357
+
358
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:58
359
+ msgid "Enable support for an event RSS feed"
360
+ msgstr ""
361
+
362
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:59
363
+ msgid ""
364
+ "This option activates a RSS feed for the events.<br />\n"
365
+ "\t You have to enable this option if you want to use one of the RSS feed features."
366
+ msgstr ""
367
+
368
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:64
369
+ msgid "Feed name"
370
+ msgstr ""
371
+
372
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:65
373
+ msgid ""
374
+ "This options sets the feed name. The standard value is \"eventlist\".<br />\n"
375
+ "\t This name will be used in the feed url (e.g. <code>domain.com/?feed=eventlist</code> or <code>domain.com/feed/eventlist</code> for an installation with permalinks"
376
+ msgstr ""
377
+
378
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:70
379
+ msgid "Feed Description"
380
+ msgstr ""
381
+
382
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:71
383
+ msgid ""
384
+ "This options sets the feed description. The standard value is \"Eventlist Feed\".<br />\n"
385
+ "\t This description will be used in the title for the feed link in the html head and for the description in the feed itself."
386
+ msgstr ""
387
+
388
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:76
389
+ msgid "Listed events"
390
+ msgstr ""
391
+
392
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:77
393
+ msgid "Only show upcoming events in feed"
394
+ msgstr ""
395
+
396
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:78
397
+ msgid ""
398
+ "If this option is enabled only the upcoming events are listed in the feed.<br />\n"
399
+ "\t If disabled all events (upcoming and past) will be listed."
400
+ msgstr ""
401
+
402
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:83
403
+ msgid "Add RSS feed link in head"
404
+ msgstr ""
405
+
406
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:84
407
+ msgid "Add RSS feed link in the html head"
408
+ msgstr ""
409
+
410
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:85
411
+ msgid ""
412
+ "This option adds a RSS feed in the html head for the events.<br />\n"
413
+ "\t You have 2 possibilities to include the RSS feed:<br />\n"
414
+ "\t The first option is to use this option to include a link in the html head. This link will be recognized by browers or feed readers.<br />\n"
415
+ "\t The second possibility is to include a visible feed link directly in the event list. This can be done by setting the shortcode attribute \"add_feed_link\" to \"true\"<br />\n"
416
+ "\t This option is only valid if the option \"Enable RSS feed\" is enabled."
417
+ msgstr ""
418
+
419
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:93
420
+ msgid "Position of the RSS feed link"
421
+ msgstr ""
422
+
423
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:95
424
+ msgid ""
425
+ "This option specifies the position of the RSS feed link in the event list.<br />\n"
426
+ "\t The options are to display the link at the top, at the bottom or between the navigation bar and the event list.<br />\n"
427
+ "\t You have to set the shortcode attribute \"add_feed_link\" to \"true\" if you want to show the feed link."
428
+ msgstr ""
429
+
430
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:101
431
+ msgid "Align of the RSS feed link"
432
+ msgstr ""
433
+
434
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:103
435
+ msgid ""
436
+ "This option specifies the align of the RSS feed link in the event list.<br />\n"
437
+ "\t The link can be displayed on the left side, centered or on the right.<br />\n"
438
+ "\t You have to set the shortcode attribute \"add_feed_link\" to \"true\" if you want to show the feed link."
439
+ msgstr ""
440
+
441
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:109
442
+ msgid "Feed link text"
443
+ msgstr ""
444
+
445
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:110
446
+ msgid ""
447
+ "This option specifies the caption of the RSS feed link in the event list.<br />\n"
448
+ "\t Insert an empty text to hide any text if you only want to show the rss image.<br />\n"
449
+ "\t You have to set the shortcode attribute \"add_feed_link\" to \"true\" if you want to show the feed link."
450
+ msgstr ""
451
+
452
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:116
453
+ msgid "Feed link image"
454
+ msgstr ""
455
+
456
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:117
457
+ msgid "Show rss image in feed link"
458
+ msgstr ""
459
+
460
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:118
461
+ msgid ""
462
+ "This option specifies if the an image should be dispayed in the feed link in front of the text.<br />\n"
463
+ "\t You have to set the shortcode attribute \"add_feed_link\" to \"true\" if you want to show the feed link."
464
+ msgstr ""
465
+
466
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:123
467
+ msgid "You can specify a year in 4 digit format.<br /> Other formats will not be accepted."
468
+ msgstr ""
469
+
470
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:124
471
+ msgid "You can specify a month with 4 digits for the year and 2 digits for the month, seperated by a hyphen (-).<br />Other formats will not be accepted."
472
+ msgstr ""
473
+
474
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:125
475
+ msgid "You can specify a day with 4 digits for the year, 2 digits for the month and 2 digets for the day, seperated by a hyphen (-).<br /> Other formats will not be accepted."
476
+ msgstr ""
477
+
478
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:129
479
+ msgid "You can specify a rage or dates seperated by a tilde (~).<br >You can specify any available date format before and after the tilde."
480
+ msgstr ""
481
+
482
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:130
483
+ msgid "\"all\" specifies the full time range without any limitation."
484
+ msgstr ""
485
+
486
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:131
487
+ msgid "\"upcoming\" specifies a time range from the actual day to the future."
488
+ msgstr ""
489
+
490
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/options_helptexts.php:132
491
+ msgid "\"past\" specifies a time rage from the past to the previous day."
492
+ msgstr ""
493
+
494
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:97
495
+ msgid "Show all dates"
496
+ msgstr ""
497
+
498
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:221
499
+ msgid "View all categories"
500
+ msgstr ""
501
+
502
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:301
503
+ msgid "All"
504
+ msgstr ""
505
+
506
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:307
507
+ msgid "Upcoming"
508
+ msgstr ""
509
+
510
+ #: /home/zeus/mike/workspace/wp-eventlist/includes/filterbar.php:311
511
+ msgid "Past"
512
+ msgstr ""
513
+
514
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:37
515
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:69
516
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:38
517
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-settings.php:31
518
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:26
519
+ msgid "You do not have sufficient permissions to access this page."
520
+ msgstr ""
521
+
522
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:50
523
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:56
524
+ msgid "Event List Categories"
525
+ msgstr ""
526
+
527
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:53
528
+ msgid "Edit Category"
529
+ msgstr ""
530
+
531
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:53
532
+ msgid "Update Category"
533
+ msgstr ""
534
+
535
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:59
536
+ msgid "Add New Category"
537
+ msgstr ""
538
+
539
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:84
540
+ #, php-format
541
+ msgid "Category \"%s\" deleted."
542
+ msgstr ""
543
+
544
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:86
545
+ #, php-format
546
+ msgid "This Category was also removed from %d events."
547
+ msgstr ""
548
+
549
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:92
550
+ #, php-format
551
+ msgid "Error while deleting category \"%s\""
552
+ msgstr ""
553
+
554
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:102
555
+ msgid "Sync with post categories enabled."
556
+ msgstr ""
557
+
558
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:105
559
+ msgid "Sync with post categories disabled."
560
+ msgstr ""
561
+
562
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:111
563
+ msgid "Manual sync with post categories sucessfully finished."
564
+ msgstr ""
565
+
566
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:119
567
+ #, php-format
568
+ 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
576
+ #, php-format
577
+ msgid "Category \"%s\" was modified"
578
+ msgstr ""
579
+
580
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:131
581
+ #, php-format
582
+ msgid "Error: Category \"%s\" could not be modified"
583
+ msgstr ""
584
+
585
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:138
586
+ msgid ""
587
+ "Categories are automatically synced with the post categories.<br />\n"
588
+ "\t\t\t Because of this all options to add new categories or editing existing categories are disabled.<br />\n"
589
+ "\t\t\t If you want to manually edit the categories you have to disable this option."
590
+ msgstr ""
591
+
592
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:165
593
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:107
594
+ msgid "Name"
595
+ msgstr ""
596
+
597
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:167
598
+ msgid "The name is how it appears on your site."
599
+ msgstr ""
600
+
601
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:170
602
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:109
603
+ msgid "Slug"
604
+ msgstr ""
605
+
606
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:172
607
+ msgid "The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens."
608
+ msgstr ""
609
+
610
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:175
611
+ msgid "Parent"
612
+ msgstr ""
613
+
614
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-categories.php:177
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
+
635
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:105
636
+ msgid "Edit Event"
637
+ msgstr ""
638
+
639
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:105
640
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:72
641
+ msgid "Duplicate"
642
+ msgstr ""
643
+
644
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:108
645
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:110
646
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:48
647
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:80
648
+ msgid "Events"
649
+ msgstr ""
650
+
651
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-main.php:112
652
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:52
653
+ msgid "Add New"
654
+ msgstr ""
655
+
656
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:27
657
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:29
658
+ msgid "event"
659
+ msgstr ""
660
+
661
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:28
662
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:30
663
+ msgid "events"
664
+ msgstr ""
665
+
666
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:70
667
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:71
668
+ msgid "Edit"
669
+ msgstr ""
670
+
671
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:71
672
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/category_table.php:145
673
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:73
674
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:146
675
+ msgid "Delete"
676
+ msgstr ""
677
+
678
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:41
679
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:52
680
+ msgid "Add New Event"
681
+ msgstr ""
682
+
683
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:43
684
+ #, php-format
685
+ msgid "Duplicate of event id:%d"
686
+ msgstr ""
687
+
688
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:97
689
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:101
690
+ msgid "required"
691
+ msgstr ""
692
+
693
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:101
694
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:107
695
+ msgid "Date"
696
+ msgstr ""
697
+
698
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:104
699
+ msgid "Multi-Day Event"
700
+ msgstr ""
701
+
702
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:110
703
+ msgid "Time"
704
+ msgstr ""
705
+
706
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:114
707
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:109
708
+ msgid "Location"
709
+ msgstr ""
710
+
711
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:118
712
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:110
713
+ msgid "Details"
714
+ msgstr ""
715
+
716
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:134
717
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:151
718
+ msgid "Publish"
719
+ msgstr ""
720
+
721
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:136
722
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:111
723
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:56
724
+ msgid "Categories"
725
+ msgstr ""
726
+
727
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:151
728
+ msgid "Update"
729
+ msgstr ""
730
+
731
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:153
732
+ msgid "Cancel"
733
+ msgstr ""
734
+
735
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:166
736
+ msgid "No categories available."
737
+ msgstr ""
738
+
739
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:212
740
+ msgid "Goto Category Settings"
741
+ msgstr ""
742
+
743
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-new.php:220
744
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:279
745
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:282
746
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:306
747
+ msgid "Y/m/d"
748
+ msgstr ""
749
+
750
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:112
751
+ msgid "Author"
752
+ msgstr ""
753
+
754
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:113
755
+ msgid "Published"
756
+ msgstr ""
757
+
758
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:174
759
+ msgid "Filter"
760
+ msgstr ""
761
+
762
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:303
763
+ #, php-format
764
+ msgid "%s ago"
765
+ msgstr ""
766
+
767
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/event_table.php:308
768
+ msgid "Y/m/d g:i:s A"
769
+ msgstr ""
770
+
771
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-settings.php:38
772
+ msgid "Settings saved."
773
+ msgstr ""
774
+
775
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-settings.php:50
776
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:60
777
+ msgid "Event List Settings"
778
+ msgstr ""
779
+
780
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:29
781
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:64
782
+ msgid "About Event List"
783
+ msgstr ""
784
+
785
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:98
786
+ msgid "Filter Syntax"
787
+ msgstr ""
788
+
789
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:99
790
+ msgid "For date and cat filters you can specify complex filters with the following syntax:"
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
798
+ msgid "Examples for cat filters:"
799
+ msgstr ""
800
+
801
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:102
802
+ msgid "Show all events with category \"tennis\"."
803
+ msgstr ""
804
+
805
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:103
806
+ msgid "Show all events with category \"tennis\" or \"hockey\"."
807
+ msgstr ""
808
+
809
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:104
810
+ msgid "Show all events with category \"tennis\" and all events where category \"hockey\" as well as \"winter\" is selected."
811
+ msgstr ""
812
+
813
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:109
814
+ msgid "Available Date Formats"
815
+ msgstr ""
816
+
817
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:110
818
+ msgid "For date filters you can use the following date formats:"
819
+ msgstr ""
820
+
821
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:118
822
+ msgid "Available Date Range Formats"
823
+ msgstr ""
824
+
825
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:119
826
+ msgid "For date filters you can use the following daterange formats:"
827
+ msgstr ""
828
+
829
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:131
830
+ msgid "Value"
831
+ msgstr ""
832
+
833
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/includes/admin-about.php:135
834
+ msgid "Example"
835
+ msgstr ""
836
+
837
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:45
838
+ msgid "Event List"
839
+ msgstr ""
840
+
841
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:48
842
+ msgid "All Events"
843
+ msgstr ""
844
+
845
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:60
846
+ msgid "Settings"
847
+ msgstr ""
848
+
849
+ #: /home/zeus/mike/workspace/wp-eventlist/admin/admin.php:64
850
+ msgid "About"
851
+ msgstr ""
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: mibuthu
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=W54LNZMWF9KW2
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.0
7
- Stable tag: 0.6.9
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
@@ -72,6 +72,13 @@ Another possibility would be to call the wordpress function "do_shortcode()".
72
 
73
  == Changelog ==
74
 
 
 
 
 
 
 
 
75
  = 0.6.9 (2014-11-09) =
76
  * added months option in filterbar items
77
  * added a class for each category slug in each event li element
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=W54LNZMWF9KW2
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.0
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
72
 
73
  == Changelog ==
74
 
75
+ = 0.7.0 (2014-12-22) =
76
+ * initial multilanguage support
77
+ * German translation (not complete yet)
78
+ * Unicode support in truncate function
79
+ * Changed position of admin menu
80
+ * Changed icon in admin menu
81
+
82
  = 0.6.9 (2014-11-09) =
83
  * added months option in filterbar items
84
  * added a class for each category slug in each event li element