more work on fancy theme and mime-icons from bootstrap, thought PHP GD unfortunately does NOT support SVG, so we can not include a type-icon into thumbnails

This commit is contained in:
ralf
2024-08-27 19:15:25 +02:00
parent 039acf1569
commit d1726937f7
8 changed files with 107 additions and 30 deletions

View File

@@ -118,6 +118,11 @@ egw.extend('images', egw.MODULE_GLOBAL, function()
_name = split[1];
}
}
// do NOT find old mime128-icons, if not translated to bootstrap
if (_name.startsWith('mime128_'))
{
return null;
}
tries[_app + (_app == 'phpgwapi' ? " (current app)" : "")] = _name;
if (typeof images[_app] != 'undefined' && typeof images[_app][_name] == 'string')
{