--- templates/smarty/my/annuaire.tpl.old 2008-04-08 17:44:16.000000000 +0200 +++ templates/smarty/my/annuaire.tpl 2008-04-08 18:23:46.000000000 +0200 @@ -39,36 +39,39 @@
+
@@ -79,28 +82,28 @@ {if $results[result].email_public} - + {/if} {if $results[result].website && $results[result].website_public} - + {/if} {if $results[result].jabber_id_public and $results[result].jabber_id} - + {/if} {if $results[result].irc_nickname_public and $results[result].irc_nickname} - + {/if} @@ -108,37 +111,45 @@ {/if} {if $results[result].phone_public and $results[result].phone} - - +
+
+ + {/if} {if $results[result].mobile_public and $results[result].mobile} - - +
+
+ + {/if} {if $results[result].gpg_id_public and $results[result].gpg_id} - + {/if} @@ -150,8 +161,9 @@ {/if}
{if $results[result].photo_file and $results[result].photo_public == 1} -{$results[result].nickname} +{$results[result].nickname} {else} Pas de photo {/if} -{if $results[result].website}{/if} +{if $results[result].website}{/if} -{$results[result].firstname} {$results[result].name}
+{$results[result].firstname} {$results[result].name}
{if $results[result].website}
{/if} {if $results[result].civility == 'M'}{$results[result].april_position}{else}{$results[result].april_position_female}{/if}.
{if $results[result].birth_date && $results[result].birth_date_public} + Né le {$results[result].birth_date|date_format:"%d/%m/%Y"} {if $results[result].birth_place && $results[result].birth_place_public} à {$results[result].birth_place} {/if} +
{/if} {if $results[result].other_organizations && $results[result].other_organizations_public} - Membre de {$results[result].other_organizations}
+ Membre de {$results[result].other_organizations}
{/if} {if $results[result].occupation && $results[result].occupation_public} - Activité professionelle : {$results[result].occupation}
+ Activité professionelle : {$results[result].occupation}
{/if}
courriel : {$results[result].email}
Site web : {$results[result].website}{$results[result].website}
jabber id : Jabber: {$results[result].jabber_id}Jabber: {$results[result].jabber_id}
irc nickname : Pseudo IRC: {$results[result].irc_nickname}Pseudo IRC: {$results[result].irc_nickname}
Adresse : +
{if $results[result].address_public} +
{if $results[result].address1}{$results[result].address1}
{/if} {if $results[result].address2}{$results[result].address2}
{/if} {if $results[result].address3}{$results[result].address3}
{/if} +
{/if} - {if $results[result].zip_code && $results[result].zip_code_public}{$results[result].zip_code}{/if} - {if $results[result].city && $results[result].city_public}{$results[result].city}
{/if} - {if $results[result].country && $results[result].country_public}{$results[result].country}{/if} + {if $results[result].zip_code && $results[result].zip_code_public}{$results[result].zip_code}{/if} + {if $results[result].city && $results[result].city_public}{$results[result].city}
{/if} + {if $results[result].country && $results[result].country_public}{$results[result].country}{/if} +
téléphone fixe : {$results[result].phone}téléphone fixe : {$results[result].phone}
téléphone fixe : {$results[result].mobile}téléphone mobile : {$results[result].mobile}
gpg id : GPG Id: {$results[result].gpg_id}GPG Id: {$results[result].gpg_id}
-
+
+ {if ( $smarty.section.result.index mod 2 ) or $last}