1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<?php
$export_title = _("Export");
function exportJS() {?>
data_export = new EXPORT("export_format_sel", "export_resample_sel", "export_mask_sel", "export_window_sel");
adei.AttachExportModule(data_export);
<?}
function exportPage() {
?>
<div class="module" id="module_export">
<table class="select_table"><tr><?
echo "<td>" . _("Format") . "</td><td><select id=\"export_format_sel\" onchange='javascript:data_export.UpdateFormat(this.value)'><option>Loading...</option></select></td>";
?></tr><tr><?
echo "<td>" . _("Resample") . "</td><td><select id=\"export_resample_sel\" onchange='javascript:data_export.UpdateSampling(this.value)'><option>Loading...</option></select></td>";
?></tr><tr><?
echo "<td>" . _("Items") . "</td><td><select id=\"export_mask_sel\" onchange='javascript:data_export.UpdateMask(this.value)'><option>Loading...</option></select></td>";
?></tr><tr><?
echo "<td>" . _("Window") . "</td><td><select id=\"export_window_sel\" onchange='javascript:data_export.UpdateWindow(this.value)'><option>Loading...</option></select></td>";
?></tr><tr class="export_apply">
<td colspan="2"><button id="export_button" type="button" onclick="javascript:data_export.Export()"><?echo translate("Export");?></button></td>
</tr></table>
</div>
<?
}?>
|