37 |
jpm |
1 |
<!-- REF - DEBUT DETAIL -->
|
181 |
jpm |
2 |
<h1><?=$nom_referentiel;?> (<?=$referentiel;?>)</h1>
|
37 |
jpm |
3 |
|
|
|
4 |
<?php if (isset($messages)) : ?>
|
|
|
5 |
<h2>Messages</h2>
|
|
|
6 |
<?php foreach ($messages as $message) : ?>
|
|
|
7 |
<p class="information"><?=$message;?></p>
|
|
|
8 |
<?php endforeach; ?>
|
|
|
9 |
<?php endif; ?>
|
|
|
10 |
|
|
|
11 |
<p>
|
170 |
delphine |
12 |
Vous pouvez <a href="<?=$url_menu_test;?>">tester</a> la <?=strtolower($referentiel);?>
|
37 |
jpm |
13 |
afin de contrôler les données saisies dans la version de travail.<br />
|
|
|
14 |
|
170 |
delphine |
15 |
Lorsqu'une version de travail est prête à être publiée, vous pouvez accéder à
|
37 |
jpm |
16 |
<a href="<?=$url_menu_versionnage;?>">l'outil de versionnage</a> pour réaliser
|
|
|
17 |
cette manipulation. Cette interface permet aussi de télécharger les versions précédentes.<br />
|
|
|
18 |
|
|
|
19 |
Enfin, il est possible de <a href="<?=$url_menu_consultation;?>">consulter</a> en permanence les données saisies
|
|
|
20 |
dans la version de travail.
|
|
|
21 |
</p>
|
276 |
aurelien |
22 |
|
340 |
delphine |
23 |
|
|
|
24 |
<h2>Téléchargement personnalisé</h2>
|
329 |
mathias |
25 |
<?php if(isset($url_telechargement_zip)): ?>
|
|
|
26 |
<div class="telecharger-resultat">
|
|
|
27 |
<h2>Votre téléchargement est prêt</h2>
|
|
|
28 |
Si le téléchargement ne commence pas automatiquement, cliquez sur le lien ci-dessous
|
|
|
29 |
<br/>
|
340 |
delphine |
30 |
<a id="telecharger_resultat" href="<?= $url_telechargement_zip ?>">Télécharger le référentiel</a><br />
|
|
|
31 |
Pour ouvrir les fichiers csv avec votre tableur, veuillez choisir l'encodage (jeu de caractères) UTF-8, le sépateur {tab} ou \t et aucune séparation de texte.
|
329 |
mathias |
32 |
</div>
|
|
|
33 |
<script type="text/javascript">
|
|
|
34 |
$(document).ready(function() {
|
|
|
35 |
document.location = $('#telecharger_resultat').attr('href');
|
|
|
36 |
});
|
|
|
37 |
</script>
|
|
|
38 |
<?php endif ?>
|
|
|
39 |
|
325 |
delphine |
40 |
<?php if (isset($versions) && !empty($versions)) { ?>
|
|
|
41 |
<form id="export" action="<?=$url_form_telech?>" method="post">
|
|
|
42 |
Pouvez-vous nous indiquer votre futur usage du référentiel ?<br />
|
|
|
43 |
<input type="radio" name="usage" id="usage" value="essai"/><label for="usage">essai</label>
|
|
|
44 |
<input type="radio" name="usage" id="usage" value="personnel"/><label for="usage">personnel</label>
|
|
|
45 |
<input type="radio" name="usage" id="usage" value="professionnel"/><label for="usage">professionnel</label><br /><br />
|
338 |
delphine |
46 |
Choississez la version que vous souhaitez télécharger :<br />
|
325 |
delphine |
47 |
<? foreach ($versions as $version) { ?>
|
|
|
48 |
<input type="radio" name="version" id="version" checked value="<?=$version['version']?>"/><label for="version">version <?=$version['version'].' du '.$version['date_prod']?></label><br />
|
|
|
49 |
<? } ?>
|
|
|
50 |
<br />
|
350 |
delphine |
51 |
Choississez le type d'encodage que vous souhaitez télécharger :<br />
|
351 |
delphine |
52 |
<input type="radio" name="encodage" id="encodage" checked value="big5"/><label for="encodage">Big5 Traditional Chinese (big5_chinese_ci )</label><br />
|
|
|
53 |
<input type="radio" name="encodage" id="encodage" checked value="dec8"/><label for="encodage">DEC West European (dec8_swedish_ci )</label><br />
|
|
|
54 |
<input type="radio" name="encodage" id="encodage" checked value="cp850"/><label for="encodage">DOS West European (cp850_general_ci )</label><br />
|
|
|
55 |
<input type="radio" name="encodage" id="encodage" checked value="hp8"/><label for="encodage">HP West European (hp8_english_ci )</label><br />
|
|
|
56 |
<input type="radio" name="encodage" id="encodage" checked value="koi8r"/><label for="encodage">KOI8-R Relcom Russian (koi8r_general_ci )</label><br />
|
|
|
57 |
<input type="radio" name="encodage" id="encodage" checked value="latin1"/><label for="encodage">cp1252 West European (latin1_swedish_ci )</label><br />
|
|
|
58 |
<input type="radio" name="encodage" id="encodage" checked value="latin2"/><label for="encodage">ISO 8859-2 Central European (latin2_general_ci )</label><br />
|
|
|
59 |
<input type="radio" name="encodage" id="encodage" checked value="swe7"/><label for="encodage">bit Swedish (swe7_swedish_ci)</label><br />
|
|
|
60 |
<input type="radio" name="encodage" id="encodage" checked value="ascii"/><label for="encodage">US ASCII (ascii_general_ci )</label><br />
|
|
|
61 |
<input type="radio" name="encodage" id="encodage" checked value="ujis"/><label for="encodage">EUC-JP Japanese (ujis_japanese_ci )</label><br />
|
|
|
62 |
<input type="radio" name="encodage" id="encodage" checked value="sjis"/><label for="encodage">Shift-JIS Japanese (sjis_japanese_ci )</label><br />
|
|
|
63 |
<input type="radio" name="encodage" id="encodage" checked value="hebrew"/><label for="encodage">ISO 8859-8 Hebrew (hebrew_general_ci )</label><br />
|
|
|
64 |
<input type="radio" name="encodage" id="encodage" checked value="tis620"/><label for="encodage">TIS620 Thai (tis620_thai_ci )</label><br />
|
|
|
65 |
<input type="radio" name="encodage" id="encodage" checked value="euckr"/><label for="encodage">EUC-KR Korean (euckr_korean_ci )</label><br />
|
|
|
66 |
<input type="radio" name="encodage" id="encodage" checked value="koi8u"/><label for="encodage">KOI8-U Ukrainian (koi8u_general_ci )</label><br />
|
|
|
67 |
<input type="radio" name="encodage" id="encodage" checked value="gb2312"/><label for="encodage">GB2312 Simplified Chinese (gb2312_chinese_ci )</label><br />
|
|
|
68 |
<input type="radio" name="encodage" id="encodage" checked value="greek"/><label for="encodage">ISO 8859-7 Greek (greek_general_ci )</label><br />
|
|
|
69 |
<input type="radio" name="encodage" id="encodage" checked value="cp1250"/><label for="encodage">Windows Central European (cp1250_general_ci )</label><br />
|
|
|
70 |
<input type="radio" name="encodage" id="encodage" checked value="gbk"/><label for="encodage">GBK Simplified Chinese (gbk_chinese_ci )</label><br />
|
|
|
71 |
<input type="radio" name="encodage" id="encodage" checked value="latin5"/><label for="encodage">ISO 8859-9 Turkish (latin5_turkish_ci )</label><br />
|
|
|
72 |
<input type="radio" name="encodage" id="encodage" checked value="armscii8"/><label for="encodage">ARMSCII-8 Armenian (armscii8_general_ci )</label><br />
|
|
|
73 |
<input type="radio" name="encodage" id="encodage" checked value="utf8"/><label for="encodage">UTF-8 Unicode (utf8_general_ci )</label><br />
|
|
|
74 |
<input type="radio" name="encodage" id="encodage" checked value="ucs2"/><label for="encodage">UCS-2 Unicode (ucs2_general_ci )</label><br />
|
|
|
75 |
<input type="radio" name="encodage" id="encodage" checked value="cp866"/><label for="encodage">DOS Russian (cp866_general_ci )</label><br />
|
|
|
76 |
<input type="radio" name="encodage" id="encodage" checked value="keybcs2"/><label for="encodage">DOS Kamenicky Czech-Slovak (keybcs2_general_ci )</label><br />
|
|
|
77 |
<input type="radio" name="encodage" id="encodage" checked value="macce"/><label for="encodage">Mac Central European (macce_general_ci )</label><br />
|
|
|
78 |
<input type="radio" name="encodage" id="encodage" checked value="macroman"/><label for="encodage">Mac West European (macroman_general_ci )</label><br />
|
|
|
79 |
<input type="radio" name="encodage" id="encodage" checked value="cp852"/><label for="encodage">DOS Central European (cp852_general_ci )</label><br />
|
|
|
80 |
<input type="radio" name="encodage" id="encodage" checked value="latin7"/><label for="encodage">ISO 8859-13 Baltic (latin7_general_ci )</label><br />
|
|
|
81 |
<input type="radio" name="encodage" id="encodage" checked value="utf8mb4"/><label for="encodage">UTF-8 Unicode (utf8mb4_general_ci )</label><br />
|
|
|
82 |
<input type="radio" name="encodage" id="encodage" checked value="cp1251"/><label for="encodage">Windows Cyrillic (cp1251_general_ci )</label><br />
|
|
|
83 |
<input type="radio" name="encodage" id="encodage" checked value="utf16"/><label for="encodage">UTF-16 Unicode (utf16_general_ci )</label><br />
|
|
|
84 |
<input type="radio" name="encodage" id="encodage" checked value="cp1256"/><label for="encodage">Windows Arabic (cp1256_general_ci )</label><br />
|
|
|
85 |
<input type="radio" name="encodage" id="encodage" checked value="cp1257"/><label for="encodage">Windows Baltic (cp1257_general_ci )</label><br />
|
|
|
86 |
<input type="radio" name="encodage" id="encodage" checked value="utf32"/><label for="encodage">UTF-32 Unicode (utf32_general_ci )</label><br />
|
|
|
87 |
<input type="radio" name="encodage" id="encodage" checked value="binary"/><label for="encodage">Binary pseudo charset (binary )</label><br />
|
|
|
88 |
<input type="radio" name="encodage" id="encodage" checked value="geostd8"/><label for="encodage">GEOSTD8 Georgian (geostd8_general_ci )</label><br />
|
|
|
89 |
<input type="radio" name="encodage" id="encodage" checked value="cp932"/><label for="encodage">SJIS for Windows Japanese (cp932_japanese_ci )</label><br />
|
|
|
90 |
<input type="radio" name="encodage" id="encodage" checked value="eucjpms"/><label for="encodage">UJIS for Windows Japanese (eucjpms_japanese_ci)</label><br />
|
350 |
delphine |
91 |
<br />
|
338 |
delphine |
92 |
Sélectionnez les données :<br />
|
|
|
93 |
<input type="checkbox" name="filtres[]" id="nnr" value="nnr"/><label for="filtres">que les noms retenus</label><br />
|
325 |
delphine |
94 |
<!-- à modifier pour tenir compte du référentiel -->
|
338 |
delphine |
95 |
<input type="checkbox" name="filtres[]" id="pre" value="pre"/><label for="filtres">que les taxons présents en France</label><br />
|
340 |
delphine |
96 |
<label for="filtres"><span title="Saisir un nom scientifique">de la famille</span></label><input type="text" name="filtres[]" id="famille"/><br />
|
325 |
delphine |
97 |
<br />
|
|
|
98 |
|
335 |
mathias |
99 |
Choississez les champs que vous souhaitez exporter
|
|
|
100 |
(cocher : <a class="curseur-pointeur" id="cocher-tous">tous</a> /
|
|
|
101 |
<a class="curseur-pointeur" id="cocher-base">champs de base</a> /
|
|
|
102 |
<a class="curseur-pointeur" id="decocher-tous">aucun</a>)
|
|
|
103 |
<br/>
|
331 |
mathias |
104 |
<?php $i = 0; ?>
|
|
|
105 |
<div class="colonne-cases">
|
325 |
delphine |
106 |
<?php foreach ($colonnesOrdonnees as $id => $description) { ?>
|
335 |
mathias |
107 |
<input type="checkbox" <?=$description[1]?> name="champs[]" id="<?=$id?>" value="<?=$id?>" <?= ($description[1] == 'checked') ? 'class="base"' : '' ?>/>
|
325 |
delphine |
108 |
<label for="$id"><span title=<?='"'.$description[2].'"'?>><?=$description[0]?></span></label><br />
|
331 |
mathias |
109 |
<?php if($i == 22): ?>
|
|
|
110 |
</div>
|
|
|
111 |
<div class="colonne-cases">
|
|
|
112 |
<?php endif ?>
|
|
|
113 |
<?php $i++; ?>
|
325 |
delphine |
114 |
<?php } ?>
|
331 |
mathias |
115 |
</div>
|
|
|
116 |
<br/>
|
|
|
117 |
<br/>
|
325 |
delphine |
118 |
<input type="submit" value="telecharger">
|
|
|
119 |
</form>
|
|
|
120 |
<?php } ?>
|
|
|
121 |
|
338 |
delphine |
122 |
<h2>Versions</h2>
|
|
|
123 |
<?php if (isset($infos_telechargements) && !empty($infos_telechargements)) { ?>
|
|
|
124 |
<?php foreach ($infos_telechargements as $info) : ?>
|
|
|
125 |
<?php foreach ($info['urls_zip'] as $zip => $url) : ?>
|
|
|
126 |
<div class="lien_telechargement">
|
|
|
127 |
<a href="<?=$url?>">
|
|
|
128 |
Télécharger la version <?=$zip?>
|
|
|
129 |
</a>
|
|
|
130 |
<span class="description_telechargement"><?=$info['description']?></span></div>
|
|
|
131 |
<?php endforeach; ?>
|
|
|
132 |
<?php endforeach; ?>
|
|
|
133 |
<?php } else { ?>
|
|
|
134 |
<p> Aucun téléchargement n'est disponible pour ce référentiel </p>
|
|
|
135 |
<?php } ?>
|
325 |
delphine |
136 |
|
|
|
137 |
|
|
|
138 |
|
|
|
139 |
|
|
|
140 |
|
338 |
delphine |
141 |
|
37 |
jpm |
142 |
<!-- REF - FIN DETAIL -->
|