mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Mobile theme W.I.P.:
- Set image map cache name separately for mobile
This commit is contained in:
parent
d99b06294d
commit
fa60745e8e
@ -136,7 +136,8 @@ class Image
|
||||
{
|
||||
$svg = self::svg_usable();
|
||||
}
|
||||
$cache_name = 'image_map_'.$template_set.($svg ? '_svg' : '');
|
||||
|
||||
$cache_name = 'image_map_'.$template_set.($svg ? '_svg' : '').(Header\UserAgent::mobile() ? '_mobile' : '');
|
||||
if (($map = Cache::getInstance(__CLASS__, $cache_name)))
|
||||
{
|
||||
return $map;
|
||||
|
Loading…
Reference in New Issue
Block a user