<?php
/**
 * Logos post metaboxes.
 * @since presscore 0.1
 */

// File Security Check
if ( ! defined( 'ABSPATH' ) ) { exit; }

/***********************************************************/
// Logos options
/***********************************************************/

$prefix = '_dt_logo_options_';

$DT_META_BOXES[] = array(
	'id'		=> 'dt_page_box-logos_options',
	'title' 	=> _x('Options', 'backend metabox', 'dt-the7-core'),
	'pages' 	=> array( 'dt_logos' ),
	'context' 	=> 'side',
	'priority' 	=> 'core',
	'fields' 	=> array(

		// Link
		array(
			'name'	=> _x('Target link:', 'backend metabox', 'dt-the7-core'),
			'id'    => "{$prefix}link",
			'type'  => 'text',
			'std'   => '',
		),

		// Uploader
		// IMAGE ADVANCED (WP 3.5+)
		array(
			'name'				=> _x('Retina image:', 'backend metabox', 'dt-the7-core'),
			'id'               	=> "{$prefix}retina_logo",
			'type'             	=> 'image_advanced_mk2',
			'max_file_uploads' 	=> 1,
		),

	),
);