Re: CMSimple_XH 1.7.0
Posted: Tue Sep 19, 2017 7:24 am
Hi,
Not ,PNG images --> GIF images
https://github.com/cmsimple-xh/cmsimple ... s.php#L611
Not ,PNG images --> GIF images
cmb wrote: [*]A template can now ship an own set of language flag icons; simply put respective PNG images into the flags/ subfolder of the template. Missing icons are taken from the default location (userfiles/images/flags/).
Code: Select all
$url = $pth['folder']['base']
. ($lang == $cf['language']['default'] ? '' : $lang . '/');
$img = $pth['folder']['templateflags'] . $lang . '.gif';
if (!file_exists($img)) {
$img = $pth['folder']['flags'] . $lang . '.gif';
}