X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Finclude%2Femails.combobox.tpl;h=b1a3f7e4877e61cfcc80c0778ea93132d827f958;hb=67f95129c935e3844b9ecf996bb29f979ef3ca7f;hp=408e0f16060f25e113d56ee4e19de43189ac118b;hpb=905cda00459649fa751c2ea292e079f5f05cae81;p=platal.git diff --git a/templates/include/emails.combobox.tpl b/templates/include/emails.combobox.tpl index 408e0f1..b1a3f7e 100644 --- a/templates/include/emails.combobox.tpl +++ b/templates/include/emails.combobox.tpl @@ -1,6 +1,6 @@ {**************************************************************************} {* *} -{* Copyright (C) 2003-2010 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,7 +22,7 @@ {assign var=new value="new"|cat:$i} {assign var=combobox value="combobox"|cat:$i} - + {if $name eq "email_directory"} Email annuaire AX @@ -89,8 +89,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}