Table Maker - Version 1.9.1

Version Description

  • Fix for duplicate table function
  • If you have any problems from updating from 1.6 version of plugin to new version, just deactivate plugin and activate again, tables must be visible again on site
Download this release

Release Info

Developer wpsoul
Plugin Icon 128x128 Table Maker
Version 1.9.1
Comparing to
See all releases

Code changes from version 1.9 to 1.9.1

inc/class-wpsm-table-maker.php CHANGED
@@ -11,13 +11,14 @@ class WPSM_Table_Maker
11
  private $page_hook;
12
  private $base_url;
13
  private $db;
 
14
 
15
- function __construct($_version, $_base_url = false ) {
16
  $this->load_dependencies();
17
  $this->version = $_version;
18
  $this->page_slug = 'wpsm_table_maker';
19
  $this->db = WPSM_DB_Table::get_instance();
20
-
21
  add_action('admin_menu', array($this, 'add_menu_items'));
22
  add_action('admin_enqueue_scripts', array($this, 'backend_enqueue'));
23
  add_action('current_screen', array($this, 'handle_requests'));
@@ -40,7 +41,8 @@ class WPSM_Table_Maker
40
  }
41
 
42
  public function add_menu_items() {
43
- $this->page_hook = add_menu_page( __('Table Maker', 'wpsm-tableplugin'), __('Table Maker', 'wpsm-tableplugin'), 'publish_posts', $this->page_slug, array($this, 'print_page'), $this->base_url . "/img/icon.png" );
 
44
  }
45
 
46
  public function wpsm_table_frontend_scripts() {
@@ -296,14 +298,14 @@ class WPSM_Table_Maker
296
  }
297
 
298
  public function handle_requests($current_screen) {
299
-
300
- if(current_user_can('publish_posts') && $current_screen->base == 'toplevel_page_wpsm_table_maker') { //Check if user have enough rights
301
  if(!$this->is_plugin_page())
302
  return;
303
 
304
  if(isset($_GET['action2']) && $_GET['action2'] != -1 && $_GET['action'] == -1)
305
  $_GET['action'] = $_GET['action2'];
306
-
307
  if($_GET['action'] == 'add' && isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'add_table') && isset($_POST['wpsm-create-table'])){
308
  if (!isset ($_POST['table_respon'])) {$_POST['table_respon'] = '';}
309
  $result = $this->db->add( $_POST['table_name'], $_POST['table_rows'], $_POST['table_cols'], $_POST['table_subs'], $_POST['table_color'], $_POST['table_respon'], $_POST['table_values'] );
@@ -312,22 +314,22 @@ class WPSM_Table_Maker
312
  wp_redirect(wp_nonce_url($sendback, 'edit_table'));
313
  }
314
  }
315
-
316
  if($_GET['action'] == 'edit' && isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'edit_table') && isset($_POST['wpsm-save-changes'])){
317
  if (!isset ($_POST['table_respon'])) {$_POST['table_respon'] = '';}
318
  $result = $this->db->update( $_GET['table'], $_POST['table_name'], $_POST['table_rows'], $_POST['table_cols'], $_POST['table_subs'], $_POST['table_color'], $_POST['table_respon'], $_POST['table_values'] );
319
  $sendback = add_query_arg( array( 'page' => $_GET['page'], 'action' => 'edit', 'table' => $_GET['table'], 'updated' => $result ), '' );
320
  }
321
-
322
- if($_GET['action'] == 'edit' && isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'add_table') && isset($_POST['wpsm-create-table'])){
323
  if (!isset ($_POST['table_respon'])) {$_POST['table_respon'] = '';}
324
  $result = $this->db->add( $_POST['table_name'], $_POST['table_rows'], $_POST['table_cols'], $_POST['table_subs'], $_POST['table_color'], $_POST['table_respon'], $_POST['table_values'] );
325
  if($result){
326
  $sendback = add_query_arg( array( 'page' => $_GET['page'], 'action' => 'edit', 'table' => $result, 'added' => true ), '' );
327
- $sendback = wp_nonce_url($sendback, 'edit_table');
328
  }
329
  }
330
-
331
  if($_GET['action'] == 'delete' && isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'delete_table') && isset($_GET['table']) ){
332
  if(is_numeric($_GET['table'])) {
333
  $result = $this->db->delete($_GET['table']);
@@ -335,6 +337,7 @@ class WPSM_Table_Maker
335
  wp_redirect($sendback);
336
  }
337
  }
 
338
  if($_GET['action'] == 'delete' && isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'bulk-tables') && isset($_GET['table']) ){
339
  if(is_array($_GET['table'])) {
340
  $ids = $_GET['table'];
@@ -346,7 +349,7 @@ class WPSM_Table_Maker
346
  wp_redirect($sendback);
347
  }
348
  }
349
-
350
  if(isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'add_table') && isset($_POST['wpsm-import-table'])) {
351
  if(is_uploaded_file($_FILES['upload_file']['tmp_name']) && $_FILES['upload_file']['type'] == 'text/xml') {
352
  $xml = simplexml_load_file($_FILES['upload_file']['tmp_name']);
@@ -359,7 +362,7 @@ class WPSM_Table_Maker
359
  wp_redirect($sendback);
360
  }
361
  }
362
-
363
  if(isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'add_table') && isset($_POST['wpsm-import-csv'])) {
364
  if(is_uploaded_file($_FILES['upload_file']['tmp_name']) && $_FILES['upload_file']['type'] == 'text/csv' && isset($_POST['csv_delimiter'])) {
365
  if (($handle = fopen($_FILES['upload_file']['tmp_name'], "r")) !== FALSE) {
@@ -374,7 +377,7 @@ class WPSM_Table_Maker
374
  wp_redirect($sendback);
375
  }
376
  }
377
-
378
  if($_GET['action'] == 'edit' && isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'edit_table') && isset($_POST['wpsm-export-table'])) {
379
  $result = $this->db->get($_GET['table']);
380
  if($result) {
11
  private $page_hook;
12
  private $base_url;
13
  private $db;
14
+ private $user_caps;
15
 
16
+ function __construct($_version, $_base_url = false) {
17
  $this->load_dependencies();
18
  $this->version = $_version;
19
  $this->page_slug = 'wpsm_table_maker';
20
  $this->db = WPSM_DB_Table::get_instance();
21
+ $this->user_caps = 'manage_categories';
22
  add_action('admin_menu', array($this, 'add_menu_items'));
23
  add_action('admin_enqueue_scripts', array($this, 'backend_enqueue'));
24
  add_action('current_screen', array($this, 'handle_requests'));
41
  }
42
 
43
  public function add_menu_items() {
44
+ $user_caps = apply_filters('wpsmt_user_cappabilities', $this->user_caps);
45
+ $this->page_hook = add_menu_page( __('Table Maker', 'wpsm-tableplugin'), __('Table Maker', 'wpsm-tableplugin'), $user_caps, $this->page_slug, array($this, 'print_page'), $this->base_url . "/img/icon.png" );
46
  }
47
 
48
  public function wpsm_table_frontend_scripts() {
298
  }
299
 
300
  public function handle_requests($current_screen) {
301
+ $user_caps = apply_filters('wpsmt_user_cappabilities', $this->user_caps);
302
+ if(current_user_can($user_caps) && $current_screen->base == 'toplevel_page_wpsm_table_maker') { //Check if user have enough rights (min. author role by default)
303
  if(!$this->is_plugin_page())
304
  return;
305
 
306
  if(isset($_GET['action2']) && $_GET['action2'] != -1 && $_GET['action'] == -1)
307
  $_GET['action'] = $_GET['action2'];
308
+ //Add a new table from the table list
309
  if($_GET['action'] == 'add' && isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'add_table') && isset($_POST['wpsm-create-table'])){
310
  if (!isset ($_POST['table_respon'])) {$_POST['table_respon'] = '';}
311
  $result = $this->db->add( $_POST['table_name'], $_POST['table_rows'], $_POST['table_cols'], $_POST['table_subs'], $_POST['table_color'], $_POST['table_respon'], $_POST['table_values'] );
314
  wp_redirect(wp_nonce_url($sendback, 'edit_table'));
315
  }
316
  }
317
+ //Edit the current table
318
  if($_GET['action'] == 'edit' && isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'edit_table') && isset($_POST['wpsm-save-changes'])){
319
  if (!isset ($_POST['table_respon'])) {$_POST['table_respon'] = '';}
320
  $result = $this->db->update( $_GET['table'], $_POST['table_name'], $_POST['table_rows'], $_POST['table_cols'], $_POST['table_subs'], $_POST['table_color'], $_POST['table_respon'], $_POST['table_values'] );
321
  $sendback = add_query_arg( array( 'page' => $_GET['page'], 'action' => 'edit', 'table' => $_GET['table'], 'updated' => $result ), '' );
322
  }
323
+ //Dublicate the current table
324
+ if($_GET['action'] == 'edit' && isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'edit_table') && isset($_POST['wpsm-create-table'])){
325
  if (!isset ($_POST['table_respon'])) {$_POST['table_respon'] = '';}
326
  $result = $this->db->add( $_POST['table_name'], $_POST['table_rows'], $_POST['table_cols'], $_POST['table_subs'], $_POST['table_color'], $_POST['table_respon'], $_POST['table_values'] );
327
  if($result){
328
  $sendback = add_query_arg( array( 'page' => $_GET['page'], 'action' => 'edit', 'table' => $result, 'added' => true ), '' );
329
+ wp_redirect(wp_nonce_url($sendback, 'edit_table'));
330
  }
331
  }
332
+ //Single deleting in the table list
333
  if($_GET['action'] == 'delete' && isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'delete_table') && isset($_GET['table']) ){
334
  if(is_numeric($_GET['table'])) {
335
  $result = $this->db->delete($_GET['table']);
337
  wp_redirect($sendback);
338
  }
339
  }
340
+ //Bulk deleting in the table list
341
  if($_GET['action'] == 'delete' && isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'bulk-tables') && isset($_GET['table']) ){
342
  if(is_array($_GET['table'])) {
343
  $ids = $_GET['table'];
349
  wp_redirect($sendback);
350
  }
351
  }
352
+ //Add table with importing XML file
353
  if(isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'add_table') && isset($_POST['wpsm-import-table'])) {
354
  if(is_uploaded_file($_FILES['upload_file']['tmp_name']) && $_FILES['upload_file']['type'] == 'text/xml') {
355
  $xml = simplexml_load_file($_FILES['upload_file']['tmp_name']);
362
  wp_redirect($sendback);
363
  }
364
  }
365
+ //Add table with importing CSV file
366
  if(isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'add_table') && isset($_POST['wpsm-import-csv'])) {
367
  if(is_uploaded_file($_FILES['upload_file']['tmp_name']) && $_FILES['upload_file']['type'] == 'text/csv' && isset($_POST['csv_delimiter'])) {
368
  if (($handle = fopen($_FILES['upload_file']['tmp_name'], "r")) !== FALSE) {
377
  wp_redirect($sendback);
378
  }
379
  }
380
+ //Export the current table in XML file
381
  if($_GET['action'] == 'edit' && isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'edit_table') && isset($_POST['wpsm-export-table'])) {
382
  $result = $this->db->get($_GET['table']);
383
  if($result) {
languages/wpsm-tableplugin-ru_RU.mo ADDED
Binary file
languages/wpsm-tableplugin-ru_RU.po ADDED
@@ -0,0 +1,346 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2017-09-06 14:55+0000\n"
5
+ "PO-Revision-Date: 2017-09-06 14:56+0000\n"
6
+ "Last-Translator: admin <bizdirect@ya.ru>\n"
7
+ "Language-Team: Russian\n"
8
+ "Language: ru-RU\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Loco - https://localise.biz/\n"
13
+ "X-Poedit-Basepath: .\n"
14
+ "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10 >= 2 && "
15
+ "n%10<=4 &&(n%100<10||n%100 >= 20)? 1 : 2)\n"
16
+ "Report-Msgid-Bugs-To: "
17
+
18
+ #. Description of the plugin
19
+ msgid "Create tables with just a few clicks."
20
+ msgstr ""
21
+
22
+ #. URI of the plugin
23
+ msgid "https://wordpress.org/plugins/table-maker/"
24
+ msgstr ""
25
+
26
+ #. Author of the plugin
27
+ msgid "Wpsoul"
28
+ msgstr ""
29
+
30
+ #. Author URI of the plugin
31
+ msgid "https://wpsoul.com"
32
+ msgstr ""
33
+
34
+ #: inc/class-wpsm-list-table.php:38
35
+ msgid "ID"
36
+ msgstr "ID"
37
+
38
+ #: inc/class-wpsm-list-table.php:39
39
+ msgid "Name"
40
+ msgstr "Имя"
41
+
42
+ #: inc/class-wpsm-list-table.php:40 inc/class-wpsm-table-maker.php:263
43
+ msgid "Rows"
44
+ msgstr "Строки"
45
+
46
+ #: inc/class-wpsm-list-table.php:41
47
+ msgid "Columns"
48
+ msgstr "Столбцы"
49
+
50
+ #: inc/class-wpsm-list-table.php:42
51
+ msgid "Sub-headers"
52
+ msgstr "Подзголовки"
53
+
54
+ #: inc/class-wpsm-list-table.php:43
55
+ msgid "Color"
56
+ msgstr "Цвета"
57
+
58
+ #: inc/class-wpsm-list-table.php:44
59
+ msgid "Responsive"
60
+ msgstr "Адаптивная разметка"
61
+
62
+ #: inc/class-wpsm-list-table.php:56
63
+ msgid "Edit"
64
+ msgstr "Редактировать"
65
+
66
+ #: inc/class-wpsm-list-table.php:57 inc/class-wpsm-list-table.php:77
67
+ msgid "Delete"
68
+ msgstr "Удалить"
69
+
70
+ #: inc/class-wpsm-table-maker.php:49 inc/class-wpsm-table-maker.php:49
71
+ msgid "Table Maker"
72
+ msgstr "Редактор таблиц"
73
+
74
+ #: inc/class-wpsm-table-maker.php:72 inc/class-wpsm-table-maker.php:167
75
+ #: inc/class-wpsm-table-maker.php:177
76
+ msgid "Click to edit"
77
+ msgstr "Кликни для редактирования"
78
+
79
+ #: inc/class-wpsm-table-maker.php:73
80
+ msgid "Please enter valid numbers"
81
+ msgstr "Укажите число"
82
+
83
+ #: inc/class-wpsm-table-maker.php:74
84
+ msgid "Please fill only one field"
85
+ msgstr "Заполните только одно поле"
86
+
87
+ #: inc/class-wpsm-table-maker.php:75
88
+ msgid "Please specify number less than existing rows count"
89
+ msgstr "Укажите число меньшее текущего количества строк"
90
+
91
+ #: inc/class-wpsm-table-maker.php:76
92
+ msgid "Please specify number less than existing cols count"
93
+ msgstr "Укажите число меньшее текущего количества столбцов"
94
+
95
+ #: inc/class-wpsm-table-maker.php:77
96
+ msgid "Please enter valid numbers between 1 and"
97
+ msgstr "Укажите число от 1 до "
98
+
99
+ #: inc/class-wpsm-table-maker.php:87
100
+ msgid "Add Table"
101
+ msgstr "Добавить таблицу"
102
+
103
+ #: inc/class-wpsm-table-maker.php:87 inc/class-wpsm-table-maker.php:91
104
+ msgid "View All"
105
+ msgstr "Посмотреть все"
106
+
107
+ #: inc/class-wpsm-table-maker.php:91
108
+ msgid "Edit Table"
109
+ msgstr "Редактировать таблицу"
110
+
111
+ #: inc/class-wpsm-table-maker.php:97
112
+ msgid "Tables"
113
+ msgstr "Таблицы"
114
+
115
+ #: inc/class-wpsm-table-maker.php:97
116
+ msgid "Add New"
117
+ msgstr "Добавить"
118
+
119
+ #: inc/class-wpsm-table-maker.php:119
120
+ msgid "Table Name"
121
+ msgstr "Название таблицы"
122
+
123
+ #: inc/class-wpsm-table-maker.php:126
124
+ msgid "No"
125
+ msgstr "Нет"
126
+
127
+ #: inc/class-wpsm-table-maker.php:127
128
+ msgid "Table row stack"
129
+ msgstr "Стэк строк"
130
+
131
+ #: inc/class-wpsm-table-maker.php:128
132
+ msgid "Table column stack"
133
+ msgstr "Стэк колонок"
134
+
135
+ #: inc/class-wpsm-table-maker.php:130
136
+ msgid "enable responsive stack style for mobile devices"
137
+ msgstr "разрешить адаптивный стиль для мобильных устройств"
138
+
139
+ #: inc/class-wpsm-table-maker.php:133
140
+ msgid "Resize Table"
141
+ msgstr "Изменить размер таблицы"
142
+
143
+ #: inc/class-wpsm-table-maker.php:134
144
+ msgid "Switch Rows"
145
+ msgstr "Поменять местами строки"
146
+
147
+ #: inc/class-wpsm-table-maker.php:135
148
+ msgid "Switch Cols"
149
+ msgstr "Поменять местами столбцы"
150
+
151
+ #: inc/class-wpsm-table-maker.php:136
152
+ msgid "Add Inside"
153
+ msgstr "Вставить"
154
+
155
+ #: inc/class-wpsm-table-maker.php:137
156
+ msgid "Remove"
157
+ msgstr "Удалить"
158
+
159
+ #: inc/class-wpsm-table-maker.php:139
160
+ msgid "Grey"
161
+ msgstr "Серый"
162
+
163
+ #: inc/class-wpsm-table-maker.php:140
164
+ msgid "Black"
165
+ msgstr "Черный"
166
+
167
+ #: inc/class-wpsm-table-maker.php:141
168
+ msgid "Yellow"
169
+ msgstr "Желтый"
170
+
171
+ #: inc/class-wpsm-table-maker.php:142
172
+ msgid "Blue"
173
+ msgstr "Голубой"
174
+
175
+ #: inc/class-wpsm-table-maker.php:143
176
+ msgid "Red"
177
+ msgstr "Красный"
178
+
179
+ #: inc/class-wpsm-table-maker.php:144
180
+ msgid "Green"
181
+ msgstr "Зеленый"
182
+
183
+ #: inc/class-wpsm-table-maker.php:145
184
+ msgid "Orange"
185
+ msgstr "Оранжевый"
186
+
187
+ #: inc/class-wpsm-table-maker.php:146
188
+ msgid "Purple"
189
+ msgstr "Малиновый"
190
+
191
+ #: inc/class-wpsm-table-maker.php:159
192
+ msgid "Add \"mark the first column\" class to shortcode"
193
+ msgstr "Добавить в шорткод класс \"пометить первую строку\""
194
+
195
+ #: inc/class-wpsm-table-maker.php:160
196
+ msgid "Add \"center text align\" class to shortcode"
197
+ msgstr "Добавить в шорткод класс \"выравнивание по центру\""
198
+
199
+ #: inc/class-wpsm-table-maker.php:188
200
+ msgid "Each cell supports html and shortcodes. "
201
+ msgstr "Каждая ячейка допускает html и шорткоды"
202
+
203
+ #: inc/class-wpsm-table-maker.php:191
204
+ msgid "To add icons you can use these placeholders: "
205
+ msgstr "Что бы добавить иконы вы можете использовать заполнители"
206
+
207
+ #: inc/class-wpsm-table-maker.php:192
208
+ msgid " makes row or col as featured."
209
+ msgstr "сделать строку или столбец выделенной"
210
+
211
+ #: inc/class-wpsm-table-maker.php:195
212
+ msgid "Useful shortcodes:"
213
+ msgstr "Полезные шорткоды:"
214
+
215
+ #: inc/class-wpsm-table-maker.php:198
216
+ msgid "Possible color attribute:"
217
+ msgstr "Допустимые атрибуты цвета:"
218
+
219
+ #: inc/class-wpsm-table-maker.php:198
220
+ msgid "Possible sizes:"
221
+ msgstr "Допустимые размеры:"
222
+
223
+ #: inc/class-wpsm-table-maker.php:198
224
+ msgid "Possible icons:"
225
+ msgstr "Допустимые иконы:"
226
+
227
+ #: inc/class-wpsm-table-maker.php:201
228
+ msgid "Nembered circle. Place number in"
229
+ msgstr "Нумерованные кружочки"
230
+
231
+ #: inc/class-wpsm-table-maker.php:204
232
+ msgid "Possible colors: "
233
+ msgstr "Возможные ошибки"
234
+
235
+ #: inc/class-wpsm-table-maker.php:207
236
+ msgid "Animated bar. You can use any color"
237
+ msgstr "Анимированный блок. Можно использовать любой цвет"
238
+
239
+ #: inc/class-wpsm-table-maker.php:210
240
+ msgid "Shows content only for logged users"
241
+ msgstr "Показывать этот контент только залогиненым пользователям"
242
+
243
+ #: inc/class-wpsm-table-maker.php:213
244
+ msgid "Shows content only for not logged users"
245
+ msgstr "Показывать этот контент только НЕ залогиненым пользователям"
246
+
247
+ #: inc/class-wpsm-table-maker.php:220
248
+ msgid "Image Helper"
249
+ msgstr "Помошник с картинками"
250
+
251
+ #: inc/class-wpsm-table-maker.php:221
252
+ msgid "Upload or choose image here and copy code to table"
253
+ msgstr "Загрузить или выбрать изображение и скопировать код в таблицу"
254
+
255
+ #: inc/class-wpsm-table-maker.php:223
256
+ msgid "Choose Image"
257
+ msgstr "Выбрать изображение"
258
+
259
+ #: inc/class-wpsm-table-maker.php:253
260
+ msgid "\",\" (comma)"
261
+ msgstr "\",\" (просто запятой)"
262
+
263
+ #: inc/class-wpsm-table-maker.php:254
264
+ msgid "\";\" (semi-colon)"
265
+ msgstr "\";\" (точка с запятой)"
266
+
267
+ #: inc/class-wpsm-table-maker.php:260
268
+ msgid "Change Table Size"
269
+ msgstr "Изменить размер таблицы"
270
+
271
+ #: inc/class-wpsm-table-maker.php:262
272
+ msgid "Cols"
273
+ msgstr "Колонки"
274
+
275
+ #: inc/class-wpsm-table-maker.php:264
276
+ msgid "Sub-header Rows (e.g.1,3,6)"
277
+ msgstr "Номера строки-подзаголовков (через запятую, например 1,3,99)"
278
+
279
+ #: inc/class-wpsm-table-maker.php:265 inc/class-wpsm-table-maker.php:286
280
+ #: inc/class-wpsm-table-maker.php:293
281
+ msgid "Apply"
282
+ msgstr "применить"
283
+
284
+ #: inc/class-wpsm-table-maker.php:270
285
+ msgid "Row 1"
286
+ msgstr "Строка 1"
287
+
288
+ #: inc/class-wpsm-table-maker.php:271
289
+ msgid "Row 2"
290
+ msgstr "Строка 2"
291
+
292
+ #: inc/class-wpsm-table-maker.php:272 inc/class-wpsm-table-maker.php:279
293
+ msgid "Switch"
294
+ msgstr "Поменять местами"
295
+
296
+ #: inc/class-wpsm-table-maker.php:277
297
+ msgid "Col 1"
298
+ msgstr "Колонка 1"
299
+
300
+ #: inc/class-wpsm-table-maker.php:278
301
+ msgid "Col 2"
302
+ msgstr "Колонка 2"
303
+
304
+ #: inc/class-wpsm-table-maker.php:282
305
+ msgid "Add Empty Row/Column"
306
+ msgstr "Добавить пустую строку/колонку"
307
+
308
+ #: inc/class-wpsm-table-maker.php:284
309
+ msgid "Add empty col after (number)"
310
+ msgstr "Добавить пустую колонку после"
311
+
312
+ #: inc/class-wpsm-table-maker.php:285
313
+ msgid "Add empty row after (number)"
314
+ msgstr "Добавить пустую строку после"
315
+
316
+ #: inc/class-wpsm-table-maker.php:289
317
+ msgid "Delete Row/Column"
318
+ msgstr "Удалить строку/колонку"
319
+
320
+ #: inc/class-wpsm-table-maker.php:291
321
+ msgid "Remove col (number)"
322
+ msgstr "Переместить строку/колонку"
323
+
324
+ #: inc/class-wpsm-table-maker.php:292
325
+ msgid "Remove row (number)"
326
+ msgstr "Удалить строку/колонку"
327
+
328
+ #: inc/class-wpsm-table-maker.php:370
329
+ msgid "Noname Table"
330
+ msgstr "Безымянная таблица"
331
+
332
+ #: inc/class-wpsm-table-maker.php:386
333
+ msgid "The table has been created successfully!"
334
+ msgstr "Таблица создана."
335
+
336
+ #: inc/class-wpsm-table-maker.php:388
337
+ msgid "The table has been updated successfully!"
338
+ msgstr "Таблица обновлена"
339
+
340
+ #: inc/class-wpsm-table-maker.php:390
341
+ msgid "The table has been deleted successfully!"
342
+ msgstr "Таблица удалена. "
343
+
344
+ #: inc/class-wpsm-table-maker.php:425
345
+ msgid "Please specify the table ID"
346
+ msgstr "Укажите ID таблицы"
languages/wpsm-tableplugin.pot ADDED
@@ -0,0 +1,350 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #, fuzzy
2
+ msgid ""
3
+ msgstr ""
4
+ "Project-Id-Version: PACKAGE VERSION\n"
5
+ "Report-Msgid-Bugs-To: \n"
6
+ "POT-Creation-Date: 2018-02-01 16:46+0000\n"
7
+ "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
8
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
9
+ "Language-Team: \n"
10
+ "Language: \n"
11
+ "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Loco https://localise.biz/"
16
+
17
+ #: inc/class-wpsm-list-table.php:38
18
+ msgid "ID"
19
+ msgstr ""
20
+
21
+ #: inc/class-wpsm-list-table.php:39
22
+ msgid "Name"
23
+ msgstr ""
24
+
25
+ #: inc/class-wpsm-list-table.php:40 inc/class-wpsm-table-maker.php:258
26
+ msgid "Rows"
27
+ msgstr ""
28
+
29
+ #: inc/class-wpsm-list-table.php:41
30
+ msgid "Columns"
31
+ msgstr ""
32
+
33
+ #: inc/class-wpsm-list-table.php:42
34
+ msgid "Sub-headers"
35
+ msgstr ""
36
+
37
+ #: inc/class-wpsm-list-table.php:43
38
+ msgid "Color"
39
+ msgstr ""
40
+
41
+ #: inc/class-wpsm-list-table.php:44
42
+ msgid "Responsive"
43
+ msgstr ""
44
+
45
+ #: inc/class-wpsm-list-table.php:55
46
+ msgid "Edit"
47
+ msgstr ""
48
+
49
+ #: inc/class-wpsm-list-table.php:56 inc/class-wpsm-list-table.php:76
50
+ msgid "Delete"
51
+ msgstr ""
52
+
53
+ #. Name of the plugin
54
+ #: inc/class-wpsm-table-maker.php:45 inc/class-wpsm-table-maker.php:45
55
+ msgid "Table Maker"
56
+ msgstr ""
57
+
58
+ #: inc/class-wpsm-table-maker.php:69 inc/class-wpsm-table-maker.php:162
59
+ #: inc/class-wpsm-table-maker.php:172
60
+ msgid "Click to edit"
61
+ msgstr ""
62
+
63
+ #: inc/class-wpsm-table-maker.php:70
64
+ msgid "Please enter valid numbers"
65
+ msgstr ""
66
+
67
+ #: inc/class-wpsm-table-maker.php:71
68
+ msgid "Please fill only one field"
69
+ msgstr ""
70
+
71
+ #: inc/class-wpsm-table-maker.php:72
72
+ msgid "Please specify number less than existing rows count"
73
+ msgstr ""
74
+
75
+ #: inc/class-wpsm-table-maker.php:73
76
+ msgid "Please specify number less than existing cols count"
77
+ msgstr ""
78
+
79
+ #: inc/class-wpsm-table-maker.php:74
80
+ msgid "Please enter valid numbers between 1 and"
81
+ msgstr ""
82
+
83
+ #: inc/class-wpsm-table-maker.php:84
84
+ msgid "Add Table"
85
+ msgstr ""
86
+
87
+ #: inc/class-wpsm-table-maker.php:84 inc/class-wpsm-table-maker.php:87
88
+ msgid "View All"
89
+ msgstr ""
90
+
91
+ #: inc/class-wpsm-table-maker.php:87
92
+ msgid "Edit Table"
93
+ msgstr ""
94
+
95
+ #: inc/class-wpsm-table-maker.php:92
96
+ msgid "Tables"
97
+ msgstr ""
98
+
99
+ #: inc/class-wpsm-table-maker.php:92
100
+ msgid "Add New"
101
+ msgstr ""
102
+
103
+ #: inc/class-wpsm-table-maker.php:114
104
+ msgid "Table Name"
105
+ msgstr ""
106
+
107
+ #: inc/class-wpsm-table-maker.php:121
108
+ msgid "No"
109
+ msgstr ""
110
+
111
+ #: inc/class-wpsm-table-maker.php:122
112
+ msgid "Table row stack"
113
+ msgstr ""
114
+
115
+ #: inc/class-wpsm-table-maker.php:123
116
+ msgid "Table column stack"
117
+ msgstr ""
118
+
119
+ #: inc/class-wpsm-table-maker.php:125
120
+ msgid "enable responsive stack style for mobile devices"
121
+ msgstr ""
122
+
123
+ #: inc/class-wpsm-table-maker.php:128
124
+ msgid "Resize Table"
125
+ msgstr ""
126
+
127
+ #: inc/class-wpsm-table-maker.php:129
128
+ msgid "Switch Rows"
129
+ msgstr ""
130
+
131
+ #: inc/class-wpsm-table-maker.php:130
132
+ msgid "Switch Cols"
133
+ msgstr ""
134
+
135
+ #: inc/class-wpsm-table-maker.php:131
136
+ msgid "Add Inside"
137
+ msgstr ""
138
+
139
+ #: inc/class-wpsm-table-maker.php:132
140
+ msgid "Remove"
141
+ msgstr ""
142
+
143
+ #: inc/class-wpsm-table-maker.php:134
144
+ msgid "Grey"
145
+ msgstr ""
146
+
147
+ #: inc/class-wpsm-table-maker.php:135
148
+ msgid "Black"
149
+ msgstr ""
150
+
151
+ #: inc/class-wpsm-table-maker.php:136
152
+ msgid "Yellow"
153
+ msgstr ""
154
+
155
+ #: inc/class-wpsm-table-maker.php:137
156
+ msgid "Blue"
157
+ msgstr ""
158
+
159
+ #: inc/class-wpsm-table-maker.php:138
160
+ msgid "Red"
161
+ msgstr ""
162
+
163
+ #: inc/class-wpsm-table-maker.php:139
164
+ msgid "Green"
165
+ msgstr ""
166
+
167
+ #: inc/class-wpsm-table-maker.php:140
168
+ msgid "Orange"
169
+ msgstr ""
170
+
171
+ #: inc/class-wpsm-table-maker.php:141
172
+ msgid "Purple"
173
+ msgstr ""
174
+
175
+ #: inc/class-wpsm-table-maker.php:154
176
+ msgid "Add \"mark the first column\" class to shortcode"
177
+ msgstr ""
178
+
179
+ #: inc/class-wpsm-table-maker.php:155
180
+ msgid "Add \"center text align\" class to shortcode"
181
+ msgstr ""
182
+
183
+ #: inc/class-wpsm-table-maker.php:183
184
+ msgid "Each cell supports html and shortcodes. "
185
+ msgstr ""
186
+
187
+ #: inc/class-wpsm-table-maker.php:186
188
+ msgid "To add icons you can use these placeholders: "
189
+ msgstr ""
190
+
191
+ #: inc/class-wpsm-table-maker.php:187
192
+ msgid " makes row or col as featured."
193
+ msgstr ""
194
+
195
+ #: inc/class-wpsm-table-maker.php:190
196
+ msgid "Useful shortcodes:"
197
+ msgstr ""
198
+
199
+ #: inc/class-wpsm-table-maker.php:193
200
+ msgid "Possible color attribute:"
201
+ msgstr ""
202
+
203
+ #: inc/class-wpsm-table-maker.php:193
204
+ msgid "Possible sizes:"
205
+ msgstr ""
206
+
207
+ #: inc/class-wpsm-table-maker.php:193
208
+ msgid "Possible icons:"
209
+ msgstr ""
210
+
211
+ #: inc/class-wpsm-table-maker.php:196
212
+ msgid "Nembered circle. Place number in"
213
+ msgstr ""
214
+
215
+ #: inc/class-wpsm-table-maker.php:199
216
+ msgid "Possible colors: "
217
+ msgstr ""
218
+
219
+ #: inc/class-wpsm-table-maker.php:202
220
+ msgid "Animated bar. You can use any color"
221
+ msgstr ""
222
+
223
+ #: inc/class-wpsm-table-maker.php:205
224
+ msgid "Shows content only for logged users"
225
+ msgstr ""
226
+
227
+ #: inc/class-wpsm-table-maker.php:208
228
+ msgid "Shows content only for not logged users"
229
+ msgstr ""
230
+
231
+ #: inc/class-wpsm-table-maker.php:215
232
+ msgid "Image Helper"
233
+ msgstr ""
234
+
235
+ #: inc/class-wpsm-table-maker.php:216
236
+ msgid "Upload or choose image here and copy code to table"
237
+ msgstr ""
238
+
239
+ #: inc/class-wpsm-table-maker.php:218
240
+ msgid "Choose Image"
241
+ msgstr ""
242
+
243
+ #: inc/class-wpsm-table-maker.php:248
244
+ msgid "\",\" (comma)"
245
+ msgstr ""
246
+
247
+ #: inc/class-wpsm-table-maker.php:249
248
+ msgid "\";\" (semi-colon)"
249
+ msgstr ""
250
+
251
+ #: inc/class-wpsm-table-maker.php:255
252
+ msgid "Change Table Size"
253
+ msgstr ""
254
+
255
+ #: inc/class-wpsm-table-maker.php:257
256
+ msgid "Cols"
257
+ msgstr ""
258
+
259
+ #: inc/class-wpsm-table-maker.php:259
260
+ msgid "Sub-header Rows (e.g.1,3,6)"
261
+ msgstr ""
262
+
263
+ #: inc/class-wpsm-table-maker.php:260 inc/class-wpsm-table-maker.php:281
264
+ #: inc/class-wpsm-table-maker.php:288
265
+ msgid "Apply"
266
+ msgstr ""
267
+
268
+ #: inc/class-wpsm-table-maker.php:265
269
+ msgid "Row 1"
270
+ msgstr ""
271
+
272
+ #: inc/class-wpsm-table-maker.php:266
273
+ msgid "Row 2"
274
+ msgstr ""
275
+
276
+ #: inc/class-wpsm-table-maker.php:267 inc/class-wpsm-table-maker.php:274
277
+ msgid "Switch"
278
+ msgstr ""
279
+
280
+ #: inc/class-wpsm-table-maker.php:272
281
+ msgid "Col 1"
282
+ msgstr ""
283
+
284
+ #: inc/class-wpsm-table-maker.php:273
285
+ msgid "Col 2"
286
+ msgstr ""
287
+
288
+ #: inc/class-wpsm-table-maker.php:277
289
+ msgid "Add Empty Row/Column"
290
+ msgstr ""
291
+
292
+ #: inc/class-wpsm-table-maker.php:279
293
+ msgid "Add empty col after (number)"
294
+ msgstr ""
295
+
296
+ #: inc/class-wpsm-table-maker.php:280
297
+ msgid "Add empty row after (number)"
298
+ msgstr ""
299
+
300
+ #: inc/class-wpsm-table-maker.php:284
301
+ msgid "Delete Row/Column"
302
+ msgstr ""
303
+
304
+ #: inc/class-wpsm-table-maker.php:286
305
+ msgid "Remove col (number)"
306
+ msgstr ""
307
+
308
+ #: inc/class-wpsm-table-maker.php:287
309
+ msgid "Remove row (number)"
310
+ msgstr ""
311
+
312
+ #: inc/class-wpsm-table-maker.php:375
313
+ msgid "Noname Table"
314
+ msgstr ""
315
+
316
+ #: inc/class-wpsm-table-maker.php:399
317
+ msgid "Can not open file!"
318
+ msgstr ""
319
+
320
+ #: inc/class-wpsm-table-maker.php:404
321
+ msgid "The table has been created successfully!"
322
+ msgstr ""
323
+
324
+ #: inc/class-wpsm-table-maker.php:406
325
+ msgid "The table has been updated successfully!"
326
+ msgstr ""
327
+
328
+ #: inc/class-wpsm-table-maker.php:408
329
+ msgid "The table has been deleted successfully!"
330
+ msgstr ""
331
+
332
+ #: inc/class-wpsm-table-maker.php:433
333
+ msgid "Please specify the table ID"
334
+ msgstr ""
335
+
336
+ #. Description of the plugin
337
+ msgid "Create tables with just a few clicks."
338
+ msgstr ""
339
+
340
+ #. URI of the plugin
341
+ msgid "https://wordpress.org/plugins/table-maker/"
342
+ msgstr ""
343
+
344
+ #. Author of the plugin
345
+ msgid "Wpsoul"
346
+ msgstr ""
347
+
348
+ #. Author URI of the plugin
349
+ msgid "https://wpsoul.com"
350
+ msgstr ""
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: responsive tables, pricing tables, comparison tables, wordpress tables, ta
4
  Donate link: https://wpsoul.com/
5
  Requires at least: 3.0
6
  Tested up to: 4.9.1
7
- Stable tag: 1.9
8
  License: License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -55,6 +55,10 @@ If you like this plugin please give it a good rating.
55
 
56
  == Changelog ==
57
 
 
 
 
 
58
  = 1.9 =
59
  * Security improvements
60
 
4
  Donate link: https://wpsoul.com/
5
  Requires at least: 3.0
6
  Tested up to: 4.9.1
7
+ Stable tag: 1.9.1
8
  License: License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
55
 
56
  == Changelog ==
57
 
58
+ = 1.9.1 =
59
+ * Fix for duplicate table function
60
+ * If you have any problems from updating from 1.6 version of plugin to new version, just deactivate plugin and activate again, tables must be visible again on site
61
+
62
  = 1.9 =
63
  * Security improvements
64
 
table-maker.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Table Maker
4
  Plugin URI: https://wordpress.org/plugins/table-maker/
5
  Description: Create tables with just a few clicks.
6
- Version: 1.9
7
  Author: Wpsoul
8
  Author URI: https://wpsoul.com
9
  License: GPL2
@@ -18,7 +18,7 @@ if ( ! defined( 'WPINC' ) ) {
18
  require_once plugin_dir_path( __FILE__ ) . 'inc/class-wpsm-table-maker.php';
19
 
20
  function wpsm_run_table_maker() {
21
- $plugin_instance = new WPSM_Table_Maker('1.9');
22
  register_activation_hook( __FILE__, array($plugin_instance, 'initialize') );
23
  register_uninstall_hook( __FILE__, array('WPSM_Table_Maker', 'rollback') );
24
  }
3
  Plugin Name: Table Maker
4
  Plugin URI: https://wordpress.org/plugins/table-maker/
5
  Description: Create tables with just a few clicks.
6
+ Version: 1.9.1
7
  Author: Wpsoul
8
  Author URI: https://wpsoul.com
9
  License: GPL2
18
  require_once plugin_dir_path( __FILE__ ) . 'inc/class-wpsm-table-maker.php';
19
 
20
  function wpsm_run_table_maker() {
21
+ $plugin_instance = new WPSM_Table_Maker('1.9.1');
22
  register_activation_hook( __FILE__, array($plugin_instance, 'initialize') );
23
  register_uninstall_hook( __FILE__, array('WPSM_Table_Maker', 'rollback') );
24
  }