Simple Download Monitor - Version 0.10

Version Description

  • Belorussian translation by FatCow ( http://www.fatcow.com )

  • PHP 4 version is also available (see the FAQ).

Download this release

Release Info

Developer pepak.net
Plugin Icon 128x128 Simple Download Monitor
Version 0.10
Comparing to
See all releases

Code changes from version 0.09 to 0.10

Files changed (5) hide show
  1. lang/be_BY.mo +0 -0
  2. lang/be_BY.po +286 -0
  3. readme.txt +24 -1
  4. sdmon-php4.zip +0 -0
  5. simple-download-monitor.php +2 -2
lang/be_BY.mo ADDED
Binary file
lang/be_BY.po ADDED
@@ -0,0 +1,286 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Simple Download Monitor\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2009-11-29 18:10+0100\n"
6
+ "PO-Revision-Date: \n"
7
+ "Last-Translator: Fat Cow <zhr@tut.by>\n"
8
+ "Language-Team: FatCow <zhr@tut.by>\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Poedit-Language: Belarusian\n"
13
+ "X-Poedit-Country: BELARUS\n"
14
+ "X-Poedit-SourceCharset: utf-8\n"
15
+ "X-Poedit-KeywordsList: _e;__\n"
16
+ "X-Poedit-Basepath: ..\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ #: ../tags/0.05/simple-download-monitor.php:226
20
+ #: ../tags/0.05/simple-download-monitor.php:496
21
+ #: ../tags/0.06/simple-download-monitor.php:226
22
+ #: ../tags/0.06/simple-download-monitor.php:498
23
+ #: ../tags/0.07/simple-download-monitor.php:236
24
+ #: ../tags/0.07/simple-download-monitor.php:513
25
+ #: ../trunk/simple-download-monitor.php:237
26
+ #: ../trunk/simple-download-monitor.php:636
27
+ msgid "Simple Download Monitor options"
28
+ msgstr "Simple Download Monitor - nastavení"
29
+
30
+ #: ../tags/0.05/simple-download-monitor.php:227
31
+ #: ../tags/0.06/simple-download-monitor.php:227
32
+ #: ../tags/0.07/simple-download-monitor.php:237
33
+ #: ../trunk/simple-download-monitor.php:238
34
+ msgid "Allowed directories"
35
+ msgstr "Разрешенные директории"
36
+
37
+ #: ../tags/0.05/simple-download-monitor.php:228
38
+ #: ../tags/0.06/simple-download-monitor.php:228
39
+ #: ../tags/0.07/simple-download-monitor.php:238
40
+ #: ../trunk/simple-download-monitor.php:239
41
+ msgid "Only requested files whose full names (relative to document root) start with this regular expression will be processed. It is strongly recommended to place all downloadable files (and ONLY downloadable files) into a designated directory and then placing that directory's name followed by a slash here. It is possible to use the power of PREG to allow multiple directories, but make sure there are ONLY files which you are comfortable with malicious users downloading. Do not EVER allow directories which contain PHP files here! That could lead to disclosure of sensitive data, including username and password used to connect to WordPress database."
42
+ msgstr "Только просил файлы, чьи полные имена (по отношению к документу корень) начинать с этого регулярного выражения будет обработана. Настоятельно рекомендуется поместить все загружаемые файлы (и только загружаемые файлы) в указанный каталог и затем размещения, что имя каталога после косой черты здесь. Можно использовать силу PREG чтобы позволить нескольким каталогам, но убедитесь, что есть только файлы, которые вы не имеете опыта злоумышленников скачивания. Никогда не позволить каталогов, в которых содержатся PHP файлам здесь! Это могло бы привести к раскрытию конфиденциальной информации, включая имя пользователя и пароль, используемые для подключения к базе данных WordPress."
43
+
44
+ #: ../tags/0.05/simple-download-monitor.php:229
45
+ #: ../tags/0.06/simple-download-monitor.php:229
46
+ #: ../tags/0.07/simple-download-monitor.php:239
47
+ #: ../trunk/simple-download-monitor.php:240
48
+ msgid "Default value is <code>files/</code>, which only allows download from /files directory (the leading <code>/</code> is implicit)."
49
+ msgstr "Значение по умолчанию <code>files/</code> который обеспечивает только загрузить с / файлов каталогов (ведущий <code>/</code> подразумевается)."
50
+
51
+ #: ../tags/0.05/simple-download-monitor.php:231
52
+ #: ../tags/0.06/simple-download-monitor.php:231
53
+ #: ../tags/0.07/simple-download-monitor.php:241
54
+ #: ../trunk/simple-download-monitor.php:242
55
+ msgid "Allowed extensions"
56
+ msgstr "Разрешенные расширения"
57
+
58
+ #: ../tags/0.05/simple-download-monitor.php:232
59
+ #: ../tags/0.06/simple-download-monitor.php:232
60
+ #: ../tags/0.07/simple-download-monitor.php:242
61
+ #: ../trunk/simple-download-monitor.php:243
62
+ msgid "Only files with extensions matching this regular expressions will be processed. This is another important security value. Make sure you only add extensions which are safe for malicious users to have, e.g. archives and possibly images. Do NOT use any expression that could allow a user to download PHP files, even if you think it safe given the Allowed Directories option above."
63
+ msgstr "Только файлы с расширениями, соответствующие этому регулярных выражений будут обработаны. Это еще одно важное значение безопасности. Убедитесь, что вы только добавить, расширений, которые являются безопасными для злоумышленников иметь, например, архивы и, возможно, изображения. Не используйте выражения, которые могут позволить пользователям загружать файлы PHP, даже если вы считаете, что данный безопасной номера варианта Справочники выше."
64
+
65
+ #: ../tags/0.05/simple-download-monitor.php:233
66
+ #: ../tags/0.06/simple-download-monitor.php:233
67
+ #: ../tags/0.07/simple-download-monitor.php:243
68
+ #: ../trunk/simple-download-monitor.php:244
69
+ msgid "Default value is <code>zip|rar|7z</code> which only allows download of files ending with <code>.zip</code>, <code>.rar</code> and <code>.7z</code> (the leading <code>.</code> is implicit)."
70
+ msgstr "Стандартное значение <code>zip|rar|7z</code> которое только позволяет загружать файлы с расширением <code>.zip</code>, <code>.rar</code> and <code>.7z</code> (лид. код <code>.</code> подразумевается)."
71
+
72
+ #: ../tags/0.05/simple-download-monitor.php:235
73
+ #: ../tags/0.06/simple-download-monitor.php:235
74
+ #: ../tags/0.07/simple-download-monitor.php:250
75
+ #: ../trunk/simple-download-monitor.php:251
76
+ msgid "Store detailed logs?"
77
+ msgstr "Сохранять подробные логи?"
78
+
79
+ #: ../tags/0.05/simple-download-monitor.php:236
80
+ #: ../tags/0.06/simple-download-monitor.php:236
81
+ #: ../tags/0.07/simple-download-monitor.php:251
82
+ #: ../trunk/simple-download-monitor.php:252
83
+ msgid "If detailed logs are allowed, various information (including exact time of download, user's IP address, referrer etc.) is stored. This can fill your database quickly if you have only a little space or a lot of popular downloads. Otherwise just the total numbers of downloads are stored, consuming significantly less space."
84
+ msgstr "Если разрешено подробные журналы различной информации (в том числе точное время загрузки, IP адрес пользователя, ссылающаяся т.д.) сохраняется. Это может заполнить вашей базе данных, если у вас есть только пространство мало или много популярных загрузки. В противном случае хранятся только общее число загрузок, потребляющих значительно меньше пространства."
85
+
86
+ #: ../tags/0.05/simple-download-monitor.php:237
87
+ #: ../tags/0.06/simple-download-monitor.php:237
88
+ #: ../tags/0.07/simple-download-monitor.php:252
89
+ #: ../trunk/simple-download-monitor.php:253
90
+ msgid "Use detailed statistics."
91
+ msgstr "Показать подробную статистику"
92
+
93
+ #: ../tags/0.05/simple-download-monitor.php:238
94
+ #: ../tags/0.06/simple-download-monitor.php:238
95
+ #: ../tags/0.07/simple-download-monitor.php:253
96
+ #: ../trunk/simple-download-monitor.php:254
97
+ msgid "Update settings"
98
+ msgstr "Обновить настройки"
99
+
100
+ #: ../tags/0.05/simple-download-monitor.php:343
101
+ #: ../tags/0.06/simple-download-monitor.php:343
102
+ #: ../tags/0.07/simple-download-monitor.php:358
103
+ #: ../trunk/simple-download-monitor.php:374
104
+ msgid "First"
105
+ msgstr "Первый"
106
+
107
+ #: ../tags/0.05/simple-download-monitor.php:344
108
+ #: ../tags/0.06/simple-download-monitor.php:344
109
+ #: ../tags/0.07/simple-download-monitor.php:359
110
+ #: ../trunk/simple-download-monitor.php:375
111
+ msgid "Previous"
112
+ msgstr "Пред."
113
+
114
+ #: ../tags/0.05/simple-download-monitor.php:349
115
+ #: ../tags/0.06/simple-download-monitor.php:349
116
+ #: ../tags/0.07/simple-download-monitor.php:364
117
+ #: ../trunk/simple-download-monitor.php:380
118
+ msgid "Next"
119
+ msgstr "След."
120
+
121
+ #: ../tags/0.05/simple-download-monitor.php:350
122
+ #: ../tags/0.06/simple-download-monitor.php:350
123
+ #: ../tags/0.07/simple-download-monitor.php:365
124
+ #: ../trunk/simple-download-monitor.php:381
125
+ msgid "Last"
126
+ msgstr "Пред."
127
+
128
+ #: ../tags/0.05/simple-download-monitor.php:365
129
+ #: ../tags/0.05/simple-download-monitor.php:428
130
+ #: ../tags/0.05/simple-download-monitor.php:496
131
+ #: ../tags/0.05/simple-download-monitor.php:497
132
+ #: ../tags/0.06/simple-download-monitor.php:365
133
+ #: ../tags/0.06/simple-download-monitor.php:430
134
+ #: ../tags/0.06/simple-download-monitor.php:498
135
+ #: ../tags/0.06/simple-download-monitor.php:499
136
+ #: ../tags/0.07/simple-download-monitor.php:380
137
+ #: ../tags/0.07/simple-download-monitor.php:445
138
+ #: ../tags/0.07/simple-download-monitor.php:513
139
+ #: ../tags/0.07/simple-download-monitor.php:514
140
+ #: ../trunk/simple-download-monitor.php:478
141
+ #: ../trunk/simple-download-monitor.php:555
142
+ #: ../trunk/simple-download-monitor.php:636
143
+ #: ../trunk/simple-download-monitor.php:637
144
+ msgid "Simple Download Monitor"
145
+ msgstr "Simple Download Monitor"
146
+
147
+ #: ../tags/0.05/simple-download-monitor.php:366
148
+ #: ../tags/0.06/simple-download-monitor.php:366
149
+ #: ../tags/0.07/simple-download-monitor.php:381
150
+ #: ../trunk/simple-download-monitor.php:479
151
+ msgid "Nonexistent downloads"
152
+ msgstr "Несуществующие загрузки"
153
+
154
+ #: ../tags/0.05/simple-download-monitor.php:366
155
+ #: ../tags/0.06/simple-download-monitor.php:366
156
+ #: ../tags/0.07/simple-download-monitor.php:381
157
+ #: ../trunk/simple-download-monitor.php:479
158
+ msgid "All downloads"
159
+ msgstr "Все загрузки"
160
+
161
+ #: ../tags/0.05/simple-download-monitor.php:367
162
+ #: ../tags/0.06/simple-download-monitor.php:367
163
+ #: ../tags/0.07/simple-download-monitor.php:382
164
+ #: ../trunk/simple-download-monitor.php:480
165
+ msgid "Show all downloads"
166
+ msgstr "Показать все загрузки"
167
+
168
+ #: ../tags/0.05/simple-download-monitor.php:367
169
+ #: ../tags/0.06/simple-download-monitor.php:367
170
+ #: ../tags/0.07/simple-download-monitor.php:382
171
+ #: ../trunk/simple-download-monitor.php:480
172
+ msgid "Show nonexistent downloads"
173
+ msgstr "Показать несуществующие загрузки"
174
+
175
+ #: ../tags/0.05/simple-download-monitor.php:378
176
+ #: ../tags/0.06/simple-download-monitor.php:378
177
+ #: ../tags/0.07/simple-download-monitor.php:393
178
+ #: ../trunk/simple-download-monitor.php:495
179
+ msgid "Filename"
180
+ msgstr "Имя файла"
181
+
182
+ #: ../tags/0.05/simple-download-monitor.php:379
183
+ #: ../tags/0.06/simple-download-monitor.php:379
184
+ #: ../tags/0.07/simple-download-monitor.php:394
185
+ #: ../trunk/simple-download-monitor.php:496
186
+ msgid "Download count"
187
+ msgstr "Счет загрузок"
188
+
189
+ #: ../tags/0.05/simple-download-monitor.php:380
190
+ #: ../tags/0.06/simple-download-monitor.php:380
191
+ #: ../tags/0.07/simple-download-monitor.php:395
192
+ #: ../trunk/simple-download-monitor.php:497
193
+ msgid "Last date"
194
+ msgstr "Последняя дата"
195
+
196
+ #: ../tags/0.05/simple-download-monitor.php:429
197
+ #: ../tags/0.06/simple-download-monitor.php:431
198
+ #: ../tags/0.07/simple-download-monitor.php:446
199
+ #: ../trunk/simple-download-monitor.php:556
200
+ #, php-format
201
+ msgid "Detailed data for <strong>%s</strong>:"
202
+ msgstr "Подробные данные для <strong>%s</strong>:"
203
+
204
+ #: ../tags/0.05/simple-download-monitor.php:430
205
+ #: ../tags/0.06/simple-download-monitor.php:432
206
+ #: ../tags/0.07/simple-download-monitor.php:447
207
+ #: ../trunk/simple-download-monitor.php:557
208
+ #, php-format
209
+ msgid "Total number of downloads: <strong>%d</strong>."
210
+ msgstr "Общее число загрузок: <strong>%d</strong>."
211
+
212
+ #: ../tags/0.05/simple-download-monitor.php:442
213
+ #: ../tags/0.06/simple-download-monitor.php:444
214
+ #: ../tags/0.07/simple-download-monitor.php:459
215
+ #: ../trunk/simple-download-monitor.php:573
216
+ msgid "Date"
217
+ msgstr "Данные"
218
+
219
+ #: ../tags/0.05/simple-download-monitor.php:443
220
+ #: ../tags/0.06/simple-download-monitor.php:445
221
+ #: ../tags/0.07/simple-download-monitor.php:460
222
+ #: ../trunk/simple-download-monitor.php:574
223
+ msgid "IP address"
224
+ msgstr "IP адрес"
225
+
226
+ #: ../tags/0.05/simple-download-monitor.php:444
227
+ #: ../tags/0.06/simple-download-monitor.php:446
228
+ #: ../tags/0.07/simple-download-monitor.php:461
229
+ #: ../trunk/simple-download-monitor.php:575
230
+ msgid "Referer"
231
+ msgstr "Переход"
232
+
233
+ #: ../tags/0.05/simple-download-monitor.php:445
234
+ #: ../tags/0.06/simple-download-monitor.php:447
235
+ #: ../tags/0.07/simple-download-monitor.php:462
236
+ #: ../trunk/simple-download-monitor.php:576
237
+ msgid "Username"
238
+ msgstr "Имя пользователя"
239
+
240
+ #: ../tags/0.05/simple-download-monitor.php:474
241
+ #: ../tags/0.06/simple-download-monitor.php:476
242
+ #: ../tags/0.07/simple-download-monitor.php:491
243
+ #: ../trunk/simple-download-monitor.php:614
244
+ msgid "Return to full list."
245
+ msgstr "Вернуться ко всему списку"
246
+
247
+ #: ../tags/0.07/simple-download-monitor.php:245
248
+ #: ../trunk/simple-download-monitor.php:246
249
+ msgid "Inline files"
250
+ msgstr "Список в строку"
251
+
252
+ #: ../tags/0.07/simple-download-monitor.php:246
253
+ #: ../trunk/simple-download-monitor.php:247
254
+ msgid "Files whose names match this regular expression will be displayed inline (within a HTML page) rather than downloaded."
255
+ msgstr "Файлы, чьи имена соответствуют этому регулярное выражение будет отображаться Inline (в пределах страницы HTML), а не загружен."
256
+
257
+ #: ../tags/0.07/simple-download-monitor.php:247
258
+ #: ../trunk/simple-download-monitor.php:248
259
+ msgid "By default, this value is empty - no files will appear inline, all will be downloaded. You may want to place something like <code>\\.(jpe?g|gif|png|swf)$</code> here to make images and Flash videos appear inline."
260
+ msgstr "По умолчанию, это значение пусто - файлы не появятся Inline, все будет загружен. Вы можете поставить что-то вроде <code>\\.(jpe?g|gif|png|swf)$</code> Здесь, чтобы изображения и флэш-ролики появятся в линию."
261
+
262
+ #: ../tags/0.07/simple-download-monitor.php:248
263
+ #: ../trunk/simple-download-monitor.php:249
264
+ msgid "Note: Unlike the options above, nothing is implied in this regular expression. You <em>must</em> use an explicit <code>\\.</code> to denote \"start of extension\", you <em>must</em> use an explicit <code>$</code> to mark \"end of filename\", etc."
265
+ msgstr "Примечание: В отличие от приведенных выше вариантов, ничего в данном случае подразумевают регулярное выражение. Вы<em>must</em> use an explicit <code>\\.</code> to denote \"start of extension\", you <em>must</em> use an explicit <code>$</code> to mark \"end of filename\", etc."
266
+
267
+ #: ../trunk/simple-download-monitor.php:520
268
+ #: ../trunk/simple-download-monitor.php:599
269
+ msgid "Delete"
270
+ msgstr "Удалить"
271
+
272
+ #: ../trunk/simple-download-monitor.php:528
273
+ #: ../trunk/simple-download-monitor.php:607
274
+ msgid "Delete Checked"
275
+ msgstr "Удалить отмеченное"
276
+
277
+ #: ../trunk/simple-download-monitor.php:529
278
+ #: ../trunk/simple-download-monitor.php:610
279
+ msgid "Delete All"
280
+ msgstr "Удалить все"
281
+
282
+ #: ../trunk/simple-download-monitor.php:529
283
+ #: ../trunk/simple-download-monitor.php:610
284
+ msgid "Yes, I am sure"
285
+ msgstr "Да, я уверен"
286
+
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:
4
  Tags: files, counter, count, tracking, download monitor, monitor, downloads, download
5
  Requires at least: 2.8.0
6
  Tested up to: 2.9.1
7
- Stable tag: 0.09
8
 
9
  Count the number of downloads without having to maintain a comprehensive download page.
10
 
@@ -76,6 +76,23 @@ it succeeds, you know the problem lies either in your .htaccess file or
76
  in the fact that the required functionality is not provided by your
77
  webhosting.
78
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
  == Screenshots ==
80
 
81
  1. Administrative options
@@ -84,6 +101,12 @@ webhosting.
84
 
85
  == Changelog ==
86
 
 
 
 
 
 
 
87
  = 0.09 =
88
 
89
  * Fixed incorrect header for file size. That should fix incompatibility
4
  Tags: files, counter, count, tracking, download monitor, monitor, downloads, download
5
  Requires at least: 2.8.0
6
  Tested up to: 2.9.1
7
+ Stable tag: 0.10
8
 
9
  Count the number of downloads without having to maintain a comprehensive download page.
10
 
76
  in the fact that the required functionality is not provided by your
77
  webhosting.
78
 
79
+ = I am getting a Parse error (unexpected T_CONST). What is it? =
80
+
81
+ Your webhosting still uses PHP version 4. While there is nothing
82
+ that Simple Download Monitor actually NEEDS from PHP 5, the use of
83
+ newer PHP allows for a (slightly) cleaner code and better future
84
+ maintenance. Unfortunately, it is not possible to contain both PHP 4
85
+ and 5 code in a single file without sacrificing readability.
86
+
87
+ In the distribution archive you will find a ZIP archive containing
88
+ a PHP 4 version of the plugin. Just extract it over your existing
89
+ Simple Download Monitor installation to get PHP 4 compatibility.
90
+
91
+ Please note that this rewrite was only tested on PHP 5, where it
92
+ does work (PHHP 5 is backwards compatible with PHP 4), but it may
93
+ not work on a real PHP 4 as I have no test machine for it. But I
94
+ will fix any errors that are reported to me.
95
+
96
  == Screenshots ==
97
 
98
  1. Administrative options
101
 
102
  == Changelog ==
103
 
104
+ = 0.10 =
105
+
106
+ * Belorussian translation by FatCow ( http://www.fatcow.com )
107
+
108
+ * PHP 4 version is also available (see the FAQ).
109
+
110
  = 0.09 =
111
 
112
  * Fixed incorrect header for file size. That should fix incompatibility
sdmon-php4.zip ADDED
Binary file
simple-download-monitor.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: Simple Download Monitor
5
  Plugin URI: http://www.pepak.net/wordpress/simple-download-monitor-plugin
6
  Description: Count the number of downloads without having to maintain a comprehensive download page.
7
- Version: 0.09
8
  Author: Pepak
9
  Author URI: http://www.pepak.net
10
  */
@@ -31,7 +31,7 @@ if (!class_exists('SimpleDownloadMonitor'))
31
  class SimpleDownloadMonitor
32
  {
33
 
34
- const VERSION = '0.08';
35
  const PREFIX = 'sdmon_';
36
  const PREG_DELIMITER = '`';
37
  const GET_PARAM = 'sdmon';
4
  Plugin Name: Simple Download Monitor
5
  Plugin URI: http://www.pepak.net/wordpress/simple-download-monitor-plugin
6
  Description: Count the number of downloads without having to maintain a comprehensive download page.
7
+ Version: 0.10
8
  Author: Pepak
9
  Author URI: http://www.pepak.net
10
  */
31
  class SimpleDownloadMonitor
32
  {
33
 
34
+ const VERSION = '0.10';
35
  const PREFIX = 'sdmon_';
36
  const PREG_DELIMITER = '`';
37
  const GET_PARAM = 'sdmon';