0) { while (list($key) = each($array_to_search)) { $all_files[] = basename($array_to_search[$key]['path']); } } //get all svg and png group files $accepted_extensions = array('.svg', '.png'); if (is_array($all_files) && count($all_files) > 0) { foreach ($all_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('Group').': '.$group_properties['name'].''; if (( $group_properties['doc_state'] == 2 && ($is_allowed_to_edit || GroupManager :: is_user_in_group($_user['user_id'], $group_properties))) || $group_properties['doc_state'] == 1 ){ if (!empty($png_svg_files)) { echo '