Exemple #1
0
 /**
  * View Export Form
  *
  * @access	private
  *
  * @param 	string $tpl Template
  */
 private function _displayExportForm($tpl)
 {
     $app = JFactory::getApplication();
     $template = $app->getTemplate();
     $uri = JFactory::getURI();
     $uri_string = str_replace('&', '&', $uri->toString());
     // Get the select lists for the export_fields, file format, delimiter, enclosure
     $lists['export_fields'] = BwPostmanHTMLHelper::getExportFieldsList();
     $lists['fileformat'] = BwPostmanHTMLHelper::getFileFormatList();
     $lists['delimiter'] = BwPostmanHTMLHelper::getDelimiterList();
     $lists['enclosure'] = BwPostmanHTMLHelper::getEnclosureList();
     // We need a RAW-view for the export function
     $uri->setVar('format', 'raw');
     // Save a reference into view
     $this->assignRef('lists', $lists);
     $this->assignRef('request_url_raw', $uri_string);
     $this->assignRef('template', $template);
     $this->addToolbar();
 }
Exemple #2
0
							<div id="cpanel" class="cpanel_j3">
								<?php 
$option = $jinput->getCmd('option', 'com_bwpostman');
$link = 'index.php?option=' . $option . '&view=maintenance&layout=checkTables';
BwPostmanHTMLHelper::quickiconButton($link, 'icon-48-tablecheck.png', JText::_("COM_BWPOSTMAN_MAINTENANCE_CHECK_TABLES"), '', '');
$link = 'index.php?option=' . $option . '&view=maintenance&task=maintenance.saveTables';
BwPostmanHTMLHelper::quickiconButton($link, 'icon-48-tablestore.png', JText::_("COM_BWPOSTMAN_MAINTENANCE_SAVE_TABLES"), 0, 0);
$link = 'index.php?option=' . $option . '&view=maintenance&task=maintenance.restoreTables';
BwPostmanHTMLHelper::quickiconButton($link, 'icon-48-tablerestore.png', JText::_("COM_BWPOSTMAN_MAINTENANCE_RESTORE_TABLES"), 0, 0);
$canDo = BwPostmanHelper::getActions();
if ($canDo->get('core.manage')) {
    $link = 'index.php?option=com_config&amp;view=component&amp;component=' . $option . '&amp;path=';
    BwPostmanHTMLHelper::quickiconButton($link, 'icon-48-config.png', JText::_("COM_BWPOSTMAN_SETTINGS"), '', '');
}
$link = 'http://www.boldt-webservice.de/forum/bwpostman.html';
BwPostmanHTMLHelper::quickiconButton($link, 'icon-48-forum.png', JText::_("COM_BWPOSTMAN_FORUM"), 0, 0, 'new');
?>
							</div>
						</td>
					</tr>
				</table>
			</div>
			<div id="loading" style="display: none;"></div>
	</div>
	<div class="clr clearfix"></div>
	<p class="bwpm_copyright"><?php 
echo BwPostmanAdmin::footer();
?>
</p>
</div>