X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fgeneral.searchname.tpl;h=8ede1d969e5e7b857ef2a53e54dc271242dc059a;hb=8e5c605f090cf1267e14c649d6a45970a7836ae7;hp=085915d968c3ccea90a0c09c8c2c155dd0210c8d;hpb=f4035298fd421e87b9a58f6a801b53da348613de;p=platal.git diff --git a/templates/profile/general.searchname.tpl b/templates/profile/general.searchname.tpl index 085915d..8ede1d9 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-2011 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: *}