protected function HTMLEditReport($id)
 {
     global $wgExtensionsPath, $wgResourceBasePath;
     $wgOut = F::app()->getGlobal('wgOut');
     $oTmpl = new EasyTemplate(dirname(__FILE__) . "/templates/");
     $wgOut->addScript("<script src=\"{$wgExtensionsPath}/wikia/SponsorshipDashboard/js/SponsorshipDashboardEditor.js\" ></script>\n");
     $wgOut->addScript("<script src=\"{$wgResourceBasePath}/resources/wikia/libraries/jquery/flot/jquery.flot.js\"></script>\n");
     $wgOut->addScript("<script src=\"{$wgResourceBasePath}/resources/wikia/libraries/jquery/flot/jquery.flot.selection.js\"></script>\n");
     $wgOut->addStyle(AssetsManager::getInstance()->getSassCommonURL('extensions/wikia/SponsorshipDashboard/css/SponsorshipDashboardEditor.scss'));
     $wgOut->addStyle(AssetsManager::getInstance()->getSassCommonURL('extensions/wikia/SponsorshipDashboard/css/SponsorshipDashboard.scss'));
     $this->HTMLAdminHeader('ViewReports');
     $report = new SponsorshipDashboardReport($id);
     $report->loadReportParams();
     $menuItems = $report->getMenuItemsHTML();
     $reportParams = $report->getReportParams();
     $oTmpl->set_vars(array('menuItems' => $menuItems, 'reportParams' => $reportParams, 'reportEditorPath' => SpecialPage::getTitleFor('SponsorshipDashboard')->getInternalURL() . '/' . self::ADMIN . '/ViewReports'));
     $wgOut->addHTML($oTmpl->render('admin/editReport'));
     return false;
 }