Image Widget - Version 3.2.8

Version Description

  • Minor bugfix courtesy of Takayuki Miyauchi (@miya0001)
  • Polish translation courtesy of ukasz Kli
Download this release

Release Info

Developer mattwiebe
Plugin Icon 128x128 Image Widget
Version 3.2.8
Comparing to
See all releases

Code changes from version 3.2.7 to 3.2.8

image-widget.js CHANGED
@@ -90,7 +90,7 @@
90
  }
91
 
92
  $(document).ready(function() {
93
- $("#widgets-right").delegate('a.thickbox-image-widget', 'click', function(event) {
94
  event.preventDefault();
95
  window.send_to_editor = image_widget_send_to_editor;
96
  tb_show("Add an Image", event.target.href, false);
90
  }
91
 
92
  $(document).ready(function() {
93
+ $("a.thickbox-image-widget").live('click', function(event) {
94
  event.preventDefault();
95
  window.send_to_editor = image_widget_send_to_editor;
96
  tb_show("Add an Image", event.target.href, false);
image-widget.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Image Widget
4
  Plugin URI: http://wordpress.org/extend/plugins/image-widget/
5
  Description: Simple image widget that uses native Wordpress upload thickbox to add image widgets to your site.
6
  Author: Shane and Peter, Inc.
7
- Version: 3.2.7
8
  Author URI: http://www.shaneandpeter.com
9
  */
10
 
@@ -36,7 +36,7 @@ class SP_Image_Widget extends WP_Widget {
36
  $this->WP_Widget('widget_sp_image', __('Image Widget', $this->pluginDomain), $widget_ops, $control_ops);
37
 
38
  global $pagenow;
39
- if (WP_ADMIN) {
40
  add_action( 'admin_init', array( $this, 'fix_async_upload_image' ) );
41
  if ( 'widgets.php' == $pagenow ) {
42
  wp_enqueue_style( 'thickbox' );
4
  Plugin URI: http://wordpress.org/extend/plugins/image-widget/
5
  Description: Simple image widget that uses native Wordpress upload thickbox to add image widgets to your site.
6
  Author: Shane and Peter, Inc.
7
+ Version: 3.2.8
8
  Author URI: http://www.shaneandpeter.com
9
  */
10
 
36
  $this->WP_Widget('widget_sp_image', __('Image Widget', $this->pluginDomain), $widget_ops, $control_ops);
37
 
38
  global $pagenow;
39
+ if (defined("WP_ADMIN") && WP_ADMIN) {
40
  add_action( 'admin_init', array( $this, 'fix_async_upload_image' ) );
41
  if ( 'widgets.php' == $pagenow ) {
42
  wp_enqueue_style( 'thickbox' );
lang/SP_Image_Widget-pl_PL.mo ADDED
Binary file
lang/SP_Image_Widget-pl_PL.po ADDED
@@ -0,0 +1,97 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Translation of the Image Widget 3.1.4 WordPress plugin.
2
+ # This file is distributed under the same license as the the Image Widget package.
3
+ # Rüdiger Weiß <ruediger@mac.com>, 2010.
4
+ #
5
+ msgid ""
6
+ msgstr ""
7
+ "Project-Id-Version: Image Widget 3.1.3\n"
8
+ "Report-Msgid-Bugs-To: \n"
9
+ "POT-Creation-Date: 2010-01-30 14:15+0100\n"
10
+ "PO-Revision-Date: 2011-07-02 13:34+0100\n"
11
+ "Last-Translator: Łukasz Kliś <lukasz@klis.pl>\n"
12
+ "Language-Team: Rüdiger Weiß <ruediger@mac.com>\n"
13
+ "MIME-Version: 1.0\n"
14
+ "Content-Type: text/plain; charset=UTF-8\n"
15
+ "Content-Transfer-Encoding: 8bit\n"
16
+ "X-Poedit-Language: Polish\n"
17
+ "X-Poedit-Country: POLAND\n"
18
+ "X-Poedit-SourceCharset: iso-8859-1\n"
19
+ "X-Poedit-KeywordsList: __;_e\n"
20
+ "X-Poedit-Basepath: .\n"
21
+
22
+ #: image-widget.php:33
23
+ msgid "Showcase a single image with a Title, URL, and a Description"
24
+ msgstr "Obrazek z tytułem, podpisem i odnośnikiem."
25
+
26
+ #: image-widget.php:35
27
+ msgid "Image Widget"
28
+ msgstr "Widget obrazkowy"
29
+
30
+ #: image-widget.php:114
31
+ msgid "Insert Into Widget"
32
+ msgstr "Dodaj do widgeta"
33
+
34
+ #: image-widget.php:265
35
+ msgid "Title:"
36
+ msgstr "Tytuł:"
37
+
38
+ #: image-widget.php:268
39
+ msgid "Image:"
40
+ msgstr "Obrazek:"
41
+
42
+ #: image-widget.php:272
43
+ msgid "Change Image"
44
+ msgstr "Zmień obrazek"
45
+
46
+ #: image-widget.php:272
47
+ msgid "Add Image"
48
+ msgstr "Dodaj obrazek"
49
+
50
+ #: image-widget.php:295
51
+ msgid "Caption:"
52
+ msgstr "Podpis:"
53
+
54
+ #: image-widget.php:298
55
+ msgid "Link:"
56
+ msgstr "Odnośnik:"
57
+
58
+ #: image-widget.php:301
59
+ msgid "Stay in Window"
60
+ msgstr "otwórz w tym samym oknie"
61
+
62
+ #: image-widget.php:302
63
+ msgid "Open New Window"
64
+ msgstr "otwórz w nowym oknie"
65
+
66
+ #: image-widget.php:305
67
+ msgid "Width:"
68
+ msgstr "Szerokość:"
69
+
70
+ #: image-widget.php:308
71
+ msgid "Height:"
72
+ msgstr "Wysokość:"
73
+
74
+ #: image-widget.php:311
75
+ msgid "Align:"
76
+ msgstr "Wyrównanie:"
77
+
78
+ #: image-widget.php:313
79
+ msgid "none"
80
+ msgstr "żadne"
81
+
82
+ #: image-widget.php:314
83
+ msgid "left"
84
+ msgstr "do lewej"
85
+
86
+ #: image-widget.php:315
87
+ msgid "center"
88
+ msgstr "do środka"
89
+
90
+ #: image-widget.php:316
91
+ msgid "right"
92
+ msgstr "do prawej"
93
+
94
+ #: image-widget.php:331
95
+ msgid "Alternate Text:"
96
+ msgstr "Alternatywny tekst dla obrazka"
97
+
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
  === Image Widget ===
2
- Contributors: Shane & Peter, Inc.
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4BSPTNFFY6AL6
4
  Tags: widget, image, ad, banner, simple, upload, sidebar, admin, thickbox, resize
5
  Requires at least: 3.0
6
  Tested up to: 3.1
7
- Stable tag: 3.2.7
8
 
9
  == Description ==
10
 
@@ -68,6 +68,15 @@ function my_template_filter($template) {
68
 
69
  == Changelog ==
70
 
 
 
 
 
 
 
 
 
 
71
  = 3.2.7 =
72
 
73
  * Update javascript to work with the new version of WordPress (thanks Matt Wiebe!!! @mattwiebe)
1
  === Image Widget ===
2
+ Contributors: Shane & Peter, Inc., mattwiebe
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=4BSPTNFFY6AL6
4
  Tags: widget, image, ad, banner, simple, upload, sidebar, admin, thickbox, resize
5
  Requires at least: 3.0
6
  Tested up to: 3.1
7
+ Stable tag: 3.2.8
8
 
9
  == Description ==
10
 
68
 
69
  == Changelog ==
70
 
71
+ = 3.2.9 =
72
+
73
+ * Minor JS fix to hopefully address issues of lightbox not working
74
+
75
+ = 3.2.8 =
76
+
77
+ * Minor bugfix courtesy of Takayuki Miyauchi (@miya0001)
78
+ * Polish translation courtesy of Łukasz Kliś
79
+
80
  = 3.2.7 =
81
 
82
  * Update javascript to work with the new version of WordPress (thanks Matt Wiebe!!! @mattwiebe)