diff --git a/admin-style.css b/admin-style.css index 78eece8..c72c0c1 100644 --- a/admin-style.css +++ b/admin-style.css @@ -9,6 +9,11 @@ -khtml-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; + + background:#fffbe4; + background:-moz-linear-gradient(bottom, #FFEFDC, #FFFCEC); + background:-webkit-gradient(linear, left bottom, left top, from(#fffbe4), to(#fffbe4)); + border-color:#D7CBBB; } .plugin-update-tr .update-error { @@ -32,9 +37,9 @@ .plugin-update-tr .update-ok { font-weight:normal; border-color:#B0C5B3; - background: #cfdfd1; - background:-moz-linear-gradient(bottom, #cfdfd1, #effff1); - background:-webkit-gradient(linear, left bottom, left top, from(#cfdfd1), to(#effff1)); + background: #CBD8CC; + background:-moz-linear-gradient(bottom, #CBD6CC, #F5FFF6); + background:-webkit-gradient(linear, left bottom, left top, from(#CBD6CC), to(#F5FFF6)); } .plugin-update-tr .update-ok a { diff --git a/assets.php b/assets.php index 8cc15fc..9e943c9 100644 --- a/assets.php +++ b/assets.php @@ -27,13 +27,13 @@ function github_theme_update_row( $theme_key, $theme ) { printf('Theme is up-to-date! Rollback you say?'); } else { // modified wp - echo '
'; + echo '
'; if ( ! current_user_can('update_themes') ) - printf( __('From GitHub, there is a new version of %1$s. View version %4$s details.'), $theme['Name'], esc_url($details_url), esc_attr($theme['Name']), $r->new_version ); + printf( __('There is a new version of %1$s. View version %4$s details.'), $theme['Name'], esc_url($details_url), esc_attr($theme['Name']), $r->new_version ); else if ( empty( $r['package'] ) ) - printf( __('From GitHub, there is a new version of %1$s. View version %4$s details. Automatic update is unavailable for this plugin.'), $theme['Name'], esc_url($details_url), esc_attr($theme['Name']), $r['new_version'] ); + printf( __('There is a new version of %1$s. View version %4$s details. Automatic update is unavailable for this plugin.'), $theme['Name'], esc_url($details_url), esc_attr($theme['Name']), $r['new_version'] ); else - printf( __('From GitHub, there is a new version of %1$s. View version %4$s details or update automatically.'), $theme['Name'], esc_url($details_url), esc_attr($theme['Name']), $r['new_version'], wp_nonce_url( self_admin_url('update.php?action=upgrade-github-theme&theme=') . $theme_key, 'upgrade-theme_' . $theme_key) ); + printf( __('There is a new version of %1$s. View version %4$s details or update automatically.'), $theme['Name'], esc_url($details_url), esc_attr($theme['Name']), $r['new_version'], wp_nonce_url( self_admin_url('update.php?action=upgrade-github-theme&theme=') . $theme_key, 'upgrade-theme_' . $theme_key) ); } do_action( "in_theme_update_message-$theme_key", $theme, $r ); echo '
';