mirror of
				https://github.com/Icinga/icingaweb2.git
				synced 2025-10-31 11:24:51 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			583 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			583 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| use Icinga\Application\Icinga;
 | |
| use Icinga\Web\Controller;
 | |
| use Icinga\Web\Widget;
 | |
| 
 | |
| class Doc_StyleController extends Controller
 | |
| {
 | |
|     public function fontAction()
 | |
|     {
 | |
|         $this->view->tabs = Widget::create('tabs')->add(
 | |
|             'fonts',
 | |
|             array(
 | |
|                 'title' => $this->translate('Icons'),
 | |
|                 'url' => 'doc/style/font'
 | |
|             )
 | |
|         )->activate('fonts');
 | |
|         $confFile = Icinga::app()->getApplicationDir('fonts/fontanello-ifont/config.json');
 | |
|         $this->view->font = json_decode(file_get_contents($confFile));
 | |
|     }
 | |
| }
 |