- C7E80BDDAF2DDE406CE67FF8846A6B0BDA2E7D73D161542DAD9E8BDE705F1F24DD9FA9ABEA88C619CB78CB4F8B6099741545A8D7DF913019B9C4B1A131E91A04
+ 63A32C91547E5301A19F7E27D18439C8ED1AC96C83ED88E1685877C8CF41240048F21F1D4E155F95BF32DCFBAF887058144A0F88819D84F1C3349761743B91A5
mp-wp/wp-admin/media-upload.php
(15 . 11)(15 . 6)
29269 if (!current_user_can('upload_files'))
29270 wp_die(__('You do not have permission to upload files.'));
29271
29272 wp_enqueue_script('swfupload');
29273 wp_enqueue_script('swfupload-swfobject');
29274 wp_enqueue_script('swfupload-queue');
29275 wp_enqueue_script('swfupload-handlers');
29276
29277 @header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));
29278
29279 // IDs should be integers
(63 . 23)(58 . 8)
29281
29282 <?php media_upload_form(); ?>
29283
29284 <script type="text/javascript">
29285 jQuery(function($){
29286 var preloaded = $(".media-item.preloaded");
29287 if ( preloaded.length > 0 ) {
29288 preloaded.each(function(){prepareMediaItem({id:this.id.replace(/[^0-9]/g, '')},'');});
29289 }
29290 updateMediaForm();
29291 post_id = 0;
29292 shortform = 1;
29293 });
29294 </script>
29295 <input type="hidden" name="post_id" id="post_id" value="0" />
29296 <?php wp_nonce_field('media-form'); ?>
29297 <div id="media-items"> </div>
29298 <p>
29299 <input type="submit" class="button savebutton" name="save" value="<?php echo attribute_escape( __( 'Save all changes' ) ); ?>" />
29300 </p>
29301 </form>
29302 </div>
29303