AAAAview.html.php000066600000007106151401355030007177 0ustar00input; $session = JFactory::getSession(); $option = $jinput->get('option'); // Load the models $model = $this->getModel(); $this->setModel(JModel::getInstance('templates', 'CsviModel')); $this->setModel(JModel::getInstance('availablefields', 'CsviModel')); // Load stylesheet $document = JFactory::getDocument(); $document->addStyleSheet(JURI::root().'administrator/components/com_csvi/assets/css/process.css'); // Set the template ID $template_id = $jinput->get('template_id', $session->get($option.'.select_template', 0), 'int'); $jinput->set('template_id', $template_id); // Load the saved templates $template_model = $this->getModel('Templates'); $this->templates = JHtml::_('select.genericlist', $template_model->getTemplates(), 'select_template', '', 'value', 'text', $jinput->get('template_id', 0, 'int')); // Load the selected template $this->loadHelper('template'); $this->template = new CsviTemplate(); $this->template->load($template_id); $jinput->set('template', $this->template); // Set the action, component and operation for the form if ($template_id > 0) $jinput->set('jform', $this->template->getSettings()); // Load the option templates $this->optiontemplates = $model->getOptions(); // Get the options for the user $this->form = $model->getForm(array(), true, $this->optiontemplates); // Load the fields $av_model = $this->getModel('availablefields'); $this->templatefields = $av_model->getAvailableFields($this->form->getValue('operation','options'), $this->form->getValue('component','options'), 'object', $this->form->getValue('custom_table')); // Load the replacements $this->replacements = $this->get('Replacements'); // Add the component path to find template files $this->addTemplatePath(JPATH_COMPONENT_ADMINISTRATOR.'/views/process/tmpl/'.$this->form->getValue('component','options').'/'.$this->form->getValue('action','options')); $this->addTemplatePath(JPATH_COMPONENT_ADMINISTRATOR.'/views/process/tmpl/'.$this->form->getValue('action','options')); // Load the helper $this->loadHelper($this->form->getValue('component','options')); // Load the configuration helper $this->loadHelper($this->form->getValue('component','options').'_config'); $classname = 'Csvi'.$this->form->getValue('component','options').'_config'; if (class_exists($classname)) $this->config = new $classname; // Get the panel $this->loadHelper('panel'); // Get the toolbar title JToolBarHelper::title(JText::_('COM_CSVI_PROCESS'), 'csvi_process_48'); // Get the toolbar JToolBarHelper::custom('cronline', 'csvi_cron_32', 'csvi_cron_32', JText::_('COM_CSVI_CRONLINE'), false); JToolBarHelper::custom('process.imexport', 'csvi_process_32', 'csvi_process_32', JText::_('COM_CSVI_PROCESS'), false); //JToolBarHelper::help('process.html', true); // Display it all parent::display($tpl); } } ?> index.html000066600000000054151401355030006541 0ustar00tmpl/com_csvi/index.html000066600000000054151401355030011317 0ustar00tmpl/com_csvi/export/default_file.php000066600000006633151401355030014010 0ustar00
tmpl/com_csvi/export/.htaccess000066600000000177151401355030012447 0ustar00 Order allow,deny Deny from all tmpl/com_csvi/export/index.html000066600000000054151401355030012640 0ustar00tmpl/com_csvi/.htaccess000066600000000177151401355030011126 0ustar00 Order allow,deny Deny from all tmpl/com_virtuemart/export/default_userinfo.php000066600000002750151401355030016155 0ustar00
tmpl/com_virtuemart/export/default_manufacturer.php000066600000001420151401355030017010 0ustar00
tmpl/com_virtuemart/export/default_calc.php000066600000001773151401355030015231 0ustar00
tmpl/com_virtuemart/export/default_shipping.php000066600000012246151401355030016145 0ustar00
'addRow_shopper_shipping')); ?>

template->get('shopper_shipping_export_fields', '', array()); if (isset($shopper_shipping_fields['_price_from'])) { $count = count($shopper_shipping_fields['_price_from']); for ($rows = 0; $rows < $count; $rows++) { $id = mt_rand(); ?>
tmpl/com_virtuemart/export/default_file.php000066600000012172151401355030015241 0ustar00
tmpl/com_virtuemart/export/default_category.php000066600000001777151401355030016150 0ustar00
tmpl/com_virtuemart/export/index.html000066600000000054151401355030014076 0ustar00tmpl/com_virtuemart/export/.htaccess000066600000000177151401355030013705 0ustar00 Order allow,deny Deny from all tmpl/com_virtuemart/export/default_orderitem.php000066600000005626151401355030016322 0ustar00
form->getLabel('orderitemproduct', 'orderitem'); ?> form->getInput('orderitemproduct', 'orderitem'); ?>
tmpl/com_virtuemart/export/default_order.php000066600000010533151401355030015434 0ustar00
form->getLabel('orderuser', 'order'); ?>
form->getInput('orderuser', 'order'); ?>
form->getLabel('orderproduct', 'order'); ?>
form->getInput('orderproduct', 'order'); ?>
tmpl/com_virtuemart/export/default_product.php000066600000011321151401355030015775 0ustar00
tmpl/com_virtuemart/.htaccess000066600000000177151401355030012364 0ustar00 Order allow,deny Deny from all tmpl/com_virtuemart/import/default_category_path.php000066600000002565151401355030017151 0ustar00
tmpl/com_virtuemart/import/default_media_path.php000066600000004243151401355030016406 0ustar00
tmpl/com_virtuemart/import/default_category.php000066600000002237151401355030016131 0ustar00
tmpl/com_virtuemart/import/default_product.php000066600000005120151401355030015766 0ustar00
tmpl/com_virtuemart/import/.htaccess000066600000000177151401355030013676 0ustar00 Order allow,deny Deny from all tmpl/com_virtuemart/import/default_category_image.php000066600000010773151401355030017277 0ustar00
tmpl/com_virtuemart/import/index.html000066600000000054151401355030014067 0ustar00tmpl/com_virtuemart/import/default_order_item.php000066600000001447151401355030016447 0ustar00
tmpl/com_virtuemart/import/default_category_file.php000066600000010314151401355030017123 0ustar00
tmpl/com_virtuemart/import/default_media.php000066600000001453151401355030015372 0ustar00
tmpl/com_virtuemart/import/default_media_image.php000066600000010766151401355030016543 0ustar00
tmpl/com_virtuemart/import/default_manufacturer_category.php000066600000001466151401355030020710 0ustar00
tmpl/com_virtuemart/import/default_image.php000066600000012706151401355030015400 0ustar00
tmpl/com_virtuemart/import/default_manufacturer.php000066600000001444151401355030017007 0ustar00
tmpl/com_virtuemart/import/default_product_path.php000066600000002614151401355030017007 0ustar00
tmpl/com_virtuemart/import/default_calc.php000066600000001773151401355030015222 0ustar00
tmpl/com_virtuemart/import/default_manufacturer_file.php000066600000010314151401355030020002 0ustar00
tmpl/com_virtuemart/index.html000066600000000054151401355030012555 0ustar00tmpl/default.php000066600000013602151401355030007660 0ustar00
templates; ?>
form->getGroup('options') as $field) : ?> input; ?>
form->getValue('action', 'options'); $component = $this->form->getValue('component', 'options'); $operation = $this->form->getValue('operation', 'options'); if ($action && $component & $operation) { // Load the source template echo $this->loadTemplate('source'); // Load the specific templates switch($action) { case 'import': ?>
    optiontemplates as $template) { ?>
optiontemplates as $template) { ?>
loadTemplate($template); ?>
    optiontemplates as $template) { ?>
optiontemplates as $template) { ?>
loadTemplate($template); ?>
tmpl/import_result.php000066600000004520151401355030011143 0ustar00logresult) { $jinput = JFactory::getApplication()->input; ?> logresult['result']) > 0) { foreach ($this->logresult['result'] as $result => $log) { ?>
logresult['file_name']).'
'.$this->runtime; ?>
get('run_id', 0, 'int')), JText::_('COM_CSVI_SHOW_FULL_LOG')); echo ' | '; // Show view debug log if (!empty($this->logresult['debugview'])) { echo $this->logresult['debugview']; echo ' | '; } // Show download debug log echo $this->logresult['debug']; ?>
total_result; ?> result; ?> status); ?>
'; echo $this->runtime; echo '
'; echo '
'; echo JText::_('COM_CSVI_NO_LOG_EXPLAIN'); }?> tmpl/index.html000066600000000054151401355030007515 0ustar00tmpl/.htaccess000066600000000177151401355030007324 0ustar00 Order allow,deny Deny from all tmpl/import/default_fields.php000066600000035770151401355030012532 0ustar00 form->getValue('operation', 'options') == 'customimport') { ?>
form->getInput('custom_table'); ?>

'addRow')); ?> templatefields, '_field_name', null, 'value', 'text', null, '_field_name'); ?> replacements, '_replace_field', '', 'value', 'text', '', '_replace_field_default'); ?>

template->get('import_fields'); if (isset($import_fields['_selected_name'])) { for ($rows = 0; $rows < count($import_fields['_selected_name']); $rows++) { $id = mt_rand(); ?>
replacements, 'jform[import_fields][_replace_field]['.$rows.']', '', 'value', 'text', $import_fields['_replace_field'][$rows], '_replace_field_'.$id); ?>
templatefields as $fieldname) { ?>
text; ?>
tmpl/import/.htaccess000066600000000177151401355030010636 0ustar00 Order allow,deny Deny from all tmpl/import/default_limit.php000066600000004136151401355030012372 0ustar00
tmpl/import/default_source.php000066600000005306151401355030012554 0ustar00
tmpl/import/default_file.php000066600000011213151401355030012165 0ustar00
tmpl/import/index.html000066600000000054151401355030011027 0ustar00tmpl/com_akeebasubs/export/.htaccess000066600000000177151401355030013610 0ustar00 Order allow,deny Deny from all tmpl/com_akeebasubs/export/default_subscription.php000066600000006724151401355030016757 0ustar00
form->getLabel('orderuser', 'order'); ?>
form->getInput('orderuser', 'order'); ?>
form->getLabel('orderproduct', 'order'); ?>
form->getInput('orderproduct', 'order'); ?>
tmpl/com_akeebasubs/export/default_file.php000066600000012172151401355030015144 0ustar00
tmpl/com_akeebasubs/export/index.html000066600000000054151401355030014001 0ustar00tmpl/com_akeebasubs/index.html000066600000000054151401355030012460 0ustar00tmpl/com_akeebasubs/.htaccess000066600000000177151401355030012267 0ustar00 Order allow,deny Deny from all tmpl/export/default_source.php000066600000004201151401355030012554 0ustar00
tmpl/export/default_fields.php000066600000041722151401355030012533 0ustar00 form->getValue('operation', 'options') == 'customexport') { ?>
form->getInput('custom_table'); ?>

'addRow')); ?> templatefields, '_field_name', null, 'value', 'text', null, '_field_name'); ?> replacements, '_replace_field', '', 'value', 'text', '', '_replace_field_default'); ?>

template->get('export_fields'); if (isset($export_fields['_selected_name'])) { for ($rows = 0; $rows < count($export_fields['_selected_name']); $rows++) { $id = mt_rand(); ?>
replacements, 'jform[export_fields][_replace_field]['.$rows.']', '', 'value', 'text', $export_fields['_replace_field'][$rows], '_replace_field_'.$id); ?>
templatefields as $fieldname) { ?>
text; ?>
tmpl/export/default_email.php000066600000003253151401355030012351 0ustar00
form->getLabel('export_email_body', 'email'); ?>
form->getInput('export_email_body', 'email'); ?>
tmpl/export/default_layout.php000066600000002254151401355030012577 0ustar00
tmpl/export/.htaccess000066600000000177151401355030010645 0ustar00 Order allow,deny Deny from all tmpl/export/index.html000066600000000054151401355030011036 0ustar00tmpl/export/default_limit.php000066600000002677151401355030012411 0ustar00
view.result.php000066600000003211151401355030007542 0ustar00input; // Load the settings $this->loadHelper('settings'); $settings = new CsviSettings(); if ($settings->get('log.log_store', 1)) { // Load the results from the log $this->logresult = $this->get('Stats', 'log'); // Get the run time $session = JFactory::getSession(); $runtime = $session->get('com_csvi.runtime'); if ($runtime > 0) $runtime = time()-$runtime; $this->assignRef('runtime', JText::sprintf('COM_CSVI_RUNTIME_IMPORT', number_format($runtime/60, 2), $runtime)); // Reset the run time $session->set('com_csvi.runtime', null); // Get the toolbar title JToolBarHelper::title(JText::_('COM_CSVI_'.$this->logresult['action'].'_RESULT'), 'csvi_'.$this->logresult['action'].'_48'); } else $this->logresult = false; // Get the panel $this->loadHelper('panel'); // Display it all parent::display($tpl); } } ?> .htaccess000066600000000177151401355030006350 0ustar00 Order allow,deny Deny from all