AVH Extended Categories Widgets - Version 2.3.2

Version Description

Download this release

Release Info

Developer petervanderdoes
Plugin Icon wp plugin AVH Extended Categories Widgets
Version 2.3.2
Comparing to
See all releases

Code changes from version 2.3.1 to 2.3.2

2.8/class/avh-ec.admin.php CHANGED
@@ -191,16 +191,17 @@ class AVH_EC_Admin
191
  */
192
  function metaboxTranslation ()
193
  {
194
- echo '<p>A language pack can be created for this plugin. The .pot file is included with the plugin and can be found in the directory extended-categories-widget/2.8/lang</p>';
195
- echo '<p>';
196
  echo 'If you have created a language pack you can send the .po, and if you have it the .mo file, to me and I will include the files with the plugin';
 
197
  echo '</p>';
198
  echo '<p>';
199
- echo 'More information about translating can found at http://codex.wordpress.org/Translating_WordPress . This page is dedicated for translating WordPress but the instructions are the same for this plugin.';
200
  echo '</p>';
201
  echo '<p>';
202
  echo '<span class="b">Available Languages</span></p><p>';
203
- echo 'Czech (cs_CZ) by Dirty Mind - <a href="http://dirtymind.ic.cz" target="_blank">http://dirtymind.ic.cz</a><br />';
 
204
  echo '</p>';
205
  }
206
 
@@ -218,7 +219,8 @@ class AVH_EC_Admin
218
  echo '<p>';
219
  echo '<span class="b">Through Paypal.</span><br />';
220
  echo 'Click on the Donate button and you will be directed to Paypal where you can make your donation and you don\'t need to have a Paypal account to make a donation.';
221
- echo '<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input name="cmd" type="hidden" value="_donations" /> <input name="business" type="hidden" value="paypal@avirtualhome.com" /> <input name="item_name" type="hidden" value="AVH Plugins" /> <input name="no_shipping" type="hidden" value="1" /> <input name="no_note" type="hidden" value="1" /> <input name="currency_code" type="hidden" value="USD" /> <input name="tax" type="hidden" value="0" /> <input name="lc" type="hidden" value="US" /> <input name="bn" type="hidden" value="PP-DonationsBF" /> <input alt="PayPal - The safer, easier way to pay online!" name="submit" src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" type="image" /> </form>';
 
222
  echo '</p>';
223
  }
224
 
191
  */
192
  function metaboxTranslation ()
193
  {
194
+ echo '<p>A language pack can be created for this plugin. The .pot file is included with the plugin and can be found in the directory extended-categories-widget/2.8/lang';
 
195
  echo 'If you have created a language pack you can send the .po, and if you have it the .mo file, to me and I will include the files with the plugin';
196
+ echo 'More information about translating can found at http://codex.wordpress.org/Translating_WordPress . This page is dedicated for translating WordPress but the instructions are the same for this plugin.';
197
  echo '</p>';
198
  echo '<p>';
199
+ echo 'I have also setup a project in Launchpad for translating the plugin. Just visit <a href="http://bit.ly/95WyJ" target="_blank" title="AVH Extended Categories Translation Project">http://bit.ly/95WyJ</a>';
200
  echo '</p>';
201
  echo '<p>';
202
  echo '<span class="b">Available Languages</span></p><p>';
203
+ echo 'Czech - Čeština (cs_CZ) by Dirty Mind - <a href="http://dirtymind.ic.cz" target="_blank">http://dirtymind.ic.cz</a><br />';
204
+ echo 'Spanish - Español (es_ES) in Launchpad<br/>';
205
  echo '</p>';
206
  }
207
 
219
  echo '<p>';
220
  echo '<span class="b">Through Paypal.</span><br />';
221
  echo 'Click on the Donate button and you will be directed to Paypal where you can make your donation and you don\'t need to have a Paypal account to make a donation.';
222
+ echo '<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=S85FXJ9EBHAF2&lc=US&item_name=AVH%20Plugins&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted" target="_blank" title="Donate">';
223
+ echo '<img src="https://www.paypal.com/en_US/i/btn/btn_donateCC_LG.gif" alt="Donate"/></a>';
224
  echo '</p>';
225
  }
226
 
2.8/class/avh-ec.core.php CHANGED
@@ -15,7 +15,7 @@ class AVHExtendedCategoriesCore
15
  */
16
  function __construct ()
17
  {
18
- $this->version = '2.3.1';
19
  $this->comment = '<!-- AVH Extended Categories version ' . $this->version . ' | http://blog.avirtualhome.com/wordpress-plugins/ -->';
20
  $db_version = 1;
21
  $this->db_options_core = 'avhec';
15
  */
16
  function __construct ()
17
  {
18
+ $this->version = '2.3.2';
19
  $this->comment = '<!-- AVH Extended Categories version ' . $this->version . ' | http://blog.avirtualhome.com/wordpress-plugins/ -->';
20
  $db_version = 1;
21
  $this->db_options_core = 'avhec';
2.8/class/avh-ec.widgets.php CHANGED
@@ -22,7 +22,7 @@ class WP_Widget_AVH_ExtendedCategories_Normal extends WP_Widget
22
  delete_option( 'widget_extended_categories' );
23
  }
24
  $widget_ops = array ('description' => __( "An extended version of the default Categories widget.", 'avh-ec' ) );
25
- WP_Widget::__construct( 'extended-categories', 'AVH Extended Categories', $widget_ops );
26
  }
27
 
28
  function WP_Widget_AVH_ExtendedCategories_Normal ()
22
  delete_option( 'widget_extended_categories' );
23
  }
24
  $widget_ops = array ('description' => __( "An extended version of the default Categories widget.", 'avh-ec' ) );
25
+ WP_Widget::__construct( 'extended-categories', __('AVH Extended Categories'), $widget_ops );
26
  }
27
 
28
  function WP_Widget_AVH_ExtendedCategories_Normal ()
2.8/lang/avh-ec-es_ES.mo ADDED
Binary file
2.8/lang/avh-ec-es_ES.po ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Spanish translation for avhextendedcategories
2
+ # Copyright (c) 2009 Rosetta Contributors and Canonical Ltd 2009
3
+ # This file is distributed under the same license as the avhextendedcategories package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, 2009.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: avhextendedcategories\n"
9
+ "Report-Msgid-Bugs-To: FULL NAME <EMAIL@ADDRESS>\n"
10
+ "POT-Creation-Date: 2009-09-17 14:16-0500\n"
11
+ "PO-Revision-Date: 2009-09-25 20:45-0500\n"
12
+ "Last-Translator: Peter van der Does <peter@avirtualhome.com>\n"
13
+ "Language-Team: Spanish <es@li.org>\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "X-Launchpad-Export-Date: 2009-09-26 00:32+0000\n"
18
+ "X-Generator: Launchpad (build Unknown)\n"
19
+
20
+ #: ../class/avh-ec.admin.php:43
21
+ msgid "Options"
22
+ msgstr "Opciones"
23
+
24
+ #: ../class/avh-ec.admin.php:44
25
+ msgid "Translation"
26
+ msgstr "Traducción"
27
+
28
+ #: ../class/avh-ec.admin.php:107
29
+ msgid "Options saved"
30
+ msgstr "Opciones guardadas"
31
+
32
+ #: ../class/avh-ec.admin.php:160
33
+ msgid "Save Changes"
34
+ msgstr "Guardar cambios"
35
+
36
+ #: ../class/avh-ec.admin.php:241
37
+ msgid "Settings"
38
+ msgstr "Configuración"
39
+
40
+ #: ../class/avh-ec.core.php:354
41
+ #: ../class/avh-ec.widgets.php:62
42
+ #: ../class/avh-ec.widgets.php:407
43
+ msgid "Categories"
44
+ msgstr "Categorías"
45
+
46
+ #: ../class/avh-ec.core.php:381
47
+ #: ../class/avh-ec.core.php:383
48
+ msgid "No categories"
49
+ msgstr "No hay categorías"
50
+
51
+ #: ../class/avh-ec.widgets.php:24
52
+ msgid "An extended version of the default Categories widget."
53
+ msgstr "Una versión extendida del widget de categorías predeterminado."
54
+
55
+ #: ../class/avh-ec.widgets.php:84
56
+ #: ../class/avh-ec.widgets.php:429
57
+ msgid "Select Category"
58
+ msgstr "Seleccionar categoría"
59
+
60
+ #: ../class/avh-ec.widgets.php:197
61
+ #: ../class/avh-ec.widgets.php:524
62
+ msgid "Title"
63
+ msgstr "Título"
64
+
65
+ #: ../class/avh-ec.widgets.php:206
66
+ msgid "Show selected categories only"
67
+ msgstr "Mostrar solo categorías seleccionadas"
68
+
69
+ #: ../class/avh-ec.widgets.php:212
70
+ #: ../class/avh-ec.widgets.php:540
71
+ msgid "Show post counts"
72
+ msgstr "Mostrar contadores de entradas"
73
+
74
+ #: ../class/avh-ec.widgets.php:218
75
+ msgid "Show hierarchy"
76
+ msgstr "Mostrar jerarquía"
77
+
78
+ #: ../class/avh-ec.widgets.php:223
79
+ msgid "How many levels to show"
80
+ msgstr "Cuantos niveles mostrar"
81
+
82
+ #: ../class/avh-ec.widgets.php:226
83
+ msgid "All Levels"
84
+ msgstr "Todos los niveles"
85
+
86
+ #: ../class/avh-ec.widgets.php:227
87
+ msgid "Toplevel only"
88
+ msgstr "Primer nivel"
89
+
90
+ #: ../class/avh-ec.widgets.php:229
91
+ msgid "Child "
92
+ msgstr "Hijo "
93
+
94
+ #: ../class/avh-ec.widgets.php:236
95
+ msgid "Hide empty categories"
96
+ msgstr "Esconder categorías vacías"
97
+
98
+ #: ../class/avh-ec.widgets.php:243
99
+ #: ../class/avh-ec.widgets.php:545
100
+ msgid "Sort by "
101
+ msgstr "Ordenar por "
102
+
103
+ #: ../class/avh-ec.widgets.php:245
104
+ #: ../class/avh-ec.widgets.php:547
105
+ msgid "ID"
106
+ msgstr "ID"
107
+
108
+ #: ../class/avh-ec.widgets.php:246
109
+ #: ../class/avh-ec.widgets.php:548
110
+ msgid "Name"
111
+ msgstr "Nombre"
112
+
113
+ #: ../class/avh-ec.widgets.php:247
114
+ #: ../class/avh-ec.widgets.php:549
115
+ msgid "Count"
116
+ msgstr "Número"
117
+
118
+ #: ../class/avh-ec.widgets.php:253
119
+ #: ../class/avh-ec.widgets.php:555
120
+ msgid "Sort order "
121
+ msgstr "Orden "
122
+
123
+ #: ../class/avh-ec.widgets.php:255
124
+ #: ../class/avh-ec.widgets.php:557
125
+ msgid "Ascending"
126
+ msgstr "Ascendente"
127
+
128
+ #: ../class/avh-ec.widgets.php:256
129
+ #: ../class/avh-ec.widgets.php:558
130
+ msgid "Descending"
131
+ msgstr "Descendente"
132
+
133
+ #: ../class/avh-ec.widgets.php:262
134
+ #: ../class/avh-ec.widgets.php:564
135
+ msgid "Display style "
136
+ msgstr "Estilo de visualización "
137
+
138
+ #: ../class/avh-ec.widgets.php:264
139
+ #: ../class/avh-ec.widgets.php:566
140
+ msgid "List"
141
+ msgstr "Lista"
142
+
143
+ #: ../class/avh-ec.widgets.php:265
144
+ #: ../class/avh-ec.widgets.php:567
145
+ msgid "Drop down"
146
+ msgstr "Desplegable"
147
+
148
+ #: ../class/avh-ec.widgets.php:275
149
+ #: ../class/avh-ec.widgets.php:577
150
+ msgid "Show RSS Feed"
151
+ msgstr "Mostrar RSS feed"
152
+
153
+ #: ../class/avh-ec.widgets.php:280
154
+ #: ../class/avh-ec.widgets.php:582
155
+ msgid "Path (URI) to RSS image"
156
+ msgstr "Ruta (URI) al RSS feed"
157
+
158
+ #: ../class/avh-ec.widgets.php:286
159
+ msgid "Select categories"
160
+ msgstr "Elija categorías"
161
+
162
+ #: ../class/avh-ec.widgets.php:291
163
+ msgid "All Categories"
164
+ msgstr "Todas las categorías"
165
+
166
+ #: ../class/avh-ec.widgets.php:301
167
+ msgid "Exclude the selected categories"
168
+ msgstr "Excluir las categorías seleccionadas"
169
+
170
+ #: ../class/avh-ec.widgets.php:386
171
+ msgid "Shows the top categories."
172
+ msgstr "Mostrar las principales categorías"
173
+
174
+ #: ../class/avh-ec.widgets.php:387
175
+ msgid "AVH Extended Categories Top"
176
+ msgstr "AVH Extended Categories Top"
177
+
178
+ #: ../class/avh-ec.widgets.php:531
179
+ msgid "How many categories to show"
180
+ msgstr "Cuantas categorías mostrar"
181
+
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://blog.avirtualhome.com/wordpress-plugins/
4
  Tags: extended, categories, widget, top categories
5
  Requires at least: 2.3
6
  Tested up to: 2.8
7
- Stable tag: 2.3.1
8
 
9
  The AVH Extended Categories Widget gives you two widgets for displaying categories.
10
  == Description ==
@@ -40,7 +40,8 @@ The Top Categories widget gives you the following customizable options:
40
  * Select which categories to show. (Requires WordPress 2.5.1 or higher).
41
 
42
  Translations:
43
- * Czech (cs_CZ) by Dirty Mind - http://dirtymind.ic.cz
 
44
 
45
  == Installation ==
46
 
@@ -69,16 +70,22 @@ The .pot file is included with the plugin.
69
  If you have created a language pack, or have an update of an existing one, you can send the [gettext .po and .mo files](http://codex.wordpress.org/Translating_WordPress) to me so that I can include them in future releases.
70
  I'll keep a list of translators and their websites here in the readme.txt and on my website.
71
 
 
 
72
  == Screenshots ==
73
  None
74
 
75
  == Changelog ==
 
 
 
 
76
  = Version 2.3.1 =
77
  * Bugfix: Undefined function
78
 
79
  = Version 2.3 =
80
  * RFC: You can change the text Select Category, without editing any translation file.
81
- * Bugfix: Selecting one parent wouldn;t show it's children.
82
  * You can now display only selected categories. This didn't work properly in an hierachical category structure.
83
  * Added Czech translation.
84
 
4
  Tags: extended, categories, widget, top categories
5
  Requires at least: 2.3
6
  Tested up to: 2.8
7
+ Stable tag: 2.3.2
8
 
9
  The AVH Extended Categories Widget gives you two widgets for displaying categories.
10
  == Description ==
40
  * Select which categories to show. (Requires WordPress 2.5.1 or higher).
41
 
42
  Translations:
43
+ * Czech - Čeština (cs_CZ) by Dirty Mind - http://dirtymind.ic.cz
44
+ * Spanish - Español (es_ES) in Launchpad
45
 
46
  == Installation ==
47
 
70
  If you have created a language pack, or have an update of an existing one, you can send the [gettext .po and .mo files](http://codex.wordpress.org/Translating_WordPress) to me so that I can include them in future releases.
71
  I'll keep a list of translators and their websites here in the readme.txt and on my website.
72
 
73
+ I have also setup a project in Launchpad for translating the plugin. Just visit http://bit.ly/95WyJ
74
+
75
  == Screenshots ==
76
  None
77
 
78
  == Changelog ==
79
+ = Version 2.3.2 =
80
+ * Bugfix: Saving the option didn't work
81
+ * Added translation: Spanish - Español (es_ES)
82
+
83
  = Version 2.3.1 =
84
  * Bugfix: Undefined function
85
 
86
  = Version 2.3 =
87
  * RFC: You can change the text Select Category, without editing any translation file.
88
+ * Bugfix: Selecting one parent wouldn't show it's children.
89
  * You can now display only selected categories. This didn't work properly in an hierachical category structure.
90
  * Added Czech translation.
91
 
widget-pre2.8.php CHANGED
@@ -7,7 +7,7 @@ function widget_extended_categories_init() {
7
  }
8
 
9
  function widget_extended_categories($args, $number = 1) {
10
- $version = '2.3.1';
11
  // Check for version
12
  require (ABSPATH . WPINC . '/version.php');
13
  if ( version_compare($wp_version, '2.5.1', '<') ) {
7
  }
8
 
9
  function widget_extended_categories($args, $number = 1) {
10
+ $version = '2.3.2';
11
  // Check for version
12
  require (ABSPATH . WPINC . '/version.php');
13
  if ( version_compare($wp_version, '2.5.1', '<') ) {
widget_extended_categories.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Extended Category Widget
4
  Plugin URI: http://blog.avirtualhome.com/wordpress-plugins
5
  Description: Replacement of the category widget to allow for greater customization of the category widget.
6
- Version: 2.3.1
7
  Author: Peter van der Does
8
  Author URI: http://blog.avirtualhome.com/
9
 
3
  Plugin Name: Extended Category Widget
4
  Plugin URI: http://blog.avirtualhome.com/wordpress-plugins
5
  Description: Replacement of the category widget to allow for greater customization of the category widget.
6
+ Version: 2.3.2
7
  Author: Peter van der Does
8
  Author URI: http://blog.avirtualhome.com/
9