Activity Log - Version 2.0.2

Version Description

  • New! Save more Options:
  • General
  • Writing
  • Reading
  • Discussion
  • Media
  • Permalinks
Download this release

Release Info

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

Code changes from version 2.0.1 to 2.0.2

aryo-activity-log.php CHANGED
@@ -5,7 +5,7 @@ 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.1
9
  Text Domain: aryo-aal
10
  Domain Path: /languages/
11
  License: GPLv2 or later
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.2
9
  Text Domain: aryo-aal
10
  Domain Path: /languages/
11
  License: GPLv2 or later
classes/class-aal-activity-log-list-table.php CHANGED
@@ -1,369 +1,373 @@
1
- <?php
2
-
3
- if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
4
-
5
- if ( ! class_exists( 'WP_List_Table' ) )
6
- require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
7
-
8
-
9
- class AAL_Activity_Log_List_Table extends WP_List_Table {
10
-
11
- protected $_roles = array();
12
-
13
- protected $_caps = array();
14
-
15
- protected function _get_where_by_role() {
16
- $allow_modules = array();
17
-
18
- $user = get_user_by( 'id', get_current_user_id() );
19
- if ( ! $user )
20
- wp_die( 'No allowed here.' );
21
-
22
- foreach ( $this->_roles as $key => $role ) {
23
- if ( current_user_can( $key ) || current_user_can( 'view_all_aryo_activity_log' ) ) {
24
- $allow_modules = array_merge( $allow_modules, $role );
25
- }
26
- }
27
-
28
- if ( empty( $allow_modules ) )
29
- wp_die( 'No allowed here.' );
30
-
31
- $allow_modules = array_unique( $allow_modules );
32
-
33
- $where = array();
34
- foreach ( $allow_modules as $type )
35
- $where[] .= '`object_type` = \'' . $type . '\'';
36
-
37
- $user_cap = strtolower( key( $user->caps ) );
38
- $allow_caps = $where_caps = array();
39
-
40
- foreach ( $this->_caps as $key => $cap_allow ) {
41
- if ( $key === $user_cap ) {
42
- $allow_caps = array_merge( $allow_caps, $cap_allow );
43
- break;
44
- }
45
- }
46
-
47
- // TODO: Find better way to Multisite compatibility.
48
- if ( is_super_admin() || current_user_can( 'view_all_aryo_activity_log' ) )
49
- $allow_caps = $this->_caps['administrator'];
50
-
51
- if ( empty( $allow_caps ) )
52
- wp_die( 'No allowed here.' );
53
-
54
- $allow_caps = array_unique( $allow_caps );
55
- foreach ( $allow_caps as $cap )
56
- $where_caps[] .= '`user_caps` = \'' . $cap . '\'';
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' ),
70
- // editor
71
- 'edit_pages' => array( 'Post', 'Taxonomy', 'Attachment' ),
72
- ) );
73
-
74
- $this->_caps = array(
75
- 'administrator' => array( 'administrator', 'editor', 'author', 'guest' ),
76
- 'editor' => array( 'editor', 'author', 'guest' ),
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 ) )
127
- $return = $item->$column_name;
128
- }
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;
202
-
203
- if ( 'top' !== $which )
204
- return;
205
-
206
- echo '<div class="alignleft actions">';
207
-
208
- $users = $wpdb->get_results( $wpdb->prepare(
209
- 'SELECT * FROM `%1$s`
210
- WHERE 1 = 1
211
- ' . $this->_get_where_by_role() . '
212
- GROUP BY `user_id`
213
- ORDER BY `user_id`
214
- ;',
215
- $wpdb->activity_log
216
- ) );
217
-
218
- if ( $users ) {
219
- if ( ! isset( $_REQUEST['usershow'] ) )
220
- $_REQUEST['usershow'] = '';
221
-
222
- $output = array();
223
- foreach ( $users as $_user ) {
224
- if ( 0 === (int) $_user->user_id ) {
225
- $output[0] = __( 'Guest', 'aryo-aal' );
226
- continue;
227
- }
228
-
229
- $user = get_user_by( 'id', $_user->user_id );
230
- if ( $user )
231
- $output[ $user->ID ] = $user->user_nicename;
232
- }
233
-
234
- if ( ! empty( $output ) ) {
235
- echo '<select name="usershow" id="hs-filter-usershow">';
236
- printf( '<option value="">%s</option>', __( 'All Users', 'aryo-aal' ) );
237
- foreach ( $output as $key => $value ) {
238
- printf( '<option value="%s"%s>%s</option>', $key, selected( $_REQUEST['usershow'], $key, false ), $value );
239
- }
240
- echo '</select>';
241
- }
242
- }
243
-
244
- $types = $wpdb->get_results( $wpdb->prepare(
245
- 'SELECT * FROM `%1$s`
246
- WHERE 1 = 1
247
- ' . $this->_get_where_by_role() . '
248
- GROUP BY `object_type`
249
- ORDER BY `object_type`
250
- ;',
251
- $wpdb->activity_log
252
- ) );
253
-
254
- if ( $types ) {
255
- if ( ! isset( $_REQUEST['typeshow'] ) )
256
- $_REQUEST['typeshow'] = '';
257
-
258
- $output = array();
259
- foreach ( $types as $type )
260
- $output[] = sprintf( '<option value="%1$s"%2$s>%1$s</option>', $type->object_type, selected( $_REQUEST['typeshow'], $type->object_type, false ) );
261
-
262
- echo '<select name="typeshow" id="hs-filter-typeshow">';
263
- printf( '<option value="">%s</option>', __( 'All Types', 'aryo-aal' ) );
264
- echo implode( '', $output );
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
- }
290
-
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'] );
307
- }
308
-
309
- if ( isset( $_REQUEST['usershow'] ) && '' !== $_REQUEST['usershow'] ) {
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(
335
- 'SELECT COUNT(`histid`) FROM `%1$s`
336
- ' . $where . '
337
- ' . $this->_get_where_by_role(),
338
- $wpdb->activity_log,
339
- $offset,
340
- $items_per_page
341
- ) );
342
-
343
- $this->items = $wpdb->get_results( $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
- ) );
355
-
356
- $this->set_pagination_args( array(
357
- 'total_items' => $total_items,
358
- 'per_page' => $items_per_page,
359
- 'total_pages' => ceil( $total_items / $items_per_page )
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
- }
 
 
 
 
1
+ <?php
2
+
3
+ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
4
+
5
+ if ( ! class_exists( 'WP_List_Table' ) )
6
+ require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
7
+
8
+
9
+ class AAL_Activity_Log_List_Table extends WP_List_Table {
10
+
11
+ protected $_roles = array();
12
+
13
+ protected $_caps = array();
14
+
15
+ protected function _get_where_by_role() {
16
+ $allow_modules = array();
17
+
18
+ $user = get_user_by( 'id', get_current_user_id() );
19
+ if ( ! $user )
20
+ wp_die( 'No allowed here.' );
21
+
22
+ foreach ( $this->_roles as $key => $role ) {
23
+ if ( current_user_can( $key ) || current_user_can( 'view_all_aryo_activity_log' ) ) {
24
+ $allow_modules = array_merge( $allow_modules, $role );
25
+ }
26
+ }
27
+
28
+ if ( empty( $allow_modules ) )
29
+ wp_die( 'No allowed here.' );
30
+
31
+ $allow_modules = array_unique( $allow_modules );
32
+
33
+ $where = array();
34
+ foreach ( $allow_modules as $type )
35
+ $where[] .= '`object_type` = \'' . $type . '\'';
36
+
37
+ $user_cap = strtolower( key( $user->caps ) );
38
+ $allow_caps = $where_caps = array();
39
+
40
+ foreach ( $this->_caps as $key => $cap_allow ) {
41
+ if ( $key === $user_cap ) {
42
+ $allow_caps = array_merge( $allow_caps, $cap_allow );
43
+ break;
44
+ }
45
+ }
46
+
47
+ // TODO: Find better way to Multisite compatibility.
48
+ if ( is_super_admin() || current_user_can( 'view_all_aryo_activity_log' ) )
49
+ $allow_caps = $this->_caps['administrator'];
50
+
51
+ if ( empty( $allow_caps ) )
52
+ wp_die( 'No allowed here.' );
53
+
54
+ $allow_caps = array_unique( $allow_caps );
55
+ foreach ( $allow_caps as $cap )
56
+ $where_caps[] .= '`user_caps` = \'' . $cap . '\'';
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' ),
70
+ // editor
71
+ 'edit_pages' => array( 'Post', 'Taxonomy', 'Attachment' ),
72
+ ) );
73
+
74
+ $this->_caps = array(
75
+ 'administrator' => array( 'administrator', 'editor', 'author', 'guest' ),
76
+ 'editor' => array( 'editor', 'author', 'guest' ),
77
+ 'author' => array( 'author', 'guest' ),
78
+ );
79
+
80
+ add_screen_option( 'per_page', array(
81
+ 'default' => 50,
82
+ 'label' => __( 'Activities', '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 ) )
127
+ $return = $item->$column_name;
128
+ }
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
+ case 'Options' :
183
+ $return = __( $item->object_name, 'aryo-aal' );
184
+ break;
185
+ }
186
+
187
+ return $return;
188
+ }
189
+
190
+ public function display_tablenav( $which ) {
191
+ if ( 'top' == $which )
192
+ wp_nonce_field( 'bulk-' . $this->_args['plural'] );
193
+ ?>
194
+ <div class="tablenav <?php echo esc_attr( $which ); ?>">
195
+ <?php
196
+ $this->extra_tablenav( $which );
197
+ $this->pagination( $which );
198
+ ?>
199
+ <br class="clear" />
200
+ </div>
201
+ <?php
202
+ }
203
+
204
+ public function extra_tablenav( $which ) {
205
+ global $wpdb;
206
+
207
+ if ( 'top' !== $which )
208
+ return;
209
+
210
+ echo '<div class="alignleft actions">';
211
+
212
+ $users = $wpdb->get_results( $wpdb->prepare(
213
+ 'SELECT * FROM `%1$s`
214
+ WHERE 1 = 1
215
+ ' . $this->_get_where_by_role() . '
216
+ GROUP BY `user_id`
217
+ ORDER BY `user_id`
218
+ ;',
219
+ $wpdb->activity_log
220
+ ) );
221
+
222
+ if ( $users ) {
223
+ if ( ! isset( $_REQUEST['usershow'] ) )
224
+ $_REQUEST['usershow'] = '';
225
+
226
+ $output = array();
227
+ foreach ( $users as $_user ) {
228
+ if ( 0 === (int) $_user->user_id ) {
229
+ $output[0] = __( 'Guest', 'aryo-aal' );
230
+ continue;
231
+ }
232
+
233
+ $user = get_user_by( 'id', $_user->user_id );
234
+ if ( $user )
235
+ $output[ $user->ID ] = $user->user_nicename;
236
+ }
237
+
238
+ if ( ! empty( $output ) ) {
239
+ echo '<select name="usershow" id="hs-filter-usershow">';
240
+ printf( '<option value="">%s</option>', __( 'All Users', 'aryo-aal' ) );
241
+ foreach ( $output as $key => $value ) {
242
+ printf( '<option value="%s"%s>%s</option>', $key, selected( $_REQUEST['usershow'], $key, false ), $value );
243
+ }
244
+ echo '</select>';
245
+ }
246
+ }
247
+
248
+ $types = $wpdb->get_results( $wpdb->prepare(
249
+ 'SELECT * FROM `%1$s`
250
+ WHERE 1 = 1
251
+ ' . $this->_get_where_by_role() . '
252
+ GROUP BY `object_type`
253
+ ORDER BY `object_type`
254
+ ;',
255
+ $wpdb->activity_log
256
+ ) );
257
+
258
+ if ( $types ) {
259
+ if ( ! isset( $_REQUEST['typeshow'] ) )
260
+ $_REQUEST['typeshow'] = '';
261
+
262
+ $output = array();
263
+ foreach ( $types as $type )
264
+ $output[] = sprintf( '<option value="%1$s"%2$s>%1$s</option>', $type->object_type, selected( $_REQUEST['typeshow'], $type->object_type, false ) );
265
+
266
+ echo '<select name="typeshow" id="hs-filter-typeshow">';
267
+ printf( '<option value="">%s</option>', __( 'All Types', 'aryo-aal' ) );
268
+ echo implode( '', $output );
269
+ echo '</select>';
270
+ }
271
+
272
+ // Make sure we get items for filter.
273
+ if ( $users || $types ) {
274
+ if ( ! isset( $_REQUEST['dateshow'] ) )
275
+ $_REQUEST['dateshow'] = '';
276
+
277
+ $date_options = array(
278
+ '' => __( 'All Time', 'aryo-aal' ),
279
+ 'today' => __( 'Today', 'aryo-aal' ),
280
+ 'yesterday' => __( 'Yesterday', 'aryo-aal' ),
281
+ 'week' => __( 'Week', 'aryo-aal' ),
282
+ 'month' => __( 'Month', 'aryo-aal' ),
283
+ );
284
+ echo '<select name="dateshow" id="hs-filter-date">';
285
+ foreach ( $date_options as $key => $value )
286
+ printf( '<option value="%1$s"%2$s>%3$s</option>', $key, selected( $_REQUEST['dateshow'], $key, false ), $value );
287
+ echo '</select>';
288
+
289
+ submit_button( __( 'Filter', 'aryo-aal' ), 'button', false, false, array( 'id' => 'activity-query-submit' ) );
290
+ }
291
+
292
+ echo '</div>';
293
+ }
294
+
295
+ public function prepare_items() {
296
+ global $wpdb;
297
+
298
+ $items_per_page = $this->get_items_per_page( 'edit_aal_logs_per_page', 20 );
299
+ $this->_column_headers = array( $this->get_columns(), get_hidden_columns( $this->screen ), $this->get_sortable_columns() );
300
+ $where = ' WHERE 1=1';
301
+
302
+ if ( ! isset( $_REQUEST['order'] ) || ! in_array( $_REQUEST['order'], array( 'desc', 'asc' ) ) ) {
303
+ $_REQUEST['order'] = 'DESC';
304
+ }
305
+ if ( ! isset( $_REQUEST['orderby'] ) || ! in_array( $_REQUEST['orderby'], array( 'hist_time' ) ) ) {
306
+ $_REQUEST['orderby'] = 'hist_time';
307
+ }
308
+
309
+ if ( ! empty( $_REQUEST['typeshow'] ) ) {
310
+ $where .= $wpdb->prepare( ' AND `object_type` = \'%s\'', $_REQUEST['typeshow'] );
311
+ }
312
+
313
+ if ( isset( $_REQUEST['usershow'] ) && '' !== $_REQUEST['usershow'] ) {
314
+ $where .= $wpdb->prepare( ' AND `user_id` = %d', $_REQUEST['usershow'] );
315
+ }
316
+
317
+ if ( isset( $_REQUEST['dateshow'] ) && in_array( $_REQUEST['dateshow'], array( 'today', 'yesterday', 'week', 'month' ) ) ) {
318
+ $current_time = current_time( 'timestamp' );
319
+
320
+ // Today
321
+ $start_time = mktime( 0, 0, 0, date( 'm', $current_time ), date( 'd', $current_time ), date( 'Y', $current_time ) );;
322
+ $end_time = mktime( 23, 59, 59, date( 'm', $current_time ), date( 'd', $current_time ), date( 'Y', $current_time ) );
323
+
324
+ if ( 'yesterday' === $_REQUEST['dateshow'] ) {
325
+ $start_time = strtotime( 'yesterday', $start_time );
326
+ $end_time = mktime( 23, 59, 59, date( 'm', $start_time ), date( 'd', $start_time ), date( 'Y', $start_time ) );
327
+ } elseif ( 'week' === $_REQUEST['dateshow'] ) {
328
+ $start_time = strtotime( '-1 week', $start_time );
329
+ } elseif ( 'month' === $_REQUEST['dateshow'] ) {
330
+ $start_time = strtotime( '-1 month', $start_time );
331
+ }
332
+
333
+ $where .= $wpdb->prepare( ' AND `hist_time` > %1$d AND `hist_time` < %2$d', $start_time, $end_time );
334
+ }
335
+
336
+ $offset = ( $this->get_pagenum() - 1 ) * $items_per_page;
337
+
338
+ $total_items = $wpdb->get_var( $wpdb->prepare(
339
+ 'SELECT COUNT(`histid`) FROM `%1$s`
340
+ ' . $where . '
341
+ ' . $this->_get_where_by_role(),
342
+ $wpdb->activity_log,
343
+ $offset,
344
+ $items_per_page
345
+ ) );
346
+
347
+ $this->items = $wpdb->get_results( $wpdb->prepare(
348
+ 'SELECT * FROM `%1$s`
349
+ ' . $where . '
350
+ ' . $this->_get_where_by_role() . '
351
+ ORDER BY `%2$s` %3$s
352
+ LIMIT %4$d, %5$d;',
353
+ $wpdb->activity_log,
354
+ $_REQUEST['orderby'],
355
+ $_REQUEST['order'],
356
+ $offset,
357
+ $items_per_page
358
+ ) );
359
+
360
+ $this->set_pagination_args( array(
361
+ 'total_items' => $total_items,
362
+ 'per_page' => $items_per_page,
363
+ 'total_pages' => ceil( $total_items / $items_per_page )
364
+ ) );
365
+ }
366
+
367
+ public function set_screen_option( $status, $option, $value ) {
368
+ if ( 'edit_aal_logs_per_page' === $option )
369
+ return $value;
370
+ return $status;
371
+ }
372
+
373
+ }
classes/class-aal-hooks.php CHANGED
@@ -341,12 +341,78 @@ class AAL_Hooks {
341
 
342
  public function hooks_updated_option( $option, $oldvalue, $_newvalue ) {
343
  $whitelist_options = apply_filters( 'aal_whitelist_options', array(
344
- 'siteurl',
345
- 'home',
346
  'blogname',
347
  'blogdescription',
 
 
348
  'admin_email',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
349
  'avatar_default',
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
350
  ) );
351
 
352
  if ( ! in_array( $option, $whitelist_options ) )
341
 
342
  public function hooks_updated_option( $option, $oldvalue, $_newvalue ) {
343
  $whitelist_options = apply_filters( 'aal_whitelist_options', array(
344
+ // General
 
345
  'blogname',
346
  'blogdescription',
347
+ 'siteurl',
348
+ 'home',
349
  'admin_email',
350
+ 'users_can_register',
351
+ 'default_role',
352
+ 'timezone_string',
353
+ 'date_format',
354
+ 'time_format',
355
+ 'start_of_week',
356
+
357
+ // Writing
358
+ 'use_smilies',
359
+ 'use_balanceTags',
360
+ 'default_category',
361
+ 'default_post_format',
362
+ 'mailserver_url',
363
+ 'mailserver_login',
364
+ 'mailserver_pass',
365
+ 'default_email_category',
366
+ 'ping_sites',
367
+
368
+ // Reading
369
+ 'show_on_front',
370
+ 'page_on_front',
371
+ 'page_for_posts',
372
+ 'posts_per_page',
373
+ 'posts_per_rss',
374
+ 'rss_use_excerpt',
375
+ 'blog_public',
376
+
377
+ // Discussion
378
+ 'default_pingback_flag',
379
+ 'default_ping_status',
380
+ 'default_comment_status',
381
+ 'require_name_email',
382
+ 'comment_registration',
383
+ 'close_comments_for_old_posts',
384
+ 'close_comments_days_old',
385
+ 'thread_comments',
386
+ 'thread_comments_depth',
387
+ 'page_comments',
388
+ 'comments_per_page',
389
+ 'default_comments_page',
390
+ 'comment_order',
391
+ 'comments_notify',
392
+ 'moderation_notify',
393
+ 'comment_moderation',
394
+ 'comment_whitelist',
395
+ 'comment_max_links',
396
+ 'moderation_keys',
397
+ 'blacklist_keys',
398
+ 'show_avatars',
399
+ 'avatar_rating',
400
  'avatar_default',
401
+
402
+ // Media
403
+ 'thumbnail_size_w',
404
+ 'thumbnail_size_h',
405
+ 'thumbnail_crop',
406
+ 'medium_size_w',
407
+ 'medium_size_h',
408
+ 'large_size_w',
409
+ 'large_size_h',
410
+ 'uploads_use_yearmonth_folders',
411
+
412
+ // Permalinks
413
+ 'permalink_structure',
414
+ 'category_base',
415
+ 'tag_base',
416
  ) );
417
 
418
  if ( ! in_array( $option, $whitelist_options ) )
language/aryo-aal-he_IL.mo CHANGED
Binary file
language/aryo-aal-he_IL.po CHANGED
@@ -4,24 +4,25 @@ 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: 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"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
16
- "X-Generator: Poedit 1.5.5\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e;_x;_n:1,2;_c,_nc:4c,1,2\n"
19
  "X-Poedit-Basepath: .\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"
@@ -61,39 +62,39 @@ 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
 
@@ -101,27 +102,31 @@ msgstr "סינון"
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)."
@@ -129,30 +134,30 @@ 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"
@@ -244,6 +249,306 @@ msgstr "תפריט"
244
  msgid "Taxonomy"
245
  msgstr "טקסונומי"
246
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
247
  #~ msgid "All Dates"
248
  #~ msgstr "כל הזמן"
249
 
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-17 19:22-0000\n"
8
+ "PO-Revision-Date: 2014-02-17 19:22-0000\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"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
15
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
16
+ "X-Generator: Poedit 1.6.4\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e;_x;_n:1,2;_c,_nc:4c,1,2\n"
19
  "X-Poedit-Basepath: .\n"
20
  "X-Poedit-SearchPath-0: ..\n"
21
 
22
  #: ../classes/class-aal-activity-log-list-table.php:82
23
+ #, fuzzy
24
+ msgid "Activities"
25
+ msgstr "מחיקת כל היומן פעילות"
26
 
27
  #: ../classes/class-aal-activity-log-list-table.php:92
28
  msgid "Date"
62
  msgstr "לא ידוע"
63
 
64
  #: ../classes/class-aal-activity-log-list-table.php:151
65
+ #: ../classes/class-aal-activity-log-list-table.php:229
66
  msgid "Guest"
67
  msgstr "אורח"
68
 
69
+ #: ../classes/class-aal-activity-log-list-table.php:240
70
  msgid "All Users"
71
  msgstr "כל המשתמשים"
72
 
73
+ #: ../classes/class-aal-activity-log-list-table.php:267
74
  msgid "All Types"
75
  msgstr "כל הסוגים"
76
 
77
+ #: ../classes/class-aal-activity-log-list-table.php:278
78
  msgid "All Time"
79
  msgstr "כל הזמן"
80
 
81
+ #: ../classes/class-aal-activity-log-list-table.php:279
82
  msgid "Today"
83
  msgstr "היום"
84
 
85
+ #: ../classes/class-aal-activity-log-list-table.php:280
86
  msgid "Yesterday"
87
  msgstr "אתמול"
88
 
89
+ #: ../classes/class-aal-activity-log-list-table.php:281
90
  msgid "Week"
91
  msgstr "שבוע"
92
 
93
+ #: ../classes/class-aal-activity-log-list-table.php:282
94
  msgid "Month"
95
  msgstr "חודש"
96
 
97
+ #: ../classes/class-aal-activity-log-list-table.php:289
98
  msgid "Filter"
99
  msgstr "סינון"
100
 
102
  msgid "Activity Log"
103
  msgstr "יומן פעילות"
104
 
105
+ #: ../classes/class-aal-settings.php:21
106
+ msgid "GitHub"
107
+ msgstr ""
108
+
109
+ #: ../classes/class-aal-settings.php:24 ../classes/class-aal-settings.php:39
110
  msgid "Settings"
111
  msgstr "הגדרות"
112
 
113
+ #: ../classes/class-aal-settings.php:38 ../classes/class-aal-settings.php:106
114
  msgid "Activity Log Settings"
115
  msgstr "הגדרות יומן פעילות"
116
 
117
+ #: ../classes/class-aal-settings.php:59
118
  msgid "Display Options"
119
  msgstr "אפשרויות תצוגה"
120
 
121
+ #: ../classes/class-aal-settings.php:66
122
  msgid "Keep logs for"
123
  msgstr "שמירת היסטוריית פעילות למשך"
124
 
125
+ #: ../classes/class-aal-settings.php:75
126
  msgid "days."
127
  msgstr "ימים"
128
 
129
+ #: ../classes/class-aal-settings.php:76
130
  msgid ""
131
  "Maximum number of days to keep activity log. Leave blank to keep activity "
132
  "log forever (not recommended)."
134
  "מספר ימים מרבי כדי לשמור תיעוד יומן הפעילות. השאר ריק כדי לשמור תיעוד יומן "
135
  "הפעילות לנצח (לא מומלץ)"
136
 
137
+ #: ../classes/class-aal-settings.php:83
138
  msgid "Delete Log Activities"
139
  msgstr "מחיקת כל היומן פעילות"
140
 
141
+ #: ../classes/class-aal-settings.php:88
142
  #, php-format
143
  msgid "<a href=\"%s\" id=\"%s\">Reset Database</a>"
144
  msgstr "<a href=\"%s\" id=\"%s\">איפוס דטאבייס</a>"
145
 
146
+ #: ../classes/class-aal-settings.php:92
147
  msgid "Warning: Clicking this will delete all activities from the database."
148
  msgstr "שימו לב: לחיצה תמחוק את כל הפעילויות מהדטאבייס"
149
 
150
+ #: ../classes/class-aal-settings.php:124
151
  msgid "All activities have been successfully deleted."
152
  msgstr "כל הפעילויות נמחקו בהצלחה."
153
 
154
+ #: ../classes/class-aal-settings.php:135
155
  msgid "Are you sure you want to do this action?"
156
  msgstr "בטוח לבצע את פעולת המחיקה?"
157
 
158
+ #: ../classes/class-aal-settings.php:169
159
  msgid "These are some basic settings for Activity Log."
160
+ msgstr "אלו חלק מההגדרות הבסיסיות של יומן הפעילות."
161
 
162
  #: ../language/strings.php:2
163
  msgid "ARYO Activity Log"
249
  msgid "Taxonomy"
250
  msgstr "טקסונומי"
251
 
252
+ #: ../language/strings.php:45
253
+ msgid "blogname"
254
+ msgstr ""
255
+
256
+ #: ../language/strings.php:46
257
+ #, fuzzy
258
+ msgid "blogdescription"
259
+ msgstr "תיאור"
260
+
261
+ #: ../language/strings.php:47
262
+ msgid "siteurl"
263
+ msgstr ""
264
+
265
+ #: ../language/strings.php:48
266
+ #, fuzzy
267
+ msgid "home"
268
+ msgstr "ראשי"
269
+
270
+ #: ../language/strings.php:49
271
+ #, fuzzy
272
+ msgid "admin_email"
273
+ msgstr "מצטערים, כתובת זו כבר תפוסה במערכת."
274
+
275
+ #: ../language/strings.php:50
276
+ #, fuzzy
277
+ msgid "users_can_register"
278
+ msgstr "הרשמה"
279
+
280
+ #: ../language/strings.php:51
281
+ #, fuzzy
282
+ msgid "default_role"
283
+ msgstr "ברירת מחדל"
284
+
285
+ #: ../language/strings.php:52
286
+ msgid "timezone_string"
287
+ msgstr ""
288
+
289
+ #: ../language/strings.php:53
290
+ #, fuzzy
291
+ msgid "date_format"
292
+ msgstr "פורמט"
293
+
294
+ #: ../language/strings.php:54
295
+ #, fuzzy
296
+ msgid "time_format"
297
+ msgstr "פורמט"
298
+
299
+ #: ../language/strings.php:55
300
+ #, fuzzy
301
+ msgid "start_of_week"
302
+ msgstr "שבוע מתחיל ב:"
303
+
304
+ #: ../language/strings.php:58
305
+ msgid "use_smilies"
306
+ msgstr ""
307
+
308
+ #: ../language/strings.php:59
309
+ msgid "use_balanceTags"
310
+ msgstr ""
311
+
312
+ #: ../language/strings.php:60
313
+ #, fuzzy
314
+ msgid "default_category"
315
+ msgstr "ברירת מחדל"
316
+
317
+ #: ../language/strings.php:61
318
+ #, fuzzy
319
+ msgid "default_post_format"
320
+ msgstr "הגדרות פוסט ברירת מחדל"
321
+
322
+ #: ../language/strings.php:62
323
+ #, fuzzy
324
+ msgid "mailserver_url"
325
+ msgstr "קישור URL"
326
+
327
+ #: ../language/strings.php:63
328
+ #, fuzzy
329
+ msgid "mailserver_login"
330
+ msgstr "התחברות"
331
+
332
+ #: ../language/strings.php:64
333
+ msgid "mailserver_pass"
334
+ msgstr ""
335
+
336
+ #: ../language/strings.php:65
337
+ #, fuzzy
338
+ msgid "default_email_category"
339
+ msgstr "ברירת מחדל"
340
+
341
+ #: ../language/strings.php:66
342
+ msgid "ping_sites"
343
+ msgstr ""
344
+
345
+ #: ../language/strings.php:69
346
+ #, fuzzy
347
+ msgid "show_on_front"
348
+ msgstr "עמוד ראשי"
349
+
350
+ #: ../language/strings.php:70
351
+ #, fuzzy
352
+ msgid "page_on_front"
353
+ msgstr "עמוד ראשי"
354
+
355
+ #: ../language/strings.php:71
356
+ #, fuzzy
357
+ msgid "page_for_posts"
358
+ msgstr "מספר פוסטים בעמוד"
359
+
360
+ #: ../language/strings.php:72
361
+ #, fuzzy
362
+ msgid "posts_per_page"
363
+ msgstr "מספר פוסטים בעמוד"
364
+
365
+ #: ../language/strings.php:73
366
+ #, fuzzy
367
+ msgid "posts_per_rss"
368
+ msgstr "מספר פוסטים בעמוד"
369
+
370
+ #: ../language/strings.php:74
371
+ #, fuzzy
372
+ msgid "rss_use_excerpt"
373
+ msgstr "תקציר"
374
+
375
+ #: ../language/strings.php:75
376
+ #, fuzzy
377
+ msgid "blog_public"
378
+ msgstr "הוספת פוסט"
379
+
380
+ #: ../language/strings.php:78
381
+ #, fuzzy
382
+ msgid "default_pingback_flag"
383
+ msgstr "ברירת מחדל"
384
+
385
+ #: ../language/strings.php:79
386
+ #, fuzzy
387
+ msgid "default_ping_status"
388
+ msgstr "ברירת מחדל"
389
+
390
+ #: ../language/strings.php:80
391
+ #, fuzzy
392
+ msgid "default_comment_status"
393
+ msgstr "ברירת מחדל"
394
+
395
+ #: ../language/strings.php:81
396
+ #, fuzzy
397
+ msgid "require_name_email"
398
+ msgstr "שם:"
399
+
400
+ #: ../language/strings.php:82
401
+ #, fuzzy
402
+ msgid "comment_registration"
403
+ msgstr "תגובה אחת"
404
+
405
+ #: ../language/strings.php:83
406
+ #, fuzzy
407
+ msgid "close_comments_for_old_posts"
408
+ msgstr "לאפשר לגולשים להגיב על פוסטים חדשים"
409
+
410
+ #: ../language/strings.php:84
411
+ msgid "close_comments_days_old"
412
+ msgstr ""
413
+
414
+ #: ../language/strings.php:85
415
+ #, fuzzy
416
+ msgid "thread_comments"
417
+ msgstr "אין תגובות"
418
+
419
+ #: ../language/strings.php:86
420
+ #, fuzzy
421
+ msgid "thread_comments_depth"
422
+ msgstr "אין תגובות"
423
+
424
+ #: ../language/strings.php:87
425
+ #, fuzzy
426
+ msgid "page_comments"
427
+ msgstr "אין תגובות"
428
+
429
+ #: ../language/strings.php:88
430
+ #, fuzzy
431
+ msgid "comments_per_page"
432
+ msgstr "מספר גלריות בעמוד"
433
+
434
+ #: ../language/strings.php:89
435
+ #, fuzzy
436
+ msgid "default_comments_page"
437
+ msgstr "ברירת מחדל"
438
+
439
+ #: ../language/strings.php:90
440
+ #, fuzzy
441
+ msgid "comment_order"
442
+ msgstr "סידור לפי"
443
+
444
+ #: ../language/strings.php:91
445
+ #, fuzzy
446
+ msgid "comments_notify"
447
+ msgstr "אין תגובות"
448
+
449
+ #: ../language/strings.php:92
450
+ #, fuzzy
451
+ msgid "moderation_notify"
452
+ msgstr "תגובתך ממתינה לאישור."
453
+
454
+ #: ../language/strings.php:93
455
+ #, fuzzy
456
+ msgid "comment_moderation"
457
+ msgstr "תגובתך ממתינה לאישור."
458
+
459
+ #: ../language/strings.php:94
460
+ #, fuzzy
461
+ msgid "comment_whitelist"
462
+ msgstr "תגובה אחת"
463
+
464
+ #: ../language/strings.php:95
465
+ #, fuzzy
466
+ msgid "comment_max_links"
467
+ msgstr "תגובה אחת"
468
+
469
+ #: ../language/strings.php:96
470
+ #, fuzzy
471
+ msgid "moderation_keys"
472
+ msgstr "תגובתך ממתינה לאישור."
473
+
474
+ #: ../language/strings.php:97
475
+ msgid "blacklist_keys"
476
+ msgstr ""
477
+
478
+ #: ../language/strings.php:98
479
+ #, fuzzy
480
+ msgid "show_avatars"
481
+ msgstr "להציג"
482
+
483
+ #: ../language/strings.php:99
484
+ msgid "avatar_rating"
485
+ msgstr ""
486
+
487
+ #: ../language/strings.php:100
488
+ #, fuzzy
489
+ msgid "avatar_default"
490
+ msgstr "ברירת מחדל"
491
+
492
+ #: ../language/strings.php:103
493
+ #, fuzzy
494
+ msgid "thumbnail_size_w"
495
+ msgstr "תמונה ראשית:"
496
+
497
+ #: ../language/strings.php:104
498
+ #, fuzzy
499
+ msgid "thumbnail_size_h"
500
+ msgstr "תמונה ראשית:"
501
+
502
+ #: ../language/strings.php:105
503
+ #, fuzzy
504
+ msgid "thumbnail_crop"
505
+ msgstr "תמונה ראשית:"
506
+
507
+ #: ../language/strings.php:106
508
+ #, fuzzy
509
+ msgid "medium_size_w"
510
+ msgstr "רגיל"
511
+
512
+ #: ../language/strings.php:107
513
+ #, fuzzy
514
+ msgid "medium_size_h"
515
+ msgstr "רגיל"
516
+
517
+ #: ../language/strings.php:108
518
+ #, fuzzy
519
+ msgid "large_size_w"
520
+ msgstr "גדול"
521
+
522
+ #: ../language/strings.php:109
523
+ #, fuzzy
524
+ msgid "large_size_h"
525
+ msgstr "גדול"
526
+
527
+ #: ../language/strings.php:110
528
+ msgid "uploads_use_yearmonth_folders"
529
+ msgstr ""
530
+
531
+ #: ../language/strings.php:113
532
+ msgid "permalink_structure"
533
+ msgstr ""
534
+
535
+ #: ../language/strings.php:114
536
+ #, fuzzy
537
+ msgid "category_base"
538
+ msgstr ":קטגוריה"
539
+
540
+ #: ../language/strings.php:115
541
+ #, fuzzy
542
+ msgid "tag_base"
543
+ msgstr "תגית: \"%s\""
544
+
545
+ #, fuzzy
546
+ #~ msgid "Me too"
547
+ #~ msgstr "שלח אלי אימייל בכל פעם"
548
+
549
+ #~ msgid "Items"
550
+ #~ msgstr "פריטים"
551
+
552
  #~ msgid "All Dates"
553
  #~ msgstr "כל הזמן"
554
 
language/aryo-aal.pot CHANGED
@@ -4,22 +4,22 @@ 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: 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"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
- "X-Generator: Poedit 1.5.5\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e;_x;_n:1,2;_c,_nc:4c,1,2\n"
18
  "X-Poedit-Basepath: .\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
@@ -60,39 +60,39 @@ 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
 
@@ -100,54 +100,58 @@ msgstr ""
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
 
@@ -237,3 +241,247 @@ msgstr ""
237
  #: ../language/strings.php:40
238
  msgid "Taxonomy"
239
  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-17 19:21-0000\n"
8
+ "PO-Revision-Date: 2014-02-17 19:22-0000\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"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
15
+ "X-Generator: Poedit 1.6.4\n"
16
  "X-Poedit-SourceCharset: UTF-8\n"
17
  "X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e;_x;_n:1,2;_c,_nc:4c,1,2\n"
18
  "X-Poedit-Basepath: .\n"
19
  "X-Poedit-SearchPath-0: ..\n"
20
 
21
  #: ../classes/class-aal-activity-log-list-table.php:82
22
+ msgid "Activities"
23
  msgstr ""
24
 
25
  #: ../classes/class-aal-activity-log-list-table.php:92
60
  msgstr ""
61
 
62
  #: ../classes/class-aal-activity-log-list-table.php:151
63
+ #: ../classes/class-aal-activity-log-list-table.php:229
64
  msgid "Guest"
65
  msgstr ""
66
 
67
+ #: ../classes/class-aal-activity-log-list-table.php:240
68
  msgid "All Users"
69
  msgstr ""
70
 
71
+ #: ../classes/class-aal-activity-log-list-table.php:267
72
  msgid "All Types"
73
  msgstr ""
74
 
75
+ #: ../classes/class-aal-activity-log-list-table.php:278
76
  msgid "All Time"
77
  msgstr ""
78
 
79
+ #: ../classes/class-aal-activity-log-list-table.php:279
80
  msgid "Today"
81
  msgstr ""
82
 
83
+ #: ../classes/class-aal-activity-log-list-table.php:280
84
  msgid "Yesterday"
85
  msgstr ""
86
 
87
+ #: ../classes/class-aal-activity-log-list-table.php:281
88
  msgid "Week"
89
  msgstr ""
90
 
91
+ #: ../classes/class-aal-activity-log-list-table.php:282
92
  msgid "Month"
93
  msgstr ""
94
 
95
+ #: ../classes/class-aal-activity-log-list-table.php:289
96
  msgid "Filter"
97
  msgstr ""
98
 
100
  msgid "Activity Log"
101
  msgstr ""
102
 
103
+ #: ../classes/class-aal-settings.php:21
104
+ msgid "GitHub"
105
+ msgstr ""
106
+
107
+ #: ../classes/class-aal-settings.php:24 ../classes/class-aal-settings.php:39
108
  msgid "Settings"
109
  msgstr ""
110
 
111
+ #: ../classes/class-aal-settings.php:38 ../classes/class-aal-settings.php:106
112
  msgid "Activity Log Settings"
113
  msgstr ""
114
 
115
+ #: ../classes/class-aal-settings.php:59
116
  msgid "Display Options"
117
  msgstr ""
118
 
119
+ #: ../classes/class-aal-settings.php:66
120
  msgid "Keep logs for"
121
  msgstr ""
122
 
123
+ #: ../classes/class-aal-settings.php:75
124
  msgid "days."
125
  msgstr ""
126
 
127
+ #: ../classes/class-aal-settings.php:76
128
  msgid ""
129
  "Maximum number of days to keep activity log. Leave blank to keep activity "
130
  "log forever (not recommended)."
131
  msgstr ""
132
 
133
+ #: ../classes/class-aal-settings.php:83
134
  msgid "Delete Log Activities"
135
  msgstr ""
136
 
137
+ #: ../classes/class-aal-settings.php:88
138
  #, php-format
139
  msgid "<a href=\"%s\" id=\"%s\">Reset Database</a>"
140
  msgstr ""
141
 
142
+ #: ../classes/class-aal-settings.php:92
143
  msgid "Warning: Clicking this will delete all activities from the database."
144
  msgstr ""
145
 
146
+ #: ../classes/class-aal-settings.php:124
147
  msgid "All activities have been successfully deleted."
148
  msgstr ""
149
 
150
+ #: ../classes/class-aal-settings.php:135
151
  msgid "Are you sure you want to do this action?"
152
  msgstr ""
153
 
154
+ #: ../classes/class-aal-settings.php:169
155
  msgid "These are some basic settings for Activity Log."
156
  msgstr ""
157
 
241
  #: ../language/strings.php:40
242
  msgid "Taxonomy"
243
  msgstr ""
244
+
245
+ #: ../language/strings.php:45
246
+ msgid "blogname"
247
+ msgstr ""
248
+
249
+ #: ../language/strings.php:46
250
+ msgid "blogdescription"
251
+ msgstr ""
252
+
253
+ #: ../language/strings.php:47
254
+ msgid "siteurl"
255
+ msgstr ""
256
+
257
+ #: ../language/strings.php:48
258
+ msgid "home"
259
+ msgstr ""
260
+
261
+ #: ../language/strings.php:49
262
+ msgid "admin_email"
263
+ msgstr ""
264
+
265
+ #: ../language/strings.php:50
266
+ msgid "users_can_register"
267
+ msgstr ""
268
+
269
+ #: ../language/strings.php:51
270
+ msgid "default_role"
271
+ msgstr ""
272
+
273
+ #: ../language/strings.php:52
274
+ msgid "timezone_string"
275
+ msgstr ""
276
+
277
+ #: ../language/strings.php:53
278
+ msgid "date_format"
279
+ msgstr ""
280
+
281
+ #: ../language/strings.php:54
282
+ msgid "time_format"
283
+ msgstr ""
284
+
285
+ #: ../language/strings.php:55
286
+ msgid "start_of_week"
287
+ msgstr ""
288
+
289
+ #: ../language/strings.php:58
290
+ msgid "use_smilies"
291
+ msgstr ""
292
+
293
+ #: ../language/strings.php:59
294
+ msgid "use_balanceTags"
295
+ msgstr ""
296
+
297
+ #: ../language/strings.php:60
298
+ msgid "default_category"
299
+ msgstr ""
300
+
301
+ #: ../language/strings.php:61
302
+ msgid "default_post_format"
303
+ msgstr ""
304
+
305
+ #: ../language/strings.php:62
306
+ msgid "mailserver_url"
307
+ msgstr ""
308
+
309
+ #: ../language/strings.php:63
310
+ msgid "mailserver_login"
311
+ msgstr ""
312
+
313
+ #: ../language/strings.php:64
314
+ msgid "mailserver_pass"
315
+ msgstr ""
316
+
317
+ #: ../language/strings.php:65
318
+ msgid "default_email_category"
319
+ msgstr ""
320
+
321
+ #: ../language/strings.php:66
322
+ msgid "ping_sites"
323
+ msgstr ""
324
+
325
+ #: ../language/strings.php:69
326
+ msgid "show_on_front"
327
+ msgstr ""
328
+
329
+ #: ../language/strings.php:70
330
+ msgid "page_on_front"
331
+ msgstr ""
332
+
333
+ #: ../language/strings.php:71
334
+ msgid "page_for_posts"
335
+ msgstr ""
336
+
337
+ #: ../language/strings.php:72
338
+ msgid "posts_per_page"
339
+ msgstr ""
340
+
341
+ #: ../language/strings.php:73
342
+ msgid "posts_per_rss"
343
+ msgstr ""
344
+
345
+ #: ../language/strings.php:74
346
+ msgid "rss_use_excerpt"
347
+ msgstr ""
348
+
349
+ #: ../language/strings.php:75
350
+ msgid "blog_public"
351
+ msgstr ""
352
+
353
+ #: ../language/strings.php:78
354
+ msgid "default_pingback_flag"
355
+ msgstr ""
356
+
357
+ #: ../language/strings.php:79
358
+ msgid "default_ping_status"
359
+ msgstr ""
360
+
361
+ #: ../language/strings.php:80
362
+ msgid "default_comment_status"
363
+ msgstr ""
364
+
365
+ #: ../language/strings.php:81
366
+ msgid "require_name_email"
367
+ msgstr ""
368
+
369
+ #: ../language/strings.php:82
370
+ msgid "comment_registration"
371
+ msgstr ""
372
+
373
+ #: ../language/strings.php:83
374
+ msgid "close_comments_for_old_posts"
375
+ msgstr ""
376
+
377
+ #: ../language/strings.php:84
378
+ msgid "close_comments_days_old"
379
+ msgstr ""
380
+
381
+ #: ../language/strings.php:85
382
+ msgid "thread_comments"
383
+ msgstr ""
384
+
385
+ #: ../language/strings.php:86
386
+ msgid "thread_comments_depth"
387
+ msgstr ""
388
+
389
+ #: ../language/strings.php:87
390
+ msgid "page_comments"
391
+ msgstr ""
392
+
393
+ #: ../language/strings.php:88
394
+ msgid "comments_per_page"
395
+ msgstr ""
396
+
397
+ #: ../language/strings.php:89
398
+ msgid "default_comments_page"
399
+ msgstr ""
400
+
401
+ #: ../language/strings.php:90
402
+ msgid "comment_order"
403
+ msgstr ""
404
+
405
+ #: ../language/strings.php:91
406
+ msgid "comments_notify"
407
+ msgstr ""
408
+
409
+ #: ../language/strings.php:92
410
+ msgid "moderation_notify"
411
+ msgstr ""
412
+
413
+ #: ../language/strings.php:93
414
+ msgid "comment_moderation"
415
+ msgstr ""
416
+
417
+ #: ../language/strings.php:94
418
+ msgid "comment_whitelist"
419
+ msgstr ""
420
+
421
+ #: ../language/strings.php:95
422
+ msgid "comment_max_links"
423
+ msgstr ""
424
+
425
+ #: ../language/strings.php:96
426
+ msgid "moderation_keys"
427
+ msgstr ""
428
+
429
+ #: ../language/strings.php:97
430
+ msgid "blacklist_keys"
431
+ msgstr ""
432
+
433
+ #: ../language/strings.php:98
434
+ msgid "show_avatars"
435
+ msgstr ""
436
+
437
+ #: ../language/strings.php:99
438
+ msgid "avatar_rating"
439
+ msgstr ""
440
+
441
+ #: ../language/strings.php:100
442
+ msgid "avatar_default"
443
+ msgstr ""
444
+
445
+ #: ../language/strings.php:103
446
+ msgid "thumbnail_size_w"
447
+ msgstr ""
448
+
449
+ #: ../language/strings.php:104
450
+ msgid "thumbnail_size_h"
451
+ msgstr ""
452
+
453
+ #: ../language/strings.php:105
454
+ msgid "thumbnail_crop"
455
+ msgstr ""
456
+
457
+ #: ../language/strings.php:106
458
+ msgid "medium_size_w"
459
+ msgstr ""
460
+
461
+ #: ../language/strings.php:107
462
+ msgid "medium_size_h"
463
+ msgstr ""
464
+
465
+ #: ../language/strings.php:108
466
+ msgid "large_size_w"
467
+ msgstr ""
468
+
469
+ #: ../language/strings.php:109
470
+ msgid "large_size_h"
471
+ msgstr ""
472
+
473
+ #: ../language/strings.php:110
474
+ msgid "uploads_use_yearmonth_folders"
475
+ msgstr ""
476
+
477
+ #: ../language/strings.php:113
478
+ msgid "permalink_structure"
479
+ msgstr ""
480
+
481
+ #: ../language/strings.php:114
482
+ msgid "category_base"
483
+ msgstr ""
484
+
485
+ #: ../language/strings.php:115
486
+ msgid "tag_base"
487
+ msgstr ""
language/strings.php CHANGED
@@ -37,4 +37,79 @@ __( 'Options', 'aryo-aal' );
37
  __( 'Menu', 'aryo-aal' );
38
 
39
  // Taxonomy
40
- __( 'Taxonomy', 'aryo-aal' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  __( 'Menu', 'aryo-aal' );
38
 
39
  // Taxonomy
40
+ __( 'Taxonomy', 'aryo-aal' );
41
+
42
+
43
+
44
+ // Translate Options?
45
+ __( 'blogname', 'aryo-aal' );
46
+ __( 'blogdescription', 'aryo-aal' );
47
+ __( 'siteurl', 'aryo-aal' );
48
+ __( 'home', 'aryo-aal' );
49
+ __( 'admin_email', 'aryo-aal' );
50
+ __( 'users_can_register', 'aryo-aal' );
51
+ __( 'default_role', 'aryo-aal' );
52
+ __( 'timezone_string', 'aryo-aal' );
53
+ __( 'date_format', 'aryo-aal' );
54
+ __( 'time_format', 'aryo-aal' );
55
+ __( 'start_of_week', 'aryo-aal' );
56
+
57
+ // Writing
58
+ __( 'use_smilies', 'aryo-aal' );
59
+ __( 'use_balanceTags', 'aryo-aal' );
60
+ __( 'default_category', 'aryo-aal' );
61
+ __( 'default_post_format', 'aryo-aal' );
62
+ __( 'mailserver_url', 'aryo-aal' );
63
+ __( 'mailserver_login', 'aryo-aal' );
64
+ __( 'mailserver_pass', 'aryo-aal' );
65
+ __( 'default_email_category', 'aryo-aal' );
66
+ __( 'ping_sites', 'aryo-aal' );
67
+
68
+ // Reading
69
+ __( 'show_on_front', 'aryo-aal' );
70
+ __( 'page_on_front', 'aryo-aal' );
71
+ __( 'page_for_posts', 'aryo-aal' );
72
+ __( 'posts_per_page', 'aryo-aal' );
73
+ __( 'posts_per_rss', 'aryo-aal' );
74
+ __( 'rss_use_excerpt', 'aryo-aal' );
75
+ __( 'blog_public', 'aryo-aal' );
76
+
77
+ // Discussion
78
+ __( 'default_pingback_flag', 'aryo-aal' );
79
+ __( 'default_ping_status', 'aryo-aal' );
80
+ __( 'default_comment_status', 'aryo-aal' );
81
+ __( 'require_name_email', 'aryo-aal' );
82
+ __( 'comment_registration', 'aryo-aal' );
83
+ __( 'close_comments_for_old_posts', 'aryo-aal' );
84
+ __( 'close_comments_days_old', 'aryo-aal' );
85
+ __( 'thread_comments', 'aryo-aal' );
86
+ __( 'thread_comments_depth', 'aryo-aal' );
87
+ __( 'page_comments', 'aryo-aal' );
88
+ __( 'comments_per_page', 'aryo-aal' );
89
+ __( 'default_comments_page', 'aryo-aal' );
90
+ __( 'comment_order', 'aryo-aal' );
91
+ __( 'comments_notify', 'aryo-aal' );
92
+ __( 'moderation_notify', 'aryo-aal' );
93
+ __( 'comment_moderation', 'aryo-aal' );
94
+ __( 'comment_whitelist', 'aryo-aal' );
95
+ __( 'comment_max_links', 'aryo-aal' );
96
+ __( 'moderation_keys', 'aryo-aal' );
97
+ __( 'blacklist_keys', 'aryo-aal' );
98
+ __( 'show_avatars', 'aryo-aal' );
99
+ __( 'avatar_rating', 'aryo-aal' );
100
+ __( 'avatar_default', 'aryo-aal' );
101
+
102
+ // Media
103
+ __( 'thumbnail_size_w', 'aryo-aal' );
104
+ __( 'thumbnail_size_h', 'aryo-aal' );
105
+ __( 'thumbnail_crop', 'aryo-aal' );
106
+ __( 'medium_size_w', 'aryo-aal' );
107
+ __( 'medium_size_h', 'aryo-aal' );
108
+ __( 'large_size_w', 'aryo-aal' );
109
+ __( 'large_size_h', 'aryo-aal' );
110
+ __( 'uploads_use_yearmonth_folders', 'aryo-aal' );
111
+
112
+ // Permalinks
113
+ __( 'permalink_structure', 'aryo-aal' );
114
+ __( 'category_base', 'aryo-aal' );
115
+ __( 'tag_base', 'aryo-aal' );
readme.txt CHANGED
@@ -1,9 +1,9 @@
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.1
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.
@@ -17,15 +17,20 @@ If you have tens of users or more, you really can’t know who did it. This plug
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
 
@@ -38,7 +43,7 @@ If you have tens of users or more, you really can’t know who did it. This plug
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
 
@@ -73,6 +78,15 @@ Would you like to like to cotribute to Activity Log? You are more than welcome t
73
 
74
  == Changelog ==
75
 
 
 
 
 
 
 
 
 
 
76
  = 2.0.1 =
77
  * New! filter for disable erase all the log
78
  * Bugs fixed
@@ -85,7 +99,7 @@ Would you like to like to cotribute to Activity Log? You are more than welcome t
85
  * Added Avatar to author
86
  * Added role for author
87
  * Added log for activeted theme
88
- * Re-order Culomns
89
  * Compatible up to 3.8.1
90
  * Settings page is now accessible directly from Activity Log's menu
91
  * Keep your log for any time your wants
1
  === ARYO Activity Log ===
2
  Contributors: KingYes, ariel.k, maor
3
+ Tags: access, administration, activity, community, event, monitor, multisite, multi-users, log, logger, login, network, stats, security, tracking, madeinisrael, woocommerce
4
  Requires at least: 3.5
5
  Tested up to: 3.8.1
6
+ Stable tag: 2.0.2
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.
17
 
18
  <strong>As of this moment, the plugin logs things when:</strong><br />
19
 
20
+ * <strong>Posts</strong> - Created, Updated, Deleted.
21
+ * <strong>Pages</strong> - Created, Updated, Deleted.
22
+ * <strong>Custom Post Type</strong> - Created, Updated, Deleted.
23
+ * <strong>Tags</strong> - Created, Edited, Deleted.
24
+ * <strong>Categories</strong> - Created, Edited, Deleted.
25
+ * <strong>Taxonomies</strong> - Created, Edited, Deleted.
26
+ * <strong>Media</strong> - Uploaded, Edited, Deleted.
27
+ * <strong>Users</strong> - Login, Logout, Login has failed, Update profile, Registered and Deleted.
28
+ * <strong>Plugins</strong> - Activated, Deactivated, Changed.
29
+ * <strong>Themes</strong> - Activeted, Changed (Editor and Customizer).
30
+ * <strong>Widgets</strong> - Added to a sidebar / Deleted from a sidebar.
31
+ * <strong>Menus</strong> - A menu is being updated.
32
+ * <strong>Setting</strong> - General, Writing, Reading, Discussion, Media, Permalinks.
33
+ * <strong>Options</strong> - Can be extend by east filter.
34
  * <strong>WooCommerce</strong> - Few options updated (will be more soon)
35
  * and much more..
36
 
43
  <h4>Translators:</h4>
44
  * German (de_DE) - [Robert Harm](http://www.mapsmarker.com/)
45
  * Serbo-Croatian (sr_RS) - [Borisa Djuraskovic](http://www.webhostinghub.com/)
46
+ * Hebrew (he_IL) + RTL Support - [ARYO Digital](http://www.aryodigital.com/)
47
 
48
  The plugin does not require any kind of setup. It works out of the box (and that’s why we love it too).
49
 
78
 
79
  == Changelog ==
80
 
81
+ = 2.0.2 =
82
+ * New! Save more Options:
83
+ * General
84
+ * Writing
85
+ * Reading
86
+ * Discussion
87
+ * Media
88
+ * Permalinks
89
+
90
  = 2.0.1 =
91
  * New! filter for disable erase all the log
92
  * Bugs fixed
99
  * Added Avatar to author
100
  * Added role for author
101
  * Added log for activeted theme
102
+ * Re-order Culoumns
103
  * Compatible up to 3.8.1
104
  * Settings page is now accessible directly from Activity Log's menu
105
  * Keep your log for any time your wants