| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -16,11 +16,11 @@ use kartik\dialog\Dialog; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					$this->title                   = Yii::t('main', 'Available Modules'); | 
					 | 
					 | 
					 | 
					$this->title                   = Yii::t('main', 'Available Modules'); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					$this->params['breadcrumbs'][] = $this->title; | 
					 | 
					 | 
					 | 
					$this->params['breadcrumbs'][] = $this->title; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					$message = Yii::t('main', 'To install the module, use the following command in the SSH console:'); | 
					 | 
					 | 
					 | 
					$messageInstall = Yii::t('main', 'To install the module, use the following command in the SSH console:'); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					$js = <<<JS | 
					 | 
					 | 
					 | 
					$js = <<<JS | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    $(".install-button").on('click', function () { | 
					 | 
					 | 
					 | 
					    $(".install-button").on('click', function () { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        var name = $(this).data('name'); | 
					 | 
					 | 
					 | 
					        var name = $(this).data('name'); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        krajeeDialog.alert('{$message}' + "\\n" + '<pre><code>php yii module/install ' + name + '</code></pre>');  | 
					 | 
					 | 
					 | 
					        krajeeDialog.alert('{$messageInstall}' + "\\n" + '<pre><code>php yii module/install ' + name + '</code></pre>');  | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    }); | 
					 | 
					 | 
					 | 
					    }); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					JS; | 
					 | 
					 | 
					 | 
					JS; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					$this->registerJs($js, $this::POS_READY); | 
					 | 
					 | 
					 | 
					$this->registerJs($js, $this::POS_READY); | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |