Multi Device Switcher - Version 1.2.2

Version Description

  • improved: improve responsiveness UI
  • fixed: fix html
Download this release

Release Info

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

Code changes from version 1.2.1 to 1.2.2

languages/multi-device-switcher-ja.mo CHANGED
Binary file
languages/multi-device-switcher-ja.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: Multi Device Switcher\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2012-01-17 22:01+0900\n"
6
- "PO-Revision-Date: 2013-03-21 19:37+0900\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
@@ -58,6 +58,9 @@ msgstr "ゲームプラットフォーム"
58
  msgid "Reset Settings to Default UserAgent"
59
  msgstr "ユーザーエージェントをデフォルトにもどす"
60
 
 
 
 
61
  msgid "Add Custom Switcher"
62
  msgstr "Custom Switcher を追加"
63
 
3
  "Project-Id-Version: Multi Device Switcher\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2012-01-17 22:01+0900\n"
6
+ "PO-Revision-Date: 2014-01-08 14:35+0900\n"
7
  "Last-Translator: \n"
8
  "Language-Team: \n"
9
  "MIME-Version: 1.0\n"
58
  msgid "Reset Settings to Default UserAgent"
59
  msgstr "ユーザーエージェントをデフォルトにもどす"
60
 
61
+ msgid "Custom Switcher UserAgent"
62
+ msgstr "Custom Switcher用ユーザーエージェント"
63
+
64
  msgid "Add Custom Switcher"
65
  msgstr "Custom Switcher を追加"
66
 
languages/multi-device-switcher.pot CHANGED
@@ -58,6 +58,9 @@ msgstr ""
58
  msgid "Reset Settings to Default UserAgent"
59
  msgstr ""
60
 
 
 
 
61
  msgid "Add Custom Switcher"
62
  msgstr ""
63
 
58
  msgid "Reset Settings to Default UserAgent"
59
  msgstr ""
60
 
61
+ msgid "Custom Switcher UserAgent"
62
+ msgstr ""
63
+
64
  msgid "Add Custom Switcher"
65
  msgstr ""
66
 
multi-device-switcher.css CHANGED
@@ -1,6 +1,16 @@
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;}
 
 
 
 
 
 
 
 
 
 
1
+ #admin-tabs ul.ui-tabs-nav{font-size:15px;width:100%;display:table;}
2
+ #admin-tabs ul.ui-tabs-nav li{white-space:nowrap;display:table-cell;border:1px solid #ccc;border-right:none;background:#e4e4e4;}
3
+ #admin-tabs ul.ui-tabs-nav li:last-child{border-right:1px solid #ccc;}
4
+ #admin-tabs ul.ui-tabs-nav li a{display:block;padding:12px 10px;color:#555;text-align:center;text-decoration:none;font-weight:700;overflow:hidden;text-overflow:ellipsis;}
5
+ #admin-tabs ul.ui-tabs-nav li:hover{background:#fff;}
6
+ #admin-tabs ul.ui-tabs-nav li.ui-tabs-active,#admin-tabs ul.ui-tabs-nav li.ui-tabs-selected{color:#000;background:none;border-bottom-color:#f1f1f1;}
7
+ #admin-tabs ul.ui-tabs-nav li.ui-tabs-active:hover,#admin-tabs ul.ui-tabs-nav li.ui-tabs-active:hover{background:none;}
8
+ #admin-tabs ul.ui-tabs-nav a:focus,#admin-tabs ul.ui-tabs-nav a:active{outline-color:-moz-use-text-color;outline-style:none;outline-width:medium;}
9
+ .wrap{width:60%; float:left;}
10
+ #donate{width:34%; float:left; margin:2em 0;padding:0.4em;border:1px solid #ddd;}
11
+ @media screen and (max-width:480px){}
12
+ @media only screen and (max-width:768px){
13
+ #admin-tabs ul.ui-tabs-nav{table-layout:fixed;}
14
+ .wrap{width:auto; float:none;}
15
+ #donate{width:auto; float:none; margin:2em 0.4em;}
16
+ }
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.2.1
7
  Author: thingsym
8
  Author URI: http://www.thingslabo.com/
9
  License: GPL2
@@ -429,7 +429,7 @@ function multi_device_switcher_get_options() {
429
  */
430
  function multi_device_switcher_render_page() {
431
  ?>
432
- <div class="wrap" style="width: 60%; float: left;">
433
  <div id="icon-themes" class="icon32"><br></div>
434
  <h2><?php printf( __( 'Multi Device Switcher', 'multi-device-switcher' ), wp_get_theme()->get('Name') ); ?></h2>
435
  <?php settings_errors(); ?>
@@ -615,7 +615,7 @@ function multi_device_switcher_render_page() {
615
  }
616
  }
617
  $html .= '</select>';
618
- $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>';
619
  }
620
  echo $html;
621
  ?>
@@ -659,6 +659,10 @@ function multi_device_switcher_render_page() {
659
  <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>
660
  </tr>
661
 
 
 
 
 
662
  <?php
663
  foreach ( $options as $key => $val ) {
664
  if ( ! preg_match( "/^custom_switcher_userAgent_/", $key ) )
@@ -703,7 +707,7 @@ function multi_device_switcher_render_page() {
703
  </form>
704
  </div>
705
 
706
- <div id="donate" style="width: 36%; float: left; margin: 2em 0;padding: 0.4em;border: 1px solid #ddd;">
707
  <h2><?php _e( 'Donationware', 'multi-device-switcher' ); ?></h2>
708
  <p><?php _e( 'If you like this plugin, please donate to support development and maintenance.', 'multi-device-switcher' ); ?></p>
709
  <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
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.2.2
7
  Author: thingsym
8
  Author URI: http://www.thingslabo.com/
9
  License: GPL2
429
  */
430
  function multi_device_switcher_render_page() {
431
  ?>
432
+ <div class="wrap">
433
  <div id="icon-themes" class="icon32"><br></div>
434
  <h2><?php printf( __( 'Multi Device Switcher', 'multi-device-switcher' ), wp_get_theme()->get('Name') ); ?></h2>
435
  <?php settings_errors(); ?>
615
  }
616
  }
617
  $html .= '</select>';
618
+ $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>';
619
  }
620
  echo $html;
621
  ?>
659
  <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>
660
  </tr>
661
 
662
+ </table>
663
+
664
+ <h3><?php _e( 'Custom Switcher UserAgent', 'multi-device-switcher' ); ?></h3>
665
+ <table class="form-table">
666
  <?php
667
  foreach ( $options as $key => $val ) {
668
  if ( ! preg_match( "/^custom_switcher_userAgent_/", $key ) )
707
  </form>
708
  </div>
709
 
710
+ <div id="donate">
711
  <h2><?php _e( 'Donationware', 'multi-device-switcher' ); ?></h2>
712
  <p><?php _e( 'If you like this plugin, please donate to support development and maintenance.', 'multi-device-switcher' ); ?></p>
713
  <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
pc-switcher-widget.php CHANGED
@@ -3,7 +3,7 @@
3
  Widget Name: PC Switcher Widget
4
  Plugin URI: https://github.com/thingsym/multi-device-switcher
5
  Description: PC Switcher Widget add-on for the Multi Device Switcher. Use this widget to add the PC Switcher to a widget.
6
- Version: 1.2.1
7
  Author: thingsym
8
  Author URI: http://www.thingslabo.com/
9
  License: GPL2
3
  Widget Name: PC Switcher Widget
4
  Plugin URI: https://github.com/thingsym/multi-device-switcher
5
  Description: PC Switcher Widget add-on for the Multi Device Switcher. Use this widget to add the PC Switcher to a widget.
6
+ Version: 1.2.2
7
  Author: thingsym
8
  Author URI: http://www.thingslabo.com/
9
  License: GPL2
readme.md CHANGED
@@ -79,6 +79,9 @@ You can send your own language pack to me.
79
 
80
  ## Changelog
81
 
 
 
 
82
  * Version 1.2.1
83
  * fixed: delete add_contextual_help
84
  * fixed: fix readme and html
79
 
80
  ## Changelog
81
 
82
+ * Version 1.2.2
83
+ * improved: improve responsiveness UI
84
+ * fixed: fix html
85
  * Version 1.2.1
86
  * fixed: delete add_contextual_help
87
  * fixed: fix readme and html
readme.txt CHANGED
@@ -6,7 +6,7 @@ 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.2.1
10
  License: GPL2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
@@ -102,6 +102,9 @@ There are three ways how to Using the PC Switcher.
102
 
103
  == Changelog ==
104
 
 
 
 
105
  = 1.2.1 =
106
  * fixed: delete add_contextual_help
107
  * fixed: fix readme and html
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.2.2
10
  License: GPL2 or later
11
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
 
102
 
103
  == Changelog ==
104
 
105
+ = 1.2.2 =
106
+ * improved: improve responsiveness UI
107
+ * fixed: fix html
108
  = 1.2.1 =
109
  * fixed: delete add_contextual_help
110
  * fixed: fix readme and html
screenshot-1.png CHANGED
Binary file
screenshot-2.png CHANGED
Binary file
screenshot-3.png CHANGED
Binary file