<?php
/**
 * Maintenance page
 *
 * @package 	CSVIVirtueMart
 * @subpackage 	Maintenance
 * @todo
 * @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_icecat.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_MAINTENANCE_ICECAT'); ?></legend>
<table class="admintable">
<tbody>
	<!-- ICEcat Index -->
	<tr>
		<td class="key">
			<span class="hasTip" title="<?php echo JText::_('COM_CSVIVIRTUEMART_ICECATINDEX_LABEL'); ?> :: <?php echo JText::_('COM_CSVIVIRTUEMART_ICECATINDEX_DESC'); ?>"><?php echo JText::_('COM_CSVIVIRTUEMART_ICECATINDEX_LABEL'); ?></span>
		</td>
		<td>
			<input type="radio" name="operation[]" value="icecatindex" onclick="setTask('icecatindex');" />
		</td>
	</tr>
	<!-- ICEcat Location -->
	<tr>
		<td class="key">
			<span class="hasTip" title="<?php echo JText::_('COM_CSVIVIRTUEMART_ICECAT_LOCATION_LABEL'); ?> :: <?php echo JText::_('COM_CSVIVIRTUEMART_ICECAT_LOCATION_DESC'); ?>"><?php echo JText::_('COM_CSVIVIRTUEMART_ICECAT_LOCATION_LABEL'); ?></span>
		</td>
		<td>
			<input type="text" name="icecatlocation" value="<?php echo CSVIPATH_TMP; ?>" size="75" />
		</td>
	</tr>
	<!-- ICEcat use GZIP -->
	<tr>
		<td class="key">
			<span class="hasTip" title="<?php echo JText::_('COM_CSVIVIRTUEMART_ICECAT_GZIP_LABEL'); ?> :: <?php echo JText::_('COM_CSVIVIRTUEMART_ICECAT_GZIP_DESC'); ?>"><?php echo JText::_('COM_CSVIVIRTUEMART_ICECAT_GZIP_LABEL'); ?></span>
		</td>
		<td>
			<?php echo JHtml::_('select.booleanlist', 'icecat_gzip', '', 1); ?>
		</td>
	</tr>
</tbody>
</table>
</fieldset>

<fieldset class="adminform">
<legend><?php echo JText::_('COM_CSVIVIRTUEMART_MAINTENANCE_ICECAT_FILE'); ?></legend>
<table class="admintable">
<tbody>
	<!-- ICEcat Index -->
	<tr>
		<td class="key">
			<span class="hasTip" title="<?php echo JText::_('COM_CSVIVIRTUEMART_ICECAT_FILE_LABEL'); ?> :: <?php echo JText::_('COM_CSVIVIRTUEMART_ICECAT_FILE_DESC'); ?>"><?php echo JText::_('COM_CSVIVIRTUEMART_ICECAT_FILE_LABEL'); ?></span>
		</td>
		<td>
			<input type="checkbox" name="icecat[]" value="icecat_index" checked="checked" />
		</td>
	</tr>
	<!-- ICEcat import type -->
	<tr>
		<td class="key">
			<span class="hasTip" title="<?php echo JText::_('COM_CSVIVIRTUEMART_ICECAT_FILE_LOAD_LABEL'); ?> :: <?php echo JText::_('COM_CSVIVIRTUEMART_ICECAT_FILE_LOAD_DESC'); ?>"><?php echo JText::_('COM_CSVIVIRTUEMART_ICECAT_FILE_LOAD_LABEL'); ?></span>
		</td>
		<td>
			<?php echo JHtml::_('select.booleanlist', 'loadtype', '', 0, JText::_('COM_CSVIVIRTUEMART_ICECAT_FILE_SINGLE'), JText::_('COM_CSVIVIRTUEMART_ICECAT_FILE_FULL')); ?> 
		</td>
	</tr>
	<!-- ICEcat number of records per run -->
	<tr>
		<td class="key">
			<span class="hasTip" title="<?php echo JText::_('COM_CSVIVIRTUEMART_ICECAT_FILE_LOAD_RECORDS_LABEL'); ?> :: <?php echo JText::_('COM_CSVIVIRTUEMART_ICECAT_FILE_LOAD_RECORDS_DESC'); ?>"><?php echo JText::_('COM_CSVIVIRTUEMART_ICECAT_FILE_LOAD_RECORDS_LABEL'); ?></span>
		</td>
		<td>
			<input type="text" name="icecat_records" value="1000" /> 
		</td>
	</tr>
	<!-- ICEcat wait time -->
	<tr>
		<td class="key">
			<span class="hasTip" title="<?php echo JText::_('COM_CSVIVIRTUEMART_ICECAT_FILE_LOAD_WAIT_LABEL'); ?> :: <?php echo JText::_('COM_CSVIVIRTUEMART_ICECAT_FILE_LOAD_WAIT_DESC'); ?>"><?php echo JText::_('COM_CSVIVIRTUEMART_ICECAT_FILE_LOAD_WAIT_LABEL'); ?></span>
		</td>
		<td>
			<input type="text" name="icecat_wait" value="5" /> 
		</td>
	</tr>
</tbody>
</table>
</fieldset>

<fieldset class="adminform">
<legend><?php echo JText::_('COM_CSVIVIRTUEMART_MAINTENANCE_ICECAT_SUPPLIER'); ?></legend>
<table class="admintable">
<tbody>
	<!-- ICEcat Manufacturer -->
	<tr>
		<td class="key">
			<span class="hasTip" title="<?php echo JText::_('COM_CSVIVIRTUEMART_ICECAT_SUPPLIER_LABEL'); ?> :: <?php echo JText::_('COM_CSVIVIRTUEMART_ICECAT_SUPPLIER_DESC'); ?>"><?php echo JText::_('COM_CSVIVIRTUEMART_ICECAT_SUPPLIER_LABEL'); ?></span>
		</td>
		<td>
			<input type="checkbox" name="icecat[]" value="icecat_supplier" checked="checked" />
		</td>
	</tr>
</tbody>
</table>
</fieldset>
