Merge pull request #12601 from TobiasSekan/FixAddFolderSymbolAccess

Fix style of add folder button based on rights
This commit is contained in:
Laurent Destailleur 2019-12-03 13:46:21 +01:00 committed by GitHub
commit 6ac5e1a4f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')