JQuery Accordion Menu Widget - Version 2.5.1

Version Description

  • Fix: Bug when using "No Theme" option
Download this release

Release Info

Developer remix4
Plugin Icon wp plugin JQuery Accordion Menu Widget
Version 2.5.1
Comparing to
See all releases

Code changes from version 2.5 to 2.5.1

dcwp_jquery_accordion.php CHANGED
@@ -5,7 +5,7 @@
5
Tags: jquery, dropdown, menu, vertical accordion, animated, css, navigation, accordion
6
Description: Creates a widget, which allows you to create vertical accordion menus from any Wordpress custom menu using jQuery. Features include - handles multiple levels, saved state using cookies and option of selecting "click" or "hover" events for triggering the menu.
7
Author: Lee Chestnutt
8
- Version: 2.5
9
Author URI: http://www.designchemical.com
10
*/
11
5
Tags: jquery, dropdown, menu, vertical accordion, animated, css, navigation, accordion
6
Description: Creates a widget, which allows you to create vertical accordion menus from any Wordpress custom menu using jQuery. Features include - handles multiple levels, saved state using cookies and option of selecting "click" or "hover" events for triggering the menu.
7
Author: Lee Chestnutt
8
+ Version: 2.5.1
9
Author URI: http://www.designchemical.com
10
*/
11
dcwp_jquery_accordion_widget.php CHANGED
@@ -220,8 +220,8 @@ class dc_jqaccordion_widget extends WP_Widget {
220
221
$skin = $wpdcjqaccordion['skin'];
222
$skin = htmlspecialchars(ucfirst(preg_replace('/\..*#x2F;', '', $skin)));
223
- if('no-theme'!=$skin){
224
- echo "\n\t<link rel=\"stylesheet\" href=\"".dc_jqaccordion::get_plugin_directory()."/skin.php?widget_id=".$key."&amp;skin=".strtolower($skin)."\" type=\"text/css\" media=\"screen\" />";
225
}
226
}
227
}
220
221
$skin = $wpdcjqaccordion['skin'];
222
$skin = htmlspecialchars(ucfirst(preg_replace('/\..*#x2F;', '', $skin)));
223
+ if($skin != 'No-theme'){
224
+ echo "\n\t<link rel=\"stylesheet\" href=\"".dc_jqaccordion::get_plugin_directory()."/skin.php?widget_id=".$key."&skin=".strtolower($skin)."\" type=\"text/css\" media=\"screen\" />";
225
}
226
}
227
}
readme.txt CHANGED
@@ -1,10 +1,10 @@
1
=== JQuery Accordion Menu Widget ===
2
- Contributors: Remix4
3
- Donate link: http://www.designchemical.com
4
Tags: jquery, dropdown, menu, vertical accordion, animated, css, navigation, widget
5
Requires at least: 3.0
6
Tested up to: 3.1
7
- Stable tag: 2.5
8
9
Creates a widget, which allows you to create vertical accordion menus from any Wordpress custom menu using jQuery.
10
@@ -55,6 +55,9 @@ Another likely cause is due to other non-functioning plugins, which may have err
55
56
== Changelog ==
57
58
= 2.5 =
59
* Added: Auto-expand now independent of save state option
60
1
=== JQuery Accordion Menu Widget ===
2
+ Contributors: remix4
3
+ Donate link: http://www.designchemical.com/blog/index.php/wordpress-plugins/wordpress-plugin-jquery-vertical-accordion-menu-widget/#form-donate
4
Tags: jquery, dropdown, menu, vertical accordion, animated, css, navigation, widget
5
Requires at least: 3.0
6
Tested up to: 3.1
7
+ Stable tag: 2.5.1
8
9
Creates a widget, which allows you to create vertical accordion menus from any Wordpress custom menu using jQuery.
10
55
56
== Changelog ==
57
58
+ = 2.5.1 =
59
+ * Fix: Bug when using "No Theme" option
60
+
61
= 2.5 =
62
* Added: Auto-expand now independent of save state option
63
skin.php CHANGED
@@ -6,8 +6,8 @@
6
$id = clean($id);
7
$skin = $_GET['skin'];
8
$skin = clean($skin);
9
- $skin .= '.css';
10
if(!empty($skin)){
11
$css = file_get_contents('./skins/' . $skin );
12
$widget_skin = preg_replace('/%ID%/',$id, $css);
13
echo $widget_skin;
6
$id = clean($id);
7
$skin = $_GET['skin'];
8
$skin = clean($skin);
9
if(!empty($skin)){
10
+ $skin .= '.css';
11
$css = file_get_contents('./skins/' . $skin );
12
$widget_skin = preg_replace('/%ID%/',$id, $css);
13
echo $widget_skin;