X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=templates%2Finclude%2Femails.combobox.tpl;h=74e84b3fcdeb3e8c4fdce89a8b25ec7e96f2bc46;hb=7f3ac125d8b532fd0fc643e3504e5bd06be01fc4;hp=f37253781b9fc41d36d1e9dc3bc713cc4e86bd41;hpb=94a7dc9aed191985a511189dc611b7741b10da15;p=platal.git
diff --git a/templates/include/emails.combobox.tpl b/templates/include/emails.combobox.tpl
index f372537..74e84b3 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
@@ -35,53 +35,25 @@
{if $name eq "email"} | | {/if}
{if $name neq "email"} {/if}
+ {if $emails_count neq 0}
+ {else}
+
+ {/if}
{if $name neq "email"}
@@ -89,8 +61,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}
|
@@ -101,7 +78,7 @@
{if $name eq "email"} | {/if}
-
|