Fix option MAIN_BUTTON_HIDE_UNAUTHORIZED
This commit is contained in:
parent
efde12b489
commit
66cf9e333e
@ -331,7 +331,7 @@ UrlGenerationParameters=Parameters to secure URLs
|
|||||||
SecurityTokenIsUnique=Use a unique securekey parameter for each URL
|
SecurityTokenIsUnique=Use a unique securekey parameter for each URL
|
||||||
EnterRefToBuildUrl=Enter reference for object %s
|
EnterRefToBuildUrl=Enter reference for object %s
|
||||||
GetSecuredUrl=Get calculated URL
|
GetSecuredUrl=Get calculated URL
|
||||||
ButtonHideUnauthorized=Hide buttons for unauthorized actions instead of showing disabled buttons
|
ButtonHideUnauthorized=Hide buttons to non admin users for unauthorized actions instead of showing greyed disabled buttons
|
||||||
OldVATRates=Old VAT rate
|
OldVATRates=Old VAT rate
|
||||||
NewVATRates=New VAT rate
|
NewVATRates=New VAT rate
|
||||||
PriceBaseTypeToChange=Modify on prices with base reference value defined on
|
PriceBaseTypeToChange=Modify on prices with base reference value defined on
|
||||||
|
|||||||
@ -2206,7 +2206,7 @@ a.butAction:link, a.butAction:visited, a.butAction:hover, a.butAction:active {
|
|||||||
}
|
}
|
||||||
End bootstrap */
|
End bootstrap */
|
||||||
|
|
||||||
<?php if (! empty($conf->global->MAIN_BUTTON_HIDE_UNAUTHORIZED)) { ?>
|
<?php if (! empty($conf->global->MAIN_BUTTON_HIDE_UNAUTHORIZED) && (! $user->admin)) { ?>
|
||||||
.butActionRefused {
|
.butActionRefused {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user