From 9e4e87d975d1f9403d4f3f0b0b8b3a17255439c8 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 19 May 2008 15:41:31 +0000 Subject: [PATCH] Gears update from azaozz. see #6965 git-svn-id: http://svn.automattic.com/wordpress/trunk@7951 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/admin-header.php | 42 ++++++++++++++++++++++- wp-admin/css/colors-classic.css | 2 +- wp-admin/css/colors-fresh.css | 2 +- wp-admin/images/gear.png | Bin 0 -> 16742 bytes wp-admin/images/logo.gif | Bin 0 -> 1238 bytes wp-admin/index.php | 29 ---------------- wp-admin/js/wp-gears.js | 57 ++++++++++++++++---------------- wp-admin/wp-admin.css | 22 +++++++++--- 8 files changed, 89 insertions(+), 65 deletions(-) create mode 100644 wp-admin/images/gear.png create mode 100644 wp-admin/images/logo.gif diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php index 74633fde14..1ca03911cb 100644 --- a/wp-admin/admin-header.php +++ b/wp-admin/admin-header.php @@ -5,6 +5,7 @@ if ( $editing ) { if ( user_can_richedit() ) wp_enqueue_script( 'wp_tiny_mce' ); } +wp_enqueue_script( 'wp-gears' ); $min_width_pages = array( 'post.php', 'post-new.php', 'page.php', 'page-new.php', 'widgets.php', 'comment.php', 'link.php' ); $the_current_page = preg_replace('|^.*/wp-admin/|i', '', $_SERVER['PHP_SELF']); @@ -63,7 +64,46 @@ do_action('admin_head'); -

%2$s!'), 'profile.php', $user_identity) ?> | | Help') ?> | Forums') ?>

+ + +
+ +
+

+


+

+

+

+
+
+
+ + + + +
+ + + +

%2$s!'), 'profile.php', $user_identity) ?> | | Help') ?> | Forums') ?> |

uB0fd4gL^dhN+8b+=jb&xvZFC^X4>C|c;QXqtmGa@MZ$lsXA1=yS z)@D5mG6@JthY{9pvK>yGi@xgv|BXeJfDek5MEEdKDWp56^(-FKxtR)!JfT-o`Z zk0$s0p}DWy-myW!R7;p{(&Qd&deo6bW)+HzTMI(2?qH3-Po$9@k4SN zkl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=37WvBvhi=R)YcCzHQj-ZH0KBHEmZ+8dja+t&`6->Rz(o1K~ky}yJA2+%PHl_<%a zn@Ig2T0T+@U|HMVZee1`uHeJrkVCM42zKmbw_+c!F!gz`ZX=_k4sClC6>^(JgP*zs z3&lZz%V?}bpRfmZy^o_cocJ?HxawiQN@P@hU2@M*aR=dtMD4jjQbs_)eCHpJ4!fXz swvqq=&A!Klj@+*TkR6Yru(x7MfQ3;icNZ)u{|yI=i2!@N{QzLczxg=-&;S4c literal 0 HcmV?d00001 diff --git a/wp-admin/index.php b/wp-admin/index.php index 0432f520bb..be0152019b 100644 --- a/wp-admin/index.php +++ b/wp-admin/index.php @@ -32,7 +32,6 @@ function index_css() { add_action( 'admin_head', 'index_css' ); wp_enqueue_script( 'jquery' ); -wp_enqueue_script( 'wp-gears' ); $title = __('Dashboard'); $parent_file = 'index.php'; @@ -117,34 +116,6 @@ if ( $can_switch_themes = current_user_can( 'switch_themes' ) )

- -gearsinfobox) ) { - update_usermeta($current_user->ID, 'gearsinfobox', '1'); ?> - -
-

-

-

-

- -
- - -


-

-

- - - - - diff --git a/wp-admin/js/wp-gears.js b/wp-admin/js/wp-gears.js index 7a1fea81c0..22b5c00581 100644 --- a/wp-admin/js/wp-gears.js +++ b/wp-admin/js/wp-gears.js @@ -1,31 +1,27 @@ wpGears = { - init : function() { - if ( 'undefined' != typeof google && google.gears ) { - try { - localServer = google.gears.factory.create("beta.localserver"); - this.createStore(); - } catch(e) { // silence if canceled - this.message(); - } - } - }, - createStore : function() { if ( 'undefined' == typeof google || ! google.gears ) return; + if ( 'undefined' == typeof localServer ) + localServer = google.gears.factory.create("beta.localserver"); + store = localServer.createManagedStore(this.storeName()); store.manifestUrl = "gears-manifest.php"; store.checkForUpdate(); this.message(); }, - removeStore : function() { - if ( 'undefined' == typeof google || ! google.gears ) return; + getPermission : function() { + if ( 'undefined' != typeof google && google.gears ) { + if ( ! google.gears.factory.hasPermission ) + google.gears.factory.getPermission( 'WordPress', 'images/logo.gif' ); - localServer.removeManagedStore(this.storeName()); - this.message(); + try { + this.createStore(); + } catch(e) {} // silence if canceled + } }, storeName : function() { @@ -37,31 +33,36 @@ wpGears = { return name; }, - message : function() { + message : function(show) { var t = this, msg1 = t.I('gears-msg1'), msg2 = t.I('gears-msg2'), msg3 = t.I('gears-msg3'), num = t.I('gears-upd-number'), wait = t.I('gears-wait'); if ( ! msg1 ) return; - if ( 'undefined' != typeof store ) { - msg1.style.display = msg2.style.display = 'none'; - msg3.style.display = 'block'; + if ( 'undefined' != typeof google && google.gears ) { + if ( google.gears.factory.hasPermission ) { + msg1.style.display = msg2.style.display = 'none'; + msg3.style.display = 'block'; - store.oncomplete = function(){wait.innerHTML = (' ' + wpGearsL10n.updateCompleted);}; - store.onerror = function(){wait.innerHTML = (' ' + wpGearsL10n.error + ' ' + store.lastErrorMessage);}; - store.onprogress = function(e){if(num) num.innerHTML = (' ' + e.filesComplete + ' / ' + e.filesTotal);}; - } else if ( 'undefined' != typeof google && google.gears ) { - msg1.style.display = 'none'; - msg2.style.display = 'block'; + if ( 'undefined' == typeof store ) + t.createStore(); + + store.oncomplete = function(){wait.innerHTML = (' ' + wpGearsL10n.updateCompleted);}; + store.onerror = function(){wait.innerHTML = (' ' + wpGearsL10n.error + ' ' + store.lastErrorMessage);}; + store.onprogress = function(e){if(num) num.innerHTML = (' ' + e.filesComplete + ' / ' + e.filesTotal);}; + } else { + msg1.style.display = msg3.style.display = 'none'; + msg2.style.display = 'block'; + } } + + if ( show ) t.I('gears-info-box').style.display = 'block'; }, - + I : function(id) { return document.getElementById(id); } } -addLoadEvent( function(){wpGears.init()} ); - function gearsInit() { if ( 'undefined' != typeof google && google.gears ) return; diff --git a/wp-admin/wp-admin.css b/wp-admin/wp-admin.css index 9e0446a992..edb1f55817 100644 --- a/wp-admin/wp-admin.css +++ b/wp-admin/wp-admin.css @@ -1500,21 +1500,33 @@ fieldset { } .info-box { - top: 120px; + top: 100px; left: 50%; - margin-left: -200px; + margin-left: -225px; height: 300px; - width: 400px; + width: 450px; border: 5px solid #ddd; background: #f8f8f8; position: absolute; padding: 15px 15px 10px; z-index: 1000; + display: none; } .info-box .submit { position: absolute; bottom: 15px; - width: 400px; - padding: 20px 0 5px; + width: 450px; + padding: 15px 0 0; +} + +.info-box .gears-img { + float: right; + margin: 10px; +} + +.info-box-title { + line-height: 2; + margin: 0; + padding: 0 7px; }