get_parms('token', 'get', 'type'); ob_start(null, 0); try { $datas = ((random::helloToken($parm['token']))); } catch (Exception_NotFound $e) { phrasea::headers(204); } if ( ! is_string($datas['datas'])) phrasea::headers(204); if (($list = @unserialize($datas['datas'])) == false) { phrasea::headers(500); } $registry = registry::get_instance(); $zipFile = $registry->get('GV_RootPath') . 'tmp/download/' . $datas['value'] . '.zip'; if (isset($parm['get']) && $parm['get'] == '1') { $response = set_export::stream_file($zipFile, $list['export_name'], 'application/zip'); $response->send(); set_export::log_download($list, $parm['type'], true, (isset($list['email']) ? $list['email'] : '')); return; } $files = $list['files']; $zip_done = $zip_building = false; if (isset($list['complete'])) { if ($list['complete'] == true) $zip_done = true; else $zip_building = true; } phrasea::headers(); ?> <?php echo _('phraseanet:: Telechargement de documents'); ?> anonyme

', ''); ?>

10 ? 10 : $time); ?>
() $v) { echo $v['label'] . '
'; $size += $v['size']; } ?>