示例#1
0
    function display($tpl = null)
    {
        JToolBarHelper::title(LAP_COMPONENT_NAME . ': ' . JText::_('JHELP'), 'plotalot.png');
        JToolBarHelper::cancel('cancel', 'JTOOLBAR_CLOSE');
        // we need a form for the trace controls and the cancel button
        ?>
	<form action="index.php" method="post" name="adminForm" id="adminForm">
		<input type="hidden" name="option" value="<?php 
        echo LAP_COMPONENT;
        ?>
" />
		<input type="hidden" name="task" value="" />
		<input type="hidden" name="controller" value="" />		
	</form>
<?php 
        // build the help screen
        $help['name'] = LAP_COMPONENT_NAME;
        $help['prefix'] = 'COM_PLOTALOT';
        $help['current_version'] = LAP_trace::getComponentVersion();
        $help['reference'] = 'plotalot';
        $help['link_version'] = "http://www.lesarbresdesign.info/version-history/plotalot";
        $help['link_doc'] = "http://www.lesarbresdesign.info/extensions/plotalot/downloads";
        $help['link_rating'] = "http://extensions.joomla.org/extensions/financial/graphs-and-charts/11717";
        $this->draw_help($help);
        // make the trace controls
        echo '<p></p>';
        echo LAP_trace::make_trace_controls('help');
    }
示例#2
0
 function trace_off()
 {
     LAP_trace::delete_trace_file();
     $this->setRedirect(LAP_COMPONENT_LINK . '&task=help');
 }