fix 'Add to clipboard' menu item in bootstrap theme

This commit is contained in:
Uwe Steinmann 2023-10-14 08:49:57 +02:00
parent 34697b62bd
commit 2b3d127808
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@
- fix creating preview image of file in drop folder if it contains
special chars
- show fileѕ and folders in dropfolder dir recursively
- fix 'Add to clipboard' menu item in bootstrap theme
--------------------------------------------------------------------------------
Changes in version 5.1.32

View File

@ -600,7 +600,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
if(!empty($submenuitem['divider'])) {
$content .= " <li class=\"divider\"></li>\n";
} else {
$content .= "<li><a".(isset($menuitem['link']) ? " href=\"".$menuitem['link']."\"" : "").(isset($menuitem['target']) ? ' target="'.$menuitem['target'].'"' : '');
$content .= "<li><a".(isset($menuitem['class']) ? " class=\"".$menuitem['class']."\"" : "").(isset($menuitem['link']) ? " href=\"".$menuitem['link']."\"" : "").(isset($menuitem['target']) ? ' target="'.$menuitem['target'].'"' : '');
if(!empty($menuitem['attributes']))
foreach($menuitem['attributes'] as $attr)
$content .= ' '.$attr[0].'="'.$attr[1].'"';