"../group/group_space.php?gidReq=".$_SESSION['_gid'], "name" => get_lang('GroupSpace')); $noPHP_SELF = true; $to_group_id = $_SESSION['_gid']; $group = GroupManager :: get_group_properties($to_group_id); $path = explode('/', $dir); if ('/'.$path[1] != $group['directory']) { api_not_allowed(true); } } $interbreadcrumb[] = array ("url" => "./document.php?id=".$document_id.$req_gid, "name" => get_lang('Documents')); if (!$is_allowed_in_course) { api_not_allowed(true); } if (!($is_allowed_to_edit || $_SESSION['group_member_with_upload_rights'] || is_my_shared_folder(api_get_user_id(), Security::remove_XSS($dir),api_get_session_id()))) { api_not_allowed(true); } /* Header */ event_access_tool(TOOL_DOCUMENT); $display_dir = $dir; if (isset ($group)) { $display_dir = explode('/', $dir); unset ($display_dir[0]); unset ($display_dir[1]); $display_dir = implode('/', $display_dir); } // Interbreadcrumb for the current directory root path // Copied from document.php $dir_array = explode('/', $dir); $array_len = count($dir_array); /* TODO:check and delete this code if (!$is_certificate_mode) { if ($array_len > 1) { if (empty($_SESSION['_gid'])) { $url_dir = 'document.php?&curdirpath=/'; $interbreadcrumb[] = array('url' => $url_dir, 'name' => get_lang('HomeDirectory')); } } } */ $dir_acum = ''; for ($i = 0; $i < $array_len; $i++) { $url_dir = 'document.php?&curdirpath='.$dir_acum.$dir_array[$i]; //Max char 80 $url_to_who = cut($dir_array[$i],80); if ($is_certificate_mode) { $interbreadcrumb[] = array('url' => $url_dir.'&selectcat='.Security::remove_XSS($_GET['selectcat']), 'name' => $url_to_who); } else { $interbreadcrumb[] = array('url' => $url_dir, 'name' => $url_to_who); } $dir_acum .= $dir_array[$i].'/'; } // Display :: display_header($nameTools, 'Doc'); echo '
'; echo ''.Display::return_icon('back.png',get_lang('BackTo').' '.get_lang('DocumentsOverview'),'','32').''; echo '
'; echo '
'; ?> '; Display::display_icon('microphone.png', get_lang('PressRecordButton'),'','128'); echo '
'; echo ''; //echo ''; // default true // echo ''; //you can save in local computer | (default true) //echo ''; // default true //echo ''; // it displays the audiometer | (default true) echo ''; // default false //echo ''; // default #FFFFFF //echo ''; //echo ''; echo '';// ImaADPCM (more speed), Speex (more compression)|(default Speex) //echo '';//Quality for ImaADPCM (low 8000, medium 11025, normal 22050, hight 44100) OR Quality for Speex (low 8000, medium 16000, normal 32000, hight 44100) | (default 44100) //echo ''; //echo '';//load a file |(default "") echo ''; //check browser support and load form $array_browser=api_browser_support('check_browser'); if ($array_browser[0]=="Internet Explorer") { echo '
'.get_lang('BrowserNotSupportNanogongSend').'
'; } else { echo '
'; echo ''; echo ''; echo ''; echo ''; echo '
'; } echo ''; Display :: display_footer();