X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fgeneral.networking.tpl;h=7636aee764b6a4aa0439d1cb33f7865b713ba6c4;hb=290dca06a494e75001f2bde2e5836938dacac88d;hp=97474a8e586bab8d07891d68ddda8bffc4572ca9;hpb=7f12e3b4113791f3372f11572a205925d7bb6b97;p=platal.git diff --git a/templates/profile/general.networking.tpl b/templates/profile/general.networking.tpl index 97474a8..7636aee 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-2010 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"}