WPFront Scroll Top - Version 1.4

Version Description

  • Image ALT attribute
  • Language translations
Download this release

Release Info

Developer syammohanm
Plugin Icon 128x128 WPFront Scroll Top
Version 1.4
Comparing to
See all releases

Code changes from version 1.4.1 to 1.4

classes/class-wpfront-scroll-top.php CHANGED
@@ -36,7 +36,7 @@ if (!class_exists('WPFront_Scroll_Top')) {
36
  class WPFront_Scroll_Top extends WPFront_Base {
37
 
38
  //Constants
39
- const VERSION = '1.4.1';
40
  const OPTIONS_GROUP_NAME = 'wpfront-scroll-top-options-group';
41
  const OPTION_NAME = 'wpfront-scroll-top-options';
42
  const PLUGIN_SLUG = 'wpfront-scroll-top';
@@ -58,7 +58,7 @@ if (!class_exists('WPFront_Scroll_Top')) {
58
  $this->iconsURL = $this->pluginURLRoot . 'images/icons/';
59
 
60
  add_action('wp_footer', array(&$this, 'write_markup'));
61
- add_action('shutdown', array(&$this, 'shutdown_callback'));
62
 
63
  $this->add_menu($this->__('WPFront Scroll Top'), $this->__('Scroll Top'));
64
  }
@@ -114,26 +114,7 @@ if (!class_exists('WPFront_Scroll_Top')) {
114
  $this->options = new WPFront_Scroll_Top_Options(self::OPTION_NAME, self::PLUGIN_SLUG);
115
  }
116
 
117
- public function shutdown_callback() {
118
- if ($this->markupLoaded) {
119
- return;
120
- }
121
-
122
- $headers = headers_list();
123
- $flag = FALSE;
124
- foreach ($headers as $value) {
125
- $value = strtolower(str_replace(' ', '', $value));
126
- if (strpos($value, 'content-type:text/html') === 0) {
127
- $flag = TRUE;
128
- break;
129
- }
130
- }
131
-
132
- if ($flag)
133
- $this->write_markup();
134
- }
135
-
136
- //writes the html and script for the button
137
  public function write_markup() {
138
  if ($this->markupLoaded) {
139
  return;
@@ -178,17 +159,17 @@ if (!class_exists('WPFront_Scroll_Top')) {
178
 
179
  if ($this->options->hide_wpadmin() && is_admin())
180
  return FALSE;
181
-
182
- if (!$this->filter_pages())
183
  return FALSE;
184
 
185
  return TRUE;
186
  }
187
-
188
  private function filter_pages() {
189
- if (is_admin())
190
  return TRUE;
191
-
192
  switch ($this->options->display_pages()) {
193
  case 1:
194
  return TRUE;
@@ -212,7 +193,7 @@ if (!class_exists('WPFront_Scroll_Top')) {
212
  }
213
  if ($this->options->display_pages() == 2) {
214
  if ($ID !== FALSE && $type !== FALSE) {
215
- if ($this->filter_pages_contains($this->options->include_pages(), $type . '.' . $ID) === FALSE)
216
  return FALSE;
217
  else
218
  return TRUE;
@@ -221,7 +202,7 @@ if (!class_exists('WPFront_Scroll_Top')) {
221
  }
222
  if ($this->options->display_pages() == 3) {
223
  if ($ID !== FALSE && $type !== FALSE) {
224
- if ($this->filter_pages_contains($this->options->exclude_pages(), $type . '.' . $ID) === FALSE)
225
  return TRUE;
226
  else
227
  return FALSE;
@@ -229,14 +210,10 @@ if (!class_exists('WPFront_Scroll_Top')) {
229
  return TRUE;
230
  }
231
  }
232
-
233
  return TRUE;
234
  }
235
 
236
- public function filter_pages_contains($list, $key) {
237
- return strpos(',' . $list . ',', ',' . $key . ',');
238
- }
239
-
240
  private function image() {
241
  if ($this->options->image() == 'custom')
242
  return $this->options->custom_url();
36
  class WPFront_Scroll_Top extends WPFront_Base {
37
 
38
  //Constants
39
+ const VERSION = '1.4';
40
  const OPTIONS_GROUP_NAME = 'wpfront-scroll-top-options-group';
41
  const OPTION_NAME = 'wpfront-scroll-top-options';
42
  const PLUGIN_SLUG = 'wpfront-scroll-top';
58
  $this->iconsURL = $this->pluginURLRoot . 'images/icons/';
59
 
60
  add_action('wp_footer', array(&$this, 'write_markup'));
61
+ add_action('shutdown', array(&$this, 'write_markup'));
62
 
63
  $this->add_menu($this->__('WPFront Scroll Top'), $this->__('Scroll Top'));
64
  }
114
  $this->options = new WPFront_Scroll_Top_Options(self::OPTION_NAME, self::PLUGIN_SLUG);
115
  }
116
 
117
+ //writes the html and script for the bar
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
  public function write_markup() {
119
  if ($this->markupLoaded) {
120
  return;
159
 
160
  if ($this->options->hide_wpadmin() && is_admin())
161
  return FALSE;
162
+
163
+ if(!$this->filter_pages())
164
  return FALSE;
165
 
166
  return TRUE;
167
  }
168
+
169
  private function filter_pages() {
170
+ if(is_admin())
171
  return TRUE;
172
+
173
  switch ($this->options->display_pages()) {
174
  case 1:
175
  return TRUE;
193
  }
194
  if ($this->options->display_pages() == 2) {
195
  if ($ID !== FALSE && $type !== FALSE) {
196
+ if (strpos($this->options->include_pages(), $type . '.' . $ID) === FALSE)
197
  return FALSE;
198
  else
199
  return TRUE;
202
  }
203
  if ($this->options->display_pages() == 3) {
204
  if ($ID !== FALSE && $type !== FALSE) {
205
+ if (strpos($this->options->exclude_pages(), $type . '.' . $ID) === FALSE)
206
  return TRUE;
207
  else
208
  return FALSE;
210
  return TRUE;
211
  }
212
  }
213
+
214
  return TRUE;
215
  }
216
 
 
 
 
 
217
  private function image() {
218
  if ($this->options->image() == 'custom')
219
  return $this->options->custom_url();
languages/wpfront-scroll-top-ru_RU.mo DELETED
Binary file
languages/wpfront-scroll-top-ru_RU/readme.txt DELETED
@@ -1 +0,0 @@
1
- Contributor: Flector <wordpressplugins.ru>
 
languages/wpfront-scroll-top-ru_RU/wpfront-scroll-top-ru_RU.mo DELETED
Binary file
languages/wpfront-scroll-top-ru_RU/wpfront-scroll-top-ru_RU.po DELETED
@@ -1,509 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: WPFrontScrollTop-ru_RU\n"
4
- "POT-Creation-Date: 2014-08-11 09:33-0700\n"
5
- "PO-Revision-Date: 2014-08-14 16:26+0400\n"
6
- "Last-Translator: Flector <rlector@gmail.com>\n"
7
- "Language-Team: WordpressPlugins.ru <rlector@gmail.com>\n"
8
- "Language: 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: Poedit 1.6.7\n"
13
- "X-Poedit-Basepath: .\n"
14
- "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
15
- "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
16
- "X-Poedit-SourceCharset: UTF-8\n"
17
- "X-Poedit-KeywordsList: __;_e\n"
18
- "X-Poedit-SearchPath-0: ..\n"
19
-
20
- #: ../classes/base/class-wpfront-base-menu.php:52
21
- msgid "Name"
22
- msgstr "Имя"
23
-
24
- #: ../classes/base/class-wpfront-base-menu.php:53
25
- msgid "Version"
26
- msgstr "Версия"
27
-
28
- #: ../classes/base/class-wpfront-base-menu.php:54
29
- msgid "Rating"
30
- msgstr "Рейтинг"
31
-
32
- #: ../classes/base/class-wpfront-base-menu.php:55
33
- msgid "Description"
34
- msgstr "Описание"
35
-
36
- #: ../classes/base/class-wpfront-base-menu.php:69
37
- #, php-format
38
- msgid "based on %s rating(s)"
39
- msgstr "на основе %s голосов"
40
-
41
- #: ../classes/base/class-wpfront-base-menu.php:105
42
- msgid "Unable to communicate with WordPress.org"
43
- msgstr "Невозможно соединиться с WordPress.org"
44
-
45
- #: ../classes/base/class-wpfront-base-menu.php:123
46
- #: ../classes/base/class-wpfront-base-menu.php:217
47
- msgid "WPFront Plugins"
48
- msgstr "Плагины от WPFront "
49
-
50
- #: ../classes/base/class-wpfront-base-menu.php:147
51
- #, php-format
52
- msgid "By %s"
53
- msgstr "Автор: %s"
54
-
55
- #: ../classes/base/class-wpfront-base-menu.php:154
56
- #, php-format
57
- msgid "More information about %s"
58
- msgstr "Больше информации о плагине %s"
59
-
60
- #: ../classes/base/class-wpfront-base-menu.php:154
61
- msgid "Details"
62
- msgstr "Детали"
63
-
64
- #: ../classes/base/class-wpfront-base-menu.php:163
65
- #, php-format
66
- msgid "Install %s"
67
- msgstr "Установить %s"
68
-
69
- #: ../classes/base/class-wpfront-base-menu.php:163
70
- msgid "Install Now"
71
- msgstr "Установить сейчас"
72
-
73
- #: ../classes/base/class-wpfront-base-menu.php:168
74
- #, php-format
75
- msgid "Update to version %s"
76
- msgstr "Обновить до версии %s"
77
-
78
- #: ../classes/base/class-wpfront-base-menu.php:168
79
- msgid "Update Now"
80
- msgstr "Обновить сейчас"
81
-
82
- #: ../classes/base/class-wpfront-base-menu.php:173
83
- msgid "This plugin is already installed and is up to date"
84
- msgstr "Этот плагин уже установлен и не нуждается в обновлении"
85
-
86
- #: ../classes/base/class-wpfront-base-menu.php:173
87
- msgid "Installed"
88
- msgstr "Установлен"
89
-
90
- #: ../classes/base/class-wpfront-base-menu.php:175
91
- #: ../classes/base/class-wpfront-base.php:105
92
- msgid "Settings"
93
- msgstr "Настройки"
94
-
95
- #: ../classes/base/class-wpfront-base-menu.php:177
96
- msgid "Activate"
97
- msgstr "Активировать"
98
-
99
- #: ../classes/base/class-wpfront-base-menu.php:199
100
- msgid "Feedback"
101
- msgstr "Связаться с автором"
102
-
103
- #: ../classes/base/class-wpfront-base-menu.php:216
104
- msgid "WPFront"
105
- msgstr "WPFront"
106
-
107
- #: ../classes/base/class-wpfront-base-menu.php:217
108
- msgid "All Plugins"
109
- msgstr "Все плагины"
110
-
111
- #: ../classes/base/class-wpfront-base.php:130
112
- msgid "You do not have sufficient permissions to access this page."
113
- msgstr "У вас нет необходимых прав для доступа к этой странице."
114
-
115
- #: ../classes/base/class-wpfront-base.php:150
116
- msgid ""
117
- "If you have a caching plugin, clear the cache for the new settings to take "
118
- "effect."
119
- msgstr ""
120
- "Если вы используете плагины кэширования, то вам необходимо скинуть файлы "
121
- "кэша."
122
-
123
- #: ../classes/base/class-wpfront-base.php:168
124
- msgid "Settings Description"
125
- msgstr "Описание настроек"
126
-
127
- #: ../classes/base/class-wpfront-base.php:170
128
- msgid "Plugin FAQ"
129
- msgstr "FAQ плагина"
130
-
131
- #: ../classes/base/class-wpfront-base.php:172
132
- msgid "Feature Request"
133
- msgstr "Запрос функций"
134
-
135
- #: ../classes/base/class-wpfront-base.php:174
136
- msgid "Report Bug"
137
- msgstr "Сообщить об ошибке"
138
-
139
- #: ../classes/base/class-wpfront-base.php:176
140
- msgid "Write Review"
141
- msgstr "Написать ревью"
142
-
143
- #: ../classes/base/class-wpfront-base.php:178
144
- msgid "Contact Me"
145
- msgstr "Связаться с автором"
146
-
147
- #: ../classes/base/class-wpfront-base.php:180
148
- msgid "Buy me a Beer or Coffee"
149
- msgstr "Купить автору пиво"
150
-
151
- #: ../classes/base/class-wpfront-base.php:197
152
- msgid "Save Changes"
153
- msgstr "Сохранить изменения"
154
-
155
- #: ../classes/class-wpfront-scroll-top-options.php:41
156
- msgid "Enabled"
157
- msgstr "Включить"
158
-
159
- #: ../classes/class-wpfront-scroll-top-options.php:42
160
- msgid "Scroll Offset"
161
- msgstr "Скроллирование"
162
-
163
- #: ../classes/class-wpfront-scroll-top-options.php:45
164
- msgid "Button Opacity"
165
- msgstr "Прозрачность кнопки"
166
-
167
- #: ../classes/class-wpfront-scroll-top-options.php:46
168
- msgid "Button Fade Duration"
169
- msgstr "Исчезновение кнопки"
170
-
171
- #: ../classes/class-wpfront-scroll-top-options.php:47
172
- msgid "Scroll Duration"
173
- msgstr "Скорость скролла"
174
-
175
- #: ../classes/class-wpfront-scroll-top-options.php:48
176
- msgid "Auto Hide"
177
- msgstr "Скрывать"
178
-
179
- #: ../classes/class-wpfront-scroll-top-options.php:49
180
- msgid "Auto Hide After"
181
- msgstr "Скрывать после"
182
-
183
- #: ../classes/class-wpfront-scroll-top-options.php:50
184
- msgid "Hide on Small Devices"
185
- msgstr "Скрывать на маленьких устройствах"
186
-
187
- #: ../classes/class-wpfront-scroll-top-options.php:51
188
- msgid "Small Device Max Width"
189
- msgstr "Ширина маленьких устройств"
190
-
191
- #: ../classes/class-wpfront-scroll-top-options.php:52
192
- msgid "Hide on Small Window"
193
- msgstr "Скрывать при маленьком окне браузера"
194
-
195
- #: ../classes/class-wpfront-scroll-top-options.php:53
196
- msgid "Small Window Max Width"
197
- msgstr "Ширина окна браузера"
198
-
199
- #: ../classes/class-wpfront-scroll-top-options.php:54
200
- msgid "Button Style"
201
- msgstr "Стиль кнопки"
202
-
203
- #: ../classes/class-wpfront-scroll-top-options.php:55
204
- msgid "Image ALT"
205
- msgstr "Атрибут Alt у картинки"
206
-
207
- #: ../classes/class-wpfront-scroll-top-options.php:56
208
- msgid "Hide on WP-ADMIN"
209
- msgstr "Скрывать в админке"
210
-
211
- #: ../classes/class-wpfront-scroll-top-options.php:57
212
- msgid "Hide on iframes"
213
- msgstr "Скрывать во фреймах"
214
-
215
- #: ../classes/class-wpfront-scroll-top-options.php:59
216
- #: ../templates/options-template.php:226
217
- msgid "Location"
218
- msgstr "Расположение"
219
-
220
- #: ../classes/class-wpfront-scroll-top-options.php:60
221
- msgid "Margin X"
222
- msgstr "Отступ по горизонтали"
223
-
224
- #: ../classes/class-wpfront-scroll-top-options.php:61
225
- msgid "Margin Y"
226
- msgstr "Отступ по вертикали"
227
-
228
- #: ../classes/class-wpfront-scroll-top-options.php:63
229
- #: ../templates/options-template.php:170
230
- msgid "Text"
231
- msgstr "Текст"
232
-
233
- #: ../classes/class-wpfront-scroll-top-options.php:64
234
- msgid "Text Color"
235
- msgstr "Цвет текста"
236
-
237
- #: ../classes/class-wpfront-scroll-top-options.php:65
238
- msgid "Background Color"
239
- msgstr "Цвет фона"
240
-
241
- #: ../classes/class-wpfront-scroll-top-options.php:66
242
- msgid "Custom CSS"
243
- msgstr "Свои CSS стили"
244
-
245
- #: ../classes/class-wpfront-scroll-top-options.php:68
246
- msgid "Display on Pages"
247
- msgstr "Выводить на страницах"
248
-
249
- #: ../classes/class-wpfront-scroll-top.php:63
250
- msgid "WPFront Scroll Top"
251
- msgstr "WPFront Scroll Top"
252
-
253
- #: ../classes/class-wpfront-scroll-top.php:63
254
- msgid "Scroll Top"
255
- msgstr "Scroll Top"
256
-
257
- #: ../classes/class-wpfront-scroll-top.php:226
258
- #: ../classes/class-wpfront-scroll-top.php:230
259
- msgid "[Page]"
260
- msgstr "[Страница]"
261
-
262
- #: ../classes/class-wpfront-scroll-top.php:226
263
- msgid "Home"
264
- msgstr "Главная"
265
-
266
- #: ../classes/class-wpfront-scroll-top.php:235
267
- msgid "[Post]"
268
- msgstr "[Запись]"
269
-
270
- #: ../templates/options-template.php:32
271
- msgid "WPFront Scroll Top Settings"
272
- msgstr "Настройки плагина WPFront Scroll Top:"
273
-
274
- #: ../templates/options-template.php:34
275
- msgid "Display"
276
- msgstr "Отображение"
277
-
278
- #: ../templates/options-template.php:50
279
- msgid "[Number of pixels to be scrolled before the button appears.]"
280
- msgstr ""
281
- "[число пикселей, на которое надо скроллировать страницу для появления кнопки]"
282
-
283
- #: ../templates/options-template.php:55
284
- msgid "Button Size"
285
- msgstr "Размер кнопки"
286
-
287
- #: ../templates/options-template.php:61
288
- msgid "[Set 0px to auto fit.]"
289
- msgstr "[установите 0px для автоматического определения размеров]"
290
-
291
- #: ../templates/options-template.php:79
292
- msgid "[Button fade duration in milliseconds.]"
293
- msgstr "[скорость исчезновения кнопки в миллисекундах после скролла]"
294
-
295
- #: ../templates/options-template.php:88
296
- msgid "[Window scroll duration in milliseconds.]"
297
- msgstr "[скорость скролла в миллисекундах при нажатии на кнопку]"
298
-
299
- #: ../templates/options-template.php:105
300
- msgid ""
301
- "[Button will be auto hidden after this duration in seconds, if enabled.]"
302
- msgstr ""
303
- "[время в секундах, после которого будет скрыта кнопка (если скрытие "
304
- "включено)]"
305
-
306
- #: ../templates/options-template.php:114
307
- msgid "[Button will be hidden on small devices when the width matches.]"
308
- msgstr "[кнопка будет скрыта на маленьких устройствах (проверяется ширина)]"
309
-
310
- #: ../templates/options-template.php:123
311
- msgid "[Button will be hidden on devices with lesser or equal width.]"
312
- msgstr "[кнопка будет скрыта на устройствах с указанной или меньшей шириной]"
313
-
314
- #: ../templates/options-template.php:132
315
- msgid "[Button will be hidden on broswer window when the width matches.]"
316
- msgstr "[кнопка будет скрыта при маленьком окне браузера (проверяется ширина)]"
317
-
318
- #: ../templates/options-template.php:141
319
- msgid "[Button will be hidden on browser window with lesser or equal width.]"
320
- msgstr ""
321
- "[кнопка будет скрыта, если окно браузера будет с указанной или меньшей "
322
- "шириной]"
323
-
324
- #: ../templates/options-template.php:150
325
- msgid "[Button will be hidden on 'wp-admin'.]"
326
- msgstr ""
327
- "[кнопка будет скрываться на страницах админки (страницы внутри 'wp-admin')]"
328
-
329
- #: ../templates/options-template.php:159
330
- msgid "[Button will be hidden on iframes, usually inside popups.]"
331
- msgstr "[кнопка будет скрыта во фреймах (обычно фреймы это всплывающие окна)]"
332
-
333
- #: ../templates/options-template.php:168 ../templates/options-template.php:317
334
- msgid "Image"
335
- msgstr "Картинка"
336
-
337
- #: ../templates/options-template.php:184
338
- msgid "Text Button"
339
- msgstr "Текстовая кнопка"
340
-
341
- #: ../templates/options-template.php:234
342
- msgid "Bottom Right"
343
- msgstr "Снизу справа"
344
-
345
- #: ../templates/options-template.php:235
346
- msgid "Bottom Left"
347
- msgstr "Снизу слева"
348
-
349
- #: ../templates/options-template.php:236
350
- msgid "Top Right"
351
- msgstr "Вверху справа"
352
-
353
- #: ../templates/options-template.php:237
354
- msgid "Top Left"
355
- msgstr "Вверху слева"
356
-
357
- #: ../templates/options-template.php:247 ../templates/options-template.php:256
358
- msgid "[Negative value allowed.]"
359
- msgstr "[Можно использовать отрицательные значения]"
360
-
361
- #: ../templates/options-template.php:261
362
- msgid "Filter"
363
- msgstr "Фильтр"
364
-
365
- #: ../templates/options-template.php:270
366
- msgid "All pages."
367
- msgstr "Все страницы."
368
-
369
- #: ../templates/options-template.php:275
370
- msgid "Include in following pages"
371
- msgstr "Включить на следующих страницах"
372
-
373
- #: ../templates/options-template.php:295
374
- msgid "Exclude in following pages"
375
- msgstr "Исключить на следующих страницах"
376
-
377
- #: ../templates/options-template.php:333
378
- msgid "Custom URL"
379
- msgstr "URL своей картинки"
380
-
381
- #~ msgid "Contact Me (syam@wpfront.com)"
382
- #~ msgstr "Contact Me (syam@wpfront.com)"
383
-
384
- #~ msgid "Bar Height"
385
- #~ msgstr "Bar Height"
386
-
387
- #~ msgid "Message Text"
388
- #~ msgstr "Message Text"
389
-
390
- #~ msgid "Display After"
391
- #~ msgstr "Display After"
392
-
393
- #~ msgid "Display Close Button"
394
- #~ msgstr "Display Close Button"
395
-
396
- #~ msgid "Display Button"
397
- #~ msgstr "Display Button"
398
-
399
- #~ msgid "Open URL:"
400
- #~ msgstr "Open URL:"
401
-
402
- #~ msgid "Open URL in new tab/window"
403
- #~ msgstr "Open URL in new tab/window"
404
-
405
- #~ msgid "Execute JavaScript"
406
- #~ msgstr "Execute JavaScript"
407
-
408
- #~ msgid "Close Bar on Button Click"
409
- #~ msgstr "Close Bar on Button Click"
410
-
411
- #~ msgid "Display Shadow"
412
- #~ msgstr "Display Shadow"
413
-
414
- #~ msgid "Fixed at Position"
415
- #~ msgstr "Fixed at Position"
416
-
417
- #~ msgid "Message Text Color"
418
- #~ msgstr "Message Text Color"
419
-
420
- #~ msgid "From Color"
421
- #~ msgstr "From Color"
422
-
423
- #~ msgid "Button Text Color"
424
- #~ msgstr "Button Text Color"
425
-
426
- #~ msgid "Display Reopen Button"
427
- #~ msgstr "Display Reopen Button"
428
-
429
- #~ msgid "Reopen Button Color"
430
- #~ msgstr "Reopen Button Color"
431
-
432
- #~ msgid "Keep Closed"
433
- #~ msgstr "Keep Closed"
434
-
435
- #~ msgid "Position Offset"
436
- #~ msgstr "Position Offset"
437
-
438
- #~ msgid "WPFront Notification Bar"
439
- #~ msgstr "WPFront Notification Bar"
440
-
441
- #~ msgid "Notification Bar"
442
- #~ msgstr "Notification Bar"
443
-
444
- #~ msgid "Top"
445
- #~ msgstr "Top"
446
-
447
- #~ msgid "[Sticky Bar, bar will stay at position regardless of scrolling.]"
448
- #~ msgstr "[Sticky Bar, bar will stay at position regardless of scrolling.]"
449
-
450
- #~ msgid "px"
451
- #~ msgstr "px"
452
-
453
- #~ msgid ""
454
- #~ "(Top bar only) If you find the bar overlapping, try increasing this "
455
- #~ "value. (eg. WordPress 3.8 Twenty Fourteen theme, set 48px)"
456
- #~ msgstr ""
457
- #~ "(Top bar only) If you find the bar overlapping, try increasing this "
458
- #~ "value. (eg. WordPress 3.8 Twenty Fourteen theme, set 48px)"
459
-
460
- #~ msgid "second(s)"
461
- #~ msgstr "second(s)"
462
-
463
- #~ msgid "Set 0 second(s) to display immediately."
464
- #~ msgstr "Set 0 second(s) to display immediately."
465
-
466
- #~ msgid "Set 0 second(s) for no animation."
467
- #~ msgstr "Set 0 second(s) for no animation."
468
-
469
- #~ msgid "[Displays a close button at the top right corner of the bar.]"
470
- #~ msgstr "[Displays a close button at the top right corner of the bar.]"
471
-
472
- #~ msgid "Set 0 second(s) to disable auto close."
473
- #~ msgstr "Set 0 second(s) to disable auto close."
474
-
475
- #~ msgid "A reopen button will be displayed after the bar is closed."
476
- #~ msgstr "A reopen button will be displayed after the bar is closed."
477
-
478
- #~ msgid "Once closed, bar will display closed on other pages."
479
- #~ msgstr "Once closed, bar will display closed on other pages."
480
-
481
- #~ msgid "Content"
482
- #~ msgstr "Content"
483
-
484
- #~ msgid "[HTML tags are allowed. e.g. Add <br /> for break.]"
485
- #~ msgstr "[HTML tags are allowed. e.g. Add <br /> for break.]"
486
-
487
- #~ msgid "[Displays a button next to the message.]"
488
- #~ msgstr "[Displays a button next to the message.]"
489
-
490
- #~ msgid "Only in landing page."
491
- #~ msgstr "Only in landing page."
492
-
493
- #~ msgid "[The first page they visit on your website.]"
494
- #~ msgstr "[The first page they visit on your website.]"
495
-
496
- #~ msgid "Color"
497
- #~ msgstr "Color"
498
-
499
- #~ msgid "[Select two different colors to create a gradient.]"
500
- #~ msgstr "[Select two different colors to create a gradient.]"
501
-
502
- #~ msgid "Button Color"
503
- #~ msgstr "Button Color"
504
-
505
- #~ msgid "Animate Display"
506
- #~ msgstr "Animate Display"
507
-
508
- #~ msgid "Animate Display Delay"
509
- #~ msgstr "Animate Display Delay"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: syammohanm
3
  Donate link: http://wpfront.com/donate/
4
  Tags: back, back to top, navigation, navigate, page, scroll, scroll to top, scroll top, scroll up, top, up
5
  Requires at least: 3.0
6
- Tested up to: 3.9.2
7
- Stable tag: 1.4.1
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -32,7 +32,6 @@ Visit [WPFront Scroll Top FAQ](http://wpfront.com/scroll-top-plugin-faq/) page f
32
  Localization Contributors:
33
  <li>[Ogi Djuraskovic](http://firstsiteguide.com) (Spanish) </li>
34
  <li>[Ogi Djuraskovic](http://firstsiteguide.com) (Serbian) </li>
35
- <li>[Flector](http://wordpressplugins.ru) (Russian) </li>
36
 
37
  == Installation ==
38
 
@@ -58,10 +57,6 @@ No one has asked anything yet.
58
 
59
  == Changelog ==
60
 
61
- = 1.4.1 =
62
- * Bug fixes
63
- * Russian language added
64
-
65
  = 1.4 =
66
  * Image ALT attribute
67
  * Language translations
@@ -92,9 +87,6 @@ No one has asked anything yet.
92
 
93
  == Upgrade Notice ==
94
 
95
- = 1.4.1 =
96
- * A couple of bug fixes
97
-
98
  = 1.4 =
99
  * Now you can set alt attribute for image
100
 
3
  Donate link: http://wpfront.com/donate/
4
  Tags: back, back to top, navigation, navigate, page, scroll, scroll to top, scroll top, scroll up, top, up
5
  Requires at least: 3.0
6
+ Tested up to: 4.0
7
+ Stable tag: 1.4
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
32
  Localization Contributors:
33
  <li>[Ogi Djuraskovic](http://firstsiteguide.com) (Spanish) </li>
34
  <li>[Ogi Djuraskovic](http://firstsiteguide.com) (Serbian) </li>
 
35
 
36
  == Installation ==
37
 
57
 
58
  == Changelog ==
59
 
 
 
 
 
60
  = 1.4 =
61
  * Image ALT attribute
62
  * Language translations
87
 
88
  == Upgrade Notice ==
89
 
 
 
 
90
  = 1.4 =
91
  * Now you can set alt attribute for image
92
 
templates/options-template.php CHANGED
@@ -282,7 +282,7 @@
282
  ?>
283
  <div class="page-div">
284
  <label>
285
- <input type="checkbox" value="<?php echo $key; ?>" <?php echo $this->filter_pages_contains($this->options->include_pages(), $key) === FALSE ? '' : 'checked'; ?> />
286
  <?php echo $value; ?>
287
  </label>
288
  </div>
@@ -302,7 +302,7 @@
302
  ?>
303
  <div class="page-div">
304
  <label>
305
- <input type="checkbox" value="<?php echo $key; ?>" <?php echo $this->filter_pages_contains($this->options->exclude_pages(), $key) === FALSE ? '' : 'checked'; ?> />
306
  <?php echo $value; ?>
307
  </label>
308
  </div>
282
  ?>
283
  <div class="page-div">
284
  <label>
285
+ <input type="checkbox" value="<?php echo $key; ?>" <?php echo strpos($this->options->include_pages(), $key) === FALSE ? '' : 'checked'; ?> />
286
  <?php echo $value; ?>
287
  </label>
288
  </div>
302
  ?>
303
  <div class="page-div">
304
  <label>
305
+ <input type="checkbox" value="<?php echo $key; ?>" <?php echo strpos($this->options->exclude_pages(), $key) === FALSE ? '' : 'checked'; ?> />
306
  <?php echo $value; ?>
307
  </label>
308
  </div>
wpfront-scroll-top.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WPFront Scroll Top
4
  * Plugin URI: http://wpfront.com/scroll-top-plugin/
5
  * Description: Allows the visitor to easily scroll back to the top of the page.
6
- * Version: 1.4.1
7
  * Author: Syam Mohan
8
  * Author URI: http://wpfront.com
9
  * License: GPL v3
3
  * Plugin Name: WPFront Scroll Top
4
  * Plugin URI: http://wpfront.com/scroll-top-plugin/
5
  * Description: Allows the visitor to easily scroll back to the top of the page.
6
+ * Version: 1.4
7
  * Author: Syam Mohan
8
  * Author URI: http://wpfront.com
9
  * License: GPL v3