Subversion Repositories Applications.referentiel

Rev

Rev 106 | Rev 113 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 106 Rev 110
Line 34... Line 34...
34
				</tr>				
34
				</tr>				
35
			</thead>
35
			</thead>
36
			<tbody>
36
			<tbody>
37
				<? if (isset($selectionne)) : ?>
37
				<? if (isset($selectionne)) : ?>
38
					<tr>
38
					<tr>
39
						<th>Nom sélectionné</th>
39
						<th>Nom sélectionné <?=($num_nom == $num_nom_retenu) ? '(retenu)' : ''?></th>
40
						<td><?=$selectionne['nom_complet'];?>
40
						<td><?=$selectionne['nom_complet'];?>
41
							<? if ($selectionne['nom_complet'] != '') : ?>
41
							<? if ($selectionne['nom_complet'] != '') : ?>
42
								<a href="<?=Recherche::getUrlRecherche($selectionne['nom_complet'], $referentiel)?>">
42
								<a href="<?=Recherche::getUrlRecherche($selectionne['nom_complet'], $referentiel)?>">
43
									<img src="./interfaces/squelettes/css/referentiel/images/data_query.png" alt="rechercher"/>
43
									<img src="./interfaces/squelettes/css/referentiel/images/data_query.png" alt="rechercher"/>
44
								</a>
44
								</a>
Line 269... Line 269...
269
		<h2>Synonymie</h2>
269
		<h2>Synonymie</h2>
270
		<? if (isset($fiche_synonymie)) : ?>
270
		<? if (isset($fiche_synonymie)) : ?>
271
			<? foreach ($fiche_synonymie as $type => $synonymes) : ?>
271
			<? foreach ($fiche_synonymie as $type => $synonymes) : ?>
272
			<table>
272
			<table>
273
				<thead>
273
				<thead>
274
					<tr><th colspan="3"><?=($type == 'Homonymie (sensu)') ? $type : "Synonymie ".$type;?></th></tr>
-
 
275
					<tr>
274
					<tr>
276
						<?=($type == 'Homonymie (sensu)') ? "<th>Homonyme</th>" : '';?>
275
						<th><?=($type == 'Homonymie (sensu)') ? $type : "Synonymie ".$type;?></th>
-
 
276
						<th class="vide" colspan="<?=($type == 'Homonymie (sensu)' || $type == 'mal appliquée') ? '6' : '5';?>">&nbsp;</th>
-
 
277
					</tr>
-
 
278
					<tr>
277
						<?=($type == 'mal appliquée') ? "<th></th>" : '';?>
279
						<?=($type == 'Homonymie (sensu)' || $type == 'mal appliquée') ? "<th>Statut</th>" : '';?>
278
						<th>Nom scientifique</th>
280
						<th>Nom scientifique</th>
279
						<th>Auteur</th>
281
						<th>Auteur</th>
280
						<th>Année</th>
282
						<th>Année</th>
281
						<th>Référence bibliographique</th>
283
						<th>Référence bibliographique</th>
282
						<th>Nom addendum</th>
284
						<th>Nom addendum</th>
283
						<th title="Identifiant numérique du nom scientifique">Id</th>
285
						<th title="Identifiant numérique du nom scientifique">Id</th>
284
					</tr>				
286
					</tr>				
285
				</thead>
287
				</thead>
286
				<tbody>
288
				<tbody>
287
					<? foreach ($synonymes as $synonyme) : ?>
289
					<? foreach ($synonymes as $synonyme) : ?>
288
						<?=($synonyme['num_nom'] == $synonyme['num_nom_retenu'])? "<tr class='nom_retenu'>" : "<tr>";?>
290
						<?=($synonyme['num_nom'] == $synonyme['num_nom_retenu'])? '<tr class="nom_retenu">' : "<tr>";?>
289
							<?=($type == 'Homonymie (sensu)') ? "<td>".$synonyme['homonyme']."</td>" : "";?>
-
 
290
							<?=($type == 'mal appliquée') ? "<td>".$synonyme['statut']."</td>" : "";?>
291
							<?=($type == 'Homonymie (sensu)' || $type == 'mal appliquée') ? "<td>".$synonyme['statut']."</td>" : "";?>
291
							<td>
292
							<td>
292
								<a href="<?=Recherche::getUrlFicheTaxon($synonyme)?>"><?=$synonyme['nom_complet'];?></a>
293
								<a href="<?=Recherche::getUrlFicheTaxon($synonyme)?>"><?=$synonyme['nom_complet'];?></a>
293
							</td>
294
							</td>
294
							<td><?=$synonyme['auteur'];?></td>
295
							<td><?=$synonyme['auteur'];?></td>
295
							<td><?=$synonyme['annee'];?></td>
296
							<td><?=$synonyme['annee'];?></td>
Line 322... Line 323...
322
							<th title="Identifiant numérique du nom scientifique">Id</th>
323
							<th title="Identifiant numérique du nom scientifique">Id</th>
323
						</tr>				
324
						</tr>				
324
					</thead>
325
					</thead>
325
					<tbody>
326
					<tbody>
326
						<? if ($class != '') : ?>
327
						<? if ($class != '') : ?>
327
							<? foreach ($class as $rang=>$taxon) : ?>
328
							<? foreach ($class as $rang => $taxon) : ?>
328
								<tr>
329
								<tr>
329
									<? if ($type == 'inférieurs') : ?>
330
									<? if ($type == 'inférieurs') : ?>
330
										<? for ($i=1; $i<=$niveau; $i++) : ?>
331
										<? for ($i = 1; $i <= $niveau; $i++) : ?>
331
											<? if ($i == $taxon['niveau']) :  ?>
332
											<? if ($i == $taxon['niveau']) :  ?>
332
												<td><?=$taxon['rang'];?></td>
333
												<td><?=$taxon['rang'];?></td>
333
											<? else : ?>
334
											<? else : ?>
334
												<td></td>	
335
												<td></td>	
335
											<? endif; ?>	
336
											<? endif; ?>	
336
										<? endfor; ?>
337
										<? endfor; ?>
337
									<? else : ?>
338
									<? else : ?>
338
										<td><?=$taxon['rang'];?></td>	
339
										<td><?=$taxon['rang'];?></td>	
339
									<? endif; ?>		
340
									<? endif; ?>		
-
 
341
									<td>
340
									<td><?=$taxon['nom_complet'];?></td>
342
										<a href="<?=Recherche::getUrlFicheTaxon($taxon)?>"><?=$taxon['nom_complet'];?></a>
-
 
343
									</td>
341
									<td><?=$taxon['auteur'];?></td>
344
									<td><?=$taxon['auteur'];?></td>
342
									<td><?=$taxon['annee'];?></td>
345
									<td><?=$taxon['annee'];?></td>
343
									<td><?=$taxon['biblio_origine'];?></td>
346
									<td><?=$taxon['biblio_origine'];?></td>
344
									<td><?=$taxon['nom_addendum'];?></td>
347
									<td><?=$taxon['nom_addendum'];?></td>
345
									<td><?=$taxon['num_nom'];?></td>
348
									<td><?=$taxon['num_nom'];?></td>
Line 362... Line 365...
362
	</div>
365
	</div>
Line 363... Line 366...
363
 
366
 
364
	<div id="ref-ref-chorologie">
367
	<div id="ref-ref-chorologie">
365
		<h2>Chorologie</h2>
368
		<h2>Chorologie</h2>
-
 
369
		<? if (isset($chorologie)) : ?>
366
		<? if (isset($chorologie)) : ?>
370
		<table class="largeur-09">
367
		<table>
371
			<thead>
368
			<tr>
372
				<tr>
369
				<th>&nbsp;</th>
373
					<th class="largeur-03 vide">&nbsp;</th>
370
				<? foreach ($chorologie['Présence'] as $lieu=>$valeur) : ?>
374
					<? foreach ($chorologie['Présence'] as $lieu=>$valeur) : ?>
371
				<th><?=$lieu?></th>
375
					<th class="largeur-02"><?=$lieu?></th>
372
				<? endforeach ?>
376
					<? endforeach ?>
-
 
377
				</tr>
-
 
378
			</thead>
373
			</tr>
379
			<tbody>
374
			<? foreach ($chorologie as $param=>$lieux) : ?>
380
			<? foreach ($chorologie as $param=>$lieux) : ?>
375
				<tr>
381
				<tr>
376
					<th><?=$param?></th>
382
					<th><?=$param?></th>
377
					<? foreach ($lieux as $lieu) : ?>
383
					<? foreach ($lieux as $lieu) : ?>
378
						<td title="<?=$lieu['valeur']?>"><?=$lieu['code']?></td>
384
						<td><?=($lieu['code'] != '') ? $lieu['valeur'].' ('.$lieu['code'].')' : '&nbsp;'?></td>
379
					<? endforeach ?>
385
					<? endforeach ?>
380
				</tr>	
386
				</tr>	
-
 
387
			<? endforeach ?>
381
			<? endforeach ?>
388
			</tbody>
382
		</table>
389
		</table>
383
		<? else : ?>
390
		<? else : ?>
384
		<p>Aucune information disponible</p>
391
		<p>Aucune information disponible</p>
385
		<? endif ?>
392
		<? endif ?>