X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fgeneral.networking.tpl;h=74b4b8ab725caa52e2d089e6b387106ba4375e8f;hb=5b48ebf46ef939d701852d2117bbcf308036027c;hp=97474a8e586bab8d07891d68ddda8bffc4572ca9;hpb=92c3f9e5a1c480d9c25dd98aff56e792c378d0fe;p=platal.git diff --git a/templates/profile/general.networking.tpl b/templates/profile/general.networking.tpl index 97474a8..74b4b8a 100644 --- a/templates/profile/general.networking.tpl +++ b/templates/profile/general.networking.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,14 +20,21 @@ {* *} {**************************************************************************} +{if !hasPerm('directory_private') && ($nw.pub eq 'private') && !empty($nw.address|smarty:nodefaults)} +{assign var=hiddennw value=true} +{else} +{assign var=hiddennw value=false} +{/if} +
- - {icon name="flag_green" title="site public"} + {icon name="flag_green" title="site public"}   @@ -35,9 +42,14 @@ {$nw.name}
+ {if $hiddennw} + + (masqué) + {else} + {/if} {icon name=cross title="Supprimer cet élément"}