AAAAinput; $template = $jinput->get('template', null, null); $csvilog = $jinput->get('csvilog', null, null); // Check if this template can be exported from frontend if (!$template->get('export_frontend','general')) { $csvilog->AddStats('incorrect', JText::_('COM_CSVI_NO_EXPORT_ALLOWED')); $jinput->set('logcount', 0); echo JText::_('COM_CSVI_NO_EXPORT_ALLOWED'); // Store the log results $this->get('StoreLogResults', 'log'); } else { $result = $this->get('ProcessData', 'exportfile'); if (!$result) { echo JText::_('COM_CSVI_EXPORT_FAILED'); } } } } ?>