<?php
/*
 * This file belongs to the YIT Framework.
 *
 * This source file is subject to the GNU GENERAL PUBLIC LICENSE (GPL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.gnu.org/licenses/gpl-3.0.txt
 */

if ( ! defined( 'YITH_WCBR' ) ) {
	exit;
} // Exit if accessed directly
?>

<div class="form-field">
	<label><?php _e( 'Banner', 'yith-woocommerce-brands-add-on' ); ?></label>
	<div id="product_brand_banner" style="float:left;margin-right:10px;"><img alt="<?php _e( 'Product brand banner', 'yith-woocommerce-brands-add-on-premium' ) ?>" src="<?php echo wc_placeholder_img_src(); ?>" width="60px" height="60px" /></div>
	<div style="line-height:60px;">
		<input type="hidden" id="product_brand_banner_id" class="yith_wcbr_upload_image_id" name="product_brand_banner_id" />
		<button id="product_brand_banner_upload" type="button" class="yith_wcbr_upload_image_button button"><?php _e( 'Upload/Add image', 'yith-woocommerce-brands-add-on' ); ?></button>
		<button id="product_brand_banner_remove" type="button" class="yith_wcbr_remove_image_button button"><?php _e( 'Remove image', 'yith-woocommerce-brands-add-on' ); ?></button>
	</div>
	<div class="clear"></div>
</div>

<div class="form-field">
	<label><?php _e( 'Custom URL', 'yith-woocommerce-brands-add-on' ); ?></label>
	<input type="text" id="product_brand_custom_url" name="product_brand_custom_url" />
	<p class="description"><?php _e( 'Set a custom URL for redirect. Default redirect is to archive page', 'yith-woocommerce-brands-add-on' ) ?></p>
	<div class="clear"></div>
</div>