mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
only convert buttons without label to et2-button-icon
This commit is contained in:
parent
151fc00641
commit
3552fa13e7
@ -326,7 +326,7 @@ function send_template()
|
||||
}
|
||||
// replace not set background_image attribute with et2-button-icon tag, if not in NM / lists
|
||||
if (!empty($attrs['image']) && (empty($attrs['background_image']) || $attrs['background_image'] === 'false') &&
|
||||
!preg_match('/^(index|list)/', $name))
|
||||
empty($attrs['label']) && !preg_match('/^(index|list)/', $name))
|
||||
{
|
||||
$tag = 'et2-button-icon';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user