</div>'; if (isset($justDisplay) && $justDisplay) { if ($returnHtml) { return $detailViewHttpFile; } else { echo $detailViewHttpFile; } } else { $exportHttpFile = fopen($tmpFilesDir . $httpHtmlFile, "w"); fwrite($exportHttpFile, $detailViewHttpFile); fclose($exportHttpFile); if ($returnHtml) { return false; } } } else { $detailViewHttpFile .= '<style> #dashletExport' . $dashletId . ' { display: none; } </style> <div class="detail view"> ' . asol_ReportsGenerationFunctions::getReportHeaderInfo($isDashlet, $externalCall, $mod_strings['LBL_REPORT_NOT_AVAILABLE'], null, null) . ' </div>'; if ($returnHtml) { return $detailViewHttpFile; } else { echo $detailViewHttpFile; } }