Multi Device Switcher - Version 1.1.2

Version Description

  • fixed: fix tabs and buttons
Download this release

Release Info

Developer thingsym
Plugin Icon wp plugin Multi Device Switcher
Version 1.1.2
Comparing to
See all releases

Code changes from version 1.1.1 to 1.1.2

multi-device-switcher.css CHANGED
@@ -1,5 +1,6 @@
1
  #admin-tabs ul.ui-tabs-nav {border-bottom:1px solid #dfdfdf; font-size:12px; height:29px; list-style-image:none; list-style-position:outside; list-style-type:none; margin:13px 0 0; overflow:visible; padding:0 0 0 8px;}
2
  #admin-tabs ul.ui-tabs-nav li {display:block; float:left; line-height:200%; list-style-image:none; list-style-position:outside; list-style-type:none; margin:0; padding:0; position:relative; text-align:center; white-space:nowrap; width:auto;}
3
  #admin-tabs ul.ui-tabs-nav li a {background:transparent none no-repeat scroll 0 50%; border-bottom:1px solid #dfdfdf; display:block; float:left; line-height:28px; padding:1px 13px 0; position:relative; text-decoration:none;}
 
4
  #admin-tabs ul.ui-tabs-nav li.ui-tabs-selected a{-moz-border-radius-topleft:4px; -moz-border-radius-topright:4px;border:1px solid #dfdfdf; border-bottom-color:#fff; color:#333333; font-weight:normal; padding:0 12px;}
5
  #admin-tabs ul.ui-tabs-nav a:focus, a:active {outline-color:-moz-use-text-color; outline-style:none; outline-width:medium;}
1
  #admin-tabs ul.ui-tabs-nav {border-bottom:1px solid #dfdfdf; font-size:12px; height:29px; list-style-image:none; list-style-position:outside; list-style-type:none; margin:13px 0 0; overflow:visible; padding:0 0 0 8px;}
2
  #admin-tabs ul.ui-tabs-nav li {display:block; float:left; line-height:200%; list-style-image:none; list-style-position:outside; list-style-type:none; margin:0; padding:0; position:relative; text-align:center; white-space:nowrap; width:auto;}
3
  #admin-tabs ul.ui-tabs-nav li a {background:transparent none no-repeat scroll 0 50%; border-bottom:1px solid #dfdfdf; display:block; float:left; line-height:28px; padding:1px 13px 0; position:relative; text-decoration:none;}
4
+ #admin-tabs ul.ui-tabs-nav li.ui-tabs-active a{-moz-border-radius-topleft:4px; -moz-border-radius-topright:4px;border:1px solid #dfdfdf; border-bottom-color:#fff; color:#333333; font-weight:normal; padding:0 12px;}
5
  #admin-tabs ul.ui-tabs-nav li.ui-tabs-selected a{-moz-border-radius-topleft:4px; -moz-border-radius-topright:4px;border:1px solid #dfdfdf; border-bottom-color:#fff; color:#333333; font-weight:normal; padding:0 12px;}
6
  #admin-tabs ul.ui-tabs-nav a:focus, a:active {outline-color:-moz-use-text-color; outline-style:none; outline-width:medium;}
multi-device-switcher.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Multi Device Switcher
4
  Plugin URI: https://github.com/thingsym/multi-device-switcher
5
  Description: This WordPress plugin allows you to set a separate theme for device (Smart Phone, Tablet PC, Mobile Phone, Game and custom).
6
- Version: 1.1.1
7
  Author: thingsym
8
  Author URI: http://www.thingslabo.com/
9
  License: GPL2
@@ -537,7 +537,7 @@ function multi_device_switcher_render_page() {
537
  }
538
  }
539
  $html .= '</select>';
540
- $html .= '<span class="submit"><input type="submit" name="multi_device_switcher_options[delete_custom_switcher_' . $custom_switcher_name . ']" value="' . __( 'Delete', 'multi-device-switcher' ) . '" onclick="return confirm(\'' . sprintf( __( 'Are you sure you want to delete %1$s ?', 'multi-device-switcher' ), $custom_switcher_name ) . '\');""></span>';
541
  }
542
  echo $html;
543
  ?>
@@ -552,7 +552,7 @@ function multi_device_switcher_render_page() {
552
  <td>
553
  <fieldset><legend class="screen-reader-text"><span><?php _e( 'Add Custom Switcher', 'thingscms' ); ?></span></legend>
554
  <input type="text" name="multi_device_switcher_options[custom_switcher]" id="custom-switcher" value="" size="24" />
555
- <span class="submit"><input type="submit" name="multi_device_switcher_options[add_custom_switcher]" value="<?php _e( 'Add', 'multi-device-switcher' ); ?>"></span><br>
556
  <?php _e( '20 characters max, alphanumeric', 'multi-device-switcher' ); ?>
557
  </td>
558
  </tr>
@@ -578,7 +578,7 @@ function multi_device_switcher_render_page() {
578
  <td><textarea name="multi_device_switcher_options[userAgent_game]" rows="4" cols="42"><?php echo $options['userAgent_game']; ?></textarea></td>
579
  </tr>
580
  <tr><th></th>
581
- <td><span class="submit"><input type="submit" name="multi_device_switcher_options[restore_UserAgent]" value="<?php _e( 'Reset Settings to Default UserAgent', 'multi-device-switcher' ); ?>"></span></td>
582
  </tr>
583
 
584
  <?php
3
  Plugin Name: Multi Device Switcher
4
  Plugin URI: https://github.com/thingsym/multi-device-switcher
5
  Description: This WordPress plugin allows you to set a separate theme for device (Smart Phone, Tablet PC, Mobile Phone, Game and custom).
6
+ Version: 1.1.2
7
  Author: thingsym
8
  Author URI: http://www.thingslabo.com/
9
  License: GPL2
537
  }
538
  }
539
  $html .= '</select>';
540
+ $html .= '<span class="submit"><input type="submit" name="multi_device_switcher_options[delete_custom_switcher_' . $custom_switcher_name . ']" value="' . __( 'Delete', 'multi-device-switcher' ) . '" onclick="return confirm(\'' . sprintf( __( 'Are you sure you want to delete %1$s ?', 'multi-device-switcher' ), $custom_switcher_name ) . '\');"" class="button"></span>';
541
  }
542
  echo $html;
543
  ?>
552
  <td>
553
  <fieldset><legend class="screen-reader-text"><span><?php _e( 'Add Custom Switcher', 'thingscms' ); ?></span></legend>
554
  <input type="text" name="multi_device_switcher_options[custom_switcher]" id="custom-switcher" value="" size="24" />
555
+ <span class="submit"><input type="submit" name="multi_device_switcher_options[add_custom_switcher]" value="<?php _e( 'Add', 'multi-device-switcher' ); ?>" class="button"></span><br>
556
  <?php _e( '20 characters max, alphanumeric', 'multi-device-switcher' ); ?>
557
  </td>
558
  </tr>
578
  <td><textarea name="multi_device_switcher_options[userAgent_game]" rows="4" cols="42"><?php echo $options['userAgent_game']; ?></textarea></td>
579
  </tr>
580
  <tr><th></th>
581
+ <td><span class="submit"><input type="submit" name="multi_device_switcher_options[restore_UserAgent]" value="<?php _e( 'Reset Settings to Default UserAgent', 'multi-device-switcher' ); ?>" class="button"></span></td>
582
  </tr>
583
 
584
  <?php
readme.md CHANGED
@@ -23,6 +23,8 @@ The Custom Switcher can add every device.
23
 
24
  ## Changelog
25
 
 
 
26
  * Version 1.1.1
27
  * fixed: change the order of the UserAgent detection
28
  * updated: update default UserAgent
23
 
24
  ## Changelog
25
 
26
+ * Version 1.1.2
27
+ * fixed: fix tabs and buttons
28
  * Version 1.1.1
29
  * fixed: change the order of the UserAgent detection
30
  * updated: update default UserAgent
readme.txt CHANGED
@@ -4,9 +4,9 @@ Contributors: thingsym
4
  Donate link: http://blog.thingslabo.com/archives/000251.html
5
  Link: https://github.com/thingsym/multi-device-switcher
6
  Tags: switcher, theme, ipad, iphone, android, tablet, mobile, game
7
- Requires at least: 3.2.1
8
- Tested up to: 3.4.2
9
- Stable tag: 1.1.1
10
  License: GPL2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -42,6 +42,8 @@ The Custom Switcher can add every device.
42
 
43
  == Changelog ==
44
 
 
 
45
  = 1.1.1 =
46
  * fixed: change the order of the UserAgent detection
47
  * updated: update default UserAgent
4
  Donate link: http://blog.thingslabo.com/archives/000251.html
5
  Link: https://github.com/thingsym/multi-device-switcher
6
  Tags: switcher, theme, ipad, iphone, android, tablet, mobile, game
7
+ Requires at least: 3.4
8
+ Tested up to: 3.5
9
+ Stable tag: 1.1.2
10
  License: GPL2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
42
 
43
  == Changelog ==
44
 
45
+ = 1.1.2 =
46
+ * fixed: fix tabs and buttons
47
  = 1.1.1 =
48
  * fixed: change the order of the UserAgent detection
49
  * updated: update default UserAgent