Version Description
Download this release
Release Info
Developer | petervanderdoes |
Plugin | AVH Extended Categories Widgets |
Version | 3.2.0.1 |
Comparing to | |
See all releases |
Code changes from version 3.2 to 3.2.0.1
- 2.8/class/avh-ec.core.php +1 -1
- 2.8/helpers/avh-forms.php +44 -0
- readme.txt +4 -1
- widget-pre2.8.php +1 -1
- widget_extended_categories.php +1 -1
2.8/class/avh-ec.core.php
CHANGED
@@ -23,7 +23,7 @@ class AVH_EC_Core
|
|
23 |
*/
|
24 |
$catgrp = & AVH_EC_Singleton::getInstance( 'AVH_EC_Category_Group' );
|
25 |
|
26 |
-
$this->version = '3.2';
|
27 |
$this->comment = '<!-- AVH Extended Categories version ' . $this->version . ' | http://blog.avirtualhome.com/wordpress-plugins/ -->';
|
28 |
$db_version = 2;
|
29 |
$this->db_options_core = 'avhec';
|
23 |
*/
|
24 |
$catgrp = & AVH_EC_Singleton::getInstance( 'AVH_EC_Category_Group' );
|
25 |
|
26 |
+
$this->version = '3.2.0.1';
|
27 |
$this->comment = '<!-- AVH Extended Categories version ' . $this->version . ' | http://blog.avirtualhome.com/wordpress-plugins/ -->';
|
28 |
$db_version = 2;
|
29 |
$this->db_options_core = 'avhec';
|
2.8/helpers/avh-forms.php
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
if ( ! function_exists( 'avh_doWidgetFormText' ) ) {
|
3 |
+
|
4 |
+
function avh_doWidgetFormText ( $field_id, $field_name, $description, $value )
|
5 |
+
{
|
6 |
+
echo '<label for="' . $field_id . '">';
|
7 |
+
echo $description;
|
8 |
+
echo '<input class="widefat" id="' . $field_id . '" name="' . $field_name . '" type="text" value="' . esc_attr( $value ) . '" /> ';
|
9 |
+
echo '</label>';
|
10 |
+
echo '<br />';
|
11 |
+
}
|
12 |
+
}
|
13 |
+
|
14 |
+
if ( ! function_exists( 'avh_doWidgetFormCheckbox' ) ) {
|
15 |
+
|
16 |
+
function avh_doWidgetFormCheckbox ( $field_id, $field_name, $description, $is_checked = FALSE )
|
17 |
+
{
|
18 |
+
|
19 |
+
echo '<label for="' . $field_id . '">';
|
20 |
+
echo '<input class="checkbox" type="checkbox" id="' . $field_id . '" name="' . $field_name . '"' . ($is_checked ? ' CHECKED' : '') . ' /> ';
|
21 |
+
echo $description;
|
22 |
+
echo '</label>';
|
23 |
+
echo '<br />';
|
24 |
+
}
|
25 |
+
}
|
26 |
+
|
27 |
+
if ( ! function_exists( 'avh_doWidgetFormSelect' ) ) {
|
28 |
+
|
29 |
+
function avh_doWidgetFormSelect ( $field_id, $field_name, $description, $options, $selected_value )
|
30 |
+
{
|
31 |
+
echo '<label for="' . $field_id . '">';
|
32 |
+
echo $description . ' ';
|
33 |
+
echo '</label>';
|
34 |
+
|
35 |
+
$data = '';
|
36 |
+
foreach ( $options as $value => $text ) {
|
37 |
+
$data .= '<option value="' . $value . '" ' . ($value == $selected_value ? "SELECTED" : '') . '>' . $text . '</option>' . "/n";
|
38 |
+
}
|
39 |
+
echo '<select id="' . $field_id . '" name="' . $field_name . '"> ';
|
40 |
+
echo $data;
|
41 |
+
echo '</select>';
|
42 |
+
echo '<br />';
|
43 |
+
}
|
44 |
+
}
|
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: 3.0-Beta1
|
7 |
-
Stable tag: 3.2
|
8 |
|
9 |
The AVH Extended Categories Widgets gives you three widgets for displaying categories.
|
10 |
== Description ==
|
@@ -99,6 +99,9 @@ I have also setup a project in Launchpad for translating the plug-in. Just visit
|
|
99 |
None
|
100 |
|
101 |
== Changelog ==
|
|
|
|
|
|
|
102 |
= Version 3.2 =
|
103 |
* Compatibility issues with upcoming WordPress 3 resolved.
|
104 |
* Bugfix: Description of the groups didn't save.
|
4 |
Tags: extended, categories, widget, top categories
|
5 |
Requires at least: 2.3
|
6 |
Tested up to: 3.0-Beta1
|
7 |
+
Stable tag: 3.2.0.1
|
8 |
|
9 |
The AVH Extended Categories Widgets gives you three widgets for displaying categories.
|
10 |
== Description ==
|
99 |
None
|
100 |
|
101 |
== Changelog ==
|
102 |
+
= Version 3.2.0.1 =
|
103 |
+
* Bugfix: Forgot to add a directory into SVN.
|
104 |
+
|
105 |
= Version 3.2 =
|
106 |
* Compatibility issues with upcoming WordPress 3 resolved.
|
107 |
* Bugfix: Description of the groups didn't save.
|
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 = '3.2';
|
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 = '3.2.0.1';
|
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: AVH Extended Categories Widgets
|
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: 3.2
|
7 |
Author: Peter van der Does
|
8 |
Author URI: http://blog.avirtualhome.com/
|
9 |
|
3 |
Plugin Name: AVH Extended Categories Widgets
|
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: 3.2.0.1
|
7 |
Author: Peter van der Does
|
8 |
Author URI: http://blog.avirtualhome.com/
|
9 |
|