| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -80,24 +80,26 @@ if (!empty($sessionId)) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					if ($is_allowed_to_edit) { | 
					 | 
					 | 
					 | 
					if ($is_allowed_to_edit) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    $actionLeft = ''; | 
					 | 
					 | 
					 | 
					    $actionLeft = ''; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    $actionLeft .= Display::url( | 
					 | 
					 | 
					 | 
					    if (!(api_get_configuration_value('session_hide_lp_creation') === true && (isset($sessionId) && $sessionId != 0))) { | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        Display::return_icon( | 
					 | 
					 | 
					 | 
					        $actionLeft .= Display::url( | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            'new_learnpath.png', | 
					 | 
					 | 
					 | 
					            Display::return_icon( | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            get_lang('LearnpathAddLearnpath'), | 
					 | 
					 | 
					 | 
					                'new_learnpath.png', | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            '', | 
					 | 
					 | 
					 | 
					                get_lang('LearnpathAddLearnpath'), | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            ICON_SIZE_MEDIUM | 
					 | 
					 | 
					 | 
					                '', | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        ), | 
					 | 
					 | 
					 | 
					                ICON_SIZE_MEDIUM | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        api_get_self().'?'.api_get_cidreq().'&action=add_lp' | 
					 | 
					 | 
					 | 
					            ), | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					            api_get_self().'?'.api_get_cidreq().'&action=add_lp' | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    $actionLeft .= Display::url( | 
					 | 
					 | 
					 | 
					        ); | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        Display::return_icon( | 
					 | 
					 | 
					 | 
					        $actionLeft .= Display::url( | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            'import_scorm.png', | 
					 | 
					 | 
					 | 
					            Display::return_icon( | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            get_lang('UploadScorm'), | 
					 | 
					 | 
					 | 
					                'import_scorm.png', | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            '', | 
					 | 
					 | 
					 | 
					                get_lang('UploadScorm'), | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            ICON_SIZE_MEDIUM | 
					 | 
					 | 
					 | 
					                '', | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        ), | 
					 | 
					 | 
					 | 
					                ICON_SIZE_MEDIUM | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        '../upload/index.php?'.api_get_cidreq().'&curdirpath=/&tool='.TOOL_LEARNPATH | 
					 | 
					 | 
					 | 
					            ), | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ); | 
					 | 
					 | 
					 | 
					            '../upload/index.php?'.api_get_cidreq().'&curdirpath=/&tool='.TOOL_LEARNPATH | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        ); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    if (api_get_setting('service_ppt2lp', 'active') === 'true') { | 
					 | 
					 | 
					 | 
					    if (api_get_setting('service_ppt2lp', 'active') === 'true') { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        $actionLeft .= Display::url( | 
					 | 
					 | 
					 | 
					        $actionLeft .= Display::url( | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -200,6 +202,7 @@ $isInvitee = api_is_invitee(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					$hideScormExportLink = api_get_setting('hide_scorm_export_link'); | 
					 | 
					 | 
					 | 
					$hideScormExportLink = api_get_setting('hide_scorm_export_link'); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					$hideScormCopyLink = api_get_setting('hide_scorm_copy_link'); | 
					 | 
					 | 
					 | 
					$hideScormCopyLink = api_get_setting('hide_scorm_copy_link'); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					$hideScormPdfLink = api_get_setting('hide_scorm_pdf_link'); | 
					 | 
					 | 
					 | 
					$hideScormPdfLink = api_get_setting('hide_scorm_pdf_link'); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					$hideLpCopyInSession = (api_get_configuration_value('session_hide_lp_copy') === true && (isset($sessionId) && $sessionId != 0)); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					$options = learnpath::getIconSelect(); | 
					 | 
					 | 
					 | 
					$options = learnpath::getIconSelect(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					$cidReq = api_get_cidreq(); | 
					 | 
					 | 
					 | 
					$cidReq = api_get_cidreq(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -925,7 +928,7 @@ foreach ($categories as $item) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                $dsp_disk = null; | 
					 | 
					 | 
					 | 
					                $dsp_disk = null; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            } | 
					 | 
					 | 
					 | 
					            } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            if ($hideScormCopyLink === 'true') { | 
					 | 
					 | 
					 | 
					            if ($hideScormCopyLink === 'true' || $hideLpCopyInSession) { | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                $copy = null; | 
					 | 
					 | 
					 | 
					                $copy = null; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            } | 
					 | 
					 | 
					 | 
					            } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |