X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Femails.combobox.tpl;h=021a47faf1b18e0584c81f4564bbf22d55300afd;hb=b588133fbb0ef97fc65320f38897362b74bb6a82;hp=4fbf255ff486adf3d796b7c6f17cb3e5c88a9926;hpb=b032b01b8919b36ec66f8a0395132953d8c01cf2;p=platal.git diff --git a/templates/include/emails.combobox.tpl b/templates/include/emails.combobox.tpl index 4fbf255..021a47f 100644 --- a/templates/include/emails.combobox.tpl +++ b/templates/include/emails.combobox.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2009 Polytechnique.org *} +{* Copyright (C) 2003-2011 Polytechnique.org *} {* http://opensource.polytechnique.org/ *} {* *} {* This program is free software; you can redistribute it and/or modify *} @@ -22,10 +22,10 @@ {assign var=new value="new"|cat:$i} {assign var=combobox value="combobox"|cat:$i} - + {if $name eq "email_directory"} - Email annuaire AX + Email annuaire AX {elseif $name eq "email"} Ajouter une adresse email {else} @@ -44,21 +44,8 @@ {/if} {if $name eq "email_directory"} - {if $melix} - - - {/if} {foreach from=$list_email_X item=email} - - + {/foreach} {/if} @@ -78,9 +65,8 @@ {/if} - - + + {if $name neq "email"} @@ -90,8 +76,13 @@ {icon name="flag_orange" title="Visible sur l'annuaire"} {elseif $name neq "email"} + {if t($mainField)} + {include file="include/flags.radio.tpl" name="`$jobpref`[`$prefix`email_pub]" val=$pub + mainField=$mainField mainId=$mainId subField=$subField subId=$subId} + {else} {include file="include/flags.radio.tpl" name="`$jobpref`[`$prefix`email_pub]" val=$pub} {/if} + {/if} {/if} @@ -102,7 +93,7 @@ {if $name eq "email"}{/if}