Subversion Repositories Applications.annuaire

Compare Revisions

Ignore whitespace Rev 7 → Rev 8

/trunk/squelettes/annuaires/annuaire.tpl.html
3,11 → 3,13
 
<h3> Informations </h3>
<table class="liste">
<th>Identifiant d'annuaire</th>
<th>Nom</th>
<th>Description</th>
<th>Code</th>
<tr>
<th>Identifiant d'annuaire</th>
<th>Nom</th>
<th>Description</th>
<th>Code</th>
</tr>
<tr>
<td><?=$annuaire['informations']['aa_id_annuaire'] ?></td>
<td><?=$annuaire['informations']['aa_nom'] ?></td>
<td><?=$annuaire['informations']['aa_description'] ?></td>
19,12 → 21,14
 
<h3> Colonnes </h3>
<table class="liste">
<th>Nom du champ</th>
<th>Type</th>
<th>Null</th>
<th>Clé</th>
<th>Défaut</th>
<th>Extra</th>
<tr>
<th>Nom du champ</th>
<th>Type</th>
<th>Null</th>
<th>Clé</th>
<th>Défaut</th>
<th>Extra</th>
</tr>
<?php foreach ($annuaire['colonnes'] as $colonne) : ?>
<tr>
<td><?=$colonne['Field'] ?></td>
37,6 → 41,8
<?php endforeach; ?>
</table>
 
<hr />
 
<h3> Metadonnées </h3>
 
<p> <a href="<?=$url_ajout_metadonnee = clone($base_url);
45,14 → 51,16
echo $url_ajout_metadonnee; ?>"> Ajout d'un nouveau champ </a>
 
<table class="liste">
<th>Nom du champ</th>
<th>Type</th>
<th>Abreviation</th>
<th>Description</th>
<th>Longueur</th>
<th></th>
<th></th>
<th></th>
<tr>
<th>Nom du champ</th>
<th>Type</th>
<th>Abreviation</th>
<th>Description</th>
<th>Longueur</th>
<th></th>
<th></th>
<th></th>
</tr>
<?php foreach ($metadonnees as $metacolonne) : ?>
<tr>
<td><?=$metacolonne['amc_nom'] ?></td>
63,12 → 71,12
<td><a href="<?=$url_modif_metadonnee = clone($base_url);
$url_modif_metadonnee->setVariableRequete('m','metadonnee_formulaire_modification');
$url_modif_metadonnee->setVariableRequete('amc_id_champ',$metacolonne['amc_id_champ']);
echo $url_modif_metadonnee; ?>"> Modifier </a></td>
echo $url_modif_metadonnee; ?>"> <img class="icone" src="<?=$base_url?>/annuaire/squelettes/images/modification.png"/> </a></td>
<td><a href="<?=$url_supp_metadonnee = clone($base_url);
$url_supp_metadonnee->setVariableRequete('m','metadonnee_suppression');
$url_supp_metadonnee->setVariableRequete('amc_id_champ',$metacolonne['amc_id_champ']);
$url_supp_metadonnee->setVariableRequete('amc_ce_annuaire',$annuaire['informations']['aa_id_annuaire']);
echo $url_supp_metadonnee; ?>"> Supprimer </a></td>
echo $url_supp_metadonnee; ?>"> <img class="icone" src="<?=$base_url?>/annuaire/squelettes/images/suppression.png"/> </a></td>
</tr>
<?php endforeach; ?>