mirror of
				https://github.com/Alamantus/Lexiconga.git
				synced 2025-11-04 02:07:05 +01:00 
			
		
		
		
	Rename view.html for the router to template-view.html
This commit is contained in:
		
							parent
							
								
									ffdd008344
								
							
						
					
					
						commit
						9e993be503
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -3,7 +3,7 @@ $view = isset($_GET['view']) ? $_GET['view'] : false;
 | 
			
		|||
 | 
			
		||||
switch ($view) {
 | 
			
		||||
  case 'dictionary': {
 | 
			
		||||
    $html = file_get_contents('../view.html');
 | 
			
		||||
    $html = file_get_contents('../template-view.html');
 | 
			
		||||
    $dict = isset($_GET['dict']) ? $_GET['dict'] : false;
 | 
			
		||||
    if ($dict !== false) {
 | 
			
		||||
      require_once('./Dictionary.php');
 | 
			
		||||
| 
						 | 
				
			
			@ -27,7 +27,7 @@ switch ($view) {
 | 
			
		|||
    break;
 | 
			
		||||
  }
 | 
			
		||||
  case 'word': {
 | 
			
		||||
    $html = file_get_contents('../view.html');
 | 
			
		||||
    $html = file_get_contents('../template-view.html');
 | 
			
		||||
    $dict = isset($_GET['dict']) ? $_GET['dict'] : false;
 | 
			
		||||
    $word = isset($_GET['word']) ? $_GET['word'] : false;
 | 
			
		||||
    if ($dict !== false && $word !== false) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue