<input type="radio" id="file_type_-1" name="file_type" value="-1" checked="checked" /> <label for="file_type_-1"><?php _e('Current File:', 'wp-downloadmanager'); ?> <strong dir="ltr"><?php echo stripslashes($file->file); ?> </strong></label> <br /><br /> <!-- Browse File --> <input type="radio" id="file_type_0" name="file_type" value="0" /> <label for="file_type_0"><?php _e('Browse File:', 'wp-downloadmanager'); ?> </label> <select name="file" size="1" onclick="document.getElementById('file_type_0').checked = true;" dir="ltr"> <?php print_list_files($file_path, $file_path, stripslashes($file->file)); ?> </select> <br /><small><?php printf(__('Please upload the file to \'%s\' directory first.', 'wp-downloadmanager'), $file_path); ?> </small> <br /><br /> <!-- Upload File --> <input type="radio" id="file_type_1" name="file_type" value="1" /> <label for="file_type_1"><?php _e('Upload File:', 'wp-downloadmanager'); ?> </label> <input type="file" name="file_upload" size="25" onclick="document.getElementById('file_type_1').checked = true;" dir="ltr" /> <?php _e('to', 'wp-downloadmanager'); ?>
</h2> <table class="form-table"> <tr> <td valign="top"><strong><?php _e('File:', 'wp-downloadmanager'); ?> </strong></td> <td> <!-- Browse File --> <input type="radio" id="file_type_0" name="file_type" value="0" checked="checked" /> <label for="file_type_0"><?php _e('Browse File:', 'wp-downloadmanager'); ?> </label> <select name="file" size="1" onclick="document.getElementById('file_type_0').checked = true;" dir="ltr"> <?php print_list_files($file_path, $file_path); ?> </select> <br /><small><?php printf(__('Please upload the file to \'%s\' directory first.', 'wp-downloadmanager'), $file_path); ?> </small> <br /><br /> <!-- Upload File --> <input type="radio" id="file_type_1" name="file_type" value="1" /> <label for="file_type_1"><?php _e('Upload File:', 'wp-downloadmanager'); ?> </label> <input type="file" name="file_upload" size="25" onclick="document.getElementById('file_type_1').checked = true;" dir="ltr" /> <?php _e('to', 'wp-downloadmanager'); ?>