0) { foreach ($scan_files as & $file) { $slideshow_extension = strrchr($file, '.'); $slideshow_extension = strtolower($slideshow_extension); if (in_array($slideshow_extension, $accepted_extensions)) { $png_svg_files[] =$file; } } } $style = ''; ?> '.get_lang('Social network').': '.get_lang('My files').''; if (!empty($png_svg_files)) { echo '

'.get_lang('Select a picture (SVG, PNG)').'

'; echo ''; } else { echo Display::return_message(get_lang('No SVG image'), 'warning'); } ?>