mirror of
				https://github.com/Mibew/i18n.git
				synced 2025-10-31 17:31:05 +03:00 
			
		
		
		
	git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@27 c66351dc-e62f-0410-b875-e3a5c0b9693f
		
			
				
	
	
		
			39 lines
		
	
	
		
			967 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			967 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| /*
 | |
|  * This file is part of Web Instant Messenger project.
 | |
|  *
 | |
|  * Copyright (c) 2005-2007 Internet Services Ltd.
 | |
|  * All rights reserved. This program and the accompanying materials
 | |
|  * are made available under the terms of the Eclipse Public License v1.0
 | |
|  * which accompanies this distribution, and is available at
 | |
|  * http://www.eclipse.org/legal/epl-v10.html
 | |
|  *
 | |
|  * Contributors:
 | |
|  *    Evgeny Gryaznov - initial API and implementation
 | |
|  */
 | |
| 
 | |
| require('../libs/common.php');
 | |
| require('../libs/operator.php');
 | |
| 
 | |
| $operator = check_login();
 | |
| 
 | |
| $page = array( 
 | |
| 	'operator' => get_operator_name($operator),
 | |
| 	'version' => 'v1.0.7'
 | |
| );
 | |
| 
 | |
| $localeLinks = "";
 | |
| foreach($available_locales as $k) {
 | |
| 	if( strlen($localeLinks) > 0 )
 | |
| 		$localeLinks .= " • ";
 | |
| 	if( $k == $current_locale )
 | |
| 		$localeLinks .= $k;
 | |
| 	else
 | |
| 		$localeLinks .= "<a href=\"/webim/operator/index.php?locale=$k\">$k</a>";
 | |
| }
 | |
| 
 | |
| $page['localeLinks'] = $localeLinks;
 | |
| 
 | |
| start_html_output();
 | |
| require('../view/menu.php');
 | |
| ?>
 |