From 43db33a2cf900b4c461d0867c77b445835fc0235 Mon Sep 17 00:00:00 2001 From: Mzhelskiy Maxim Date: Sun, 14 Aug 2011 14:02:03 +0000 Subject: [PATCH] fix sidebar profile --- .../skin/developer-jquery/actions/ActionProfile/sidebar.tpl | 6 +++++- templates/skin/developer/actions/ActionProfile/sidebar.tpl | 6 +++++- templates/skin/new-jquery/actions/ActionProfile/sidebar.tpl | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/templates/skin/developer-jquery/actions/ActionProfile/sidebar.tpl b/templates/skin/developer-jquery/actions/ActionProfile/sidebar.tpl index 42092bf7..1a7e74d2 100644 --- a/templates/skin/developer-jquery/actions/ActionProfile/sidebar.tpl +++ b/templates/skin/developer-jquery/actions/ActionProfile/sidebar.tpl @@ -1,3 +1,5 @@ +{if $oUserProfile} + {if $oUserCurrent && $oUserCurrent->getId()!=$oUserProfile->getId()}
\ No newline at end of file + + +{/if} \ No newline at end of file diff --git a/templates/skin/developer/actions/ActionProfile/sidebar.tpl b/templates/skin/developer/actions/ActionProfile/sidebar.tpl index c2cab9aa..daadc1e4 100644 --- a/templates/skin/developer/actions/ActionProfile/sidebar.tpl +++ b/templates/skin/developer/actions/ActionProfile/sidebar.tpl @@ -1,3 +1,5 @@ +{if $oUserProfile} + {if $oUserCurrent && $oUserCurrent->getId()!=$oUserProfile->getId()}
\ No newline at end of file + + +{/if} \ No newline at end of file diff --git a/templates/skin/new-jquery/actions/ActionProfile/sidebar.tpl b/templates/skin/new-jquery/actions/ActionProfile/sidebar.tpl index 42092bf7..1a7e74d2 100644 --- a/templates/skin/new-jquery/actions/ActionProfile/sidebar.tpl +++ b/templates/skin/new-jquery/actions/ActionProfile/sidebar.tpl @@ -1,3 +1,5 @@ +{if $oUserProfile} + {if $oUserCurrent && $oUserCurrent->getId()!=$oUserProfile->getId()}
\ No newline at end of file + + +{/if} \ No newline at end of file