X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=templates%2Fprofile%2Fgeneral.networking.tpl;h=74b4b8ab725caa52e2d089e6b387106ba4375e8f;hb=34079e502c9395d827fb043852bcd89de410d79e;hp=f2bcc5a2e10ac67bff1637cec3d3caed5064e644;hpb=a0ad593aec01fe6387ee83f3ef487bcdc3c3c5bd;p=platal.git diff --git a/templates/profile/general.networking.tpl b/templates/profile/general.networking.tpl index f2bcc5a..74b4b8a 100644 --- a/templates/profile/general.networking.tpl +++ b/templates/profile/general.networking.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 *} @@ -20,12 +20,19 @@ {* *} {**************************************************************************} +{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} +