Email Log - Version 0.6

Version Description

Download this release

Release Info

Developer sudar
Plugin Icon 128x128 Email Log
Version 0.6
Comparing to
See all releases

Code changes from version 0.5 to 0.6

email-log.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Email Log
4
  Plugin URI: http://sudarmuthu.com/wordpress/email-log
5
  Description: Logs every email sent through WordPress. Compatiable with WPMU too.
6
  Author: Sudar
7
- Version: 0.5
8
  Author URI: http://sudarmuthu.com/
9
  Text Domain: email-log
10
 
@@ -14,6 +14,11 @@ Text Domain: email-log
14
  2009-10-19 - v0.3 - Added compatability for MySQL 4 (Thanks Frank)
15
  2010-01-02 - v0.4 - Added german translation (Thanks Frank)
16
  2012-01-01 - v0.5 - Fixed a deprecation notice
 
 
 
 
 
17
  */
18
  /* Copyright 2009 Sudar Muthu (email : sudar@sudarmuthu.com)
19
 
@@ -43,6 +48,8 @@ class EmailLog {
43
 
44
  private $table_name ; /* Database table name */
45
  private $db_version ; /* Database version */
 
 
46
 
47
  /**
48
  * Initalize the plugin by registering the hooks
@@ -61,6 +68,7 @@ class EmailLog {
61
 
62
  // Register Filter
63
  add_filter('wp_mail', array(&$this, 'log_email'));
 
64
 
65
  $plugin = plugin_basename(__FILE__);
66
  add_filter("plugin_action_links_$plugin", array(&$this, 'add_action_links'));
@@ -74,9 +82,77 @@ class EmailLog {
74
  * Register the settings page
75
  */
76
  function register_settings_page() {
77
- add_options_page( __('Email Log', 'email-log'), __('Email Log', 'email-log'), 'manage_options', 'email-log', array(&$this, 'settings_page') );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
  }
79
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  /**
81
  * hook to add action links
82
  *
@@ -110,16 +186,16 @@ class EmailLog {
110
  $base_name = plugin_basename('email-log');
111
  $base_page = 'admin.php?page='.$base_name;
112
 
113
- $email_log_page = intval($_GET['emaillog_page']);
114
- $emaillogs_filterid = trim(addslashes($_GET['id']));
115
  $emaillogs_filter_to_email = trim(addslashes($_GET['to_email']));
116
- $emaillogs_filter_subject = trim(addslashes($_GET['subject']));
117
- $emaillog_sort_by = trim($_GET['by']);
118
- $emaillog_sortby_text = '';
119
- $emaillog_sortorder = trim($_GET['order']);
120
- $emaillog_sortorder_text = '';
121
- $email_log_perpage = intval($_GET['perpage']);
122
- $emaillog_sort_url = '';
123
 
124
  ### Form Processing
125
  if(!empty($_POST['do'])) {
@@ -129,6 +205,17 @@ class EmailLog {
129
  $delete_datalog = intval($_POST['delete_datalog']);
130
  switch($delete_datalog) {
131
  case 1:
 
 
 
 
 
 
 
 
 
 
 
132
  // Delete based on condition
133
  $to_email = trim(addslashes( $_POST['delete_to_email']));
134
  if ('' != $to_email) {
@@ -136,7 +223,7 @@ class EmailLog {
136
  if($delete_logs) {
137
  $text = '<font color="green">'.sprintf(__('All Email Logs For email id %s Have Been Deleted.', 'email-log'), $to_email).'</font>';
138
  } else {
139
- $text = '<font color="red">'.sprintf(__('An Error Has Occured while deleting All Email Logs For email id %s.', 'email-log'), $to_email).'</font>';
140
  }
141
  }
142
 
@@ -146,17 +233,17 @@ class EmailLog {
146
  if($delete_logs) {
147
  $text .= '<font color="green">'.sprintf(__('All Email Logs With Subject %s Have Been Deleted.', 'email-log'), $subject).'</font>';
148
  } else {
149
- $text .= '<font color="red">'.sprintf(__('An Error Has Occured While Deleting All Email Logs With Subject %s.', 'email-log'), $subject).'</font>';
150
  }
151
  }
152
  break;
153
- case 2:
154
  // Delete all
155
  $delete_logs = $wpdb->query("DELETE FROM $this->table_name ");
156
  if ($delete_logs) {
157
  $text = '<font color="green">'.__('All Email log Has Been Deleted.', 'email-log').'</font><br />';
158
  } else {
159
- $text = '<font color="red">'.__('An Error Has Occured While Deleting All Email Logs', 'email-log').'</font>';
160
  }
161
  break;
162
  }
@@ -181,10 +268,6 @@ class EmailLog {
181
  if(!empty($emaillog_sortorder)) {
182
  $emaillog_sort_url .= '&amp;order='.$emaillog_sortorder;
183
  }
184
- if(!empty($email_log_perpage)) {
185
- $email_log_perpage = intval($email_log_perpage);
186
- $emaillog_sort_url .= '&amp;perpage='.$email_log_perpage;
187
- }
188
 
189
  ### Get Order By
190
  switch($emaillog_sort_by) {
@@ -236,7 +319,6 @@ class EmailLog {
236
  // Checking $postratings_page and $offset
237
  if(empty($email_log_page) || $email_log_page == 0) { $email_log_page = 1; }
238
  if(empty($offset)) { $offset = 0; }
239
- if(empty($email_log_perpage) || $email_log_perpage == 0) { $email_log_perpage = 20; }
240
 
241
  // Determin $offset
242
  $offset = ($email_log_page-1) * $email_log_perpage;
@@ -265,9 +347,49 @@ class EmailLog {
265
  <div class="wrap">
266
  <?php screen_icon(); ?>
267
  <h2><?php _e( 'Email Log Settings', 'email-log' ); ?></h2>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
268
  <p><?php printf(__('Displaying <strong>%s</strong> to <strong>%s</strong> of <strong>%s</strong> Email log entries.', 'email-log'), number_format_i18n($display_on_page), number_format_i18n($max_on_page), number_format_i18n($total_logs)); ?></p>
269
  <p><?php printf(__('Sorted by <strong>%s</strong> in <strong>%s</strong> order.', 'email-log'), $emaillog_sortby_text, $emaillog_sortorder_text); ?></p>
270
 
 
271
  <?php
272
  if($total_pages > 1) {
273
  ?>
@@ -327,10 +449,11 @@ class EmailLog {
327
  <table class="widefat">
328
  <thead>
329
  <tr>
 
330
  <th width="5%"><?php _e('ID', 'email-log'); ?></th>
331
  <th width="20%"><?php _e('Date / Time', 'email-log'); ?></th>
332
  <th width="30%"><?php _e('To', 'email-log'); ?></th>
333
- <th width="45%"><?php _e('Subject', 'email-log'); ?></th>
334
  </tr>
335
  </thead>
336
  <tbody>
@@ -348,6 +471,7 @@ class EmailLog {
348
  $email_to = stripslashes($email_log->to_email);
349
  $email_subject = stripslashes($email_log->subject);
350
  echo "<tr $style>\n";
 
351
  echo '<td>'.$email_id.'</td>'."\n";
352
  echo "<td>$email_date</td>\n";
353
  echo "<td>$email_to</td>\n";
@@ -362,10 +486,11 @@ class EmailLog {
362
  </tbody>
363
  <tfoot>
364
  <tr>
 
365
  <th width="5%"><?php _e('ID', 'email-log'); ?></th>
366
  <th width="20%"><?php _e('Date / Time', 'email-log'); ?></th>
367
  <th width="30%"><?php _e('To', 'email-log'); ?></th>
368
- <th width="45%"><?php _e('Subject', 'email-log'); ?></th>
369
  </tr>
370
  </tfoot>
371
  </table>
@@ -426,70 +551,18 @@ class EmailLog {
426
  <?php
427
  }
428
  ?>
429
- <br />
430
 
431
- <form action="<?php echo esc_url($_SERVER['PHP_SELF']); ?>" method="get">
432
- <input type="hidden" name="page" value="<?php echo $base_name; ?>" />
433
- <table class="widefat">
434
- <tr>
435
- <th><?php _e('Filter Options:', 'email-log'); ?></th>
436
- <td>
437
- <?php _e('ID:', 'email-log'); ?>&nbsp;<input type="text" name="id" value="<?php echo $emaillogs_filterid; ?>" size="5" maxlength="5" />
438
- &nbsp;&nbsp;&nbsp;
439
- <?php _e('To Email:', 'email-log'); ?>&nbsp;<input type="text" name="to_email" value="<?php echo $emaillogs_filter_to_email; ?>" size="40" maxlength="50" />
440
- &nbsp;&nbsp;&nbsp;
441
- <?php _e('Subject:', 'email-log'); ?>&nbsp;<input type="text" name="subject" value="<?php echo $emaillogs_filter_subject; ?>" size="40" maxlength="50" />
442
- &nbsp;&nbsp;&nbsp;
443
- </td>
444
- </tr>
445
- <tr class="alternate">
446
- <th><?php _e('Sort Options:', 'email-log'); ?></th>
447
- <td>
448
- <select name="by" size="1">
449
- <option value="id"<?php if($emaillog_sort_by == 'id') { echo ' selected="selected"'; }?>><?php _e('ID', 'email-log'); ?></option>
450
- <option value="to_email"<?php if($emaillog_sort_by == 'to_email') { echo ' selected="selected"'; }?>><?php _e('To Email', 'email-log'); ?></option>
451
- <option value="subject"<?php if($emaillog_sort_by == 'subject') { echo ' selected="selected"'; }?>><?php _e('Subject', 'email-log'); ?></option>
452
- <option value="sent_date"<?php if($emaillog_sort_by == 'sent_date') { echo ' selected="selected"'; }?>><?php _e('Date', 'email-log'); ?></option>
453
- </select>
454
- &nbsp;&nbsp;&nbsp;
455
- <select name="order" size="1">
456
- <option value="asc"<?php if($emaillog_sortorder == 'ASC') { echo ' selected="selected"'; }?>><?php _e('Ascending', 'email-log'); ?></option>
457
- <option value="desc"<?php if($emaillog_sortorder == 'DESC') { echo ' selected="selected"'; } ?>><?php _e('Descending', 'email-log'); ?></option>
458
- </select>
459
- &nbsp;&nbsp;&nbsp;
460
- <select name="perpage" size="1">
461
- <?php
462
- for($i=10; $i <= 100; $i+=10) {
463
- if($email_log_perpage == $i) {
464
- echo "<option value=\"$i\" selected=\"selected\">".__('Per Page', 'email-log').": ".number_format_i18n($i)."</option>\n";
465
- } else {
466
- echo "<option value=\"$i\">".__('Per Page', 'email-log').": ".number_format_i18n($i)."</option>\n";
467
- }
468
- }
469
- ?>
470
- </select>
471
- </td>
472
- </tr>
473
- <tr>
474
- <td colspan="2" align="center"><input type="submit" value="<?php _e('Go', 'email-log'); ?>" class="button" /></td>
475
- </tr>
476
- </table>
477
- </form>
478
- </div>
479
- <p>&nbsp;</p>
480
  <!-- Delete Email Logs -->
481
- <div class="wrap">
482
  <h3><?php _e('Delete Logs', 'email-log'); ?></h3>
483
- <br style="clear" />
484
  <div align="center">
485
- <form method="post" action="<?php echo esc_url($_SERVER['PHP_SELF']); ?>?page=<?php echo $base_name; ?>">
486
  <table class="widefat">
487
  <tr>
488
  <td valign="top"><b><?php _e('Delete Type : ', 'email-log'); ?></b></td>
489
  <td valign="top">
490
  <select size="1" name="delete_datalog">
491
- <option value="1"><?php _e('Based on', 'email-log'); ?></option>
492
- <option value="2"><?php _e('All Logs', 'email-log'); ?></option>
 
493
  </select>
494
  </td>
495
  </tr>
@@ -507,8 +580,8 @@ class EmailLog {
507
  </td>
508
  </tr>
509
  </table>
510
- </form>
511
  </div>
 
512
  </div>
513
  <?php
514
  // Display credits in Footer
@@ -586,4 +659,4 @@ register_activation_hook(__FILE__, 'smel_on_install');
586
  // Start this plugin once all other plugins are fully loaded
587
  add_action( 'init', 'EmailLog' ); function EmailLog() { global $EmailLog; $EmailLog = new EmailLog(); }
588
 
589
- ?>
4
  Plugin URI: http://sudarmuthu.com/wordpress/email-log
5
  Description: Logs every email sent through WordPress. Compatiable with WPMU too.
6
  Author: Sudar
7
+ Version: 0.6
8
  Author URI: http://sudarmuthu.com/
9
  Text Domain: email-log
10
 
14
  2009-10-19 - v0.3 - Added compatability for MySQL 4 (Thanks Frank)
15
  2010-01-02 - v0.4 - Added german translation (Thanks Frank)
16
  2012-01-01 - v0.5 - Fixed a deprecation notice
17
+ 2012-04-29 - v0.6 - (Dev time: 2 hours)
18
+ - Added option to delete individual email logs
19
+ - Moved pages per screen option to Screen options panel
20
+ - Added information to the screen help tab
21
+ - Added Lithuanian translations
22
  */
23
  /* Copyright 2009 Sudar Muthu (email : sudar@sudarmuthu.com)
24
 
48
 
49
  private $table_name ; /* Database table name */
50
  private $db_version ; /* Database version */
51
+ private $admin_page;
52
+ private $admin_screen;
53
 
54
  /**
55
  * Initalize the plugin by registering the hooks
68
 
69
  // Register Filter
70
  add_filter('wp_mail', array(&$this, 'log_email'));
71
+ add_filter('set-screen-option', array(&$this, 'save_screen_options'), 10, 3);
72
 
73
  $plugin = plugin_basename(__FILE__);
74
  add_filter("plugin_action_links_$plugin", array(&$this, 'add_action_links'));
82
  * Register the settings page
83
  */
84
  function register_settings_page() {
85
+ //Save the handle to your admin page - you'll need it to create a WP_Screen object
86
+ $this->admin_page = add_options_page( __('Email Log', 'email-log'), __('Email Log', 'email-log'), 'manage_options', 'email-log', array(&$this, 'settings_page') );
87
+
88
+ add_action("load-{$this->admin_page}",array(&$this,'create_settings_panel'));
89
+ }
90
+
91
+ /**
92
+ * Add settings Panel
93
+ */
94
+ function create_settings_panel() {
95
+
96
+ /**
97
+ * Create the WP_Screen object against your admin page handle
98
+ * This ensures we're working with the right admin page
99
+ */
100
+ $this->admin_screen = WP_Screen::get($this->admin_page);
101
+
102
+ /**
103
+ * Content specified inline
104
+ */
105
+ $this->admin_screen->add_help_tab(
106
+ array(
107
+ 'title' => __('About Plugin', 'email-log'),
108
+ 'id' => 'about_tab',
109
+ 'content' => '<p>' . __('Email Log WordPress Plugin, allows you to log all emails that are sent through WordPress.', 'email-log') . '</p>',
110
+ 'callback' => false
111
+ )
112
+ );
113
+
114
+ // Add help sidebar
115
+ $this->admin_screen->set_help_sidebar(
116
+ '<p><strong>' . __('More information', 'email-log') . '</strong></p>' .
117
+ '<p><a href = "http://sudarmuthu.com/wordpress/email-log">' . __('Plugin Homepage/support', 'email-log') . '</a></p>' .
118
+ '<p><a href = "http://sudarmuthu.com/blog">' . __("Plugin author's blog", 'email-log') . '</a></p>' .
119
+ '<p><a href = "http://sudarmuthu.com/wordpress/">' . __("Other Plugin's by Author", 'email-log') . '</a></p>'
120
+ );
121
+
122
+ // Add screen options
123
+ $this->admin_screen->add_option(
124
+ 'per_page',
125
+ array(
126
+ 'label' => __('Entries per page', 'email-log'),
127
+ 'default' => 20,
128
+ 'option' => 'per_page'
129
+ )
130
+ );
131
+ }
132
+
133
+ /**
134
+ * Save Screen option
135
+ */
136
+ function save_screen_options($status, $option, $value) {
137
+ if ( 'per_page' == $option ) return $value;
138
  }
139
 
140
+ /**
141
+ * Get the per page option
142
+ */
143
+ private function get_per_page() {
144
+ $screen = get_current_screen();
145
+ $option = $screen->get_option('per_page', 'option');
146
+
147
+ $per_page = get_user_meta(get_current_user_id(), $option, TRUE);
148
+
149
+ if ( empty ( $per_page) || $per_page < 1 ) {
150
+ $per_page = $screen->get_option( 'per_page', 'default' );
151
+ }
152
+
153
+ return $per_page;
154
+ }
155
+
156
  /**
157
  * hook to add action links
158
  *
186
  $base_name = plugin_basename('email-log');
187
  $base_page = 'admin.php?page='.$base_name;
188
 
189
+ $email_log_page = intval($_GET['emaillog_page']);
190
+ $emaillogs_filterid = trim(addslashes($_GET['id']));
191
  $emaillogs_filter_to_email = trim(addslashes($_GET['to_email']));
192
+ $emaillogs_filter_subject = trim(addslashes($_GET['subject']));
193
+ $emaillog_sort_by = trim($_GET['by']);
194
+ $emaillog_sortby_text = '';
195
+ $emaillog_sortorder = trim($_GET['order']);
196
+ $emaillog_sortorder_text = '';
197
+ $email_log_perpage = intval($this->get_per_page());
198
+ $emaillog_sort_url = '';
199
 
200
  ### Form Processing
201
  if(!empty($_POST['do'])) {
205
  $delete_datalog = intval($_POST['delete_datalog']);
206
  switch($delete_datalog) {
207
  case 1:
208
+ // delete selected entries
209
+ $selected_ids = implode(',', $_POST['selected_ids']);
210
+ $delete_logs = $wpdb->query("DELETE FROM $this->table_name where id IN ($selected_ids)");
211
+
212
+ if($delete_logs) {
213
+ $text = '<font color="green">' . __('The selected Email Logs have been deleted.', 'email-log') . '</font>';
214
+ } else {
215
+ $text = '<font color="red">' . __('An error has occurred while deleting the selected Email logs', 'email-log') . '</font>';
216
+ }
217
+ break;
218
+ case 2:
219
  // Delete based on condition
220
  $to_email = trim(addslashes( $_POST['delete_to_email']));
221
  if ('' != $to_email) {
223
  if($delete_logs) {
224
  $text = '<font color="green">'.sprintf(__('All Email Logs For email id %s Have Been Deleted.', 'email-log'), $to_email).'</font>';
225
  } else {
226
+ $text = '<font color="red">'.sprintf(__('An error has occurred while deleting All Email Logs For email id %s.', 'email-log'), $to_email).'</font>';
227
  }
228
  }
229
 
233
  if($delete_logs) {
234
  $text .= '<font color="green">'.sprintf(__('All Email Logs With Subject %s Have Been Deleted.', 'email-log'), $subject).'</font>';
235
  } else {
236
+ $text .= '<font color="red">'.sprintf(__('An Error Has Occurred While Deleting All Email Logs With Subject %s.', 'email-log'), $subject).'</font>';
237
  }
238
  }
239
  break;
240
+ case 3:
241
  // Delete all
242
  $delete_logs = $wpdb->query("DELETE FROM $this->table_name ");
243
  if ($delete_logs) {
244
  $text = '<font color="green">'.__('All Email log Has Been Deleted.', 'email-log').'</font><br />';
245
  } else {
246
+ $text = '<font color="red">'.__('An Error Has Occurred While Deleting All Email Logs', 'email-log').'</font>';
247
  }
248
  break;
249
  }
268
  if(!empty($emaillog_sortorder)) {
269
  $emaillog_sort_url .= '&amp;order='.$emaillog_sortorder;
270
  }
 
 
 
 
271
 
272
  ### Get Order By
273
  switch($emaillog_sort_by) {
319
  // Checking $postratings_page and $offset
320
  if(empty($email_log_page) || $email_log_page == 0) { $email_log_page = 1; }
321
  if(empty($offset)) { $offset = 0; }
 
322
 
323
  // Determin $offset
324
  $offset = ($email_log_page-1) * $email_log_perpage;
347
  <div class="wrap">
348
  <?php screen_icon(); ?>
349
  <h2><?php _e( 'Email Log Settings', 'email-log' ); ?></h2>
350
+
351
+ <p>&nbsp;</p>
352
+
353
+ <form action="<?php echo esc_url($_SERVER['PHP_SELF']); ?>" method="get">
354
+ <input type="hidden" name="page" value="<?php echo $base_name; ?>" />
355
+ <table class="widefat">
356
+ <tr>
357
+ <th><?php _e('Filter Options:', 'email-log'); ?></th>
358
+ <td>
359
+ <?php _e('ID:', 'email-log'); ?>&nbsp;<input type="text" name="id" value="<?php echo $emaillogs_filterid; ?>" size="5" maxlength="5" />
360
+ &nbsp;&nbsp;&nbsp;
361
+ <?php _e('To Email:', 'email-log'); ?>&nbsp;<input type="text" name="to_email" value="<?php echo $emaillogs_filter_to_email; ?>" size="40" maxlength="50" />
362
+ &nbsp;&nbsp;&nbsp;
363
+ <?php _e('Subject:', 'email-log'); ?>&nbsp;<input type="text" name="subject" value="<?php echo $emaillogs_filter_subject; ?>" size="40" maxlength="50" />
364
+ &nbsp;&nbsp;&nbsp;
365
+ </td>
366
+ </tr>
367
+ <tr class="alternate">
368
+ <th><?php _e('Sort Options:', 'email-log'); ?></th>
369
+ <td>
370
+ <select name="by" size="1">
371
+ <option value="id"<?php if($emaillog_sort_by == 'id') { echo ' selected="selected"'; }?>><?php _e('ID', 'email-log'); ?></option>
372
+ <option value="to_email"<?php if($emaillog_sort_by == 'to_email') { echo ' selected="selected"'; }?>><?php _e('To Email', 'email-log'); ?></option>
373
+ <option value="subject"<?php if($emaillog_sort_by == 'subject') { echo ' selected="selected"'; }?>><?php _e('Subject', 'email-log'); ?></option>
374
+ <option value="sent_date"<?php if($emaillog_sort_by == 'sent_date') { echo ' selected="selected"'; }?>><?php _e('Date', 'email-log'); ?></option>
375
+ </select>
376
+ &nbsp;&nbsp;&nbsp;
377
+ <select name="order" size="1">
378
+ <option value="asc"<?php if($emaillog_sortorder == 'ASC') { echo ' selected="selected"'; }?>><?php _e('Ascending', 'email-log'); ?></option>
379
+ <option value="desc"<?php if($emaillog_sortorder == 'DESC') { echo ' selected="selected"'; } ?>><?php _e('Descending', 'email-log'); ?></option>
380
+ </select>
381
+ </td>
382
+ </tr>
383
+ <tr>
384
+ <td colspan="2" align="center"><input type="submit" value="<?php _e('Filter', 'email-log'); ?>" class="button" /></td>
385
+ </tr>
386
+ </table>
387
+ </form>
388
+
389
  <p><?php printf(__('Displaying <strong>%s</strong> to <strong>%s</strong> of <strong>%s</strong> Email log entries.', 'email-log'), number_format_i18n($display_on_page), number_format_i18n($max_on_page), number_format_i18n($total_logs)); ?></p>
390
  <p><?php printf(__('Sorted by <strong>%s</strong> in <strong>%s</strong> order.', 'email-log'), $emaillog_sortby_text, $emaillog_sortorder_text); ?></p>
391
 
392
+ <form method="post" action="<?php echo esc_url($_SERVER['PHP_SELF']); ?>?page=<?php echo $base_name; ?>">
393
  <?php
394
  if($total_pages > 1) {
395
  ?>
449
  <table class="widefat">
450
  <thead>
451
  <tr>
452
+ <th width="5%">&nbsp;</th>
453
  <th width="5%"><?php _e('ID', 'email-log'); ?></th>
454
  <th width="20%"><?php _e('Date / Time', 'email-log'); ?></th>
455
  <th width="30%"><?php _e('To', 'email-log'); ?></th>
456
+ <th width="40%"><?php _e('Subject', 'email-log'); ?></th>
457
  </tr>
458
  </thead>
459
  <tbody>
471
  $email_to = stripslashes($email_log->to_email);
472
  $email_subject = stripslashes($email_log->subject);
473
  echo "<tr $style>\n";
474
+ echo '<td><input type = "checkbox" name = "selected_ids[]" value = "' . $email_id . '"></td>'."\n";
475
  echo '<td>'.$email_id.'</td>'."\n";
476
  echo "<td>$email_date</td>\n";
477
  echo "<td>$email_to</td>\n";
486
  </tbody>
487
  <tfoot>
488
  <tr>
489
+ <th width="5%">&nbsp;</th>
490
  <th width="5%"><?php _e('ID', 'email-log'); ?></th>
491
  <th width="20%"><?php _e('Date / Time', 'email-log'); ?></th>
492
  <th width="30%"><?php _e('To', 'email-log'); ?></th>
493
+ <th width="40%"><?php _e('Subject', 'email-log'); ?></th>
494
  </tr>
495
  </tfoot>
496
  </table>
551
  <?php
552
  }
553
  ?>
 
554
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
555
  <!-- Delete Email Logs -->
 
556
  <h3><?php _e('Delete Logs', 'email-log'); ?></h3>
 
557
  <div align="center">
 
558
  <table class="widefat">
559
  <tr>
560
  <td valign="top"><b><?php _e('Delete Type : ', 'email-log'); ?></b></td>
561
  <td valign="top">
562
  <select size="1" name="delete_datalog">
563
+ <option value="1"><?php _e('Selected entries', 'email-log'); ?></option>
564
+ <option value="2"><?php _e('Based on', 'email-log'); ?></option>
565
+ <option value="3"><?php _e('All Logs', 'email-log'); ?></option>
566
  </select>
567
  </td>
568
  </tr>
580
  </td>
581
  </tr>
582
  </table>
 
583
  </div>
584
+ </form>
585
  </div>
586
  <?php
587
  // Display credits in Footer
659
  // Start this plugin once all other plugins are fully loaded
660
  add_action( 'init', 'EmailLog' ); function EmailLog() { global $EmailLog; $EmailLog = new EmailLog(); }
661
 
662
+ ?>
languages/email-log-lt_LT.mo ADDED
Binary file
languages/email-log-lt_LT.po ADDED
@@ -0,0 +1,264 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Email Log WordPress Plugin 0.2\n"
4
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/email-log\n"
5
+ "POT-Creation-Date: 2009-10-08 17:51+0000\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: Frank Weichbrodt\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-Language: German\n"
13
+ "X-Poedit-Country: GERMANY\n"
14
+
15
+ #. #-#-#-#-# email-log.pot (Email Log 0.1) #-#-#-#-#
16
+ #. Plugin Name of an extension
17
+ #: email-log.php:58
18
+ msgid "Email Log"
19
+ msgstr "Email Log"
20
+
21
+ #: email-log.php:69
22
+ msgid "Settings"
23
+ msgstr "Nuostatos"
24
+
25
+ #: email-log.php:79
26
+ msgid "plugin"
27
+ msgstr "papildinio"
28
+
29
+ #: email-log.php:79
30
+ msgid "Version"
31
+ msgstr "Versija"
32
+
33
+ #: email-log.php:79
34
+ msgid "by"
35
+ msgstr "pagal"
36
+
37
+ #: email-log.php:109
38
+ #: email-log.php:463
39
+ #: email-log.php:487
40
+ msgid "Delete Logs"
41
+ msgstr "Ištrinti Žurnalo įrašus"
42
+
43
+ #: email-log.php:118
44
+ #, php-format
45
+ msgid "All Email Logs For email id %s Have Been Deleted."
46
+ msgstr "Visi Elektroninio pašto Žurnalo įrašai, Priskirti elektroninio pašto adresui su identifikatoriumi %s Buvo Ištrinti."
47
+
48
+ #: email-log.php:120
49
+ #, php-format
50
+ msgid "An Error Has Occured while deleting All Email Logs For email id %s."
51
+ msgstr "Įvyko Klaida, ištrinant Visus Elektroninio pašto Žurnalo įrašus, priskirtus elektroniniam paštui su identfiikatoriumi %s."
52
+
53
+ #: email-log.php:128
54
+ #, php-format
55
+ msgid "All Email Logs With Subject %s Have Been Deleted."
56
+ msgstr "Visi Elektroninio pašto Žurnalo įrašai, su antrašte %s Buvo Ištrinti."
57
+
58
+ #: email-log.php:130
59
+ #, php-format
60
+ msgid "An Error Has Occured While Deleting All Email Logs With Subject %s."
61
+ msgstr "Įvyko Klaida, ištrinant Visus Elekektroninio pašto Žurnalo įrašus su antrašte %s."
62
+
63
+ #: email-log.php:138
64
+ msgid "All Email log Has Been Deleted."
65
+ msgstr "Visi Elektroninio pašto žurnalai buvo Ištrinti."
66
+
67
+ #: email-log.php:140
68
+ msgid "An Error Has Occured While Deleting All Email Logs"
69
+ msgstr "Įvyko Klaida, Ištrinant Visus Elektroninio pašto Žurnalo Įrašus"
70
+
71
+ #: email-log.php:174
72
+ #: email-log.php:311
73
+ #: email-log.php:346
74
+ #: email-log.php:430
75
+ msgid "ID"
76
+ msgstr "Identifikatorius"
77
+
78
+ #: email-log.php:178
79
+ #: email-log.php:431
80
+ #: email-log.php:480
81
+ msgid "To Email"
82
+ msgstr "Į Elektroninį paštą"
83
+
84
+ #: email-log.php:182
85
+ #: email-log.php:314
86
+ #: email-log.php:349
87
+ #: email-log.php:432
88
+ #: email-log.php:482
89
+ msgid "Subject"
90
+ msgstr "Antraštė"
91
+
92
+ #: email-log.php:187
93
+ #: email-log.php:433
94
+ msgid "Date"
95
+ msgstr "Data"
96
+
97
+ #: email-log.php:194
98
+ #: email-log.php:437
99
+ msgid "Ascending"
100
+ msgstr "Didėjanti"
101
+
102
+ #: email-log.php:199
103
+ #: email-log.php:438
104
+ msgid "Descending"
105
+ msgstr "Mažėjanti"
106
+
107
+ #: email-log.php:248
108
+ msgid "Email Log Settings"
109
+ msgstr "Email Log Nuostatos"
110
+
111
+ #: email-log.php:249
112
+ #, php-format
113
+ msgid "Displaying <strong>%s</strong> to <strong>%s</strong> of <strong>%s</strong> Email log entries."
114
+ msgstr "Rodoma <strong>%s</strong> iki <strong>%s</strong> iš <strong>%s</strong> Elektroninio pašto žurnalo įrašų."
115
+
116
+ #: email-log.php:250
117
+ #, php-format
118
+ msgid "Sorted by <strong>%s</strong> in <strong>%s</strong> order."
119
+ msgstr "Išrikiuota pagal <strong>%s</strong> po <strong>%ser</strong> tvarką."
120
+
121
+ #: email-log.php:261
122
+ #: email-log.php:361
123
+ msgid "Previous Page"
124
+ msgstr "Ankstesnis Puslapis"
125
+
126
+ #: email-log.php:268
127
+ #: email-log.php:368
128
+ #, php-format
129
+ msgid "Pages (%s): "
130
+ msgstr "Puslapiai (%s):"
131
+
132
+ #: email-log.php:271
133
+ #: email-log.php:371
134
+ msgid "Go to First Page"
135
+ msgstr "Eiti į Pirmąjį Puslapį"
136
+
137
+ #: email-log.php:271
138
+ #: email-log.php:371
139
+ msgid "First"
140
+ msgstr "Pirmas"
141
+
142
+ #: email-log.php:274
143
+ #: email-log.php:286
144
+ #: email-log.php:374
145
+ #: email-log.php:386
146
+ msgid "Go to Page"
147
+ msgstr "Eiti į Puslapį"
148
+
149
+ #: email-log.php:281
150
+ #: email-log.php:381
151
+ msgid "Page"
152
+ msgstr "Puslapis"
153
+
154
+ #: email-log.php:289
155
+ #: email-log.php:389
156
+ msgid "Go to Last Page"
157
+ msgstr "Eiti į Paskutinį Puslapį"
158
+
159
+ #: email-log.php:289
160
+ #: email-log.php:389
161
+ msgid "Last"
162
+ msgstr "Paskutinis"
163
+
164
+ #: email-log.php:296
165
+ #: email-log.php:396
166
+ msgid "Next Page"
167
+ msgstr "Sekantis Puslapis"
168
+
169
+ #: email-log.php:312
170
+ #: email-log.php:347
171
+ msgid "Date / Time"
172
+ msgstr "Data / Laikas"
173
+
174
+ #: email-log.php:313
175
+ #: email-log.php:348
176
+ msgid "To"
177
+ msgstr "Į"
178
+
179
+ #: email-log.php:328
180
+ #, php-format
181
+ msgid "%s @ %s"
182
+ msgstr "%s @ %s"
183
+
184
+ #: email-log.php:340
185
+ msgid "No email Logs Found"
186
+ msgstr "Nerasta jokių elektroninio pašto Žurnalo įrašų"
187
+
188
+ #: email-log.php:416
189
+ msgid "Filter Options:"
190
+ msgstr "Filtravimo Parinktys:"
191
+
192
+ #: email-log.php:418
193
+ msgid "ID:"
194
+ msgstr "Identifikatorius:"
195
+
196
+ #: email-log.php:420
197
+ msgid "To Email:"
198
+ msgstr "Į Elektroninį paštą:"
199
+
200
+ #: email-log.php:422
201
+ msgid "Subject:"
202
+ msgstr "Antraštė:"
203
+
204
+ #: email-log.php:427
205
+ msgid "Sort Options:"
206
+ msgstr "Rikiavimo Parinktys:"
207
+
208
+ #: email-log.php:445
209
+ #: email-log.php:447
210
+ msgid "Per Page"
211
+ msgstr "Puslapyje"
212
+
213
+ #: email-log.php:455
214
+ msgid "Go"
215
+ msgstr "Eiti"
216
+
217
+ #: email-log.php:469
218
+ msgid "Delete Type : "
219
+ msgstr "Ištrinti Tipą:"
220
+
221
+ #: email-log.php:472
222
+ msgid "Based on"
223
+ msgstr "Pagrįsta"
224
+
225
+ #: email-log.php:473
226
+ msgid "All Logs"
227
+ msgstr "Visi Žurnalai"
228
+
229
+ #: email-log.php:478
230
+ msgid "Condition:"
231
+ msgstr "Sąlyga:"
232
+
233
+ #: email-log.php:481
234
+ msgid "or"
235
+ msgstr "arba"
236
+
237
+ #: email-log.php:487
238
+ msgid ""
239
+ "You Are About To Delete Email Logs.\\n"
240
+ "This Action Is Not Reversible.\\n"
241
+ "\\n"
242
+ " Choose \\'Cancel\\' to stop, \\'OK\\' to delete."
243
+ msgstr ""
244
+ "Jūs Mėginate Ištrinti Visus Elektroninio Pašto Žurnalus. \\n"
245
+ "Šio veiksmo padariniai yra neatstatomi. \\n"
246
+ "\\n"
247
+ "Pasirinkite \\'Cancel\\', kad sustabdytumėte procesą, \\'OK\\'. kad tęstumėte trynimą."
248
+
249
+ #. Plugin URI of an extension
250
+ msgid "http://sudarmuthu.com/wordpress/email-log"
251
+ msgstr "http://sudarmuthu.com/wordpress/email-log"
252
+
253
+ #. Description of an extension
254
+ msgid "Logs every email sent through WordPress. Compatiable with WPMU too."
255
+ msgstr "Į žurnalą įrašo kiekvieną per WordPress išsiųstą elektroninį laišką. Taip pat suderinamas su WPMU."
256
+
257
+ #. Author of an extension
258
+ msgid "Sudar"
259
+ msgstr "Sudar"
260
+
261
+ #. Author URI of an extension
262
+ msgid "http://sudarmuthu.com/"
263
+ msgstr "http://sudarmuthu.com/"
264
+
languages/email-log.pot CHANGED
@@ -1,236 +1,262 @@
1
- # SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) YEAR Sudar
3
- # This file is distributed under the same license as the PACKAGE package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
- #
6
- #, fuzzy
7
  msgid ""
8
  msgstr ""
9
- "Project-Id-Version: Email Log 0.1\n"
10
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/email-log\n"
11
- "POT-Creation-Date: 2009-10-08 17:51+0000\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
  "MIME-Version: 1.0\n"
16
- "Content-Type: text/plain; charset=CHARSET\n"
17
  "Content-Transfer-Encoding: 8bit\n"
 
 
 
18
 
19
- #. #-#-#-#-# email-log.pot (Email Log 0.1) #-#-#-#-#
20
- #. Plugin Name of an extension
21
- #: email-log.php:58
22
  msgid "Email Log"
23
  msgstr ""
24
 
25
- #: email-log.php:69
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  msgid "Settings"
27
  msgstr ""
28
 
29
- #: email-log.php:79
30
  msgid "plugin"
31
  msgstr ""
32
 
33
- #: email-log.php:79
34
  msgid "Version"
35
  msgstr ""
36
 
37
- #: email-log.php:79
38
  msgid "by"
39
  msgstr ""
40
 
41
- #: email-log.php:109 email-log.php:463 email-log.php:487
42
  msgid "Delete Logs"
43
  msgstr ""
44
 
45
- #: email-log.php:118
46
- #, php-format
 
 
 
 
 
 
 
47
  msgid "All Email Logs For email id %s Have Been Deleted."
48
  msgstr ""
49
 
50
- #: email-log.php:120
51
- #, php-format
52
- msgid "An Error Has Occured while deleting All Email Logs For email id %s."
53
  msgstr ""
54
 
55
- #: email-log.php:128
56
- #, php-format
57
  msgid "All Email Logs With Subject %s Have Been Deleted."
58
  msgstr ""
59
 
60
- #: email-log.php:130
61
- #, php-format
62
- msgid "An Error Has Occured While Deleting All Email Logs With Subject %s."
63
  msgstr ""
64
 
65
- #: email-log.php:138
66
  msgid "All Email log Has Been Deleted."
67
  msgstr ""
68
 
69
- #: email-log.php:140
70
- msgid "An Error Has Occured While Deleting All Email Logs"
71
  msgstr ""
72
 
73
- #: email-log.php:174 email-log.php:311 email-log.php:346 email-log.php:430
74
  msgid "ID"
75
  msgstr ""
76
 
77
- #: email-log.php:178 email-log.php:431 email-log.php:480
78
  msgid "To Email"
79
  msgstr ""
80
 
81
- #: email-log.php:182 email-log.php:314 email-log.php:349 email-log.php:432
82
- #: email-log.php:482
83
  msgid "Subject"
84
  msgstr ""
85
 
86
- #: email-log.php:187 email-log.php:433
87
  msgid "Date"
88
  msgstr ""
89
 
90
- #: email-log.php:194 email-log.php:437
91
  msgid "Ascending"
92
  msgstr ""
93
 
94
- #: email-log.php:199 email-log.php:438
95
  msgid "Descending"
96
  msgstr ""
97
 
98
- #: email-log.php:248
99
  msgid "Email Log Settings"
100
  msgstr ""
101
 
102
- #: email-log.php:249
103
- #, php-format
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
  msgid ""
105
  "Displaying <strong>%s</strong> to <strong>%s</strong> of <strong>%s</strong> "
106
  "Email log entries."
107
  msgstr ""
108
 
109
- #: email-log.php:250
110
- #, php-format
111
  msgid "Sorted by <strong>%s</strong> in <strong>%s</strong> order."
112
  msgstr ""
113
 
114
- #: email-log.php:261 email-log.php:361
115
  msgid "Previous Page"
116
  msgstr ""
117
 
118
- #: email-log.php:268 email-log.php:368
119
- #, php-format
120
  msgid "Pages (%s): "
121
  msgstr ""
122
 
123
- #: email-log.php:271 email-log.php:371
124
  msgid "Go to First Page"
125
  msgstr ""
126
 
127
- #: email-log.php:271 email-log.php:371
128
  msgid "First"
129
  msgstr ""
130
 
131
- #: email-log.php:274 email-log.php:286 email-log.php:374 email-log.php:386
132
  msgid "Go to Page"
133
  msgstr ""
134
 
135
- #: email-log.php:281 email-log.php:381
136
  msgid "Page"
137
  msgstr ""
138
 
139
- #: email-log.php:289 email-log.php:389
140
  msgid "Go to Last Page"
141
  msgstr ""
142
 
143
- #: email-log.php:289 email-log.php:389
144
  msgid "Last"
145
  msgstr ""
146
 
147
- #: email-log.php:296 email-log.php:396
148
  msgid "Next Page"
149
  msgstr ""
150
 
151
- #: email-log.php:312 email-log.php:347
152
  msgid "Date / Time"
153
  msgstr ""
154
 
155
- #: email-log.php:313 email-log.php:348
156
  msgid "To"
157
  msgstr ""
158
 
159
- #: email-log.php:328
160
- #, php-format
161
  msgid "%s @ %s"
162
  msgstr ""
163
 
164
- #: email-log.php:340
165
  msgid "No email Logs Found"
166
  msgstr ""
167
 
168
- #: email-log.php:416
169
- msgid "Filter Options:"
170
- msgstr ""
171
-
172
- #: email-log.php:418
173
- msgid "ID:"
174
- msgstr ""
175
-
176
- #: email-log.php:420
177
- msgid "To Email:"
178
- msgstr ""
179
-
180
- #: email-log.php:422
181
- msgid "Subject:"
182
- msgstr ""
183
-
184
- #: email-log.php:427
185
- msgid "Sort Options:"
186
- msgstr ""
187
-
188
- #: email-log.php:445 email-log.php:447
189
- msgid "Per Page"
190
- msgstr ""
191
-
192
- #: email-log.php:455
193
- msgid "Go"
194
  msgstr ""
195
 
196
- #: email-log.php:469
197
- msgid "Delete Type : "
198
  msgstr ""
199
 
200
- #: email-log.php:472
201
  msgid "Based on"
202
  msgstr ""
203
 
204
- #: email-log.php:473
205
  msgid "All Logs"
206
  msgstr ""
207
 
208
- #: email-log.php:478
209
  msgid "Condition:"
210
  msgstr ""
211
 
212
- #: email-log.php:481
213
  msgid "or"
214
  msgstr ""
215
 
216
- #: email-log.php:487
217
  msgid ""
218
  "You Are About To Delete Email Logs.\\nThis Action Is Not Reversible.\\n\\n "
219
  "Choose \\'Cancel\\' to stop, \\'OK\\' to delete."
220
  msgstr ""
221
 
222
- #. Plugin URI of an extension
223
  msgid "http://sudarmuthu.com/wordpress/email-log"
224
  msgstr ""
225
 
226
- #. Description of an extension
227
  msgid "Logs every email sent through WordPress. Compatiable with WPMU too."
228
  msgstr ""
229
 
230
- #. Author of an extension
231
  msgid "Sudar"
232
  msgstr ""
233
 
234
- #. Author URI of an extension
235
  msgid "http://sudarmuthu.com/"
236
  msgstr ""
1
+ # Copyright (C) 2012 Email Log
2
+ # This file is distributed under the same license as the Email Log package.
 
 
 
 
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Email Log 0.6\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/email-log\n"
7
+ "POT-Creation-Date: 2012-04-29 17:11:23+00:00\n"
 
 
 
8
  "MIME-Version: 1.0\n"
9
+ "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n"
12
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
+ "Language-Team: LANGUAGE <LL@li.org>\n"
14
 
15
+ #. #-#-#-#-# plugin.pot (Email Log 0.6) #-#-#-#-#
16
+ #. Plugin Name of the plugin/theme
17
+ #: email-log.php:85
18
  msgid "Email Log"
19
  msgstr ""
20
 
21
+ #: email-log.php:106
22
+ msgid "About Plugin"
23
+ msgstr ""
24
+
25
+ #: email-log.php:108
26
+ msgid ""
27
+ "Email Log WordPress Plugin, allows you to log all emails that are sent "
28
+ "through WordPress."
29
+ msgstr ""
30
+
31
+ #: email-log.php:115
32
+ msgid "More information"
33
+ msgstr ""
34
+
35
+ #: email-log.php:116
36
+ msgid "Plugin Homepage/support"
37
+ msgstr ""
38
+
39
+ #: email-log.php:117
40
+ msgid "Plugin author's blog"
41
+ msgstr ""
42
+
43
+ #: email-log.php:118
44
+ msgid "Other Plugin's by Author"
45
+ msgstr ""
46
+
47
+ #: email-log.php:125
48
+ msgid "Entries per page"
49
+ msgstr ""
50
+
51
+ #: email-log.php:163
52
  msgid "Settings"
53
  msgstr ""
54
 
55
+ #: email-log.php:173
56
  msgid "plugin"
57
  msgstr ""
58
 
59
+ #: email-log.php:173
60
  msgid "Version"
61
  msgstr ""
62
 
63
+ #: email-log.php:173
64
  msgid "by"
65
  msgstr ""
66
 
67
+ #: email-log.php:203 email-log.php:555 email-log.php:578
68
  msgid "Delete Logs"
69
  msgstr ""
70
 
71
+ #: email-log.php:212
72
+ msgid "The selected Email Logs have been deleted."
73
+ msgstr ""
74
+
75
+ #: email-log.php:214
76
+ msgid "An error has occurred while deleting the selected Email logs"
77
+ msgstr ""
78
+
79
+ #: email-log.php:223
80
  msgid "All Email Logs For email id %s Have Been Deleted."
81
  msgstr ""
82
 
83
+ #: email-log.php:225
84
+ msgid "An error has occurred while deleting All Email Logs For email id %s."
 
85
  msgstr ""
86
 
87
+ #: email-log.php:233
 
88
  msgid "All Email Logs With Subject %s Have Been Deleted."
89
  msgstr ""
90
 
91
+ #: email-log.php:235
92
+ msgid "An Error Has Occurred While Deleting All Email Logs With Subject %s."
 
93
  msgstr ""
94
 
95
+ #: email-log.php:243
96
  msgid "All Email log Has Been Deleted."
97
  msgstr ""
98
 
99
+ #: email-log.php:245
100
+ msgid "An Error Has Occurred While Deleting All Email Logs"
101
  msgstr ""
102
 
103
+ #: email-log.php:275 email-log.php:370 email-log.php:452 email-log.php:489
104
  msgid "ID"
105
  msgstr ""
106
 
107
+ #: email-log.php:279 email-log.php:371 email-log.php:571
108
  msgid "To Email"
109
  msgstr ""
110
 
111
+ #: email-log.php:283 email-log.php:372 email-log.php:455 email-log.php:492
112
+ #: email-log.php:573
113
  msgid "Subject"
114
  msgstr ""
115
 
116
+ #: email-log.php:288 email-log.php:373
117
  msgid "Date"
118
  msgstr ""
119
 
120
+ #: email-log.php:295 email-log.php:377
121
  msgid "Ascending"
122
  msgstr ""
123
 
124
+ #: email-log.php:300 email-log.php:378
125
  msgid "Descending"
126
  msgstr ""
127
 
128
+ #: email-log.php:348
129
  msgid "Email Log Settings"
130
  msgstr ""
131
 
132
+ #: email-log.php:356
133
+ msgid "Filter Options:"
134
+ msgstr ""
135
+
136
+ #: email-log.php:358
137
+ msgid "ID:"
138
+ msgstr ""
139
+
140
+ #: email-log.php:360
141
+ msgid "To Email:"
142
+ msgstr ""
143
+
144
+ #: email-log.php:362
145
+ msgid "Subject:"
146
+ msgstr ""
147
+
148
+ #: email-log.php:367
149
+ msgid "Sort Options:"
150
+ msgstr ""
151
+
152
+ #: email-log.php:383
153
+ msgid "Filter"
154
+ msgstr ""
155
+
156
+ #: email-log.php:388
157
  msgid ""
158
  "Displaying <strong>%s</strong> to <strong>%s</strong> of <strong>%s</strong> "
159
  "Email log entries."
160
  msgstr ""
161
 
162
+ #: email-log.php:389
 
163
  msgid "Sorted by <strong>%s</strong> in <strong>%s</strong> order."
164
  msgstr ""
165
 
166
+ #: email-log.php:401 email-log.php:504
167
  msgid "Previous Page"
168
  msgstr ""
169
 
170
+ #: email-log.php:408 email-log.php:511
 
171
  msgid "Pages (%s): "
172
  msgstr ""
173
 
174
+ #: email-log.php:411 email-log.php:514
175
  msgid "Go to First Page"
176
  msgstr ""
177
 
178
+ #: email-log.php:411 email-log.php:514
179
  msgid "First"
180
  msgstr ""
181
 
182
+ #: email-log.php:414 email-log.php:426 email-log.php:517 email-log.php:529
183
  msgid "Go to Page"
184
  msgstr ""
185
 
186
+ #: email-log.php:421 email-log.php:524
187
  msgid "Page"
188
  msgstr ""
189
 
190
+ #: email-log.php:429 email-log.php:532
191
  msgid "Go to Last Page"
192
  msgstr ""
193
 
194
+ #: email-log.php:429 email-log.php:532
195
  msgid "Last"
196
  msgstr ""
197
 
198
+ #: email-log.php:436 email-log.php:539
199
  msgid "Next Page"
200
  msgstr ""
201
 
202
+ #: email-log.php:453 email-log.php:490
203
  msgid "Date / Time"
204
  msgstr ""
205
 
206
+ #: email-log.php:454 email-log.php:491
207
  msgid "To"
208
  msgstr ""
209
 
210
+ #: email-log.php:469
 
211
  msgid "%s @ %s"
212
  msgstr ""
213
 
214
+ #: email-log.php:482
215
  msgid "No email Logs Found"
216
  msgstr ""
217
 
218
+ #: email-log.php:559
219
+ msgid "Delete Type : "
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
220
  msgstr ""
221
 
222
+ #: email-log.php:562
223
+ msgid "Selected entries"
224
  msgstr ""
225
 
226
+ #: email-log.php:563
227
  msgid "Based on"
228
  msgstr ""
229
 
230
+ #: email-log.php:564
231
  msgid "All Logs"
232
  msgstr ""
233
 
234
+ #: email-log.php:569
235
  msgid "Condition:"
236
  msgstr ""
237
 
238
+ #: email-log.php:572
239
  msgid "or"
240
  msgstr ""
241
 
242
+ #: email-log.php:578
243
  msgid ""
244
  "You Are About To Delete Email Logs.\\nThis Action Is Not Reversible.\\n\\n "
245
  "Choose \\'Cancel\\' to stop, \\'OK\\' to delete."
246
  msgstr ""
247
 
248
+ #. Plugin URI of the plugin/theme
249
  msgid "http://sudarmuthu.com/wordpress/email-log"
250
  msgstr ""
251
 
252
+ #. Description of the plugin/theme
253
  msgid "Logs every email sent through WordPress. Compatiable with WPMU too."
254
  msgstr ""
255
 
256
+ #. Author of the plugin/theme
257
  msgid "Sudar"
258
  msgstr ""
259
 
260
+ #. Author URI of the plugin/theme
261
  msgid "http://sudarmuthu.com/"
262
  msgstr ""
readme.txt CHANGED
@@ -2,14 +2,14 @@
2
  Contributors: sudar
3
  Tags: email, wpmu, wordpress-mu, log
4
  Requires at least: 2.8
5
- Tested up to: 3.3
6
- Stable tag: 0.5
7
 
8
- Logs every email sent through WordPress. Compatiable with WPMU too.
9
 
10
  == Description ==
11
 
12
- Logs every email sent through WordPress. Compatiable with WPMU too.
13
 
14
  #### Viewing logged emails
15
 
@@ -28,6 +28,7 @@ As [recommended by Ozh][1], the Plugin has uninstall hook which will clean up th
28
  ### Translation
29
 
30
  * German (Thanks Frank)
 
31
 
32
  The pot file is available with the Plugin. If you are willing to do translation for the Plugin, use the pot file to create the .po files for your language and let me know. I will add it to the Plugin after giving credit to you.
33
 
@@ -50,6 +51,7 @@ I would be posting updates about this Plugin in my [blog][3] and in [Twitter][2]
50
  [3]: http://sudarmuthu.com/blog
51
  [4]: http://sudarmuthu.com/feed
52
  [5]: http://sudarmuthu.com/wordpress
 
53
 
54
  == Installation ==
55
 
@@ -60,10 +62,11 @@ Extract the zip file and just drop the contents in the wp-content/plugins/ direc
60
  #### WordPress MU installations
61
 
62
  Extract the zip file and drop the contents in the wp-content/plugins/ directory or mu-plugins directory of your WordPress MU installation and then activate the Plugin from the main blog's Plugins page.
 
63
  == Screenshots ==
64
  1. The following screenshot shows how the logged emails will be displayed
65
 
66
- 2.�This screenshot shows how the email logs could be filtered or sorted.
67
 
68
  3. This one shows how the email logs could be deleted
69
 
@@ -75,20 +78,26 @@ Extract the zip file and drop the contents in the wp-content/plugins/ directory
75
 
76
  ###v0.2 (2009-10-15)
77
 
78
- * Added compatability for MySQL 4
79
 
80
  ###v0.3 (2009-10-19)
81
 
82
- * Added compatability for MySQL 4 (Thanks Frank)
83
 
84
  ###v0.4 (2010-01-02)
85
 
86
- * Added german translation (Thanks Frank)
87
 
88
  ###v0.5 (2012-01-01)
89
 
90
  * Fixed a deprecation notice
91
 
 
 
 
 
 
 
92
  ==Readme Generator==
93
 
94
- This Readme file was generated using <a href = 'http://sudarmuthu.com/wordpress/wp-readme'>wp-readme</a>, which generates readme files for WordPress Plugins.
2
  Contributors: sudar
3
  Tags: email, wpmu, wordpress-mu, log
4
  Requires at least: 2.8
5
+ Tested up to: 3.3.2
6
+ Stable tag: 0.6
7
 
8
+ Logs every email sent through WordPress. Compatible with WPMU too.
9
 
10
  == Description ==
11
 
12
+ Logs every email sent through WordPress. Compatible with WPMU too.
13
 
14
  #### Viewing logged emails
15
 
28
  ### Translation
29
 
30
  * German (Thanks Frank)
31
+ * Lithuanian (Thanks Vincent G , from [http://www.host1free.com][6])
32
 
33
  The pot file is available with the Plugin. If you are willing to do translation for the Plugin, use the pot file to create the .po files for your language and let me know. I will add it to the Plugin after giving credit to you.
34
 
51
  [3]: http://sudarmuthu.com/blog
52
  [4]: http://sudarmuthu.com/feed
53
  [5]: http://sudarmuthu.com/wordpress
54
+ [6]: http://www.host1free.com
55
 
56
  == Installation ==
57
 
62
  #### WordPress MU installations
63
 
64
  Extract the zip file and drop the contents in the wp-content/plugins/ directory or mu-plugins directory of your WordPress MU installation and then activate the Plugin from the main blog's Plugins page.
65
+
66
  == Screenshots ==
67
  1. The following screenshot shows how the logged emails will be displayed
68
 
69
+ 2. This screenshot shows how the email logs could be filtered or sorted.
70
 
71
  3. This one shows how the email logs could be deleted
72
 
78
 
79
  ###v0.2 (2009-10-15)
80
 
81
+ * Added compatibility for MySQL 4
82
 
83
  ###v0.3 (2009-10-19)
84
 
85
+ * Added compatibility for MySQL 4 (Thanks Frank)
86
 
87
  ###v0.4 (2010-01-02)
88
 
89
+ * Added German translation (Thanks Frank)
90
 
91
  ###v0.5 (2012-01-01)
92
 
93
  * Fixed a deprecation notice
94
 
95
+ ###v0.6 (2012-04-29) (Dev time: 2 hours)
96
+ * Added option to delete individual email logs
97
+ * Moved pages per screen option to Screen options panel
98
+ * Added information to the screen help tab
99
+ * Added Lithuanian translations
100
+
101
  ==Readme Generator==
102
 
103
+ This Readme file was generated using <a href = 'http://sudarmuthu.com/wordpress/wp-readme'>wp-readme</a>, which generates readme files for WordPress Plugins.