<?php
/*
 * @author     M2E Pro Developers Team
 * @copyright  M2E LTD
 * @license    Commercial use is forbidden
 */

// @codingStandardsIgnoreFile

/** @var $this Ess_M2ePro_Block_Adminhtml_Ebay_Listing_Product_Review */

?>

<div class="content-header">
    <table cellspacing="0">
        <tr>
            <td style="<?php echo $this->getHeaderWidth() ?>"><?php echo $this->getHeaderHtml() ?></td>
            <td class="form-buttons"></td>
        </tr>
    </table>
</div>

<?php echo $this->getChildHtml('view_header'); ?>

<div class="block_notices_module" title="" subtitle="" collapseable="no" hideblock="no" always_show="yes">

    <?php echo Mage::helper('M2ePro')->__('
        Product(s) have been <strong>Added</strong> to the M2E Pro Listing.<br/><br/>
        At this point you can either <strong>Go To The Listing</strong>, <strong>Preview Added Products</strong> before
        Listing them on eBay or <strong>List Added Products</strong> Now.<br/><br/>
        <strong>Note:</strong> Products that do not have a Primary eBay Category specified will not be Listed.
        You will have a chance to set the Primary eBay Category later in the Listing Settings if you need to.
    ', $this->products_count
    ); ?>

    <div style="margin-top: 10px">
        <?php echo $this->getChildHtml('review'); ?>
        &nbsp;
        <?php echo Mage::helper('M2ePro')->__('or'); ?>
        &nbsp;
        <?php echo $this->getChildHtml('preview'); ?>

        <?php if($this->getSource() === Ess_M2ePro_Block_Adminhtml_Ebay_Listing_SourceMode::SOURCE_OTHER): ?>
            <?php echo $this->getChildHtml('back_to_listing_other');?>
        <?php else: ?>
            <?php echo $this->getChildHtml('save_and_list');?>
        <?php endif; ?>
    </div>

</div>
