Subversion Repositories Applications.referentiel

Rev

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

Rev 149 Rev 169
Line 190... Line 190...
190
								<img src="./interfaces/squelettes/css/referentiel/images/data_query.png" alt="rechercher"/>
190
								<img src="./interfaces/squelettes/css/referentiel/images/data_query.png" alt="rechercher"/>
191
							</a>
191
							</a>
192
						</td>
192
						</td>
193
					</tr>
193
					</tr>
194
				<? endif; ?>
194
				<? endif; ?>
195
				<? if (isset($parents)) : ?>
195
				<? if (isset($parents['p1_num'])) : ?>
196
					<?=($parents['p1_num'] == $parents['p1_num_retenu'])? '<tr class="nom_retenu">' : "<tr>";?>
196
					<?=($parents['p1_num'] == $parents['p1_num_retenu'])? '<tr class="nom_retenu">' : "<tr>";?>
197
						<th>Parent 01</th>
197
						<th>Parent 01</th>
198
						<td><a href="<?=FicheTaxon::getUrlFicheTaxon($parents, 'p1')?>"><?=$parents['p1_nom'];?></a>
198
						<td><a href="<?=FicheTaxon::getUrlFicheTaxon($parents, 'p1')?>"><?=$parents['p1_nom'];?></a>
199
							<? if ($parents['p1_nom'] != '') : ?>
199
							<? if ($parents['p1_nom'] != '') : ?>
200
								<a href="<?=Recherche::getUrlRecherche($parents['p1_nom'], $referentiel)?>">
200
								<a href="<?=Recherche::getUrlRecherche($parents['p1_nom'], $referentiel)?>">
Line 224... Line 224...
224
							<? endif; ?>
224
							<? endif; ?>
225
						</td>
225
						</td>
226
						<td><?=$parents['p1_nom_add'];?></td>
226
						<td><?=$parents['p1_nom_add'];?></td>
227
						<td><?=$parents['p1_num'];?></td>
227
						<td><?=$parents['p1_num'];?></td>
228
					</tr>
228
					</tr>
-
 
229
				<? endif; ?>	
-
 
230
				<? if ($info['hybride_parent_01_notes']) : ?>	
-
 
231
					<tr><th>Parent 01 notes</th><td colspan="6"><?=$info['hybride_parent_01_notes'];?></td></tr>
-
 
232
				<? endif; ?>
-
 
233
				<? if (isset($parents['p2_num'])) : ?>
229
					<?=($parents['p2_num'] == $parents['p2_num_retenu'])? '<tr class="nom_retenu">' : "<tr>";?>
234
					<?=($parents['p2_num'] == $parents['p2_num_retenu'])? '<tr class="nom_retenu">' : "<tr>";?>
230
						<th>Parent 02</th>
235
						<th>Parent 02</th>
231
						<td><a href="<?=FicheTaxon::getUrlFicheTaxon($parents, 'p2')?>"><?=$parents['p2_nom'];?></a>
236
						<td><a href="<?=FicheTaxon::getUrlFicheTaxon($parents, 'p2')?>"><?=$parents['p2_nom'];?></a>
232
							<? if ($parents['p2_nom'] != '') : ?>
237
							<? if ($parents['p2_nom'] != '') : ?>
233
								<a href="<?=Recherche::getUrlRecherche($parents['p2_nom'], $referentiel)?>">
238
								<a href="<?=Recherche::getUrlRecherche($parents['p2_nom'], $referentiel)?>">
Line 257... Line 262...
257
							<? endif; ?>
262
							<? endif; ?>
258
						</td>
263
						</td>
259
						<td><?=$parents['p2_nom_add'];?></td>
264
						<td><?=$parents['p2_nom_add'];?></td>
260
						<td><?=$parents['p2_num'];?></td>
265
						<td><?=$parents['p2_num'];?></td>
261
					</tr>
266
					</tr>
-
 
267
				<? endif; ?>	
-
 
268
				<? if ($info['hybride_parent_02_notes']) : ?>	
-
 
269
					<tr><th>Parent 02 notes</th><td colspan="6"><?=$info['hybride_parent_02_notes'];?></td></tr>
262
				<? endif; ?>
270
				<? endif; ?>
263
			</tbody>
271
			</tbody>
264
		</table>
272
		</table>
Line 265... Line 273...
265
		
273
		
Line 554... Line 562...
554
							<? foreach ($class as $rang => $taxon) : ?>
562
							<? foreach ($class as $rang => $taxon) : ?>
555
								<tr>
563
								<tr>
556
									<? if ($type == 'inférieurs') : ?>
564
									<? if ($type == 'inférieurs') : ?>
557
										<? for ($i = 1; $i <= $niveau; $i++) : ?>
565
										<? for ($i = 1; $i <= $niveau; $i++) : ?>
558
											<? if ($i == $taxon['niveau']) :  ?>
566
											<? if ($i == $taxon['niveau']) :  ?>
-
 
567
												<td><?=(isset($valeur_rang[$taxon['rang']])) ? 
559
												<td><?=$valeur_rang[$taxon['rang']].' ('.$taxon['rang'].')';?></td>
568
													$valeur_rang[$taxon['rang']].' ('.$taxon['rang'].')' : 
-
 
569
													$taxon['rang'];?></td>
560
											<? else : ?>
570
											<? else : ?>
561
												<td></td>	
571
												<td></td>	
562
											<? endif; ?>	
572
											<? endif; ?>	
563
										<? endfor; ?>
573
										<? endfor; ?>
564
									<? else : ?>
574
									<? else : ?>
-
 
575
										<td><?=(isset($valeur_rang[$taxon['rang']])) ? 
565
										<td><?=$valeur_rang[$taxon['rang']].' ('.$taxon['rang'].')';?></td>	
576
												$valeur_rang[$taxon['rang']].' ('.$taxon['rang'].')' : 
-
 
577
												$taxon['rang'];?></td>	
566
									<? endif; ?>		
578
									<? endif; ?>		
567
									<td>
579
									<td>
568
										<a href="<?=Recherche::getUrlFicheTaxon($taxon)?>"><?=$taxon['nom_sci'];?></a>
580
										<a href="<?=Recherche::getUrlFicheTaxon($taxon)?>"><?=$taxon['nom_sci'];?></a>
569
									</td>
581
									</td>
570
									<td><?=$taxon['auteur'];?></td>
582
									<td><?=$taxon['auteur'];?></td>