Changeset 7652
- Timestamp:
- 04/14/2008 04:32:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r7651 r7652 788 788 <?php } ?> 789 789 </div> 790 791 <?php do_action('pre-upload-ui'); ?> 792 790 793 <?php if ( $flash ) : ?> 791 794 <script type="text/javascript"> … … 823 826 </script> 824 827 825 826 828 <div id="flash-upload-ui"> 829 <?php do_action('pre-flash-upload-ui'); ?> 827 830 <p><input id="flash-browse-button" type="button" value="<?php _e('Choose files to upload'); ?>" class="button" /></p> 828 <p><?php _e('After a file has been uploaded, you can add titles and descriptions.'); ?></p> 831 <?php do_action('post-flash-upload-ui'); ?> 832 <p class="howto"><?php _e('After a file has been uploaded, you can add titles and descriptions.'); ?></p> 829 833 </div> 830 834 … … 832 836 833 837 <div id="html-upload-ui"> 838 <?php do_action('pre-html-upload-ui'); ?> 834 839 <p> 835 840 <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> … … 840 845 <p><?php _e('If you want to use all capabilities of the uploader, like uploading multiple files at once, please upgrade to lighttpd 1.5.'); ?></p> 841 846 <?php endif;?> 847 <?php do_action('post-html-upload-ui'); ?> 842 848 </div> 849 <?php do_action('post-upload-ui'); ?> 843 850 <?php 844 851 } … … 850 857 851 858 $form_action_url = get_option('siteurl') . "/wp-admin/media-upload.php?type=$type&tab=type&post_id=$post_id"; 859 $form_action_url = apply_filters('media_upload_form_url', $form_action_url, $type); 852 860 853 861 $callback = "type_form_$type";
Note: See TracChangeset
for help on using the changeset viewer.