Subversion Repositories Applications.referentiel

Rev

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

Rev 81 Rev 85
Line 90... Line 90...
90
							<td><?=$selectionne['bas_num'];?></td>
90
							<td><?=$selectionne['bas_num'];?></td>
91
						</tr>
91
						</tr>
92
					<? endif;
92
					<? endif;
93
				endif;
93
				endif;
94
				if (isset($retenu)) : ?>
94
				if (isset($retenu)) : ?>
95
					<tr><td COLSPAN=7></td></tr>
95
					<tr><td colspan="7"></td></tr>
96
					<tr>
96
					<tr>
97
						<td>Nom retenu</td>
97
						<td>Nom retenu</td>
98
						<td><a href="<?=Recherche::getUrlFicheTaxon($retenu)?>"><?=$retenu['nom_complet'];?></a>
98
						<td><a href="<?=Recherche::getUrlFicheTaxon($retenu)?>"><?=$retenu['nom_complet'];?></a>
99
							<a href="<?=Recherche::getUrlRecherche($retenu['nom_complet'], $referentiel)?>">
99
							<a href="<?=Recherche::getUrlRecherche($retenu['nom_complet'], $referentiel)?>">
100
							<img src="./interfaces/squelettes/css/referentiel/images/data_query.png" alt="rechercher"/>
100
							<img src="./interfaces/squelettes/css/referentiel/images/data_query.png" alt="rechercher"/>
Line 144... Line 144...
144
							<td><?=$retenu['bas_num'];?></td>
144
							<td><?=$retenu['bas_num'];?></td>
145
						</tr>
145
						</tr>
146
					<? endif;
146
					<? endif;
147
				endif;
147
				endif;
148
				if ($selectionne['nom_francais'] != '' || (isset($retenu['nom_francais']) && $retenu['nom_francais'] != '')) : ?>
148
				if ($selectionne['nom_francais'] != '' || (isset($retenu['nom_francais']) && $retenu['nom_francais'] != '')) : ?>
149
					<tr><td COLSPAN=7></td></tr>
149
					<tr><td colspan="7"></td></tr>
150
					<tr>
150
					<tr>
151
						<td>Nom français</td>
151
						<td>Nom français</td>
152
						<td><?isset($retenu['nom_francais']) ? $nom_francais = $retenu['nom_francais'] : 
152
						<td><?isset($retenu['nom_francais']) ? $nom_francais = $retenu['nom_francais'] : 
153
								$nom_francais = $selectionne['nom_francais'];?>
153
								$nom_francais = $selectionne['nom_francais'];?>
154
							<?=$nom_francais?>
154
							<?=$nom_francais?>
Line 161... Line 161...
161
						<td></td>
161
						<td></td>
162
						<td></td>
162
						<td></td>
163
					</tr>
163
					</tr>
164
				<? endif;	
164
				<? endif;	
165
				if (isset($parents)) : ?>
165
				if (isset($parents)) : ?>
166
					<tr><td COLSPAN=7></td></tr>
166
					<tr><td colspan="7"></td></tr>
167
					<tr>
167
					<tr>
168
						<td>Parent 01</td>
168
						<td>Parent 01</td>
169
						<td><a href="<?=FicheTaxon::getUrlFicheTaxon($parents, 'p1')?>"><?=$parents['p1_nom'];?></a>
169
						<td><a href="<?=FicheTaxon::getUrlFicheTaxon($parents, 'p1')?>"><?=$parents['p1_nom'];?></a>
170
							<a href="<?=Recherche::getUrlRecherche($parents['p1_nom'], $referentiel)?>">
170
							<a href="<?=Recherche::getUrlRecherche($parents['p1_nom'], $referentiel)?>">
171
							<img src="./interfaces/squelettes/css/referentiel/images/data_query.png" alt="rechercher"/>
171
							<img src="./interfaces/squelettes/css/referentiel/images/data_query.png" alt="rechercher"/>
Line 225... Line 225...
225
		<h2>Synonymie</h2>
225
		<h2>Synonymie</h2>
226
		<? if (isset($fiche_synonymie)) : 
226
		<? if (isset($fiche_synonymie)) : 
227
			foreach ($fiche_synonymie as $type => $synonymes) {?>
227
			foreach ($fiche_synonymie as $type => $synonymes) {?>
228
			<table>
228
			<table>
229
				<thead>
229
				<thead>
230
					<tr><th colspan = 3>Synonymie <?=$type;?></th></tr>
230
					<tr><th colspan="3">Synonymie <?=$type;?></th></tr>
231
					<tr>
231
					<tr>
232
						<th>Nom scientifique</th>
232
						<th>Nom scientifique</th>
233
						<th>Auteur</th>
233
						<th>Auteur</th>
234
						<th>Année</th>
234
						<th>Année</th>
235
						<th>Référence bibliographique</th>
235
						<th>Référence bibliographique</th>
Line 253... Line 253...
253
		<? } endif;?>
253
		<? } endif;?>
Line 254... Line 254...
254
		
254
		
255
		<? if (isset($homonyme)) : ?>
255
		<? if (isset($homonyme)) : ?>
256
			<table>
256
			<table>
257
				<thead>
257
				<thead>
258
					<tr><th colspan = 3>Homonyme (sensu)</th></tr>
258
					<tr><th colspan="3">Homonyme (sensu)</th></tr>
259
					<tr>
259
					<tr>
260
						<th>Nom scientifique</th>
260
						<th>Nom scientifique</th>
261
						<th>Auteur</th>
261
						<th>Auteur</th>
262
						<th>Année</th>
262
						<th>Année</th>
Line 269... Line 269...
269
				
269
				
270
				</tbody>
270
				</tbody>
271
			</table>
271
			</table>
272
			<br/>	
272
			<br/>	
273
		<? endif; ?>
-
 
274
		<table><tbody>
-
 
275
				<tr><th colspan = 6>Synonymie orthographique</th></tr>
-
 
276
				<? if ($info['synonyme_douteux'] == 1) : ?>
-
 
277
					<tr><td colspan = 6></td></tr>
-
 
278
					<tr>
-
 
279
						<th>Synonymie douteux</th>
-
 
280
						<th>Nom scientifique</th>
-
 
281
						<th>Auteur</th>
-
 
282
						<th>Année</th>
-
 
283
						<th>Référence bibliographique</th>
-
 
284
						<th>Nom addendum</th>
-
 
285
						<th>Identifiant numérique du nom scientifique</th>
-
 
286
					</tr>
-
 
287
					<tr>
-
 
288
						<td> est un synonyme douteux : </td>
-
 
289
						<td><?=$info['nom_complet'];?></td>
-
 
290
						<td colspan = 5></td>
-
 
291
					</tr>
-
 
292
				<? endif; ?>	
-
 
293
			</tbody>
-
 
294
		</table>	
273
		<? endif; ?>
Line 295... Line 274...
295
	</div>
274
	</div>
296
	
275
	
297
	<div id="ref-ref-classification">
-
 
298
		<h2>Classification</h2>
-
 
Line -... Line 276...
-
 
276
	<div id="ref-ref-classification">
-
 
277
		<h2>Classification</h2>
-
 
278
		
-
 
279
		<?php if (isset($classification)) : ?>
-
 
280
			<? foreach ($classification as $type=>$class) {?>
-
 
281
			<h3>Taxons <?=$type;?></h3>
-
 
282
				<table>
-
 
283
					<thead>
-
 
284
						<tr>
-
 
285
							<th <?=($type == 'inférieurs') ? 'colspan="'.$niveau.'"' : '' ?>>Rang</th>
-
 
286
							<th>Nom scientifique</th>
-
 
287
							<th>Auteur</th>
-
 
288
							<th>Année</th>
-
 
289
							<th>Référence bibliographique</th>
-
 
290
							<th>Nom addendum</th>
-
 
291
							<th>Identifiant numérique du nom scientifique</th>
-
 
292
						</tr>				
-
 
293
					</thead>
-
 
294
					<tbody>
-
 
295
						<? if ($class != '') : ?>
-
 
296
							<? foreach ($class as $rang=>$taxon) {?>
-
 
297
								<tr>
-
 
298
									<? if ($type == 'inférieurs') : ?>
-
 
299
										<? for ($i=1; $i<=$niveau; $i++) { ?>
-
 
300
											<? if ($i == $taxon['niveau']) :  ?>
-
 
301
												<td><?=$taxon['rang'];?></td>
-
 
302
											<? else : ?>
-
 
303
												<td></td>	
-
 
304
											<? endif; ?>	
-
 
305
										<? } ?>
-
 
306
									<? else : ?>
-
 
307
										<td><?=$taxon['rang'];?></td>	
-
 
308
									<? endif; ?>		
-
 
309
									<td><?=$taxon['nom_complet'];?></td>
-
 
310
									<td><?=$taxon['auteur'];?></td>
-
 
311
									<td><?=$taxon['annee'];?></td>
-
 
312
									<td><?=$taxon['biblio_origine'];?></td>
-
 
313
									<td><?=$taxon['nom_addendum'];?></td>
-
 
314
									<td><?=$taxon['num_nom'];?></td>
-
 
315
								</tr>	
-
 
316
							<? } ?>
-
 
317
						<? endif; ?>
299
		<h3>Taxons supérieurs</h3>
318
					</tbody>
300
		<?php if (count($publications) > 0) : ?>
319
				</table>
301
		
320
			<? } ?>
302
		<?php else : ?>
-
 
303
		<p>Aucune</p>
321
		<?php else : ?>
Line 304... Line 322...
304
		<?php endif; ?>
322
		<p>Aucune indication</p>
305
		<h3>Taxons inférieurs</h3>
323
		<?php endif; ?>
306
	</div>
324
	</div>
307
 
325
 
308
	<div id="ref-ref-note">
326
	<div id="ref-ref-note">
309
		<h2>Notes</h2>
-
 
310
		<?= $info['notes'] ? '<h3>Notes générales</h3>'.$info['notes'] : '';?>
-
 
311
		<?= $info['hybride_parent_01_notes'] ? '<h3>Notes parent 01 hybride</h3>'.$info['hybride_parent_01_notes'] : '';?>
327
		<h2>Notes</h2>
Line 312... Line 328...
312
		<?= $info['hybride_parent_02_notes'] ? '<h3>Notes parent 02 hybride</h3>'.$info['hybride_parent_02_notes'] : '';?>
328
		<?= $info['notes'] ? '<h3>Notes générales</h3>'.$info['notes'] : '';?>
313
		<?= $info['notes'] && $info['hybride_parent_01_notes'] && $info['hybride_parent_02_notes'] ?  : 
329
		<?= $info['hybride_parent_01_notes'] ? '<h3>Notes parent 01 hybride</h3>'.$info['hybride_parent_01_notes'] : '';?>
314
			'Aucune note n\'a été ajoutée.';?>
330
		<?= $info['hybride_parent_02_notes'] ? '<h3>Notes parent 02 hybride</h3>'.$info['hybride_parent_02_notes'] : '';?>
Line 322... Line 338...
322
			<? foreach ($chorologie['Présence'] as $lieu=>$valeur) {?>
338
			<? foreach ($chorologie['Présence'] as $lieu=>$valeur) {?>
323
				<th><?=$lieu?></th>
339
				<th><?=$lieu?></th>
324
			<? } ?>
340
			<? } ?>
325
			</tr>
341
			</tr>
326
			<? foreach ($chorologie as $param=>$lieux) { ?>
342
			<? foreach ($chorologie as $param=>$lieux) { ?>
327
				<tr><td colspan = <?=count($chorologie['Présence'])+1?></td></tr>
343
				<tr><td colspan="<?=count($chorologie['Présence'])+1?>"</td></tr>
328
				<tr><th><?=$param?></th>
344
				<tr><th><?=$param?></th>
329
					<? foreach ($lieux as $lieu) { ?>
345
					<? foreach ($lieux as $lieu) { ?>
330
						<td title = "<?=$lieu['valeur']?>"><?=$lieu['code']?></td>
346
						<td title = "<?=$lieu['valeur']?>"><?=$lieu['code']?></td>
331
					<? } ?>
347
					<? } ?>
332
				</tr>	
348
				</tr>	
Line 335... Line 351...
335
		<? else : echo 'Aucune information disponible'; endif; ?>
351
		<? else : echo 'Aucune information disponible'; endif; ?>
336
	</div>
352
	</div>
Line 337... Line 353...
337
 
353
 
338
	<div id="ref-ref-complement">
354
	<div id="ref-ref-complement">
339
		<h2>Compléments</h2>
355
		<h2>Compléments</h2>
-
 
356
		<?php if ($complement) : ?>
340
		<h3>Notes liées à la collection</h3>
357
			<table>
341
		<?php if (count($commentaires) > 0) : ?>
358
				<? foreach ($complement as $champ=>$valeur) {?>
-
 
359
					<tr>
-
 
360
						<th><?=$champ;?></th>
-
 
361
						<td><?=$valeur;?></td>
-
 
362
					</tr>
-
 
363
				<? } ?>
342
	
364
			</table>
343
		<?php else : ?>
365
		<?php else : ?>
344
		<p>Aucune note n'a été ajoutée.</p>
366
		<p>Pas de champ complémentaire</p>
345
		<?php endif; ?>
367
		<?php endif; ?>
Line 346... Line 368...
346
	</div>
368
	</div>
347
	
369
	
348
</div>
370
</div>