| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -81,7 +81,7 @@ if ($action == 'add' || $action == 'edit') { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        if (!empty($category)) { | 
					 | 
					 | 
					 | 
					        if (!empty($category)) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            $form_title .= ' ' . get_lang('Into') . ' ' . Security::remove_XSS($category); | 
					 | 
					 | 
					 | 
					            $form_title .= ' ' . get_lang('Into') . ' ' . Security::remove_XSS($category); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        } | 
					 | 
					 | 
					 | 
					        } | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        $url = api_get_self().'?action='.Security::remove_XSS($action).'&category='.Security::remove_XSS($category).'&id='.Security::remove_XSS($category); | 
					 | 
					 | 
					 | 
					        $url = api_get_self().'?action='.Security::remove_XSS($action).'&category='.Security::remove_XSS($category).'&id='.Security::remove_XSS($categoryId); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        $form = new FormValidator('course_category', 'post', $url); | 
					 | 
					 | 
					 | 
					        $form = new FormValidator('course_category', 'post', $url); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        $form->addElement('header', '', $form_title); | 
					 | 
					 | 
					 | 
					        $form->addElement('header', '', $form_title); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        $form->addElement('hidden', 'formSent', 1); | 
					 | 
					 | 
					 | 
					        $form->addElement('hidden', 'formSent', 1); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |