| Current Path : /home/cbequiperp/www/administrator/components/com_rsform/views/submissions/tmpl/ |
| Current File : /home/cbequiperp/www/administrator/components/com_rsform/views/submissions/tmpl/export.php |
<?php
/**
* @package RSForm! Pro
* @copyright (C) 2007-2019 www.rsjoomla.com
* @license GPL, http://www.gnu.org/copyleft/gpl.html
*/
defined('_JEXEC') or die('Restricted access');
JText::script('ERROR');
JText::script('RSFP_EXPORT_PLEASE_SELECT');
JHtml::_('bootstrap.tooltip');
JHtml::_('behavior.keepalive');
JHtml::_('script', 'com_rsform/admin/export.js', array('relative' => true, 'version' => 'auto'));
$this->document->addScriptDeclaration('jQuery(function(){ updateCSVPreview(); });');
?>
<form action="index.php?option=com_rsform" method="post" id="adminForm" name="adminForm">
<?php
if ($this->exportType == 'csv') {
// prepare the content
echo $this->loadTemplate('preview');
}
// add the tab title
$this->tabs->addTitle(JText::_('RSFP_EXPORT_SELECT_FIELDS'), 'export-fields');
// prepare the content
$content = $this->loadTemplate('fields');
// add the tab content
$this->tabs->addContent($content);
// add the tab title
$this->tabs->addTitle(JText::_($this->exportType == 'csv' ? 'RSFP_EXPORT_CSV_OPTIONS' : 'RSFP_EXPORT_OPTIONS'), 'export-options');
// prepare the content
$content = $this->loadTemplate('options');
// add the tab content
$this->tabs->addContent($content);
// render tabs
$this->tabs->render();
?>
<input type="hidden" name="task" value="submissions.exporttask" />
<input type="hidden" name="option" value="com_rsform" />
<input type="hidden" name="formId" value="<?php echo $this->formId; ?>" />
<input type="hidden" name="ExportType" value="<?php echo $this->exportType; ?>" />
<input type="hidden" name="ExportFile" value="<?php echo $this->exportFile; ?>" />
</form>