<?php
/**
 * Export e-mail options
 *
 * @package 	CSVIVirtueMart
 * @subpackage 	Export
 * @author 		Roland Dalmulder
 * @link 		http://www.csvimproved.com
 * @copyright 	Copyright (C) 2006 - 2012 RolandD Cyber Produksi
 * @license 	GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 * @version 	$Id: default_email.php 1892 2012-02-11 11:01:09Z RolandD $
 */
 
defined( '_JEXEC' ) or die( 'Direct Access to this location is not allowed.' );
?>
<fieldset class="adminform">
	<legend><?php echo JText::_('COM_CSVIVIRTUEMART_EXPORT_EMAIL_OPTIONS'); ?></legend>
	<table class="admintable">
		<tbody>
			<!-- E-mail addresses -->
			<tr>
				<td class="key">
					<span class="hasTip" title="<?php echo JText::_('COM_CSVIVIRTUEMART_EXPORT_EMAIL_ADDRESSES_LABEL'); ?> :: <?php echo JText::_('COM_CSVIVIRTUEMART_EXPORT_EMAIL_ADDRESSES_DESC'); ?>"><?php echo JText::_('COM_CSVIVIRTUEMART_EXPORT_EMAIL_ADDRESSES_LABEL'); ?></span>
				</td>
				<td>
					<textarea id="export_email_addresses" name="jform[email][export_email_addresses]" cols="50"><?php echo $this->template->getValue('export_email_addresses', 'email'); ?></textarea>
				</td>
			</tr>
			<!-- CC E-mail addresses -->
			<tr>
				<td class="key">
					<span class="hasTip" title="<?php echo JText::_('COM_CSVIVIRTUEMART_EXPORT_EMAIL_ADDRESSES_CC_LABEL'); ?> :: <?php echo JText::_('COM_CSVIVIRTUEMART_EXPORT_EMAIL_ADDRESSES_CC_DESC'); ?>"><?php echo JText::_('COM_CSVIVIRTUEMART_EXPORT_EMAIL_ADDRESSES_CC_LABEL'); ?></span>
				</td>
				<td>
					<textarea id="export_email_addresses_cc" name="jform[email][export_email_addresses_cc]" cols="50"><?php echo $this->template->getValue('export_email_addresses_cc', 'email'); ?></textarea>
				</td>
			</tr>
			<!-- BCC E-mail addresses -->
			<tr>
				<td class="key">
					<span class="hasTip" title="<?php echo JText::_('COM_CSVIVIRTUEMART_EXPORT_EMAIL_ADDRESSES_BCC_LABEL'); ?> :: <?php echo JText::_('COM_CSVIVIRTUEMART_EXPORT_EMAIL_ADDRESSES_BCC_DESC'); ?>"><?php echo JText::_('COM_CSVIVIRTUEMART_EXPORT_EMAIL_ADDRESSES_BCC_LABEL'); ?></span>
				</td>
				<td>
					<textarea id="export_email_addresses_bcc" name="jform[email][export_email_addresses_bcc]" cols="50"><?php echo $this->template->getValue('export_email_addresses_bcc', 'email'); ?></textarea>
				</td>
			</tr>
			<!-- E-mail subject -->
			<tr id="email_subject">
				<td class="key">
					<span class="hasTip" title="<?php echo JText::_('COM_CSVIVIRTUEMART_EXPORT_EMAIL_SUBJECT_LABEL'); ?> :: <?php echo JText::_('COM_CSVIVIRTUEMART_EXPORT_EMAIL_SUBJECT_DESC'); ?>"><?php echo JText::_('COM_CSVIVIRTUEMART_EXPORT_EMAIL_SUBJECT_LABEL'); ?></span>
				</td>
				<td>
					<input class="template_input longtext" type="text" id="export_email_subject" name="jform[email][export_email_subject]" value="<?php echo $this->template->getValue('export_email_subject', 'email'); ?>" />
				</td>
			</tr>
			<!-- E-mail body -->
			<tr id="email_body">
				<td class="key">
					<span class="hasTip" title="<?php echo JText::_('COM_CSVIVIRTUEMART_EXPORT_EMAIL_BODY_LABEL'); ?> :: <?php echo JText::_('COM_CSVIVIRTUEMART_EXPORT_EMAIL_BODY_DESC'); ?>"><?php echo JText::_('COM_CSVIVIRTUEMART_EXPORT_EMAIL_BODY_LABEL'); ?></span>
				</td>
				<td>
					<?php echo $this->editor->display('jform[email][export_email_body]',  $this->template->getValue('export_email_body', 'email'), '100%;', '350', '75', '20', array('pagebreak', 'readmore')); ?>
				</td>
			</tr>
		</tbody>
	</table>
</fieldset>
