X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fgeneral.searchname.tpl;h=42157d367399ff18efa370882f528370e12ad5f3;hb=9f52839d4a55c6b59ab80af35026a064e007ac72;hp=085915d968c3ccea90a0c09c8c2c155dd0210c8d;hpb=b159e33797ccfb84478dd2dbde700c7d1867539f;p=platal.git diff --git a/templates/profile/general.searchname.tpl b/templates/profile/general.searchname.tpl index 085915d..42157d3 100644 --- a/templates/profile/general.searchname.tpl +++ b/templates/profile/general.searchname.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2008 Polytechnique.org *} +{* Copyright (C) 2003-2010 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -20,27 +20,46 @@ {* *} {**************************************************************************} - - - {icon name="flag_green" title="site public"} -  - - -{if $sn.pub neq 'always public'} - - {icon name=cross title="Supprimer ce nom de recherche"} - - {if $newsn} - - {else} - - {/if} -{else} - {icon name="null"} -{/if} + + + + + + {if $sn.pub}{icon name="flag_green" title="site public"} + {else}{icon name="flag_red" title="site privé"}{/if} +   + {if t($sn_type_list)} + + {foreach from=$sn_type_list item=sn_type} + + {/foreach} + {else} + {$sn.type_name} + + + + + {/if} + + + + + + {if $sn.has_particle} + {/if} + + {if !$sn.always_displayed} + {icon name=cross title="Supprimer ce nom"} + {/if} + + + +{* vim:set et sw=2 sts=2 sws=2 enc=utf-8: *}