Activity Log - Version 2.0

Version Description

  • Added Screen Options
  • New! Ability to select a number of activity items per page
  • New! Columns are now sortable
  • Added filter by date - All Time, Today, Yesterday, Week, Month
  • Added Avatar to author
  • Added role for author
  • Added log for activeted theme
  • Re-order Culomns
  • Compatible up to 3.8.1
  • Settings page is now accessible directly from Activity Log's menu
  • Keep your log for any time your wants
  • Delete Log Activities from Database.
  • Bugs fixed
Download this release

Release Info

Developer KingYes
Plugin Icon 128x128 Activity Log
Version 2.0
Comparing to
See all releases

Code changes from version 1.0.8 to 2.0

aryo-activity-log.php CHANGED
@@ -2,10 +2,12 @@
2
  /*
3
  Plugin Name: ARYO Activity Log
4
  Plugin URI: http://wordpress.org/plugins/aryo-activity-log/
5
- Description: Get aware of the activities that are taking place on your dashboard! Weather a post was deleted or a plugin was activated, it’s all these for you to see.
6
  Author: Yakir Sitbon, Maor Chasen, Ariel Klikstein
7
- Version: 1.0.8
8
  Author URI: http://www.aryodigital.com
 
 
 
9
  License: GPLv2 or later
10
 
11
 
@@ -30,8 +32,8 @@ define( 'ACTIVITY_LOG_BASE', plugin_basename( __FILE__ ) );
30
 
31
  include( 'classes/class-aal-maintenance.php' );
32
  include( 'classes/class-aal-activity-log-list-table.php' );
33
- include( 'classes/class-aal-settings.php' );
34
  include( 'classes/class-aal-admin-ui.php' );
 
35
  include( 'classes/class-aal-api.php' );
36
  include( 'classes/class-aal-hooks.php' );
37
 
@@ -63,9 +65,9 @@ class AAL_Main {
63
  public function __construct() {
64
  global $wpdb;
65
 
66
- $this->ui = new AAL_Admin_Ui();
67
- $this->hooks = new AAL_Hooks();
68
- $this->settings = new AAL_Settings();
69
 
70
  // set up our DB name
71
  $wpdb->activity_log = $wpdb->prefix . 'aryo_activity_log';
2
  /*
3
  Plugin Name: ARYO Activity Log
4
  Plugin URI: http://wordpress.org/plugins/aryo-activity-log/
5
+ Description: Get aware of any activities that are taking place on your dashboard! Imagine it like a black-box for your WordPress site. e.g. post was deleted, plugin was activated, user logged in or logged out - it’s all these for you to see.
6
  Author: Yakir Sitbon, Maor Chasen, Ariel Klikstein
 
7
  Author URI: http://www.aryodigital.com
8
+ Version: 2.0
9
+ Text Domain: aryo-aal
10
+ Domain Path: /languages/
11
  License: GPLv2 or later
12
 
13
 
32
 
33
  include( 'classes/class-aal-maintenance.php' );
34
  include( 'classes/class-aal-activity-log-list-table.php' );
 
35
  include( 'classes/class-aal-admin-ui.php' );
36
+ include( 'classes/class-aal-settings.php' );
37
  include( 'classes/class-aal-api.php' );
38
  include( 'classes/class-aal-hooks.php' );
39
 
65
  public function __construct() {
66
  global $wpdb;
67
 
68
+ $this->ui = new AAL_Admin_Ui();
69
+ $this->hooks = new AAL_Hooks();
70
+ $this->settings = new AAL_Settings();
71
 
72
  // set up our DB name
73
  $wpdb->activity_log = $wpdb->prefix . 'aryo_activity_log';
classes/class-aal-activity-log-list-table.php CHANGED
@@ -57,8 +57,13 @@ class AAL_Activity_Log_List_Table extends WP_List_Table {
57
 
58
  return 'AND (' . implode( ' OR ', $where ) . ') AND (' . implode( ' OR ', $where_caps ) . ')';
59
  }
60
-
61
- public function __construct() {
 
 
 
 
 
62
  $this->_roles = apply_filters( 'aal_init_roles', array(
63
  // admin
64
  'manage_options' => array( 'Post', 'Taxonomy', 'User', 'Options', 'Attachment', 'Plugin', 'Widget', 'Theme', 'Menu' ),
@@ -72,32 +77,50 @@ class AAL_Activity_Log_List_Table extends WP_List_Table {
72
  'author' => array( 'author', 'guest' ),
73
  );
74
 
75
- parent::__construct( array(
76
- 'singular' => 'activity',
 
 
77
  ) );
 
 
 
78
  }
79
 
80
  public function get_columns() {
81
  $columns = array(
82
- 'type' => __( 'Type', 'aryo-aal' ),
83
- 'name' => __( 'Name', 'aryo-aal' ),
84
- 'action' => __( 'Action', 'aryo-aal' ),
85
- 'date' => __( 'Date', 'aryo-aal' ),
 
 
 
86
  );
87
 
88
  return $columns;
89
  }
 
 
 
 
 
 
90
 
91
  public function column_default( $item, $column_name ) {
92
  $return = '';
93
 
94
  switch ( $column_name ) {
95
  case 'action' :
96
- $return = __( $item->action, 'aryo-aal' );
97
  break;
98
  case 'date' :
99
  $return = sprintf( '<strong>' . __( '%s ago', 'aryo-aal' ) . '</strong>', human_time_diff( $item->hist_time, current_time( 'timestamp' ) ) );
100
- $return .= '<br />' . date( 'd/m/Y H:i', $item->hist_time );
 
 
 
 
101
  break;
102
  default :
103
  if ( isset( $item->$column_name ) )
@@ -106,47 +129,73 @@ class AAL_Activity_Log_List_Table extends WP_List_Table {
106
 
107
  return $return;
108
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
 
110
  public function column_type( $item ) {
111
  $return = __( $item->object_type, 'aryo-aal' );
112
-
 
 
 
 
113
  if ( ! empty( $item->object_subtype ) ) {
114
  $pt = get_post_type_object( $item->object_subtype );
115
- $label = ! empty( $pt->label ) ? $pt->label : $item->object_subtype;
116
- $return .= sprintf( '<span class="aal-pt" title="%s">%s</span>', $label, $item->object_subtype );
117
  }
118
-
119
- $user = false;
120
- $return .= '<br />' . __( 'by ', 'aryo-aal' );
121
- if ( ! empty( $item->user_id ) )
122
- $user = get_user_by( 'id', $item->user_id );
123
-
124
- if ( $user )
125
- $return .= '<a href="user-edit.php?user_id=' . absint( $user->ID ) . '">' . esc_html( $user->user_login ) . '</a>';
126
- else
127
- $return .= __( 'Guest', 'aryo-aal' );
128
-
129
- $return .= ' (<code>' . $item->hist_ip . '</code>)';
130
-
131
  return $return;
132
  }
133
 
134
- public function column_name( $item ) {
135
  $return = $item->object_name;
136
 
137
  switch ( $item->object_type ) {
138
  case 'Post' :
139
- $return = '<a href="post.php?post=' . $item->object_id . '&action=edit">' . $item->object_name . '</a>';
140
  break;
141
 
142
  case 'Taxonomy' :
143
  if ( ! empty( $item->object_id ) )
144
- $return = sprintf( '<a href="edit-tags.php?action=edit&taxonomy=%s&tag_ID=%d">%s</a>', $item->object_subtype, $item->object_id, $item->object_name );
145
  break;
146
  }
147
 
148
  return $return;
149
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
150
 
151
  public function extra_tablenav( $which ) {
152
  global $wpdb;
@@ -216,8 +265,25 @@ class AAL_Activity_Log_List_Table extends WP_List_Table {
216
  echo '</select>';
217
  }
218
 
219
- if ( $users || $types )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
220
  submit_button( __( 'Filter', 'aryo-aal' ), 'button', false, false, array( 'id' => 'activity-query-submit' ) );
 
221
 
222
  echo '</div>';
223
  }
@@ -225,10 +291,16 @@ class AAL_Activity_Log_List_Table extends WP_List_Table {
225
  public function prepare_items() {
226
  global $wpdb;
227
 
228
- /** @todo: add setting page with this value. */
229
- $items_per_page = 20;
230
- $this->_column_headers = array( $this->get_columns(), array(), $this->get_sortable_columns() );
231
  $where = ' WHERE 1=1';
 
 
 
 
 
 
 
232
 
233
  if ( ! empty( $_REQUEST['typeshow'] ) ) {
234
  $where .= $wpdb->prepare( ' AND `object_type` = \'%s\'', $_REQUEST['typeshow'] );
@@ -238,6 +310,25 @@ class AAL_Activity_Log_List_Table extends WP_List_Table {
238
  $where .= $wpdb->prepare( ' AND `user_id` = %d', $_REQUEST['usershow'] );
239
  }
240
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
241
  $offset = ( $this->get_pagenum() - 1 ) * $items_per_page;
242
 
243
  $total_items = $wpdb->get_var( $wpdb->prepare(
@@ -253,9 +344,11 @@ class AAL_Activity_Log_List_Table extends WP_List_Table {
253
  'SELECT * FROM `%1$s`
254
  ' . $where . '
255
  ' . $this->_get_where_by_role() . '
256
- ORDER BY `hist_time` DESC
257
- LIMIT %2$d, %3$d;',
258
  $wpdb->activity_log,
 
 
259
  $offset,
260
  $items_per_page
261
  ) );
@@ -267,4 +360,10 @@ class AAL_Activity_Log_List_Table extends WP_List_Table {
267
  ) );
268
  }
269
 
 
 
 
 
 
 
270
  }
57
 
58
  return 'AND (' . implode( ' OR ', $where ) . ') AND (' . implode( ' OR ', $where_caps ) . ')';
59
  }
60
+
61
+ public function __construct( $args = array() ) {
62
+ parent::__construct( array(
63
+ 'singular' => 'activity',
64
+ 'screen' => isset( $args['screen'] ) ? $args['screen'] : null,
65
+ ) );
66
+
67
  $this->_roles = apply_filters( 'aal_init_roles', array(
68
  // admin
69
  'manage_options' => array( 'Post', 'Taxonomy', 'User', 'Options', 'Attachment', 'Plugin', 'Widget', 'Theme', 'Menu' ),
77
  'author' => array( 'author', 'guest' ),
78
  );
79
 
80
+ add_screen_option( 'per_page', array(
81
+ 'default' => 20,
82
+ 'label' => __( 'Items', 'aryo-aal' ),
83
+ 'option' => 'edit_aal_logs_per_page',
84
  ) );
85
+
86
+ add_filter( 'set-screen-option', array( &$this, 'set_screen_option' ), 10, 3 );
87
+ set_screen_options();
88
  }
89
 
90
  public function get_columns() {
91
  $columns = array(
92
+ 'date' => __( 'Date', 'aryo-aal' ),
93
+ 'author' => __( 'Author', 'aryo-aal' ),
94
+ 'ip' => __( 'IP', 'aryo-aal' ),
95
+ 'type' => __( 'Type', 'aryo-aal' ),
96
+ 'label' => __( 'Label', 'aryo-aal' ),
97
+ 'action' => __( 'Action', 'aryo-aal' ),
98
+ 'description' => __( 'Description', 'aryo-aal' ),
99
  );
100
 
101
  return $columns;
102
  }
103
+
104
+ public function get_sortable_columns() {
105
+ return array(
106
+ 'date' => array( 'hist_time', true ),
107
+ );
108
+ }
109
 
110
  public function column_default( $item, $column_name ) {
111
  $return = '';
112
 
113
  switch ( $column_name ) {
114
  case 'action' :
115
+ $return = ucwords( str_replace( '_', ' ', __( $item->action, 'aryo-aal' ) ) );
116
  break;
117
  case 'date' :
118
  $return = sprintf( '<strong>' . __( '%s ago', 'aryo-aal' ) . '</strong>', human_time_diff( $item->hist_time, current_time( 'timestamp' ) ) );
119
+ $return .= '<br />' . date( 'd/m/Y', $item->hist_time );
120
+ $return .= '<br />' . date( 'H:i', $item->hist_time );
121
+ break;
122
+ case 'ip' :
123
+ $return = $item->hist_ip;
124
  break;
125
  default :
126
  if ( isset( $item->$column_name ) )
129
 
130
  return $return;
131
  }
132
+
133
+ public function column_author( $item ) {
134
+ global $wp_roles;
135
+
136
+ if ( ! empty( $item->user_id ) && 0 !== (int) $item->user_id ) {
137
+ $user = get_user_by( 'id', $item->user_id );
138
+ if ( $user instanceof WP_User && 0 !== $user->ID ) {
139
+ //$user->display_name
140
+ return sprintf(
141
+ '<a href="%s">%s <span class="aal-author-name">%s</span></a><br /><small>%s</small>',
142
+ get_edit_user_link( $user->ID ),
143
+ get_avatar( $user->ID, 40 ),
144
+ $user->display_name,
145
+ isset( $user->roles[0] ) && isset( $wp_roles->role_names[ $user->roles[0] ] ) ? $wp_roles->role_names[ $user->roles[0] ] : __( 'Unknown', 'aryo-aal' )
146
+ );
147
+ }
148
+ }
149
+ return sprintf(
150
+ '<span class="aal-author-name">%s</span>',
151
+ __( 'Guest', 'aryo-aal' )
152
+ );
153
+ }
154
 
155
  public function column_type( $item ) {
156
  $return = __( $item->object_type, 'aryo-aal' );
157
+ return $return;
158
+ }
159
+
160
+ public function column_label( $item ) {
161
+ $return = '';
162
  if ( ! empty( $item->object_subtype ) ) {
163
  $pt = get_post_type_object( $item->object_subtype );
164
+ $return = ! empty( $pt->label ) ? $pt->label : $item->object_subtype;
 
165
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
166
  return $return;
167
  }
168
 
169
+ public function column_description( $item ) {
170
  $return = $item->object_name;
171
 
172
  switch ( $item->object_type ) {
173
  case 'Post' :
174
+ $return = sprintf( '<a href="%s">%s</a>', get_edit_post_link( $item->object_id ), $item->object_name );
175
  break;
176
 
177
  case 'Taxonomy' :
178
  if ( ! empty( $item->object_id ) )
179
+ $return = sprintf( '<a href="%s">%s</a>', get_edit_term_link( $item->object_id, $item->object_subtype ), $item->object_name );
180
  break;
181
  }
182
 
183
  return $return;
184
  }
185
+
186
+ public function display_tablenav( $which ) {
187
+ if ( 'top' == $which )
188
+ wp_nonce_field( 'bulk-' . $this->_args['plural'] );
189
+ ?>
190
+ <div class="tablenav <?php echo esc_attr( $which ); ?>">
191
+ <?php
192
+ $this->extra_tablenav( $which );
193
+ $this->pagination( $which );
194
+ ?>
195
+ <br class="clear" />
196
+ </div>
197
+ <?php
198
+ }
199
 
200
  public function extra_tablenav( $which ) {
201
  global $wpdb;
265
  echo '</select>';
266
  }
267
 
268
+ // Make sure we get items for filter.
269
+ if ( $users || $types ) {
270
+ if ( ! isset( $_REQUEST['dateshow'] ) )
271
+ $_REQUEST['dateshow'] = '';
272
+
273
+ $date_options = array(
274
+ '' => __( 'All Time', 'aryo-aal' ),
275
+ 'today' => __( 'Today', 'aryo-aal' ),
276
+ 'yesterday' => __( 'Yesterday', 'aryo-aal' ),
277
+ 'week' => __( 'Week', 'aryo-aal' ),
278
+ 'month' => __( 'Month', 'aryo-aal' ),
279
+ );
280
+ echo '<select name="dateshow" id="hs-filter-date">';
281
+ foreach ( $date_options as $key => $value )
282
+ printf( '<option value="%1$s"%2$s>%3$s</option>', $key, selected( $_REQUEST['dateshow'], $key, false ), $value );
283
+ echo '</select>';
284
+
285
  submit_button( __( 'Filter', 'aryo-aal' ), 'button', false, false, array( 'id' => 'activity-query-submit' ) );
286
+ }
287
 
288
  echo '</div>';
289
  }
291
  public function prepare_items() {
292
  global $wpdb;
293
 
294
+ $items_per_page = $this->get_items_per_page( 'edit_aal_logs_per_page', 20 );
295
+ $this->_column_headers = array( $this->get_columns(), get_hidden_columns( $this->screen ), $this->get_sortable_columns() );
 
296
  $where = ' WHERE 1=1';
297
+
298
+ if ( ! isset( $_REQUEST['order'] ) || ! in_array( $_REQUEST['order'], array( 'desc', 'asc' ) ) ) {
299
+ $_REQUEST['order'] = 'DESC';
300
+ }
301
+ if ( ! isset( $_REQUEST['orderby'] ) || ! in_array( $_REQUEST['orderby'], array( 'hist_time' ) ) ) {
302
+ $_REQUEST['orderby'] = 'hist_time';
303
+ }
304
 
305
  if ( ! empty( $_REQUEST['typeshow'] ) ) {
306
  $where .= $wpdb->prepare( ' AND `object_type` = \'%s\'', $_REQUEST['typeshow'] );
310
  $where .= $wpdb->prepare( ' AND `user_id` = %d', $_REQUEST['usershow'] );
311
  }
312
 
313
+ if ( isset( $_REQUEST['dateshow'] ) && in_array( $_REQUEST['dateshow'], array( 'today', 'yesterday', 'week', 'month' ) ) ) {
314
+ $current_time = current_time( 'timestamp' );
315
+
316
+ // Today
317
+ $start_time = mktime( 0, 0, 0, date( 'm', $current_time ), date( 'd', $current_time ), date( 'Y', $current_time ) );;
318
+ $end_time = mktime( 23, 59, 59, date( 'm', $current_time ), date( 'd', $current_time ), date( 'Y', $current_time ) );
319
+
320
+ if ( 'yesterday' === $_REQUEST['dateshow'] ) {
321
+ $start_time = strtotime( 'yesterday', $start_time );
322
+ $end_time = mktime( 23, 59, 59, date( 'm', $start_time ), date( 'd', $start_time ), date( 'Y', $start_time ) );
323
+ } elseif ( 'week' === $_REQUEST['dateshow'] ) {
324
+ $start_time = strtotime( '-1 week', $start_time );
325
+ } elseif ( 'month' === $_REQUEST['dateshow'] ) {
326
+ $start_time = strtotime( '-1 month', $start_time );
327
+ }
328
+
329
+ $where .= $wpdb->prepare( ' AND `hist_time` > %1$d AND `hist_time` < %2$d', $start_time, $end_time );
330
+ }
331
+
332
  $offset = ( $this->get_pagenum() - 1 ) * $items_per_page;
333
 
334
  $total_items = $wpdb->get_var( $wpdb->prepare(
344
  'SELECT * FROM `%1$s`
345
  ' . $where . '
346
  ' . $this->_get_where_by_role() . '
347
+ ORDER BY `%2$s` %3$s
348
+ LIMIT %4$d, %5$d;',
349
  $wpdb->activity_log,
350
+ $_REQUEST['orderby'],
351
+ $_REQUEST['order'],
352
  $offset,
353
  $items_per_page
354
  ) );
360
  ) );
361
  }
362
 
363
+ public function set_screen_option( $status, $option, $value ) {
364
+ if ( 'edit_aal_logs_per_page' === $option )
365
+ return $value;
366
+ return $status;
367
+ }
368
+
369
  }
classes/class-aal-admin-ui.php CHANGED
@@ -1,45 +1,101 @@
1
- <?php
2
-
3
- if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
4
-
5
- class AAL_Admin_Ui {
6
-
7
- public function create_admin_menu() {
8
- $menu_capability = current_user_can( 'view_all_aryo_activity_log' ) ? 'view_all_aryo_activity_log' : 'edit_pages';
9
- add_dashboard_page( __( 'Activity Log', 'aryo-aal' ), __( 'Activity Log', 'aryo-aal' ), $menu_capability, 'activity_log_page', array( &$this, 'activity_log_page_func' ) );
10
- }
11
-
12
- public function activity_log_page_func() {
13
- $activity_table = new AAL_Activity_Log_List_Table();
14
- $activity_table->prepare_items();
15
-
16
- ?>
17
- <div class="wrap">
18
- <?php screen_icon(); ?>
19
- <h2><?php _e( 'Activity Log', 'aryo-aal' ); ?></h2>
20
-
21
- <form id="activity-filter" method="get">
22
- <input type="hidden" name="page" value="<?php echo $_REQUEST['page'] ?>" />
23
- <?php $activity_table->display(); ?>
24
- </form>
25
- </div>
26
-
27
- <?php // TODO: move to a separate file. ?>
28
- <style>
29
- .aal-pt {
30
- color: white;
31
- padding: 1px 4px;
32
- margin: 0 5px;
33
- font-size: 1em;
34
- border-radius: 3px;
35
- background: gray;
36
- font-family: inherit;
37
- }
38
- </style>
39
- <?php
40
- }
41
-
42
- public function __construct() {
43
- add_action( 'admin_menu', array( &$this, 'create_admin_menu' ) );
44
- }
45
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
4
+
5
+ class AAL_Admin_Ui {
6
+
7
+ /**
8
+ * @var AAL_Activity_Log_List_Table
9
+ */
10
+ protected $_list_table = null;
11
+
12
+ protected $_screens = array();
13
+
14
+ public function create_admin_menu() {
15
+ $menu_capability = current_user_can( 'view_all_aryo_activity_log' ) ? 'view_all_aryo_activity_log' : 'edit_pages';
16
+
17
+ $this->_screens['main'] = add_menu_page( __( 'Activity Log', 'aryo-aal' ), __( 'Activity Log', 'aryo-aal' ), $menu_capability, 'activity_log_page', array( &$this, 'activity_log_page_func' ), '', '2.1' );
18
+
19
+ // Just make sure we are create instance.
20
+ add_action( 'load-' . $this->_screens['main'], array( &$this, 'get_list_table' ) );
21
+ }
22
+
23
+ public function activity_log_page_func() {
24
+ $this->get_list_table()->prepare_items();
25
+ ?>
26
+ <div class="wrap">
27
+ <h2><?php _e( 'Activity Log', 'aryo-aal' ); ?></h2>
28
+
29
+ <form id="activity-filter" method="get">
30
+ <input type="hidden" name="page" value="<?php echo $_REQUEST['page'] ?>" />
31
+ <?php $this->get_list_table()->display(); ?>
32
+ </form>
33
+ </div>
34
+
35
+ <?php // TODO: move to a separate file. ?>
36
+ <style>
37
+ .aal-pt {
38
+ color: #ffffff;
39
+ padding: 1px 4px;
40
+ margin: 0 5px;
41
+ font-size: 1em;
42
+ border-radius: 3px;
43
+ background: #808080;
44
+ font-family: inherit;
45
+ }
46
+ .toplevel_page_activity_log_page .manage-column {
47
+ width: auto;
48
+ }
49
+ .toplevel_page_activity_log_page .column-description {
50
+ width: 20%;
51
+ }
52
+ #adminmenu #toplevel_page_activity_log_page div.wp-menu-image:before {
53
+ content: "\f321";
54
+ }
55
+ @media (max-width: 767px) {
56
+ .toplevel_page_activity_log_page .manage-column {
57
+ width: auto;
58
+ }
59
+ .toplevel_page_activity_log_page .column-date,
60
+ .toplevel_page_activity_log_page .column-author {
61
+ display: table-cell;
62
+ width: auto;
63
+ }
64
+ .toplevel_page_activity_log_page .column-ip,
65
+ .toplevel_page_activity_log_page .column-description,
66
+ .toplevel_page_activity_log_page .column-label {
67
+ display: none;
68
+ }
69
+ .toplevel_page_activity_log_page .column-author .avatar {
70
+ display: none;
71
+ }
72
+ }
73
+ </style>
74
+ <?php
75
+ }
76
+
77
+ public function admin_header() {
78
+ // TODO: move to a separate file.
79
+ ?><style>
80
+ #adminmenu #toplevel_page_activity_log_page div.wp-menu-image:before {
81
+ content: "\f321";
82
+ }
83
+ </style>
84
+ <?php
85
+ }
86
+
87
+ public function __construct() {
88
+ add_action( 'admin_menu', array( &$this, 'create_admin_menu' ), 20 );
89
+ add_action( 'admin_head', array( &$this, 'admin_header' ) );
90
+ }
91
+
92
+ /**
93
+ * @return AAL_Activity_Log_List_Table
94
+ */
95
+ public function get_list_table() {
96
+ if ( is_null( $this->_list_table ) )
97
+ $this->_list_table = new AAL_Activity_Log_List_Table( array( 'screen' => $this->_screens['main'] ) );
98
+
99
+ return $this->_list_table;
100
+ }
101
+ }
classes/class-aal-api.php CHANGED
@@ -4,7 +4,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
4
 
5
  class AAL_API {
6
 
7
- protected function _delete_old_items() {
8
  global $wpdb;
9
 
10
  $logs_lifespan = absint( AAL_Settings::get_option( 'logs_lifespan' ) );
@@ -18,6 +18,15 @@ class AAL_API {
18
  strtotime( '-' . $logs_lifespan . ' days', current_time( 'timestamp' ) )
19
  ) );
20
  }
 
 
 
 
 
 
 
 
 
21
 
22
  public static function insert( $args ) {
23
  global $wpdb;
4
 
5
  class AAL_API {
6
 
7
+ protected static function _delete_old_items() {
8
  global $wpdb;
9
 
10
  $logs_lifespan = absint( AAL_Settings::get_option( 'logs_lifespan' ) );
18
  strtotime( '-' . $logs_lifespan . ' days', current_time( 'timestamp' ) )
19
  ) );
20
  }
21
+
22
+ public static function erase_all_items() {
23
+ global $wpdb;
24
+
25
+ $wpdb->query( $wpdb->prepare(
26
+ 'TRUNCATE %1$s',
27
+ $wpdb->activity_log
28
+ ) );
29
+ }
30
 
31
  public static function insert( $args ) {
32
  global $wpdb;
classes/class-aal-hooks.php CHANGED
@@ -48,7 +48,8 @@ class AAL_Hooks {
48
 
49
  // Theme
50
  add_filter( 'wp_redirect', array( &$this, 'hooks_theme_modify' ), 10, 2 );
51
-
 
52
  // Theme customizer
53
  add_action( 'customize_save', array( &$this, 'hooks_theme_customizer_modified' ) );
54
  //add_action( 'customize_preview_init', array( &$this, 'hooks_theme_customizer_modified' ) );
@@ -260,6 +261,16 @@ class AAL_Hooks {
260
  }
261
  }
262
  }
 
 
 
 
 
 
 
 
 
 
263
 
264
  public function hooks_theme_modify( $location, $status ) {
265
  if ( false !== strpos( $location, 'theme-editor.php?file=' ) ) {
@@ -319,7 +330,7 @@ class AAL_Hooks {
319
  'object_type' => 'Theme',
320
  'object_subtype' => $obj->theme()->display( 'Name' ),
321
  'object_id' => 0,
322
- 'object_name' => 'theme customizer',
323
  );
324
 
325
  if ( 'customize_preview_init' === current_filter() )
48
 
49
  // Theme
50
  add_filter( 'wp_redirect', array( &$this, 'hooks_theme_modify' ), 10, 2 );
51
+ add_action( 'switch_theme', array( &$this, 'hooks_switch_theme' ), 10, 2 );
52
+
53
  // Theme customizer
54
  add_action( 'customize_save', array( &$this, 'hooks_theme_customizer_modified' ) );
55
  //add_action( 'customize_preview_init', array( &$this, 'hooks_theme_customizer_modified' ) );
261
  }
262
  }
263
  }
264
+
265
+ public function hooks_switch_theme( $new_name, WP_Theme $new_theme ) {
266
+ aal_insert_log( array(
267
+ 'action' => 'activated',
268
+ 'object_type' => 'Theme',
269
+ 'object_subtype' => $new_theme->get_stylesheet(),
270
+ 'object_id' => 0,
271
+ 'object_name' => $new_name,
272
+ ) );
273
+ }
274
 
275
  public function hooks_theme_modify( $location, $status ) {
276
  if ( false !== strpos( $location, 'theme-editor.php?file=' ) ) {
330
  'object_type' => 'Theme',
331
  'object_subtype' => $obj->theme()->display( 'Name' ),
332
  'object_id' => 0,
333
+ 'object_name' => 'Theme Customizer',
334
  );
335
 
336
  if ( 'customize_preview_init' === current_filter() )
classes/class-aal-settings.php CHANGED
@@ -1,130 +1,224 @@
1
- <?php
2
-
3
- if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
4
-
5
- class AAL_Settings {
6
-
7
- private $hook;
8
- private $slug;
9
-
10
- public function __construct() {
11
- add_action( 'admin_menu', array( &$this, 'action_admin_menu' ) );
12
- add_action( 'admin_init', array( &$this, 'register_settings' ) );
13
- add_filter( 'plugin_action_links_' . ACTIVITY_LOG_BASE, array( &$this, 'plugin_action_links' ) );
14
- }
15
-
16
- public function plugin_action_links( $links ) {
17
- $settings_link = sprintf( '<a href="%s">%s</a>', admin_url( 'options-general.php?page=activity-log-settings' ), __( 'Settings', 'aryo-aal' ) );
18
- array_unshift( $links, $settings_link );
19
- return $links;
20
- }
21
-
22
- /**
23
- * Register the settings page
24
- *
25
- * @since 1.0
26
- */
27
- public function action_admin_menu() {
28
- $this->hook = add_options_page(
29
- __( 'Activity Log Settings', 'aryo-aal' ), // <title> tag
30
- __( 'Activity Log', 'aryo-aal' ), // menu label
31
- 'manage_options', // required cap to view this page
32
- $this->slug = 'activity-log-settings', // page slug
33
- array( &$this, 'display_settings_page' ) // callback
34
- );
35
-
36
- // this callback will initialize the settings for AAL
37
- // add_action( "load-$this->hook", array( $this, 'register_settings' ) );
38
- }
39
-
40
- public function register_settings() {
41
- // If no options exist, create them.
42
- if ( ! get_option( $this->slug ) ) {
43
- update_option( $this->slug, apply_filters( 'aal_default_options', array(
44
- 'logs_lifespan' => 'forever',
45
- ) ) );
46
- }
47
-
48
- // First, we register a section. This is necessary since all future options must belong to a
49
- add_settings_section(
50
- 'general_settings_section', // ID used to identify this section and with which to register options
51
- __( 'Display Options', 'aryo-aal' ), // Title to be displayed on the administration page
52
- array( 'AAL_Settings_Fields', 'description' ), // Callback used to render the description of the section
53
- $this->slug // Page on which to add this section of options
54
- );
55
-
56
- add_settings_field(
57
- 'logs_lifespan',
58
- __( 'Keep logs for', 'aryo-aal' ),
59
- array( 'AAL_Settings_Fields', 'select' ),
60
- $this->slug,
61
- 'general_settings_section',
62
- array(
63
- 'id' => 'logs_lifespan',
64
- 'page' => $this->slug,
65
- 'options' => array(
66
- '' => __( 'Forever', 'aryo-aal' ),
67
- '365' => __( 'A year', 'aryo-aal' ),
68
- '90' => __( '6 months', 'aryo-aal' ),
69
- '30' => __( 'A month', 'aryo-aal' ),
70
- ),
71
- )
72
- );
73
-
74
- register_setting( 'aal-options', $this->slug );
75
- }
76
-
77
- public function display_settings_page() {
78
- ?>
79
- <!-- Create a header in the default WordPress 'wrap' container -->
80
- <div class="wrap">
81
-
82
- <div id="icon-themes" class="icon32"></div>
83
- <h2><?php _e( 'ARYO Activity Log Settings', 'aryo-aal' ); ?></h2>
84
-
85
- <form method="post" action="options.php">
86
- <?php
87
- settings_fields( 'aal-options' );
88
- do_settings_sections( $this->slug );
89
-
90
- submit_button();
91
- ?>
92
- </form>
93
-
94
- </div><!-- /.wrap -->
95
- <?php
96
- }
97
-
98
- public static function get_option( $key = '' ) {
99
- $settings = get_option( 'activity-log-settings' );
100
- return ! empty( $settings[ $key ] ) ? $settings[ $key ] : false;
101
- }
102
-
103
- }
104
-
105
- final class AAL_Settings_Fields {
106
-
107
- public static function description() {
108
- ?>
109
- <p><?php _e( 'These are some basic settings for Activity Log.', 'aryo-aal' ); ?></p>
110
- <?php
111
- }
112
-
113
- public static function select( $args ) {
114
- extract( $args, EXTR_SKIP );
115
-
116
- if ( empty( $options ) || empty( $id ) || empty( $page ) )
117
- return;
118
-
119
- ?>
120
- <select id="<?php echo esc_attr( $id ); ?>" name="<?php printf( '%s[%s]', esc_attr( $page ), esc_attr( $id ) ); ?>">
121
- <?php foreach ( $options as $name => $label ) : ?>
122
- <option value="<?php echo esc_attr( $name ); ?>" <?php selected( $name, (string) AAL_Settings::get_option( $id ) ); ?>>
123
- <?php echo esc_html( $label ); ?>
124
- </option>
125
- <?php endforeach; ?>
126
- </select>
127
- <?php
128
- }
129
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
130
  }
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
4
+
5
+ class AAL_Settings {
6
+
7
+ private $hook;
8
+ private $slug;
9
+
10
+ public function __construct() {
11
+ add_action( 'admin_menu', array( &$this, 'action_admin_menu' ), 30 );
12
+ add_action( 'admin_init', array( &$this, 'register_settings' ) );
13
+ add_action( 'admin_notices', array( &$this, 'admin_notices' ) );
14
+ add_action( 'admin_footer', array( &$this, 'admin_footer' ) );
15
+ add_filter( 'plugin_action_links_' . ACTIVITY_LOG_BASE, array( &$this, 'plugin_action_links' ) );
16
+
17
+ add_action( 'wp_ajax_aal_reset_stream', array( &$this, 'ajax_aal_reset_stream' ) );
18
+ }
19
+
20
+ public function plugin_action_links( $links ) {
21
+ $settings_link = sprintf( '<a href="%s">%s</a>', admin_url( 'options-general.php?page=activity-log-settings' ), __( 'Settings', 'aryo-aal' ) );
22
+ array_unshift( $links, $settings_link );
23
+ return $links;
24
+ }
25
+
26
+ /**
27
+ * Register the settings page
28
+ *
29
+ * @since 1.0
30
+ */
31
+ public function action_admin_menu() {
32
+ $this->hook = add_submenu_page(
33
+ 'activity_log_page',
34
+ __( 'Activity Log Settings', 'aryo-aal' ), // <title> tag
35
+ __( 'Settings', 'aryo-aal' ), // menu label
36
+ 'manage_options', // required cap to view this page
37
+ $this->slug = 'activity-log-settings', // page slug
38
+ array( &$this, 'display_settings_page' ) // callback
39
+ );
40
+ // this callback will initialize the settings for AAL
41
+ // add_action( "load-$this->hook", array( $this, 'register_settings' ) );
42
+ }
43
+
44
+ public function register_settings() {
45
+ // If no options exist, create them.
46
+ if ( ! get_option( $this->slug ) ) {
47
+ update_option( $this->slug, apply_filters( 'aal_default_options', array(
48
+ 'logs_lifespan' => '30',
49
+ ) ) );
50
+ }
51
+
52
+ // First, we register a section. This is necessary since all future options must belong to a
53
+ add_settings_section(
54
+ 'general_settings_section', // ID used to identify this section and with which to register options
55
+ __( 'Display Options', 'aryo-aal' ), // Title to be displayed on the administration page
56
+ array( 'AAL_Settings_Fields', 'description' ), // Callback used to render the description of the section
57
+ $this->slug // Page on which to add this section of options
58
+ );
59
+
60
+ add_settings_field(
61
+ 'logs_lifespan',
62
+ __( 'Keep logs for', 'aryo-aal' ),
63
+ array( 'AAL_Settings_Fields', 'number_field' ),
64
+ $this->slug,
65
+ 'general_settings_section',
66
+ array(
67
+ 'id' => 'logs_lifespan',
68
+ 'page' => $this->slug,
69
+ 'classes' => array( 'small-text' ),
70
+ 'type' => 'number',
71
+ 'sub_desc' => __( 'days.', 'aryo-aal' ),
72
+ 'desc' => __( 'Maximum number of days to keep activity log. Leave blank to keep activity log forever (not recommended).', 'aryo-aal' ),
73
+ )
74
+ );
75
+
76
+ add_settings_field(
77
+ 'raw_delete_log_activities',
78
+ __( 'Delete Log Activities', 'aryo-aal' ),
79
+ array( 'AAL_Settings_Fields', 'raw_html' ),
80
+ $this->slug,
81
+ 'general_settings_section',
82
+ array(
83
+ 'html' => sprintf( __( '<a href="%s" id="%s">Reset Database</a>', 'aryo-aal' ), add_query_arg( array(
84
+ 'action' => 'aal_reset_stream',
85
+ '_nonce' => wp_create_nonce( 'aal_reset_stream' ),
86
+ ), admin_url( 'admin-ajax.php' ) ), 'aal-delete-log-activities' ),
87
+ 'desc' => __( 'Warning: Clicking this will delete all activities from the database.', 'aryo-aal' ),
88
+ )
89
+ );
90
+
91
+ register_setting( 'aal-options', $this->slug );
92
+ }
93
+
94
+ public function display_settings_page() {
95
+ ?>
96
+ <!-- Create a header in the default WordPress 'wrap' container -->
97
+ <div class="wrap">
98
+
99
+ <div id="icon-themes" class="icon32"></div>
100
+ <h2><?php _e( 'Activity Log Settings', 'aryo-aal' ); ?></h2>
101
+
102
+ <form method="post" action="options.php">
103
+ <?php
104
+ settings_fields( 'aal-options' );
105
+ do_settings_sections( $this->slug );
106
+
107
+ submit_button();
108
+ ?>
109
+ </form>
110
+
111
+ </div><!-- /.wrap -->
112
+ <?php
113
+ }
114
+
115
+ public function admin_notices() {
116
+ switch ( filter_input( INPUT_GET, 'message' ) ) {
117
+ case 'data_erased':
118
+ printf( '<div class="updated"><p>%s</p></div>', __( 'All activities have been successfully deleted.', 'aryo-aal' ) );
119
+ break;
120
+ }
121
+ }
122
+
123
+ public function admin_footer() {
124
+ // TODO: move to a separate file.
125
+ ?>
126
+ <script type="text/javascript">
127
+ jQuery( document ).ready( function( $ ) {
128
+ $( '#aal-delete-log-activities' ).on( 'click', function( e ) {
129
+ if ( ! confirm( '<?php echo __( 'Are you sure you want to do this action?', 'aryo-aal' ); ?>' ) ) {
130
+ e.preventDefault();
131
+ }
132
+ } );
133
+ } );
134
+ </script>
135
+ <?php
136
+ }
137
+
138
+ public function ajax_aal_reset_stream() {
139
+ if ( ! check_ajax_referer( 'aal_reset_stream', '_nonce', false ) || ! current_user_can( 'manage_options' ) ) {
140
+ wp_die( 'You do not have sufficient permissions to access this page.', 'aryo-aal' );
141
+ }
142
+
143
+ AAL_API::erase_all_items();
144
+ wp_redirect( add_query_arg( array(
145
+ 'page' => 'activity-log-settings',
146
+ 'message' => 'data_erased',
147
+ ), admin_url( 'admin.php' ) ) );
148
+ die();
149
+ }
150
+
151
+ public static function get_option( $key = '' ) {
152
+ $settings = get_option( 'activity-log-settings' );
153
+ return ! empty( $settings[ $key ] ) ? $settings[ $key ] : false;
154
+ }
155
+
156
+ }
157
+
158
+ // TODO: Need rewrite this class to useful tool.
159
+ final class AAL_Settings_Fields {
160
+
161
+ public static function description() {
162
+ ?>
163
+ <p><?php _e( 'These are some basic settings for Activity Log.', 'aryo-aal' ); ?></p>
164
+ <?php
165
+ }
166
+
167
+ public static function raw_html( $args ) {
168
+ if ( empty( $args['html'] ) )
169
+ return;
170
+
171
+ echo $args['html'];
172
+ if ( ! empty( $args['desc'] ) ) : ?>
173
+ <p class="description"><?php echo $args['desc']; ?></p>
174
+ <?php endif;
175
+ }
176
+
177
+ public static function text_field( $args ) {
178
+ $args = wp_parse_args( $args, array(
179
+ 'classes' => array(),
180
+ ) );
181
+ if ( empty( $args['id'] ) || empty( $args['page'] ) )
182
+ return;
183
+
184
+ ?>
185
+ <input type="text" id="<?php echo esc_attr( $args['id'] ); ?>" name="<?php printf( '%s[%s]', esc_attr( $args['page'] ), esc_attr( $args['id'] ) ); ?>" value="<?php echo AAL_Settings::get_option( $args['id'] ); ?>" class="<?php echo implode( ' ', $args['classes'] ); ?>" />
186
+ <?php
187
+ }
188
+
189
+ public static function number_field( $args ) {
190
+ $args = wp_parse_args( $args, array(
191
+ 'classes' => array(),
192
+ 'min' => '1',
193
+ 'step' => '1',
194
+ 'desc' => '',
195
+ ) );
196
+ if ( empty( $args['id'] ) || empty( $args['page'] ) )
197
+ return;
198
+
199
+ ?>
200
+ <input type="number" id="<?php echo esc_attr( $args['id'] ); ?>" name="<?php printf( '%s[%s]', esc_attr( $args['page'] ), esc_attr( $args['id'] ) ); ?>" value="<?php echo AAL_Settings::get_option( $args['id'] ); ?>" class="<?php echo implode( ' ', $args['classes'] ); ?>" min="<?php echo $args['min']; ?>" step="<?php echo $args['step']; ?>" />
201
+ <?php if ( ! empty( $args['sub_desc'] ) ) echo $args['sub_desc']; ?>
202
+ <?php if ( ! empty( $args['desc'] ) ) : ?>
203
+ <p class="description"><?php echo $args['desc']; ?></p>
204
+ <?php endif;
205
+ }
206
+
207
+ public static function select_field( $args ) {
208
+ extract( $args, EXTR_SKIP );
209
+
210
+ if ( empty( $options ) || empty( $id ) || empty( $page ) )
211
+ return;
212
+
213
+ ?>
214
+ <select id="<?php echo esc_attr( $id ); ?>" name="<?php printf( '%s[%s]', esc_attr( $page ), esc_attr( $id ) ); ?>">
215
+ <?php foreach ( $options as $name => $label ) : ?>
216
+ <option value="<?php echo esc_attr( $name ); ?>" <?php selected( $name, (string) AAL_Settings::get_option( $id ) ); ?>>
217
+ <?php echo esc_html( $label ); ?>
218
+ </option>
219
+ <?php endforeach; ?>
220
+ </select>
221
+ <?php
222
+ }
223
+
224
  }
language/aryo-aal-he_IL.mo CHANGED
Binary file
language/aryo-aal-he_IL.po CHANGED
@@ -4,9 +4,9 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: ARYO Activity Log\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/activity-log\n"
7
- "POT-Creation-Date: 2013-08-16 01:53+0200\n"
8
- "PO-Revision-Date: 2013-08-16 01:54+0200\n"
9
- "Last-Translator: Yakir Sitbon <kingyes1@gmail.com>\n"
10
  "Language-Team: Yakir Sitbon & Arie Klikstein <aryodigital@gmail.com>\n"
11
  "Language: he_IL\n"
12
  "MIME-Version: 1.0\n"
@@ -20,156 +20,250 @@ msgstr ""
20
  "X-Poedit-SearchPath-0: ..\n"
21
 
22
  #: ../classes/class-aal-activity-log-list-table.php:82
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  msgid "Type"
24
  msgstr "סוג"
25
 
26
- #: ../classes/class-aal-activity-log-list-table.php:83
27
- msgid "Name"
28
- msgstr "שם"
29
 
30
- #: ../classes/class-aal-activity-log-list-table.php:84
31
  msgid "Action"
32
  msgstr "פעולה"
33
 
34
- #: ../classes/class-aal-activity-log-list-table.php:85
35
- msgid "Date"
36
- msgstr "תאריך"
37
 
38
- #: ../classes/class-aal-activity-log-list-table.php:99
39
  #, php-format
40
  msgid "%s ago"
41
  msgstr "לפני %s"
42
 
43
- #: ../classes/class-aal-activity-log-list-table.php:120
44
- msgid "by "
45
- msgstr "ע\"י"
46
 
47
- #: ../classes/class-aal-activity-log-list-table.php:127
48
- #: ../classes/class-aal-activity-log-list-table.php:176
49
  msgid "Guest"
50
  msgstr "אורח"
51
 
52
- #: ../classes/class-aal-activity-log-list-table.php:187
53
  msgid "All Users"
54
  msgstr "כל המשתמשים"
55
 
56
- #: ../classes/class-aal-activity-log-list-table.php:214
57
  msgid "All Types"
58
  msgstr "כל הסוגים"
59
 
60
- #: ../classes/class-aal-activity-log-list-table.php:220
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  msgid "Filter"
62
  msgstr "סינון"
63
 
64
- #: ../classes/class-aal-admin-ui.php:8 ../classes/class-aal-admin-ui.php:18
65
- #: ../classes/class-aal-settings.php:30
66
  msgid "Activity Log"
67
  msgstr "יומן פעילות"
68
 
69
- #: ../classes/class-aal-settings.php:17
70
  msgid "Settings"
71
  msgstr "הגדרות"
72
 
73
- #: ../classes/class-aal-settings.php:29
74
  msgid "Activity Log Settings"
75
  msgstr "הגדרות יומן פעילות"
76
 
77
- #: ../classes/class-aal-settings.php:51
78
  msgid "Display Options"
79
  msgstr "אפשרויות תצוגה"
80
 
81
- #: ../classes/class-aal-settings.php:58
82
  msgid "Keep logs for"
83
  msgstr "שמירת היסטוריית פעילות למשך"
84
 
85
- #: ../classes/class-aal-settings.php:66
86
- msgid "Forever"
87
- msgstr "לתמיד"
88
 
89
- #: ../classes/class-aal-settings.php:67
90
- msgid "A year"
91
- msgstr "שנה"
92
-
93
- #: ../classes/class-aal-settings.php:68
94
- msgid "6 months"
95
- msgstr "6 חודשים"
96
 
97
- #: ../classes/class-aal-settings.php:69
98
- msgid "A month"
99
- msgstr "חודש"
100
 
101
  #: ../classes/class-aal-settings.php:83
102
- msgid "ARYO Activity Log Settings"
103
- msgstr "הגדרות יומן פעילות"
 
 
 
 
 
 
 
 
 
 
 
 
 
104
 
105
- #: ../classes/class-aal-settings.php:109
106
  msgid "These are some basic settings for Activity Log."
107
  msgstr "אלו חלק מההגרות הבסיסיות של יומן הפעילות."
108
 
109
- #: ../language/strings.php:4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
110
  msgid "Post"
111
  msgstr "פוסט"
112
 
113
- #: ../language/strings.php:5
114
  msgid "created"
115
  msgstr "נוצר"
116
 
117
- #: ../language/strings.php:6
118
  msgid "updated"
119
  msgstr "עודכן"
120
 
121
- #: ../language/strings.php:7
122
  msgid "deleted"
123
  msgstr "נמחק"
124
 
125
- #: ../language/strings.php:10
126
  msgid "Attachment"
127
  msgstr "מדיה"
128
 
129
- #: ../language/strings.php:11
130
  msgid "added"
131
  msgstr "נוסף"
132
 
133
- #: ../language/strings.php:14
134
  msgid "User"
135
  msgstr "משתמש"
136
 
137
- #: ../language/strings.php:15
138
  msgid "logged_out"
139
  msgstr "התנתק"
140
 
141
- #: ../language/strings.php:16
142
  msgid "logged_in"
143
  msgstr "התחבר"
144
 
145
- #: ../language/strings.php:17
146
  msgid "wrong_password"
147
  msgstr "סיסמה שגויה"
148
 
149
- #: ../language/strings.php:20
150
  msgid "Plugin"
151
  msgstr "תוסף"
152
 
153
- #: ../language/strings.php:21
154
  msgid "activated"
155
  msgstr "מופעל"
156
 
157
- #: ../language/strings.php:22
158
  msgid "deactivated"
159
  msgstr "מכובה"
160
 
161
- #: ../language/strings.php:25
 
 
 
 
 
 
 
 
162
  msgid "Widget"
163
  msgstr "וידג'טים"
164
 
165
- #: ../language/strings.php:28
166
  msgid "Options"
167
  msgstr "הגדרות"
168
 
169
- #: ../language/strings.php:31
170
  msgid "Menu"
171
  msgstr "תפריט"
172
 
173
- #: ../language/strings.php:34
174
  msgid "Taxonomy"
175
  msgstr "טקסונומי"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  msgstr ""
5
  "Project-Id-Version: ARYO Activity Log\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/activity-log\n"
7
+ "POT-Creation-Date: 2014-02-06 15:56+0200\n"
8
+ "PO-Revision-Date: 2014-02-06 15:56+0200\n"
9
+ "Last-Translator: Ariel K <a@arielk.net>\n"
10
  "Language-Team: Yakir Sitbon & Arie Klikstein <aryodigital@gmail.com>\n"
11
  "Language: he_IL\n"
12
  "MIME-Version: 1.0\n"
20
  "X-Poedit-SearchPath-0: ..\n"
21
 
22
  #: ../classes/class-aal-activity-log-list-table.php:82
23
+ msgid "Items"
24
+ msgstr "פריטים"
25
+
26
+ #: ../classes/class-aal-activity-log-list-table.php:92
27
+ msgid "Date"
28
+ msgstr "תאריך"
29
+
30
+ #: ../classes/class-aal-activity-log-list-table.php:93
31
+ msgid "Author"
32
+ msgstr "משתמש"
33
+
34
+ #: ../classes/class-aal-activity-log-list-table.php:94
35
+ msgid "IP"
36
+ msgstr ""
37
+
38
+ #: ../classes/class-aal-activity-log-list-table.php:95
39
  msgid "Type"
40
  msgstr "סוג"
41
 
42
+ #: ../classes/class-aal-activity-log-list-table.php:96
43
+ msgid "Label"
44
+ msgstr "תוית"
45
 
46
+ #: ../classes/class-aal-activity-log-list-table.php:97
47
  msgid "Action"
48
  msgstr "פעולה"
49
 
50
+ #: ../classes/class-aal-activity-log-list-table.php:98
51
+ msgid "Description"
52
+ msgstr "תיאור"
53
 
54
+ #: ../classes/class-aal-activity-log-list-table.php:118
55
  #, php-format
56
  msgid "%s ago"
57
  msgstr "לפני %s"
58
 
59
+ #: ../classes/class-aal-activity-log-list-table.php:145
60
+ msgid "Unknown"
61
+ msgstr "לא ידוע"
62
 
63
+ #: ../classes/class-aal-activity-log-list-table.php:151
64
+ #: ../classes/class-aal-activity-log-list-table.php:225
65
  msgid "Guest"
66
  msgstr "אורח"
67
 
68
+ #: ../classes/class-aal-activity-log-list-table.php:236
69
  msgid "All Users"
70
  msgstr "כל המשתמשים"
71
 
72
+ #: ../classes/class-aal-activity-log-list-table.php:263
73
  msgid "All Types"
74
  msgstr "כל הסוגים"
75
 
76
+ #: ../classes/class-aal-activity-log-list-table.php:274
77
+ msgid "All Time"
78
+ msgstr "כל הזמן"
79
+
80
+ #: ../classes/class-aal-activity-log-list-table.php:275
81
+ msgid "Today"
82
+ msgstr "היום"
83
+
84
+ #: ../classes/class-aal-activity-log-list-table.php:276
85
+ msgid "Yesterday"
86
+ msgstr "אתמול"
87
+
88
+ #: ../classes/class-aal-activity-log-list-table.php:277
89
+ msgid "Week"
90
+ msgstr "שבוע"
91
+
92
+ #: ../classes/class-aal-activity-log-list-table.php:278
93
+ msgid "Month"
94
+ msgstr "חודש"
95
+
96
+ #: ../classes/class-aal-activity-log-list-table.php:285
97
  msgid "Filter"
98
  msgstr "סינון"
99
 
100
+ #: ../classes/class-aal-admin-ui.php:17 ../classes/class-aal-admin-ui.php:27
 
101
  msgid "Activity Log"
102
  msgstr "יומן פעילות"
103
 
104
+ #: ../classes/class-aal-settings.php:21 ../classes/class-aal-settings.php:35
105
  msgid "Settings"
106
  msgstr "הגדרות"
107
 
108
+ #: ../classes/class-aal-settings.php:34 ../classes/class-aal-settings.php:100
109
  msgid "Activity Log Settings"
110
  msgstr "הגדרות יומן פעילות"
111
 
112
+ #: ../classes/class-aal-settings.php:55
113
  msgid "Display Options"
114
  msgstr "אפשרויות תצוגה"
115
 
116
+ #: ../classes/class-aal-settings.php:62
117
  msgid "Keep logs for"
118
  msgstr "שמירת היסטוריית פעילות למשך"
119
 
120
+ #: ../classes/class-aal-settings.php:71
121
+ msgid "days."
122
+ msgstr "ימים"
123
 
124
+ #: ../classes/class-aal-settings.php:72
125
+ msgid ""
126
+ "Maximum number of days to keep activity log. Leave blank to keep activity "
127
+ "log forever (not recommended)."
128
+ msgstr ""
129
+ "מספר ימים מרבי כדי לשמור תיעוד יומן הפעילות. השאר ריק כדי לשמור תיעוד יומן "
130
+ "הפעילות לנצח (לא מומלץ)"
131
 
132
+ #: ../classes/class-aal-settings.php:78
133
+ msgid "Delete Log Activities"
134
+ msgstr "מחיקת כל היומן פעילות"
135
 
136
  #: ../classes/class-aal-settings.php:83
137
+ #, php-format
138
+ msgid "<a href=\"%s\" id=\"%s\">Reset Database</a>"
139
+ msgstr "<a href=\"%s\" id=\"%s\">איפוס דטאבייס</a>"
140
+
141
+ #: ../classes/class-aal-settings.php:87
142
+ msgid "Warning: Clicking this will delete all activities from the database."
143
+ msgstr "שימו לב: לחיצה תמחוק את כל הפעילויות מהדטאבייס"
144
+
145
+ #: ../classes/class-aal-settings.php:118
146
+ msgid "All activities have been successfully deleted."
147
+ msgstr "כל הפעילויות נמחקו בהצלחה."
148
+
149
+ #: ../classes/class-aal-settings.php:129
150
+ msgid "Are you sure you want to do this action?"
151
+ msgstr "בטוח לבצע את פעולת המחיקה?"
152
 
153
+ #: ../classes/class-aal-settings.php:163
154
  msgid "These are some basic settings for Activity Log."
155
  msgstr "אלו חלק מההגרות הבסיסיות של יומן הפעילות."
156
 
157
+ #: ../language/strings.php:2
158
+ msgid "ARYO Activity Log"
159
+ msgstr "יומן פעילות"
160
+
161
+ #: ../language/strings.php:3
162
+ msgid ""
163
+ "Get aware of any activities that are taking place on your dashboard! Imagine "
164
+ "it like a black-box for your WordPress site. e.g. post was deleted, plugin "
165
+ "was activated, user logged in or logged out - it’s all these for you to see."
166
+ msgstr ""
167
+ "תיעוד כל הפעילויות המתרחשות בלוח הבקרה של מערכת וורדפרס. לדוגמא: פוסט נמחק, "
168
+ "תוסף הופעל, משתמש התחבר או התנתק מהמערכת - כל זה מתועד בלוח בקרה של התוסף "
169
+ "יומן פעילות."
170
+
171
+ #: ../language/strings.php:6
172
  msgid "Post"
173
  msgstr "פוסט"
174
 
175
+ #: ../language/strings.php:7
176
  msgid "created"
177
  msgstr "נוצר"
178
 
179
+ #: ../language/strings.php:8
180
  msgid "updated"
181
  msgstr "עודכן"
182
 
183
+ #: ../language/strings.php:9
184
  msgid "deleted"
185
  msgstr "נמחק"
186
 
187
+ #: ../language/strings.php:12
188
  msgid "Attachment"
189
  msgstr "מדיה"
190
 
191
+ #: ../language/strings.php:13
192
  msgid "added"
193
  msgstr "נוסף"
194
 
195
+ #: ../language/strings.php:16
196
  msgid "User"
197
  msgstr "משתמש"
198
 
199
+ #: ../language/strings.php:17
200
  msgid "logged_out"
201
  msgstr "התנתק"
202
 
203
+ #: ../language/strings.php:18
204
  msgid "logged_in"
205
  msgstr "התחבר"
206
 
207
+ #: ../language/strings.php:19
208
  msgid "wrong_password"
209
  msgstr "סיסמה שגויה"
210
 
211
+ #: ../language/strings.php:22
212
  msgid "Plugin"
213
  msgstr "תוסף"
214
 
215
+ #: ../language/strings.php:23
216
  msgid "activated"
217
  msgstr "מופעל"
218
 
219
+ #: ../language/strings.php:24
220
  msgid "deactivated"
221
  msgstr "מכובה"
222
 
223
+ #: ../language/strings.php:27
224
+ msgid "Theme"
225
+ msgstr "ערכת עיצוב"
226
+
227
+ #: ../language/strings.php:28
228
+ msgid "Theme Customizer"
229
+ msgstr "התאמה אישית"
230
+
231
+ #: ../language/strings.php:31
232
  msgid "Widget"
233
  msgstr "וידג'טים"
234
 
235
+ #: ../language/strings.php:34
236
  msgid "Options"
237
  msgstr "הגדרות"
238
 
239
+ #: ../language/strings.php:37
240
  msgid "Menu"
241
  msgstr "תפריט"
242
 
243
+ #: ../language/strings.php:40
244
  msgid "Taxonomy"
245
  msgstr "טקסונומי"
246
+
247
+ #~ msgid "All Dates"
248
+ #~ msgstr "כל הזמן"
249
+
250
+ #~ msgid "Yakir Sitbon, Maor Chasen, Ariel Klikstein"
251
+ #~ msgstr "יקיר סיטבון, מאור חסן, אריאל קליקשטיין"
252
+
253
+ #~ msgid "Name"
254
+ #~ msgstr "שם"
255
+
256
+ #~ msgid "by "
257
+ #~ msgstr "ע\"י"
258
+
259
+ #~ msgid "ARYO Activity Log Settings"
260
+ #~ msgstr "הגדרות יומן פעילות"
261
+
262
+ #~ msgid "Forever"
263
+ #~ msgstr "לתמיד"
264
+
265
+ #~ msgid "A year"
266
+ #~ msgstr "שנה"
267
+
268
+ #~ msgid "6 months"
269
+ #~ msgstr "6 חודשים"
language/aryo-aal.pot CHANGED
@@ -4,9 +4,9 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: ARYO Activity Log\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/activity-log\n"
7
- "POT-Creation-Date: 2013-08-16 01:53+0200\n"
8
- "PO-Revision-Date: 2013-08-16 01:53+0200\n"
9
- "Last-Translator: Yakir Sitbon <kingyes1@gmail.com>\n"
10
  "Language-Team: LANGUAGE <LL@li.org>\n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -19,156 +19,221 @@ msgstr ""
19
  "X-Poedit-SearchPath-0: ..\n"
20
 
21
  #: ../classes/class-aal-activity-log-list-table.php:82
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  msgid "Type"
23
  msgstr ""
24
 
25
- #: ../classes/class-aal-activity-log-list-table.php:83
26
- msgid "Name"
27
  msgstr ""
28
 
29
- #: ../classes/class-aal-activity-log-list-table.php:84
30
  msgid "Action"
31
  msgstr ""
32
 
33
- #: ../classes/class-aal-activity-log-list-table.php:85
34
- msgid "Date"
35
  msgstr ""
36
 
37
- #: ../classes/class-aal-activity-log-list-table.php:99
38
  #, php-format
39
  msgid "%s ago"
40
  msgstr ""
41
 
42
- #: ../classes/class-aal-activity-log-list-table.php:120
43
- msgid "by "
44
  msgstr ""
45
 
46
- #: ../classes/class-aal-activity-log-list-table.php:127
47
- #: ../classes/class-aal-activity-log-list-table.php:176
48
  msgid "Guest"
49
  msgstr ""
50
 
51
- #: ../classes/class-aal-activity-log-list-table.php:187
52
  msgid "All Users"
53
  msgstr ""
54
 
55
- #: ../classes/class-aal-activity-log-list-table.php:214
56
  msgid "All Types"
57
  msgstr ""
58
 
59
- #: ../classes/class-aal-activity-log-list-table.php:220
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  msgid "Filter"
61
  msgstr ""
62
 
63
- #: ../classes/class-aal-admin-ui.php:8 ../classes/class-aal-admin-ui.php:18
64
- #: ../classes/class-aal-settings.php:30
65
  msgid "Activity Log"
66
  msgstr ""
67
 
68
- #: ../classes/class-aal-settings.php:17
69
  msgid "Settings"
70
  msgstr ""
71
 
72
- #: ../classes/class-aal-settings.php:29
73
  msgid "Activity Log Settings"
74
  msgstr ""
75
 
76
- #: ../classes/class-aal-settings.php:51
77
  msgid "Display Options"
78
  msgstr ""
79
 
80
- #: ../classes/class-aal-settings.php:58
81
  msgid "Keep logs for"
82
  msgstr ""
83
 
84
- #: ../classes/class-aal-settings.php:66
85
- msgid "Forever"
86
  msgstr ""
87
 
88
- #: ../classes/class-aal-settings.php:67
89
- msgid "A year"
 
 
90
  msgstr ""
91
 
92
- #: ../classes/class-aal-settings.php:68
93
- msgid "6 months"
94
  msgstr ""
95
 
96
- #: ../classes/class-aal-settings.php:69
97
- msgid "A month"
 
98
  msgstr ""
99
 
100
- #: ../classes/class-aal-settings.php:83
101
- msgid "ARYO Activity Log Settings"
102
  msgstr ""
103
 
104
- #: ../classes/class-aal-settings.php:109
 
 
 
 
 
 
 
 
105
  msgid "These are some basic settings for Activity Log."
106
  msgstr ""
107
 
108
- #: ../language/strings.php:4
 
 
 
 
 
 
 
 
 
 
 
109
  msgid "Post"
110
  msgstr ""
111
 
112
- #: ../language/strings.php:5
113
  msgid "created"
114
  msgstr ""
115
 
116
- #: ../language/strings.php:6
117
  msgid "updated"
118
  msgstr ""
119
 
120
- #: ../language/strings.php:7
121
  msgid "deleted"
122
  msgstr ""
123
 
124
- #: ../language/strings.php:10
125
  msgid "Attachment"
126
  msgstr ""
127
 
128
- #: ../language/strings.php:11
129
  msgid "added"
130
  msgstr ""
131
 
132
- #: ../language/strings.php:14
133
  msgid "User"
134
  msgstr ""
135
 
136
- #: ../language/strings.php:15
137
  msgid "logged_out"
138
  msgstr ""
139
 
140
- #: ../language/strings.php:16
141
  msgid "logged_in"
142
  msgstr ""
143
 
144
- #: ../language/strings.php:17
145
  msgid "wrong_password"
146
  msgstr ""
147
 
148
- #: ../language/strings.php:20
149
  msgid "Plugin"
150
  msgstr ""
151
 
152
- #: ../language/strings.php:21
153
  msgid "activated"
154
  msgstr ""
155
 
156
- #: ../language/strings.php:22
157
  msgid "deactivated"
158
  msgstr ""
159
 
160
- #: ../language/strings.php:25
161
- msgid "Widget"
162
  msgstr ""
163
 
164
  #: ../language/strings.php:28
165
- msgid "Options"
166
  msgstr ""
167
 
168
  #: ../language/strings.php:31
169
- msgid "Menu"
170
  msgstr ""
171
 
172
  #: ../language/strings.php:34
 
 
 
 
 
 
 
 
173
  msgid "Taxonomy"
174
  msgstr ""
4
  msgstr ""
5
  "Project-Id-Version: ARYO Activity Log\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/activity-log\n"
7
+ "POT-Creation-Date: 2014-02-06 15:53+0200\n"
8
+ "PO-Revision-Date: 2014-02-06 15:53+0200\n"
9
+ "Last-Translator: Ariel K <a@arielk.net>\n"
10
  "Language-Team: LANGUAGE <LL@li.org>\n"
11
  "MIME-Version: 1.0\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
19
  "X-Poedit-SearchPath-0: ..\n"
20
 
21
  #: ../classes/class-aal-activity-log-list-table.php:82
22
+ msgid "Items"
23
+ msgstr ""
24
+
25
+ #: ../classes/class-aal-activity-log-list-table.php:92
26
+ msgid "Date"
27
+ msgstr ""
28
+
29
+ #: ../classes/class-aal-activity-log-list-table.php:93
30
+ msgid "Author"
31
+ msgstr ""
32
+
33
+ #: ../classes/class-aal-activity-log-list-table.php:94
34
+ msgid "IP"
35
+ msgstr ""
36
+
37
+ #: ../classes/class-aal-activity-log-list-table.php:95
38
  msgid "Type"
39
  msgstr ""
40
 
41
+ #: ../classes/class-aal-activity-log-list-table.php:96
42
+ msgid "Label"
43
  msgstr ""
44
 
45
+ #: ../classes/class-aal-activity-log-list-table.php:97
46
  msgid "Action"
47
  msgstr ""
48
 
49
+ #: ../classes/class-aal-activity-log-list-table.php:98
50
+ msgid "Description"
51
  msgstr ""
52
 
53
+ #: ../classes/class-aal-activity-log-list-table.php:118
54
  #, php-format
55
  msgid "%s ago"
56
  msgstr ""
57
 
58
+ #: ../classes/class-aal-activity-log-list-table.php:145
59
+ msgid "Unknown"
60
  msgstr ""
61
 
62
+ #: ../classes/class-aal-activity-log-list-table.php:151
63
+ #: ../classes/class-aal-activity-log-list-table.php:225
64
  msgid "Guest"
65
  msgstr ""
66
 
67
+ #: ../classes/class-aal-activity-log-list-table.php:236
68
  msgid "All Users"
69
  msgstr ""
70
 
71
+ #: ../classes/class-aal-activity-log-list-table.php:263
72
  msgid "All Types"
73
  msgstr ""
74
 
75
+ #: ../classes/class-aal-activity-log-list-table.php:274
76
+ msgid "All Time"
77
+ msgstr ""
78
+
79
+ #: ../classes/class-aal-activity-log-list-table.php:275
80
+ msgid "Today"
81
+ msgstr ""
82
+
83
+ #: ../classes/class-aal-activity-log-list-table.php:276
84
+ msgid "Yesterday"
85
+ msgstr ""
86
+
87
+ #: ../classes/class-aal-activity-log-list-table.php:277
88
+ msgid "Week"
89
+ msgstr ""
90
+
91
+ #: ../classes/class-aal-activity-log-list-table.php:278
92
+ msgid "Month"
93
+ msgstr ""
94
+
95
+ #: ../classes/class-aal-activity-log-list-table.php:285
96
  msgid "Filter"
97
  msgstr ""
98
 
99
+ #: ../classes/class-aal-admin-ui.php:17 ../classes/class-aal-admin-ui.php:27
 
100
  msgid "Activity Log"
101
  msgstr ""
102
 
103
+ #: ../classes/class-aal-settings.php:21 ../classes/class-aal-settings.php:35
104
  msgid "Settings"
105
  msgstr ""
106
 
107
+ #: ../classes/class-aal-settings.php:34 ../classes/class-aal-settings.php:100
108
  msgid "Activity Log Settings"
109
  msgstr ""
110
 
111
+ #: ../classes/class-aal-settings.php:55
112
  msgid "Display Options"
113
  msgstr ""
114
 
115
+ #: ../classes/class-aal-settings.php:62
116
  msgid "Keep logs for"
117
  msgstr ""
118
 
119
+ #: ../classes/class-aal-settings.php:71
120
+ msgid "days."
121
  msgstr ""
122
 
123
+ #: ../classes/class-aal-settings.php:72
124
+ msgid ""
125
+ "Maximum number of days to keep activity log. Leave blank to keep activity "
126
+ "log forever (not recommended)."
127
  msgstr ""
128
 
129
+ #: ../classes/class-aal-settings.php:78
130
+ msgid "Delete Log Activities"
131
  msgstr ""
132
 
133
+ #: ../classes/class-aal-settings.php:83
134
+ #, php-format
135
+ msgid "<a href=\"%s\" id=\"%s\">Reset Database</a>"
136
  msgstr ""
137
 
138
+ #: ../classes/class-aal-settings.php:87
139
+ msgid "Warning: Clicking this will delete all activities from the database."
140
  msgstr ""
141
 
142
+ #: ../classes/class-aal-settings.php:118
143
+ msgid "All activities have been successfully deleted."
144
+ msgstr ""
145
+
146
+ #: ../classes/class-aal-settings.php:129
147
+ msgid "Are you sure you want to do this action?"
148
+ msgstr ""
149
+
150
+ #: ../classes/class-aal-settings.php:163
151
  msgid "These are some basic settings for Activity Log."
152
  msgstr ""
153
 
154
+ #: ../language/strings.php:2
155
+ msgid "ARYO Activity Log"
156
+ msgstr ""
157
+
158
+ #: ../language/strings.php:3
159
+ msgid ""
160
+ "Get aware of any activities that are taking place on your dashboard! Imagine "
161
+ "it like a black-box for your WordPress site. e.g. post was deleted, plugin "
162
+ "was activated, user logged in or logged out - it’s all these for you to see."
163
+ msgstr ""
164
+
165
+ #: ../language/strings.php:6
166
  msgid "Post"
167
  msgstr ""
168
 
169
+ #: ../language/strings.php:7
170
  msgid "created"
171
  msgstr ""
172
 
173
+ #: ../language/strings.php:8
174
  msgid "updated"
175
  msgstr ""
176
 
177
+ #: ../language/strings.php:9
178
  msgid "deleted"
179
  msgstr ""
180
 
181
+ #: ../language/strings.php:12
182
  msgid "Attachment"
183
  msgstr ""
184
 
185
+ #: ../language/strings.php:13
186
  msgid "added"
187
  msgstr ""
188
 
189
+ #: ../language/strings.php:16
190
  msgid "User"
191
  msgstr ""
192
 
193
+ #: ../language/strings.php:17
194
  msgid "logged_out"
195
  msgstr ""
196
 
197
+ #: ../language/strings.php:18
198
  msgid "logged_in"
199
  msgstr ""
200
 
201
+ #: ../language/strings.php:19
202
  msgid "wrong_password"
203
  msgstr ""
204
 
205
+ #: ../language/strings.php:22
206
  msgid "Plugin"
207
  msgstr ""
208
 
209
+ #: ../language/strings.php:23
210
  msgid "activated"
211
  msgstr ""
212
 
213
+ #: ../language/strings.php:24
214
  msgid "deactivated"
215
  msgstr ""
216
 
217
+ #: ../language/strings.php:27
218
+ msgid "Theme"
219
  msgstr ""
220
 
221
  #: ../language/strings.php:28
222
+ msgid "Theme Customizer"
223
  msgstr ""
224
 
225
  #: ../language/strings.php:31
226
+ msgid "Widget"
227
  msgstr ""
228
 
229
  #: ../language/strings.php:34
230
+ msgid "Options"
231
+ msgstr ""
232
+
233
+ #: ../language/strings.php:37
234
+ msgid "Menu"
235
+ msgstr ""
236
+
237
+ #: ../language/strings.php:40
238
  msgid "Taxonomy"
239
  msgstr ""
language/strings.php CHANGED
@@ -1,34 +1,40 @@
1
- <?php
2
-
3
- // Post
4
- __( 'Post', 'aryo-aal' );
5
- __( 'created', 'aryo-aal' );
6
- __( 'updated', 'aryo-aal' );
7
- __( 'deleted', 'aryo-aal' );
8
-
9
- // Attachment
10
- __( 'Attachment', 'aryo-aal' );
11
- __( 'added', 'aryo-aal' );
12
-
13
- // User
14
- __( 'User', 'aryo-aal' );
15
- __( 'logged_out', 'aryo-aal' );
16
- __( 'logged_in', 'aryo-aal' );
17
- __( 'wrong_password', 'aryo-aal' );
18
-
19
- // Plugin
20
- __( 'Plugin', 'aryo-aal' );
21
- __( 'activated', 'aryo-aal' );
22
- __( 'deactivated', 'aryo-aal' );
23
-
24
- // Widget
25
- __( 'Widget', 'aryo-aal' );
26
-
27
- // Options
28
- __( 'Options', 'aryo-aal' );
29
-
30
- // Menu
31
- __( 'Menu', 'aryo-aal' );
32
-
33
- // Taxonomy
 
 
 
 
 
 
34
  __( 'Taxonomy', 'aryo-aal' );
1
+ <?php
2
+ __( 'ARYO Activity Log', 'aryo-aal' );
3
+ __( 'Get aware of any activities that are taking place on your dashboard! Imagine it like a black-box for your WordPress site. e.g. post was deleted, plugin was activated, user logged in or logged out - it’s all these for you to see.', 'aryo-aal' );
4
+
5
+ // Post
6
+ __( 'Post', 'aryo-aal' );
7
+ __( 'created', 'aryo-aal' );
8
+ __( 'updated', 'aryo-aal' );
9
+ __( 'deleted', 'aryo-aal' );
10
+
11
+ // Attachment
12
+ __( 'Attachment', 'aryo-aal' );
13
+ __( 'added', 'aryo-aal' );
14
+
15
+ // User
16
+ __( 'User', 'aryo-aal' );
17
+ __( 'logged_out', 'aryo-aal' );
18
+ __( 'logged_in', 'aryo-aal' );
19
+ __( 'wrong_password', 'aryo-aal' );
20
+
21
+ // Plugin
22
+ __( 'Plugin', 'aryo-aal' );
23
+ __( 'activated', 'aryo-aal' );
24
+ __( 'deactivated', 'aryo-aal' );
25
+
26
+ // Theme
27
+ __( 'Theme', 'aryo-aal' );
28
+ __( 'Theme Customizer', 'aryo-aal' );
29
+
30
+ // Widget
31
+ __( 'Widget', 'aryo-aal' );
32
+
33
+ // Options
34
+ __( 'Options', 'aryo-aal' );
35
+
36
+ // Menu
37
+ __( 'Menu', 'aryo-aal' );
38
+
39
+ // Taxonomy
40
  __( 'Taxonomy', 'aryo-aal' );
readme.txt CHANGED
@@ -1,152 +1,127 @@
1
- === ARYO Activity Log ===
2
- Contributors: KingYes, ariel.k, maor
3
- Tags: access, admin, administration, activity, community, event, monitor, multisite, multi-users, log, logging, logger, login, network, stats, security, tracking, user, madeinisrael, woocommerce
4
- Requires at least: 3.5
5
- Tested up to: 3.6.1
6
- Stable tag: 1.0.8
7
- License: GPLv2 or later
8
-
9
- Get aware of any activities that are taking place on your dashboard! Imagine it like a black-box for your WordPress site.
10
-
11
- == Description ==
12
-
13
- <h3>Like being in control? Check this out.</h3>
14
-
15
- We all know that it’s relatively easy to analyze what your visitors are looking for while browsing your site. But there is really no easy way to know what registered users (say, with an Administrator account or even Editors) are doing on the dashboard of your site. How can you know if a post was deleted? or if a plugin was activated/deactivated? or if the active theme was changed?
16
- If you have tens of users or more, you really can’t know who did it. This plugin tries to solve this issue by tracking what users do on the dashboard of your WordPress site.
17
-
18
- <strong>As of this moment, the plugin logs things when:</strong><br />
19
-
20
-
21
- Users
22
-
23
- * A user logs in.
24
- * A user logs out.
25
- * A login has failed due to incorrect credentials.
26
- * A user updates their profile.
27
- * A new user account is being registered.
28
- * An existing user account is being deleted.
29
-
30
- Plugins
31
-
32
- * A plugin is being activated.
33
- * A plugin is being deactivated.
34
- * A plugin is being changed.
35
-
36
- Themes
37
-
38
- * A theme is being changed (Editor and Customizer).
39
-
40
- Content
41
-
42
- * A new post is being created.
43
- * A post is being updated.
44
- * A post changes status (draft, pending review, publish).
45
- * A post is being deleted.
46
-
47
- Media
48
-
49
- * An attachment is being uploaded.
50
- * An attachment is being edited.
51
- * An attachment is being deleted.
52
-
53
- Widgets
54
-
55
- * A widget is being added to a sidebar.
56
- * A widget is being deleted from a sidebar.
57
-
58
- Options
59
-
60
- * A option is being updated (can be extend by east filter).
61
-
62
- Menu
63
-
64
- * A menu is being updated.
65
-
66
- Taxonomy
67
-
68
- * An term is being created.
69
- * An term is being edited.
70
- * An term is being deleted.
71
-
72
- WooCommerce
73
-
74
- * Few options updated (will be more soon).
75
-
76
-
77
- <strong>Translators:</strong>
78
-
79
- * German (de_DE) - [Robert Harm](http://www.mapsmarker.com/)
80
- * Serbo-Croatian (sr_RS) - [Borisa Djuraskovic](http://www.webhostinghub.com/)
81
- * Hebrew (he_IL) - ARYO Digital
82
-
83
- The plugin does not require any kind of setup. It works out of the box (and that’s why we love it too).
84
-
85
- We’re planning to add a lot more features in the upcoming releases. If you think we’re missing something big time, please post your suggestions in the plugin’s forum.
86
-
87
- <strong>Contributions:</strong><br />
88
-
89
- Would you like to like to cotribute to Activity Log? You are more than welcome to submit your pull requests on the [GitHub repo](https://github.com/KingYes/wordpress-aryo-activity-log). Also, if you have any notes about the code, please open a ticket on ths issue tracker.
90
-
91
-
92
- == Installation ==
93
-
94
- 1. Upload plugin files to your plugins folder, or install using WordPress' built-in Add New Plugin installer
95
- 1. Activate the plugin
96
- 1. Go to the plugin settings page (under Settings > Activity Log)
97
- 1. Go to the log viewer page (under Dashboard > Activity Log)
98
-
99
- == Screenshots ==
100
-
101
- 1. The log viewer page
102
- 2. The settings page
103
- 2. Looks as nicely in MP6
104
-
105
- == Frequently Asked Questions ==
106
-
107
- = Requirements =
108
- * __Requires PHP5__ for list management functionality.
109
-
110
- = What is the plugin license? =
111
-
112
- * This plugin is released under a GPL license.
113
-
114
-
115
- == Changelog ==
116
-
117
- = 1.0.8 =
118
- * Added translate: Serbo-Croatian (sr_RS) - Thanks to [Borisa Djuraskovic](http://www.webhostinghub.com/).
119
-
120
- = 1.0.7 =
121
- * Added 'view_all_aryo_activity_log' user capability ([topic](http://wordpress.org/support/topic/capability-to-access-the-activity-log)).
122
-
123
- = 1.0.6 =
124
- * Added WooCommerce integration (very basic).
125
- * Added Settings link in plugins page.
126
-
127
- = 1.0.5 =
128
- * Fix - Make sure no save double lines (menu taxonomy / post).
129
-
130
- = 1.0.4 =
131
- * Added Taxonomy type (created, updated, deleted).
132
-
133
- = 1.0.3 =
134
- * Added Multisite compatibility.
135
- * Added Options hooks (limit list, you can extend by simple filter).
136
- * Added Menu hooks.
137
- * Tweak - Ensure no duplicate logs..
138
-
139
- = 1.0.2 =
140
- * Forget remove old .pot file
141
-
142
- = 1.0.1 =
143
- * Added translate: German (de_DE) - Thanks to [Robert Harm](http://www.mapsmarker.com/)
144
- * Added translate: Hebrew (he_IL)
145
- * Plugin name instead of file name on activation/deactivation
146
- * <strong>New Hooks:</strong>
147
- * A widget is being deleted from a sidebar
148
- * A plugin is being changed
149
- * Theme Customizer (Thanks to Ohad Raz)
150
-
151
- = 1.0 =
152
- * Blastoff!
1
+ === ARYO Activity Log ===
2
+ Contributors: KingYes, ariel.k, maor
3
+ Tags: access, admin, administration, activity, community, event, monitor, multisite, multi-users, log, logging, logger, login, network, stats, security, tracking, user, madeinisrael, woocommerce
4
+ Requires at least: 3.5
5
+ Tested up to: 3.8.1
6
+ Stable tag: 2.0
7
+ License: GPLv2 or later
8
+
9
+ Get aware of any activities that are taking place on your dashboard! Imagine it like a black-box for your WordPress site.
10
+
11
+ == Description ==
12
+
13
+ <h3>Like being in control? Check this out.</h3>
14
+
15
+ We all know that it’s relatively easy to analyze what your visitors are looking for while browsing your site. But there is really no easy way to know what registered users (say, with an Administrator account or even Editors) are doing on the dashboard of your site. How can you know if a post was deleted? or if a plugin was activated/deactivated? or if the active theme was changed?
16
+ If you have tens of users or more, you really can’t know who did it. This plugin tries to solve this issue by tracking what users do on the dashboard of your WordPress site.
17
+
18
+ <strong>As of this moment, the plugin logs things when:</strong><br />
19
+
20
+ * <strong>Post, Page or any Custom Post Type</strong><br />Created, Updated, Status (draft, pending review, publish), Deleted.
21
+ * <strong>Taxonomy</strong><br />Created, Edited, Deleted.
22
+ * <strong>Media</strong><br />Uploaded, Edited, Deleted.
23
+ * <strong>Users</strong><br />Login, Logout, Login has failed, Update profile, Registered and Deleted.
24
+ * <strong>Plugins</strong><br />Activated, Deactivated, Changed.
25
+ * <strong>Themes</strong><br />Activeted, Changed (Editor and Customizer).
26
+ * <strong>Widgets</strong><br />Added to a sidebar / Deleted from a sidebar.
27
+ * <strong>Menu</strong><br />A menu is being updated.
28
+ * <strong>Setting (Options)</strong><br />A option is being updated (can be extend by east filter).
29
+ * <strong>WooCommerce</strong> - Few options updated (will be more soon)
30
+ * and much more..
31
+
32
+ <h4>What people are saying</h4>
33
+ * <em>“Optimized code - The plugin itself is blazing fast and leaves almost no footprint on the server.”</em> - [freshtechtips.com](http://www.freshtechtips.com/2014/01/best-audit-trail-plugins-for-wordpress.html)
34
+ * <em>“The plugin successful for activity log for wordpress.”</em> - [wp-tricks.co.il](http://www.wp-tricks.co.il/2013/08/%D7%99%D7%95%D7%9E%D7%9F-%D7%A4%D7%A2%D7%99%D7%9C%D7%95%D7%AA-%D7%9C%D7%95%D7%95%D7%A8%D7%93%D7%A4%D7%A8%D7%A1-aryo-activity-log/)
35
+ * <em>“This is a pretty simple yet quite effective plugin for keeping track of what your admins and users do on your sites.”</em> - [shadowdragonunlimited.com](http://shadowdragonunlimited.com/plugin-of-the-week-9302013-aryo-activity-log/plugin-of-the-week/)
36
+ * Thanks
37
+
38
+ <h4>Translators:</h4>
39
+ * German (de_DE) - [Robert Harm](http://www.mapsmarker.com/)
40
+ * Serbo-Croatian (sr_RS) - [Borisa Djuraskovic](http://www.webhostinghub.com/)
41
+ * Hebrew (he_IL) - [ARYO Digital](http://www.aryodigital.com/)
42
+
43
+ The plugin does not require any kind of setup. It works out of the box (and that’s why we love it too).
44
+
45
+ We’re planning to add a lot more features in the upcoming releases. If you think we’re missing something big time, please post your suggestions in the plugin’s forum.
46
+
47
+ <strong>Contributions:</strong><br />
48
+
49
+ Would you like to like to cotribute to Activity Log? You are more than welcome to submit your pull requests on the [GitHub repo](https://github.com/KingYes/wordpress-aryo-activity-log). Also, if you have any notes about the code, please open a ticket on ths issue tracker.
50
+
51
+
52
+ == Installation ==
53
+
54
+ 1. Upload plugin files to your plugins folder, or install using WordPress' built-in Add New Plugin installer
55
+ 1. Activate the plugin
56
+ 1. Go to the plugin page (under Dashboard > Activity Log)
57
+
58
+ == Screenshots ==
59
+
60
+ 1. The log viewer page
61
+ 2. The settings page
62
+ 3. Screen Options
63
+
64
+ == Frequently Asked Questions ==
65
+
66
+ = Requirements =
67
+ * __Requires PHP5__ for list management functionality.
68
+
69
+ = What is the plugin license? =
70
+
71
+ * This plugin is released under a GPL license.
72
+
73
+
74
+ == Changelog ==
75
+
76
+ = 2.0 =
77
+ * Added Screen Options
78
+ * New! Ability to select a number of activity items per page
79
+ * New! Columns are now sortable
80
+ * Added filter by date - All Time, Today, Yesterday, Week, Month
81
+ * Added Avatar to author
82
+ * Added role for author
83
+ * Added log for activeted theme
84
+ * Re-order Culomns
85
+ * Compatible up to 3.8.1
86
+ * Settings page is now accessible directly from Activity Log's menu
87
+ * Keep your log for any time your wants
88
+ * Delete Log Activities from Database.
89
+ * Bugs fixed
90
+
91
+
92
+ = 1.0.8 =
93
+ * Added translate: Serbo-Croatian (sr_RS) - Thanks to [Borisa Djuraskovic](http://www.webhostinghub.com/).
94
+
95
+ = 1.0.7 =
96
+ * Added 'view_all_aryo_activity_log' user capability ([topic](http://wordpress.org/support/topic/capability-to-access-the-activity-log)).
97
+
98
+ = 1.0.6 =
99
+ * Added WooCommerce integration (very basic).
100
+ * Added Settings link in plugins page.
101
+
102
+ = 1.0.5 =
103
+ * Fix - Make sure no save double lines (menu taxonomy / post).
104
+
105
+ = 1.0.4 =
106
+ * Added Taxonomy type (created, updated, deleted).
107
+
108
+ = 1.0.3 =
109
+ * Added Multisite compatibility.
110
+ * Added Options hooks (limit list, you can extend by simple filter).
111
+ * Added Menu hooks.
112
+ * Tweak - Ensure no duplicate logs..
113
+
114
+ = 1.0.2 =
115
+ * Forget remove old .pot file
116
+
117
+ = 1.0.1 =
118
+ * Added translate: German (de_DE) - Thanks to [Robert Harm](http://www.mapsmarker.com/)
119
+ * Added translate: Hebrew (he_IL)
120
+ * Plugin name instead of file name on activation/deactivation
121
+ * <strong>New Hooks:</strong>
122
+ * A widget is being deleted from a sidebar
123
+ * A plugin is being changed
124
+ * Theme Customizer (Thanks to Ohad Raz)
125
+
126
+ = 1.0 =
127
+ * Blastoff!
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
screenshot-1.jpg DELETED
Binary file
screenshot-1.png ADDED
Binary file
screenshot-2.jpg DELETED
Binary file
screenshot-2.png ADDED
Binary file
screenshot-3.jpg DELETED
Binary file
screenshot-3.png ADDED
Binary file