Merge pull request #12601 from TobiasSekan/FixAddFolderSymbolAccess
Fix style of add folder button based on rights
This commit is contained in:
commit
6ac5e1a4f3
@ -81,7 +81,7 @@ if ($permtoadd)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
print '<a href="#" class="inline-block valignmiddle toolbarbutton" title="'.$langs->trans("NotAllowed").'">';
|
print '<a href="#" class="inline-block valignmiddle toolbarbutton" title="'.$langs->trans("NotAllowed").'">';
|
||||||
print '<img class="toolbarbutton" border="0" src="'.DOL_URL_ROOT.'/theme/common/folder-new.png">';
|
print '<img class="toolbarbutton disabled" border="0" src="'.DOL_URL_ROOT.'/theme/common/folder-new.png">';
|
||||||
print '</a>';
|
print '</a>';
|
||||||
}
|
}
|
||||||
if ($module == 'ecm')
|
if ($module == 'ecm')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user