From e57d0ac693942f0ef33bf00543d6f6d81472741d Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Wed, 25 Mar 2009 17:20:03 +0000 Subject: [PATCH] Add toggle all button to the Gallery tab in the uploader git-svn-id: https://develop.svn.wordpress.org/trunk@10837 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/css/media.css | 9 ++++++++- wp-admin/includes/media.php | 9 +++++++-- wp-admin/js/gallery.dev.js | 35 +++++++++++++++++++++-------------- wp-admin/js/gallery.js | 2 +- wp-includes/script-loader.php | 4 ++-- 5 files changed, 39 insertions(+), 20 deletions(-) diff --git a/wp-admin/css/media.css b/wp-admin/css/media.css index 4bc2a37949..0eec887bde 100644 --- a/wp-admin/css/media.css +++ b/wp-admin/css/media.css @@ -433,7 +433,14 @@ h3.media-title { } #sort-buttons a { - padding: 0 2px; text-decoration: none; } +#sort-buttons #asc, +#sort-buttons #showall { + padding-left: 5px; +} + +#sort-buttons span { + margin-right: 25px; +} diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php index 2b142ac033..2f9ba66667 100644 --- a/wp-admin/includes/media.php +++ b/wp-admin/includes/media.php @@ -1549,9 +1549,14 @@ jQuery(function($){ -->
+ + + + + - - + | + |