found it.
in the automattic SVN for media.php i found the media_upload_header() function, and the only thing left to do is to echo it in the last function:
function media_upload_ell_gmap_form() {
echo media_upload_header();
?>
<h2>HTML Form</h2>
<?php
}
that’s it.
Related Posts:
- send information from the thickbox image uploader second tab
- Thickbox hacking – removing fields
- How to restrict wp-admin and prevent upload errors
- Client system for media review?
- Custom Jquery in admin breaks media-upload script
- Run filter if only it was run from specific admin page ( ‘upload_dir’ changed )
- How to remove list view from media library?
- Uploading files in admin panel?
- Is there a hook to put stylesheet and/or JS inside iframes (thickbox or tinyMCE) in admin area
- Possible to create placeholder images in WordPress editor that are clickable (should bring up uploader)?
- Making Media Library “Alternative Text” Field Required
- Customize the upload screen
- Uploading Images to Multi-Site Causes Failure to HTTP Error
- wordpress upload http error?
- Refreshing collections in the admin media manager
- Disable the “Skip to Toolbar” tabbing accessibility feature
- Custom Thickbox Broken on Dashboard Page?
- Editing the Backend Uploader
- Convert (-) and (escape) signs to (_) when uploading files on wordpress media library automatically
- Unable to upload image using the standard uploader in the WP admin (v4.3)
- WordPress post feature image not uploading
- Where to set individual blog quotas?
- WordPress Media Uploader custom Javascript not working
- Problem with implenting Uploadify with WordPress
- Upload error on localhost (at minimum, not yet tested online)
- Admin hook after editing an image?
- add instructions to upload pages and / or forms
- WordPress Admin Thickbox: Remove Margins/Padding
- Why doesn’t the Media Browser use thumbnail sized images?
- Making a custom upload form and page in the admin section
- how to automatically cleanup failed WordPress uploads in /tmp?
- How to fix broken admin Thickbox?
- Add a Separator to the Admin Menu?
- Adding a custom admin page
- “Add Media” button in custom plugin
- Allowing admin-ajax.php to receive “application/json” instead of “x-www-form-urlencoded”
- Which filters or actions to use after a media upload and delete?
- Media Upload Folder – how to manage
- How to hide media uploads by other users in the Media menu?
- Custom admin email for new user registration
- Make A WordPress Page Accessible To Admins Only, Redirect Other User Roles
- localhost/wp-admin on my local redirects to production site’s /wp-admin
- Multisite, upload images directly to Amazon S3
- Force wordpress to see uploads folder media
- How do I set up a webhook?
- Disable TinyMCE Drag and Drop
- How do i upload an image and return the image id?
- Where is the User’s Admin Bar Preference stored? I want it to default to off for new users
- Make certain pages uneditable by editors?
- wp_temp_dir does not change the /tmp temporary default directory
- Default, locked sorting of posting fields
- How do I fix “You are not allowed to edit this item.” for Admins on existing posts?
- Maximum upload size changes in php.ini ignored – How to remove upload size limit?
- Is it safe to post form data via Ajax to the settings api? Am I missing something?
- Admin area ‘toggle’ w/ cookie
- Remove default subpages from Custom Post Menu
- wp.template() Not a function
- Why does SVG upload in Media Library fail if the file does not have an XML tag at the beginning?
- get user list in admin area
- Need help cleaning up a wordpress site after being hacked
- media_handle_upload : undefined function?
- HTTP Error when uploading files above 7mb unless using GD Image Editor
- creating custom rewrite rules for admin pages
- admin_enqueue_scripts not working
- Add last Revision of Post column on Admin Panel
- Admin – Load existing admin template as a submenu page
- Admin interface problems – thickbox? jquery?
- Restricting access to a single MultiSite site based on IP — possible?
- Create a new post using rest api and save featured image using an external image url
- Upload featured image from front end using media-upload.php
- Combine and Minify wp-admin files, also re-write URI’s for CDN
- Importing 10 Years of Media into the WP Database
- WordPress Automatic Filename Changer
- How to disable accessing the custom post types from frontend via a link?
- How to make the first widget box to be closed instead of open in admin
- Change default italic from to in admin editor
- Can I host WP-admin locally for a remote blog?
- add_cap for editor but no admin role
- A link (not in the post) to download a specific PDF file
- Home page is redirecting to another page – no obvious reason
- Admin Panel Development [closed]
- Backend Checkboxes working – but not visual?
- Why does Thickbox jQuery load on my site?
- Custom upload folder
- Admin mode breaks with subdomains in latest WP
- How do I create a post_id column, for admin posts list?
- How should I change the username of or delete the admin user?
- Any known plugins for master admin login to edit all on front end?
- How to exclude some post from admin edit screen
- Allow custom REST route to return before doing long operation
- Is there some way to find if media items are used anywhere on the site?
- Show only content in page after action click in WordPress admin
- WP_Custom_Media_Control | Give ID to media file
- Downloading file from wp-admin folder
- Categories in media library
- All files unattached in Media Library
- Missing Images in Uploads Directory (Server Only)
- Custom styles and scripts for specific admin screen
- TinyMCE buttons broken
- CSS Styles specific to Admin Sidebar not loading