Dropdown Menu Widget - Version 1.3.9

Version Description

  • Fixed errors for IE jquery support.
  • Added belorussian translation provided by Marcis G.
  • Added lang folder for translations.
Download this release

Release Info

Developer mattsay
Plugin Icon wp plugin Dropdown Menu Widget
Version 1.3.9
Comparing to
See all releases

Code changes from version 1.3.8 to 1.3.9

Files changed (3) hide show
  1. lang/be_BY.mo +0 -0
  2. readme.txt +6 -1
  3. shailan.DropDownMenu.php +19 -14
lang/be_BY.mo ADDED
Binary file
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://shailan.com/donate
4
  Tags: css, dropdown, menu, widget, pages, categories
5
  Requires at least: 2.8
6
  Tested up to: 2.9.2
7
- Stable tag: 1.3.8
8
 
9
  This widget adds a beatiful vertical/horizontal CSS only dropdown menu of pages OR categories of your blog.
10
 
@@ -48,6 +48,11 @@ You can submit errors and bugs using the [online form](http://shailan.com/contac
48
 
49
  == Changelog ==
50
 
 
 
 
 
 
51
  = 1.3.8 =
52
  * Added option for displaying title attributes. You may now turn title display on from the Settings page.
53
 
4
  Tags: css, dropdown, menu, widget, pages, categories
5
  Requires at least: 2.8
6
  Tested up to: 2.9.2
7
+ Stable tag: 1.3.9
8
 
9
  This widget adds a beatiful vertical/horizontal CSS only dropdown menu of pages OR categories of your blog.
10
 
48
 
49
  == Changelog ==
50
 
51
+ = 1.3.9 =
52
+ * Fixed errors for IE jquery support.
53
+ * Added belorussian translation provided by [Marcis G.](http://pc.de)
54
+ * Added lang folder for translations.
55
+
56
  = 1.3.8 =
57
  * Added option for displaying title attributes. You may now turn title display on from the Settings page.
58
 
shailan.DropDownMenu.php CHANGED
@@ -3,13 +3,13 @@
3
  Plugin Name: Shailan Dropdown Menu Widget
4
  Plugin URI: http://shailan.com/wordpress/plugins/dropdown-menu
5
  Description: A multi widget to generate drop-down menus from your pages and categories. This widget is best used in <a href="http://shailan.com">Shailan.com</a> themes. You can find more widgets, plugins and themes at <a href="http://shailan.com">shailan.com</a>.
6
- Version: 1.3.8
7
  Author: Matt Say
8
  Author URI: http://shailan.com
9
  Text Domain: shailan-dropdown-menu
10
  */
11
 
12
- define('SHAILAN_DM_VERSION','1.3.8');
13
  define('SHAILAN_DM_TITLE', 'Dropdown Menu');
14
  define('SHAILAN_DM_FOLDER', 'dropdown-menu-widget');
15
 
@@ -357,24 +357,29 @@ Please support if you like this plugin:
357
 
358
  $theme = get_option('theme');
359
 
360
- echo '<link rel="stylesheet" href="'.WP_PLUGIN_URL.'/'.SHAILAN_DM_FOLDER.'/shailan-dropdown.css" type="text/css" />';
 
 
361
 
362
  if($theme!='NONE'){
363
- echo '<link rel="stylesheet" href="'.WP_PLUGIN_URL.'/'.SHAILAN_DM_FOLDER.'/themes/'.$theme.'.css" type="text/css" />';
364
  }
365
 
366
  // Font family and font size
367
  $font_family = '"Segoe UI",Calibri,"Myriad Pro",Myriad,"Trebuchet MS",Helvetica,Arial,sans-serif';
368
  $font_size = '12px';
369
- echo '<style type="text/css" media="all">';
370
- echo ' ul.dropdown {font-family: '.$font_family.' font-size:'.$font_size.'; }';
371
- echo '</style>';
 
 
 
 
 
 
372
 
373
- echo '<!--[if lte IE 7]>';
374
- echo '<style type="text/css" media="screen">';
375
- echo 'body { behavior:url("'.WP_PLUGIN_URL.'/'.SHAILAN_DM_FOLDER.'/csshover.htc"); }';
376
- echo '</style>';
377
- echo '<![endif]-->';
378
 
379
  }
380
 
@@ -385,12 +390,12 @@ add_action('widgets_init', create_function('', 'return register_widget("shailan_
385
 
386
  // load translations
387
  $plugin_dir = basename(dirname(__FILE__));
388
- load_plugin_textdomain( 'shailan-dropdown-menu', 'wp-content/plugins/' . $plugin_dir, $plugin_dir );
389
 
390
  // add admin menu
391
  add_action('admin_menu', array('shailan_DropdownWidget', 'adminMenu'));
392
 
393
- wp_enqueue_script( 'dropdown-ie-support', WP_PLUGIN_URL . '/' . SHAILAN_DM_FOLDER . '/include.js', 'jQuery' );
394
 
395
  /* Includes */
396
 
3
  Plugin Name: Shailan Dropdown Menu Widget
4
  Plugin URI: http://shailan.com/wordpress/plugins/dropdown-menu
5
  Description: A multi widget to generate drop-down menus from your pages and categories. This widget is best used in <a href="http://shailan.com">Shailan.com</a> themes. You can find more widgets, plugins and themes at <a href="http://shailan.com">shailan.com</a>.
6
+ Version: 1.3.9
7
  Author: Matt Say
8
  Author URI: http://shailan.com
9
  Text Domain: shailan-dropdown-menu
10
  */
11
 
12
+ define('SHAILAN_DM_VERSION','1.3.9');
13
  define('SHAILAN_DM_TITLE', 'Dropdown Menu');
14
  define('SHAILAN_DM_FOLDER', 'dropdown-menu-widget');
15
 
357
 
358
  $theme = get_option('theme');
359
 
360
+ echo "\n<!-- Start of Dropdown Menu Widget Styles by shailan (http://shailan.com) -->";
361
+
362
+ echo "\n\t<link rel=\"stylesheet\" href=\"".WP_PLUGIN_URL."/".SHAILAN_DM_FOLDER."/shailan-dropdown.css\" type=\"text/css\" />";
363
 
364
  if($theme!='NONE'){
365
+ echo "\n\t<link rel=\"stylesheet\" href=\"".WP_PLUGIN_URL."/".SHAILAN_DM_FOLDER."/themes/".$theme.".css\" type=\"text/css\" />";
366
  }
367
 
368
  // Font family and font size
369
  $font_family = '"Segoe UI",Calibri,"Myriad Pro",Myriad,"Trebuchet MS",Helvetica,Arial,sans-serif';
370
  $font_size = '12px';
371
+ echo "\n\t<style type=\"text/css\" media=\"all\">";
372
+ echo "\n\t\tul.dropdown {font-family:$font_family; font-size:$font_size; }";
373
+ echo "\n\t</style>";
374
+
375
+ echo "\n\t<!--[if lte IE 7]>";
376
+ echo "\n\t<style type=\"text/css\" media=\"screen\">";
377
+ echo "\n\t\tbody { behavior:url(\"".WP_PLUGIN_URL."/".SHAILAN_DM_FOLDER."/csshover.htc\"); }";
378
+ echo "\n\t</style>";
379
+ echo "\n\t<![endif]-->";
380
 
381
+ echo "\n<!-- End of Wordpress Dropdown Menu Styles -->";
382
+ echo "\n ";
 
 
 
383
 
384
  }
385
 
390
 
391
  // load translations
392
  $plugin_dir = basename(dirname(__FILE__));
393
+ load_plugin_textdomain( 'shailan-dropdown-menu', 'wp-content/plugins/' . $plugin_dir . '/lang');
394
 
395
  // add admin menu
396
  add_action('admin_menu', array('shailan_DropdownWidget', 'adminMenu'));
397
 
398
+ wp_enqueue_script( 'dropdown-ie-support', WP_PLUGIN_URL . '/' . SHAILAN_DM_FOLDER . '/include.js', array('jquery') );
399
 
400
  /* Includes */
401