예제 #1
0
	<input type="hidden" name="action" id="file_form_action" value="<?php 
echo $action;
?>
" />
	<input type="hidden" name="file_id" id="file_id" value="<?php 
echo $update ? $multi_edit ? $item_ids : $file->file_id : "";
?>
" />
	<?php 
wp_nonce_field($nonce_action, 'wpfb-file-nonce');
?>

	<div class="wpfb-upload-box">
		<?php 
if ($update && ($file->IsScanLocked() || $file->GetRemoteSyncMeta())) {
    ?>
			<div class="overlay-locked"><?php 
    echo WPFB_Admin::Icon('lock', 70);
    ?>
				<span><?php 
    $file->IsScanLocked() && printf(__('This file is locked for %s or until the scan process completes.', 'wp-filebase'), human_time_diff(time(), $file->file_scan_lock));
    echo ' ' . __('You can edit meta data only.', 'wp-filebase');
    ?>
</span>
			</div>
		<?php 
}
?>

		<div id="wpfilebase-upload-menu" class="admin-scheme-bgcolor-0">