Path fixed to libraries

This commit is contained in:
robvde 2012-07-13 12:31:51 +04:00
parent ed4920f53a
commit 7cdf080763
2 changed files with 3 additions and 3 deletions

View file

@ -32,10 +32,10 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Exchange.Data.Common">
<HintPath>..\..\Lib\References\Microsoft\Microsoft.Exchange.Data.Common.dll</HintPath>
<HintPath>..\..\..\Lib\References\Microsoft\Microsoft.Exchange.Data.Common.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Exchange.Data.Transport">
<HintPath>..\..\Lib\References\Microsoft\Microsoft.Exchange.Data.Transport.dll</HintPath>
<HintPath>..\..\..\Lib\References\Microsoft\Microsoft.Exchange.Data.Transport.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.configuration" />

View file

@ -97,7 +97,7 @@ namespace WebsitePanel.Portal
lnkChangePassword.Visible = !((PanelSecurity.SelectedUserId == PanelSecurity.EffectiveUserId) && PanelSecurity.LoggedUser.IsPeer);
lnkDelete.NavigateUrl = EditUrl("UserID", PanelSecurity.SelectedUserId.ToString(), "delete");
if (PanelSecurity.LoggedUser.Role != UserRole.Reseller) lnkDelete.Visible = false;
if ((PanelSecurity.LoggedUser.Role != UserRole.Reseller) | (PanelSecurity.LoggedUser.Role != UserRole.Administrator)) lnkDelete.Visible = false;
else lnkDelete.Visible = (PanelSecurity.SelectedUserId != PanelSecurity.EffectiveUserId);
}
}