Changeset 9423
- Timestamp:
- 10/31/2008 01:53:39 AM (16 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r9384 r9423 1221 1221 jQuery(function($){ 1222 1222 swfu = new SWFUpload({ 1223 button_text: '<span class="button"><?php _e('Upload'); ?></span>', 1224 button_text_style: '.button { text-align: center; font-weight: bold; font-family:"Lucida Grande","Lucida Sans Unicode",Tahoma,Verdana,sans-serif; }', 1225 button_height: "24", 1226 button_width: "132", 1227 button_image_url: '<?php echo includes_url('images/upload.png'); ?>', 1228 button_placeholder_id: "async-upload-wrap", 1223 1229 upload_url : "<?php echo attribute_escape( $flash_action_url ); ?>", 1224 flash_url : "<?php echo includes_url('js/swfupload/swfupload _f9.swf'); ?>",1230 flash_url : "<?php echo includes_url('js/swfupload/swfupload.swf'); ?>", 1225 1231 file_post_name: "async-upload", 1226 1232 file_types: "<?php echo apply_filters('upload_file_glob', '*.*'); ?>", … … 1245 1251 file_queue_error_handler : fileQueueError, 1246 1252 file_dialog_complete_handler : fileDialogComplete, 1253 swfupload_pre_load_handler: swfuploadPreLoad, 1254 swfupload_load_failed_handler: swfuploadLoadFailed, 1247 1255 1248 1256 debug: false … … 1264 1272 <div id="html-upload-ui"> 1265 1273 <?php do_action('pre-html-upload-ui'); ?> 1266 <p >1274 <p id="async-upload-wrap"> 1267 1275 <input type="file" name="async-upload" id="async-upload" /> <input type="submit" class="button" name="html-upload" value="<?php echo attribute_escape(__('Upload')); ?>" /> <a href="#" onclick="return top.tb_remove();"><?php _e('Cancel'); ?></a> 1268 1276 </p> -
trunk/wp-admin/media-upload.php
r9233 r9423 17 17 18 18 wp_enqueue_script('swfupload'); 19 wp_enqueue_script('swfupload- degrade');19 wp_enqueue_script('swfupload-swfobject'); 20 20 wp_enqueue_script('swfupload-queue'); 21 21 wp_enqueue_script('swfupload-handlers');
Note: See TracChangeset
for help on using the changeset viewer.