Skip to content

Commit

Permalink
EDIT show template : modification des champs privés
Browse files Browse the repository at this point in the history
  • Loading branch information
Thiktak committed Dec 19, 2011
1 parent f7d8a71 commit e1ddcc4
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions apps/frontend/modules/annuaire/templates/showSuccess.php
Expand Up @@ -104,7 +104,7 @@ function getClass($filiere)
<dt></dt>
<dd>
<span class="datas"><?php echo $membre->getSexe(); ?></span>
- né le <span class="datas"><?php echo $membre->getDateNaissance(); ?></span>
- né le <span class="datas"><?php echo format_date($membre->getDateNaissance()); ?></span>
- à <span class="datas"><?php echo $membre->getVilleNaissance(); ?></span>
</dd>

Expand All @@ -117,6 +117,7 @@ function getClass($filiere)
<?php endif; ?></span>
</dd>

<?php if( $user->isAdmin() ): ?>
<dt>Adresse (parents) :</dt>
<dd>
<span class="datas"><?php if( $membre->getAdresseParents() . $membre->getVilleParents() ): ?>
Expand All @@ -125,6 +126,7 @@ function getClass($filiere)
<span class="datas"><?php echo $membre->getVilleParents(); ?></span>
<?php endif; ?></span>
</dd>
<?php endif; ?>

<dt>Téléphone :</dt>
<dd>
Expand All @@ -135,8 +137,10 @@ function getClass($filiere)

<dt>Email :</dt>
<dd>
<span class="list"><span class="datas"><?php echo $membre->getEmailExterne(); ?></span>
<span class="list"><span class="datas"><?php echo $membre->getEmailInterne(); ?></span>@iariss.fr
<?php if( $user->isAdmin() ): ?>
<span class="list isAdmin"><span class="datas"><?php echo $membre->getEmailExterne(); ?></span>
<?php endif; ?>
<span class="list"><span class="datas"><?php echo $membre->getEmailInterne(); ?></span>
</dd>

<dt>Promotion :</dt>
Expand Down

0 comments on commit e1ddcc4

Please sign in to comment.