more shit
This commit is contained in:
		
							parent
							
								
									3d93375bf4
								
							
						
					
					
						commit
						443887dc10
					
				
					 13 changed files with 170 additions and 24 deletions
				
			
		
							
								
								
									
										37
									
								
								src/pages/aboutPage.php
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								src/pages/aboutPage.php
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,37 @@ | |||
| <?php | ||||
|   function &genAbout($language): ?string{ | ||||
|     $strings=array_merge( | ||||
|       parse_ini_file(__DIR__.'/../../data/locale/'.$language.'/strings/aboutpage.ini'), | ||||
|       parse_ini_file(__DIR__.'/../../data/locale/'.$language.'/strings/main.ini') | ||||
|     ); | ||||
|     $conf=parse_ini_file(__DIR__.'./../../serve.ini',true); | ||||
|     $output="<h1 title=\"".$strings['misc_stslogohover']."\">".file_get_contents(__DIR__."/../../data/misc/icon/html.html")."</h1>"; | ||||
|     $output=$output.sprintf( | ||||
|         $strings['a'], | ||||
|         $conf['META']['svn'], | ||||
|         $strings['meta_project_name'], | ||||
|         $strings['meta_project_desc'] | ||||
|       ). | ||||
|       '<br>'.  | ||||
|       sprintf( | ||||
|         $strings['b'], | ||||
|         sprintf( | ||||
|           '%d.%d.%d', | ||||
|           $conf['META']['version'][0], | ||||
|           $conf['META']['version'][1], | ||||
|           $conf['META']['version'][2] | ||||
|         ) | ||||
|       ). | ||||
|       '<hr>'. | ||||
|       $strings['ca']. | ||||
|       '<br>'. | ||||
|       sprintf( | ||||
|         $strings['d'], | ||||
|         $conf['MAINTAINERS_0']['name'], | ||||
|         $conf['MAINTAINERS_0']['email'], | ||||
|         $conf['MAINTAINERS_0']['email'] | ||||
|     ); | ||||
| 
 | ||||
|     return $output; | ||||
|   } | ||||
| ?>
 | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 whotookelburg
						whotookelburg