function theme_plupload_uploader in Plupload integration 6
Theme function to return the uploader. (Once JS has it's way with it.)
1 theme call to theme_plupload_uploader()
- plupload_upload_page in ./
plupload.module - Page callback for the bulk uploader.
File
- ./
plupload.module, line 413
Code
function theme_plupload_uploader() {
global $language;
$path = drupal_get_path('module', 'plupload');
drupal_add_css($path . '/plupload.css');
drupal_add_js($path . '/plupload.js');
$lang_file = plupload_library_path() . '/js/i18n/' . $language->language . '.js';
if (file_exists($lang_file)) {
drupal_add_js($lang_file);
}
return '<div id="uploader">Your browser does not support HTML5 native or flash upload. Try Firefox 3, Safari 4, or Chrome; or install Flash.</div>';
}