public static function getChartsHeadersHtml($selectedEngine) { global $mod_strings; $returnedHtml = ''; $returnedHtml .= ' <table id="charts_Table_Wrapper" class="edit view"> <tr> <td> <h4 class="reportPanelHeader">' . asol_ReportsManagementFunctions::getCollapsableHeader('LBL_REPORT_CHARTS_TITLE', 'charts') . '</h4> <h4> ' . $mod_strings['LBL_REPORT_CHARTS_ENGINE'] . ': ' . asol_ReportsManagementFunctions::getReportChartEngineSelectHtml($selectedEngine) . ' </h4> <table class="list view" id="charts_Table"> <thead> <tr> <th nowrap="nowrap" scope="col" class="center"> <input type="checkbox" class="massiveCheck_all" /> </th> <th nowrap="nowrap" scope="col"> <div align="left" width="100%" style="white-space: nowrap;"> ' . $mod_strings['LBL_REPORT_CHARTS_NAME'] . ' </div> </th> <th nowrap="nowrap" scope="col"> <div align="left" width="100%" style="white-space: nowrap;"> ' . $mod_strings['LBL_REPORT_DISPLAY'] . ' </div> </th> <th nowrap="no wrap" scope="col"> <div align="left" width="100%" style="white-space: nowrap;"> ' . $mod_strings['LBL_REPORT_CHARTS_TYPE'] . ' </div> </th> <th nowrap="nowrap" scope="col"> <div align="left" width="100%" style="white-space: nowrap;"> ' . $mod_strings['LBL_REPORT_CHARTS_Y_AXIS'] . ' </div> </th>'; //***********************// //***AlineaSol Premium***// //***********************// $returnedPremiumHtml = asol_ReportsUtils::managePremiumFeature("bubbleReportCharts", "reportFunctions.php", "getChartsZIndexHeader", null); $returnedHtml .= $returnedPremiumHtml !== false ? $returnedPremiumHtml : ''; //***********************// //***AlineaSol Premium***// //***********************// $returnedHtml .= ' <th nowrap="nowrap" scope="col"> <div align="right" style="white-space: nowrap;" width="100%"> <input type="button" class="button" value="' . $mod_strings['LBL_REPORT_ADD_CHART'] . '" onClick="insertChart(\'charts_Table\'); if (typeof window.hasPremiumJsFeatures == \'function\') { applyChartsRestrictions(); };"> <input type="hidden" value="0" id="chartsGlobalIndex"> </div> </th> </tr> </thead> <tfoot> <tr> <td colspan="7"> <input disabled type="button" class="massiveBtn_all" value="' . $mod_strings['LBL_REPORT_MULTIDELETE_CHART'] . '" onClick="deleteRowsByCustomCode(\'charts_Table\', \'massiveCheck\', \'massiveCheck_all\', \'massiveBtn_all\', \'LBL_REPORT_MULTIDELETE_CHART_ALERT\', \'deleteChartCode\');"/> </td> </tr> </tfoot> </table> </td> </tr> </table>'; return $returnedHtml; }