Path fixed to libraries
This commit is contained in:
parent
ed4920f53a
commit
7cdf080763
2 changed files with 3 additions and 3 deletions
|
@ -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" />
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue