mirror of
				https://github.com/Mibew/i18n.git
				synced 2025-11-01 01:36:57 +03:00 
			
		
		
		
	resources, showing button
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@14 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
		
							parent
							
								
									a6da5dd574
								
							
						
					
					
						commit
						d6c670ce3a
					
				| @ -15,12 +15,13 @@ | |||||||
| require('libs/common.php'); | require('libs/common.php'); | ||||||
| require('libs/operator.php'); | require('libs/operator.php'); | ||||||
| 
 | 
 | ||||||
|  | $image = verifyparam("image","/^\w+$/", "webim"); | ||||||
| $lang = verifyparam("lang", "/^\w\w$/", ""); | $lang = verifyparam("lang", "/^\w\w$/", ""); | ||||||
| if( !$lang || !in_array($lang,$available_locales) ) | if( !$lang || !in_array($lang,$available_locales) ) | ||||||
| 	$lang = $current_locale; | 	$lang = $current_locale; | ||||||
| 
 | 
 | ||||||
| $image_postfix = has_online_operators() ? "on" : "off"; | $image_postfix = has_online_operators() ? "on" : "off"; | ||||||
| $name = "images/webim/webim_${lang}_${image_postfix}.gif"; | $name = "images/webim/${image}_${lang}_${image_postfix}.gif"; | ||||||
| 
 | 
 | ||||||
| $fp = fopen($name, 'rb') or die("no image"); | $fp = fopen($name, 'rb') or die("no image"); | ||||||
| header("Content-Type: image/gif"); | header("Content-Type: image/gif"); | ||||||
|  | |||||||
| @ -115,8 +115,6 @@ image.button.save=/webim/images/en/save.gif | |||||||
| content.logoff=Log out of the system. | content.logoff=Log out of the system. | ||||||
| form.field.agent_commonname=International name (Latin) | form.field.agent_commonname=International name (Latin) | ||||||
| form.field.agent_commonname.description=This name will be seen by your visitors | form.field.agent_commonname.description=This name will be seen by your visitors | ||||||
| get_button_en=Get button code for English pages |  | ||||||
| get_button_ru=Get button code for Russian pages |  | ||||||
| install.create_db_link=Create tables in MySQL database | install.create_db_link=Create tables in MySQL database | ||||||
| install.license=Software license agreement | install.license=Software license agreement | ||||||
| install.message=We are ready to complete installation by creating tables. | install.message=We are ready to complete installation by creating tables. | ||||||
|  | |||||||
| @ -115,8 +115,6 @@ image.button.save=/webim/images/ru/save.gif | |||||||
| content.logoff=Покинуть систему. | content.logoff=Покинуть систему. | ||||||
| form.field.agent_commonname=Интернациональное имя (латиницей) | form.field.agent_commonname=Интернациональное имя (латиницей) | ||||||
| form.field.agent_commonname.description=Под этим именем Вас увидят ваши посетители из других стран | form.field.agent_commonname.description=Под этим именем Вас увидят ваши посетители из других стран | ||||||
| get_button_en=Получить код кнопки для английских страниц |  | ||||||
| get_button_ru=Получить код кнопки для русских страниц |  | ||||||
| install.create_db_link=Создать необходимые таблицы в базе данных | install.create_db_link=Создать необходимые таблицы в базе данных | ||||||
| install.license=Лицензионное соглашение о программном обеспечении | install.license=Лицензионное соглашение о программном обеспечении | ||||||
| install.message=Для окончания установки необходимо создать таблицы. | install.message=Для окончания установки необходимо создать таблицы. | ||||||
| @ -128,5 +126,7 @@ menu.agents= | |||||||
| menu.main=Главная | menu.main=Главная | ||||||
| menu.operator=Вы {0} | menu.operator=Вы {0} | ||||||
| no_such_operator=Запрашиваемая учетная запись не существует | no_such_operator=Запрашиваемая учетная запись не существует | ||||||
|  | page.gen_button.choose_image=Âûáîð êàðòèíêè | ||||||
|  | page.gen_button.choose_locale=Äëÿ êàêîé ëîêàëè ñîçäàâàòü êíîïêó | ||||||
| page_agent.create_new=Создание нового оператора | page_agent.create_new=Создание нового оператора | ||||||
| page_agents.agent_commonname=Интернациональное имя | page_agents.agent_commonname=Интернациональное имя | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user