
­­­­­­­­­­­­­­­­­­
<!DOCTYPE html>
<html>
<?php defined( 'ABSPATH' ) OR die( 'This script cannot be accessed directly.' );

/**
 * Theme Options Field: Transfer
 *
 * Transfer theme options data
 *
 * @var   $name  string Field name
 * @var   $id    string Field ID
 * @var   $field array Field options
 *
 * @param $field ['title'] string Field title
 * @param $field ['description'] string Field title
 *
 * @var   $value string Current value
 */

$output = '<div class="usof-transfer">';
$output .= '<textarea></textarea>';
$output .= '<div class="usof-button type_import"><span>' . _x( 'Import Options', 'verb', 'us' ) . '</span>';
$output .= '<span class="usof-preloader"></span>';
$output .= '</div>';
$translations = array(
	'importError' => __( 'Wrong import data format', 'us' ),
	'importSuccess' => __( 'Options imported', 'us' ),
);
$output .= '<div class="usof-transfer-translations"' . us_pass_data_to_js( $translations ) . '></div>';
$output .= '</div>';

echo $output;
