input->get('func', 'ckSelectFile', 'cmd'); $returnField = $this->input->get('field', $this->input->get('fieldid', '', 'string'), 'string'); $type = $this->input->get('type', 'image', 'string'); if (JComponentHelper::getParams('com_pagebuilderck')->get('imagespathexclusive', '0') == '0') { $folderPath = $this->input->get('folder', 'images', 'string'); } else { $folderPath = $this->input->get('folder', '', 'string') ? trim($this->input->get('folder', '', 'string'), '/') : trim(JComponentHelper::getParams('com_pagebuilderck')->get('imagespath', 'images/pagebuilderck'), '/'); } CKFramework::loadCss(); switch ($type) { case 'video' : $fileicon = 'file_video.png'; break; case 'audio' : $fileicon = 'file_audio.png'; break; case 'folder' : case 'image' : default : $fileicon = 'file_image.png'; break; } //$fileTypes = array( // 'video' => array('.mp4', '.ogv', '.webm', '.MP4', '.OGV', '.WEBM') // , 'audio' => array('.mp3', '.ogg', '.MP3', '.OGG') // , 'pdf' => array('.pdf') // , 'image' => array('.jpg', '.jpeg', '.png', '.gif', '.tiff', '.JPG', '.JPEG', '.PNG', '.GIF', '.TIFF', '.ico', '.svg', '.WEBP', '.webp') //); ?>