Changeset 7863
- Timestamp:
- 04/30/2008 08:28:02 PM (16 years ago)
- Location:
- branches/2.5
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5/wp-admin/css/media.css
r7676 r7863 197 197 margin: 0 1em 1em 0; 198 198 } 199 200 #media-upload .media-upload-form p.ml-submit { 201 padding: 1em 0; 202 } 203 199 204 #media-upload p.help { 200 205 font-style: italic; … … 241 246 height: 3em; 242 247 } 248 249 #media-upload #filter { 250 width: 623px; 251 } 252 253 #media-upload #filter .subsubsub { 254 margin: 8px 0; 255 } 256 257 #filter .tablenav select { 258 border-style:solid; 259 border-width:1px; 260 padding:2px; 261 vertical-align:top; 262 } -
branches/2.5/wp-admin/includes/media.php
r7826 r7863 953 953 </div> 954 954 955 <p>956 955 <ul class="subsubsub"> 957 956 <?php … … 985 984 ?> 986 985 </ul> 987 </p>988 986 989 987 <div class="tablenav"> … … 1060 1058 <?php echo get_media_items(null, $errors); ?> 1061 1059 </div> 1060 <p class="ml-submit"> 1062 1061 <input type="submit" class="button savebutton" name="save" value="<?php echo attribute_escape( __( 'Save all changes' ) ); ?>" /> 1063 1062 <input type="hidden" name="post_id" id="post_id" value="<?php echo (int) $post_id; ?>" /> 1063 </p> 1064 1064 </form> 1065 1065 <?php -
branches/2.5/wp-admin/js/media-upload.js
r7861 r7863 10 10 win.edInsertContent(win.edCanvas, h); 11 11 } 12 13 // thickbox settings 14 jQuery(function($) { 15 tb_position = function() { 16 var tbWindow = $('#TB_window'); 17 var width = $(window).width(); 18 var H = $(window).height(); 19 var W = ( 720 < width ) ? 720 : width; 20 21 if ( tbWindow.size() ) { 22 tbWindow.width( W - 50 ).height( H - 45 ); 23 $('#TB_iframeContent').width( W - 50 ).height( H - 75 ); 24 tbWindow.css({marginLeft: '-' + parseInt((( W - 50 ) / 2),10) + 'px'}); 25 }; 26 27 return $('a.thickbox').each( function() { 28 var href = $(this).attr('href'); 29 if ( ! href ) return; 30 href = href.replace(/&width=[0-9]+/g, ''); 31 href = href.replace(/&height=[0-9]+/g, ''); 32 $(this).attr( 'href', href + '&width=' + ( W - 80 ) + '&height=' + ( H - 85 ) ); 33 }); 34 }; 35 36 $(window).resize( function() { tb_position() } ); 37 $(document).ready( function() { tb_position() } ); 38 }); 39 -
branches/2.5/wp-includes/js/swfupload/handlers.js
r7683 r7863 56 56 57 57 // Also bind toggle to the links 58 jQuery('#media-item-' + fileObj.id + ' a.toggle').bind('click', function(){jQuery(this).siblings('.slidetoggle').slideToggle(150 );jQuery(this).parent().eq(0).children('.toggle').toggle();jQuery(this).siblings('a.toggle').focus();return false;});58 jQuery('#media-item-' + fileObj.id + ' a.toggle').bind('click', function(){jQuery(this).siblings('.slidetoggle').slideToggle(150, function(){window.scrollTo(0,this.parentNode.offsetTop);});jQuery(this).parent().eq(0).children('.toggle').toggle();jQuery(this).siblings('a.toggle').focus();return false;}); 59 59 60 60 // Bind AJAX to the new Delete button -
branches/2.5/wp-includes/js/thickbox/thickbox.css
r6604 r7863 46 46 #TB_window { 47 47 position: fixed; 48 background: #ffffff;49 48 z-index: 102; 50 49 color:#000000; 51 50 display:none; 52 border: 4px solid #525252;53 51 text-align:left; 54 top: 50%;52 top:20px; 55 53 left:50%; 56 54 } … … 58 56 * html #TB_window { /* ie6 hack */ 59 57 position: absolute; 60 margin-top: expression( 0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');58 margin-top: expression(20) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px'); 61 59 } 62 60 … … 98 96 background-color:#e8e8e8; 99 97 height:27px; 98 border-width: 4px; 99 border-color: #525252; 100 border-style: solid solid none; 100 101 } 101 102 -
branches/2.5/wp-includes/script-loader.php
r7812 r7863 165 165 'edit' => __('Edit'), 166 166 ) ); 167 $this->add( 'media-upload', '/wp-admin/js/media-upload.js', false, '20080 109' );167 $this->add( 'media-upload', '/wp-admin/js/media-upload.js', false, '20080430' ); 168 168 $this->localize( 'upload', 'uploadL10n', array( 169 169 'browseTitle' => attribute_escape(__('Browse your files')),
Note: See TracChangeset
for help on using the changeset viewer.