AAAA.htaccess000066600000000177151453246600006361 0ustar00 Order allow,deny Deny from all index.html000066600000000054151453246600006552 0ustar00tmpl/.htaccess000066600000000177151453246600007335 0ustar00 Order allow,deny Deny from all tmpl/index.html000066600000000054151453246600007526 0ustar00tmpl/default.php000066600000006345151453246600007677 0ustar00state->get('list.ordering'); $listDirn = $this->state->get('list.direction'); ?>
: actions; ?> components; ?> operations; ?> name="filter_idfields" id="filter_idfields" />
pagination->getResultsCounter(); ?>
availablefields ); $i < $n; $i++) { $row = $this->availablefields[$i]; ?>
pagination->getListFooter(); ?>
pagination->getRowOffset($i); ?> csvi_name; if ($row->isprimary) echo ''.JText::_('COM_CSVI_IS_PRIMARY').''; ?> component_name; ?> component_table; ?>
view.html.php000066600000006066151453246600007214 0ustar00availablefields = $this->get('Items'); // Load the pagination $this->pagination = $this->get('Pagination'); // Load the user state $this->state = $this->get('State'); if (!$this->get('FieldCheck')) Throw new Exception(JText::_('COM_CSVI_NO_AVAILABLE_FIELDS'), 0); // Get the list of actions $options = array(); $options[] = JHtml::_('select.option', 'import', JText::_('COM_CSVI_IMPORT')); $options[] = JHtml::_('select.option', 'export', JText::_('COM_CSVI_EXPORT')); $this->actions = JHtml::_('select.genericlist', $options, 'jform_options_action', 'onchange="Csvi.loadTemplateTypes();"', 'value', 'text', $this->state->get('filter.action', '')); // Get the list of supported components $this->components = JHtml::_('select.genericlist', CsviHelper::getComponents(), 'jform_options_component', 'onchange="Csvi.loadTemplateTypes();"', 'value', 'text', $this->state->get('filter.component')); // Get the list of template types $model = $this->getModel(); $templates_model = $model->getModel('templates'); $operations = $templates_model->getTemplateTypes($this->state->get('filter.action', 'import'), $this->state->get('filter.component', false)); // Create the operations list $this->operations = JHtml::_('select.genericlist', $operations, 'jform_options_operation', '', 'value', 'name', $this->state->get('filter.operation'), false, true); // Get the panel $this->loadHelper('panel'); // Show the toolbar $this->addToolbar(); // Display it all parent::display($tpl); } /** * Display the toolbar * * @copyright * @author RolandD * @todo * @see * @access protected * @param * @return * @since 3.0 */ protected function addToolbar() { JToolBarHelper::title(JText::_('COM_CSVI_AVAILABLE_FIELDS'), 'csvi_availablefields_48'); JToolBarHelper::custom('maintenance.updateavailablefields', 'csvi_availablefields_32', 'csvi_availablefields_32', JText::_('COM_CSVI_UPDATE'), false); //JToolBarHelper::help('available_fields.html', true); } } ?>