2017-12-04 03:04:33 +08:00
|
|
|
<?php
|
|
|
|
if ( isset($_REQUEST['eids']) ) {
|
|
|
|
$eidParms = array();
|
|
|
|
foreach ( $_REQUEST['eids'] as $eid )
|
2018-05-18 21:52:12 +08:00
|
|
|
$eidParms[] = 'eids[]='.validInt($eid);
|
2017-12-04 03:04:33 +08:00
|
|
|
?>
|
2018-05-18 21:52:12 +08:00
|
|
|
var eidParm = '<?php echo join('&', $eidParms) ?>';
|
2017-12-04 03:04:33 +08:00
|
|
|
<?php
|
|
|
|
} else if (isset($_REQUEST['eid'])) {
|
|
|
|
?>
|
|
|
|
var eidParm = 'eid=<?php echo validInt($_REQUEST['eid']) ?>';
|
|
|
|
<?php
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
|
|
|
|
var exportReady = <?php echo !empty($_REQUEST['generated'])?'true':'false' ?>;
|
2019-07-25 00:31:43 +08:00
|
|
|
var exportFile = '?view=archive&type=<?php echo $exportFormat; ?>&connkey=<?php echo $connkey; ?>';
|
|
|
|
var connkey = '<?php echo $connkey ?>';
|
2017-12-04 03:04:33 +08:00
|
|
|
|
|
|
|
var exportProgressString = '<?php echo addslashes(translate('Exporting')) ?>';
|