get_baseurl() . '/addon/java_upload/jumploader_z.jar'; $filestext = t('Select files to upload: '); $nojava = t('Use the following controls only if the Java uploader [above] fails to launch.'); $b['default_upload'] = true; $b['addon_text'] .= <<< EOT
$filestext
$nojava
EOT; } function java_upload_photo_post_init(&$a,&$b) { if($_POST['partitionCount']) $a->data['java_upload'] = true; else $a->data['java_upload'] = false; } function java_upload_photo_post_end(&$a,&$b) { if(x($a->data,'java_upload') && $a->data['java_upload']) killme(); }