
{* ============================================================================================= *}
{* === CLI REPORT GENERATING =================================================================== *}
{* ============================================================================================= *}
{if $runningPlatform=="cli"}

	<div class="generatingReport">

		<div class="generatingReportTitle">
			{$_LANG.reportsGeneration.startReport.tpl.reportIsGenerating}
		</div>

		<div class="generatingReportTextCli">
			{$_LANG.reportsGeneration.startReport.tpl.cliClosePage}
		</div>

		<div class="generatingReportButtonCli">
			<button onclick="window.close();"> {$_LANG.reportsGeneration.startReport.tpl.closePageButton} </button>
		</div>

	</div>

{/if}


{* ============================================================================================= *}
{* === CURRENT PAGE REPORT GENERATING ========================================================== *}
{* ============================================================================================= *}
{if $runningPlatform=="currentPage"}

	<div class="generatingReport">

		<div class="generatingReportTitle">
			{$_LANG.reportsGeneration.startReport.tpl.reportIsGenerating}
		</div>

		<div class="generatingReportTextCurrentPage" id="dontClosePageDiv">
			{$_LANG.reportsGeneration.startReport.tpl.currPageDontClosePage}
		</div>

		<div class="finishedReportTextCurrentPage" id="closePageDiv" style="display:none">
			{$_LANG.reportsGeneration.startReport.tpl.currPageClosePage}
		</div>

	</div>

	<iframe class="{if $showIframe}generatingReportIframeDebug{else}generatingReportIframe{/if}" src="../processReport/index.php?idReportGenerating={$idReportGenerating}" frameborder="0"></iframe>

{/if}


<div style="height:50px;">&nbsp;</div>

<center>
	<div id="displayReportStatus"></div>
</center>