Subversion Repositories Applications.annuaire

Rev

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

Rev 7 Rev 8
Line 1... Line 1...
1
<h2>Détail de l'annuaire <?=$annuaire['informations']['aa_nom'] ?></h2>
1
<h2>Détail de l'annuaire <?=$annuaire['informations']['aa_nom'] ?></h2>
2
<p><?=$annuaire['informations']['aa_description'] ?></p>
2
<p><?=$annuaire['informations']['aa_description'] ?></p>
Line 3... Line 3...
3
 
3
 
4
<h3> Informations </h3>
4
<h3> Informations </h3>
-
 
5
<table class="liste">
5
<table class="liste">
6
	<tr>
6
	<th>Identifiant d'annuaire</th>
7
		<th>Identifiant d'annuaire</th>
7
	<th>Nom</th>
8
		<th>Nom</th>
8
	<th>Description</th>
9
		<th>Description</th>
-
 
10
		<th>Code</th>
9
	<th>Code</th>
11
	</tr>
10
	<tr>
12
	<tr>
11
		<td><?=$annuaire['informations']['aa_id_annuaire'] ?></td>
13
		<td><?=$annuaire['informations']['aa_id_annuaire'] ?></td>
12
		<td><?=$annuaire['informations']['aa_nom'] ?></td>
14
		<td><?=$annuaire['informations']['aa_nom'] ?></td>
13
		<td><?=$annuaire['informations']['aa_description'] ?></td>
15
		<td><?=$annuaire['informations']['aa_description'] ?></td>
Line 17... Line 19...
17
 
19
 
Line 18... Line 20...
18
<hr />
20
<hr />
19
 
21
 
-
 
22
<h3> Colonnes </h3>
20
<h3> Colonnes </h3>
23
<table class="liste">
21
<table class="liste">
24
	<tr>
22
	<th>Nom du champ</th>
25
		<th>Nom du champ</th>
23
	<th>Type</th>
26
		<th>Type</th>
24
	<th>Null</th>
27
		<th>Null</th>
25
	<th>Clé</th>
28
		<th>Clé</th>
-
 
29
		<th>Défaut</th>
26
	<th>Défaut</th>
30
		<th>Extra</th>
27
	<th>Extra</th>
31
	</tr>
28
	<?php foreach ($annuaire['colonnes'] as $colonne) : ?>
32
	<?php foreach ($annuaire['colonnes'] as $colonne) : ?>
29
	<tr>
33
	<tr>
30
		<td><?=$colonne['Field'] ?></td>
34
		<td><?=$colonne['Field'] ?></td>
Line 35... Line 39...
35
		<td><?=$colonne['Extra'] ?></td>
39
		<td><?=$colonne['Extra'] ?></td>
36
	</tr>
40
	</tr>
37
	<?php endforeach; ?>
41
	<?php endforeach; ?>
38
</table>
42
</table>
Line -... Line 43...
-
 
43
 
-
 
44
<hr />
39
 
45
 
Line 40... Line 46...
40
<h3> Metadonnées </h3>
46
<h3> Metadonnées </h3>
41
 
47
 
42
<p> <a href="<?=$url_ajout_metadonnee = clone($base_url); 
48
<p> <a href="<?=$url_ajout_metadonnee = clone($base_url); 
43
				$url_ajout_metadonnee->setVariableRequete('m','metadonnee_formulaire_ajout'); 
49
				$url_ajout_metadonnee->setVariableRequete('m','metadonnee_formulaire_ajout'); 
Line 44... Line 50...
44
				$url_ajout_metadonnee->setVariableRequete('amc_ce_annuaire',$annuaire['informations']['aa_id_annuaire']); 
50
				$url_ajout_metadonnee->setVariableRequete('amc_ce_annuaire',$annuaire['informations']['aa_id_annuaire']); 
-
 
51
				echo $url_ajout_metadonnee; ?>"> Ajout d'un nouveau champ </a>
45
				echo $url_ajout_metadonnee; ?>"> Ajout d'un nouveau champ </a>
52
 
46
 
53
<table class="liste">
47
<table class="liste">
54
	<tr>
48
	<th>Nom du champ</th>
55
		<th>Nom du champ</th>
49
	<th>Type</th>
56
		<th>Type</th>
50
	<th>Abreviation</th>
57
		<th>Abreviation</th>
51
	<th>Description</th>
58
		<th>Description</th>
52
	<th>Longueur</th>
59
		<th>Longueur</th>
-
 
60
		<th></th>
53
	<th></th>
61
		<th></th>
54
	<th></th>
62
		<th></th>
55
	<th></th>
63
	</tr>
56
	<?php foreach ($metadonnees as $metacolonne) : ?>
64
	<?php foreach ($metadonnees as $metacolonne) : ?>
57
	<tr>
65
	<tr>
58
		<td><?=$metacolonne['amc_nom'] ?></td>
66
		<td><?=$metacolonne['amc_nom'] ?></td>
59
		<td><?=$metacolonne['amc_ce_nom_type_affichage'] ?></td>
67
		<td><?=$metacolonne['amc_ce_nom_type_affichage'] ?></td>
60
		<td><?=$metacolonne['amc_abreviation'] ?></td>
68
		<td><?=$metacolonne['amc_abreviation'] ?></td>
61
		<td><?=$metacolonne['amc_description'] ?></td>
69
		<td><?=$metacolonne['amc_description'] ?></td>
62
		<td><?=$metacolonne['amc_longueur'] ?></td>
70
		<td><?=$metacolonne['amc_longueur'] ?></td>
63
		<td><a href="<?=$url_modif_metadonnee = clone($base_url); 
71
		<td><a href="<?=$url_modif_metadonnee = clone($base_url); 
64
				$url_modif_metadonnee->setVariableRequete('m','metadonnee_formulaire_modification'); 
72
				$url_modif_metadonnee->setVariableRequete('m','metadonnee_formulaire_modification'); 
65
				$url_modif_metadonnee->setVariableRequete('amc_id_champ',$metacolonne['amc_id_champ']); 
73
				$url_modif_metadonnee->setVariableRequete('amc_id_champ',$metacolonne['amc_id_champ']); 
66
				echo $url_modif_metadonnee; ?>"> Modifier </a></td>
74
				echo $url_modif_metadonnee; ?>"> <img class="icone" src="<?=$base_url?>/annuaire/squelettes/images/modification.png"/> </a></td>
67
		<td><a href="<?=$url_supp_metadonnee = clone($base_url); 
75
		<td><a href="<?=$url_supp_metadonnee = clone($base_url); 
68
				$url_supp_metadonnee->setVariableRequete('m','metadonnee_suppression'); 
76
				$url_supp_metadonnee->setVariableRequete('m','metadonnee_suppression'); 
Line 69... Line 77...
69
				$url_supp_metadonnee->setVariableRequete('amc_id_champ',$metacolonne['amc_id_champ']); 
77
				$url_supp_metadonnee->setVariableRequete('amc_id_champ',$metacolonne['amc_id_champ']); 
70
				$url_supp_metadonnee->setVariableRequete('amc_ce_annuaire',$annuaire['informations']['aa_id_annuaire']); 
78
				$url_supp_metadonnee->setVariableRequete('amc_ce_annuaire',$annuaire['informations']['aa_id_annuaire']); 
71
				echo $url_supp_metadonnee; ?>"> Supprimer </a></td>
79
				echo $url_supp_metadonnee; ?>"> <img class="icone" src="<?=$base_url?>/annuaire/squelettes/images/suppression.png"/> </a></td>