AAAAindex.html000066600000000054151400311650006540 0ustar00view.html.php000066600000004037151400311650007176 0ustar00components = $this->get('Components'); // Get the maintenance options $this->options = $this->get('MaintenanceOptions'); $app = JFactory::getApplication(); $app->setUserState('com_csvi.global.form', false); // Load the results $jinput = JFactory::getApplication()->input; $settings = $jinput->get('settings', null, null); if ($settings->get('log.log_store', 1)) { $this->logresult = $this->get('Stats', 'log'); $this->logmessage = $this->get('StatsMessage', 'log'); } else $this->logresult = false; // Get the panel $this->loadHelper('panel'); // Show the toolbar JToolBarHelper::title(JText::_('COM_CSVI_MAINTENANCE'), 'csvi_maintenance_48'); if ($this->getLayout() != 'log') { JToolBarHelper::custom('cron.cron', 'csvi_cron_32', 'csvi_cron_32', JText::_('COM_CSVI_CRONLINE'), false); JToolBarHelper::custom('', 'csvi_continue_32.png', 'csvi_continue_32.png', JText::_('COM_CSVI_CONTINUE'), false); //JToolBarHelper::help('maintenance.html', true); } else if ($settings->get('log.log_store', 1)) { JToolBarHelper::custom('logdetails.logdetails', 'csvi_logdetails_32', 'csvi_logdetails_32', JText::_('COM_CSVI_LOG_DETAILS'), false); } // Display it all parent::display($tpl); } } ?> tmpl/icecat.php000066600000005732151400311650007470 0ustar00
tmpl/log.php000066600000003500151400311650007010 0ustar00logresult) { ?> logresult['result']) > 0) { foreach ($this->logresult['result'] as $result => $log) { ?>
logresult['action_type']); ?>
total_result; ?> result; ?> status); ?>
operation[0].'_LABEL')); echo '
'; echo '
'; echo JText::_('COM_CSVI_NO_LOG_EXPLAIN'); } ?> tmpl/default.php000066600000003651151400311650007662 0ustar00
components, 'component', 'onchange=CsviMaint.loadOperation(this.value)','value', 'text', null, false, true); ?> options, 'operation', 'onchange=CsviMaint.loadOptions(this.value)'); ?>
tmpl/.htaccess000066600000000177151400311650007323 0ustar00 Order allow,deny Deny from all tmpl/index.html000066600000000054151400311650007514 0ustar00tmpl/default_sortcategories.php000066600000001706151400311650012776 0ustar00
tmpl/cron.php000066600000002323151400311650007172 0ustar00input; $csvilog = $jinput->get('csvilog', null, null); // Display any messages there are if (!empty($csvilog->logmessage)) echo $csvilog->logmessage; else { echo JText::sprintf('COM_CSVI_RESULTS_FOR', JText::_('COM_CSVI_'.strtoupper(JRequest::getCmd('task')).'_LABEL'))."\n"; echo str_repeat("=", (strlen(JText::_('COM_CSVI_RESULTS_FOR'))+strlen(JRequest::getCmd('task'))+1))."\n"; if (!empty($this->logresult['result'])) { echo JText::_('COM_CSVI_TOTAL')."\t\t".JText::_('COM_CSVI_RESULT')."\t\t".JText::_('COM_CSVI_STATUS')."\n"; foreach ($this->logresult['result'] as $result => $log) { echo $log->total_result."\t\t".$log->result."\t\t".JText::_('COM_CSVI_'.$log->status)."\n"; } } else echo JText::_('COM_CSVI_NO_RESULTS_FOUND')."\n"; } ?>tmpl/availablefields.php000066600000003734151400311650011347 0ustar00
tmpl/default_icecat.php000066600000006777151400311650011206 0ustar00
view.raw.php000066600000002042151400311650007015 0ustar00loadTemplate('icecat'); break; case 'sortcategories': $this->languages = $this->get('Languages'); echo $this->loadTemplate('sortcategories'); break; } } } ?> .htaccess000066600000000177151400311650006347 0ustar00 Order allow,deny Deny from all view.json.php000066600000004444151400311650007205 0ustar00input; $task = strtolower($jinput->get('task')); switch ($task) { case 'icecatindex': case 'updateavailablefields': JToolBarHelper::custom('cancelimport', 'csvi_cancel_32', 'csvi_cancel_32', JText::_('COM_CSVI_CANCEL'), false); // Display it all parent::display($tpl); break; case 'icecatsingle': $this->get('IcecatSingle'); $result['view'] = ''; // Get the number of records processed $result['records'] = $jinput->get('linesprocessed', 0, 'int'); if ($jinput->get('finished', false, 'bool')) { $result['process'] = false; $result['url'] = JURI::root().'administrator/index.php?option='.$jinput->get('option').'&task=logdetails.logdetails&run_id[]='.$jinput->get('run_id', 0, 'int'); } else { $result['process'] = true; } // Output the results echo json_encode($result); break; case 'updateavailablefieldssingle': $continue = $this->get('AvailableFieldsSingle', 'availablefields'); $result['view'] = ''; // Get the number of records processed $result['table'] = $jinput->get('updatetable', '', 'string'); if (!$continue) { $result['process'] = false; $result['url'] = JURI::root().'administrator/index.php?option='.$jinput->get('option').'&task=logdetails.logdetails&run_id='.$jinput->get('run_id', 0, 'int'); // Store the log results $this->get('finishProcess'); } else { $result['process'] = true; } // Output the results echo json_encode($result); break; } } } ?>