mirror of
				https://github.com/Mibew/i18n.git
				synced 2025-11-01 01:36:57 +03:00 
			
		
		
		
	Remove unnecessary element from $page array in set_chatview_* functions
This commit is contained in:
		
							parent
							
								
									ad4f4e8d8e
								
							
						
					
					
						commit
						edef539707
					
				| @ -245,7 +245,6 @@ function setup_chatview_for_user($thread, $level) | ||||
| 	$page['ct.user.name'] = htmlspecialchars(topage($thread->userName)); | ||||
| 	$page['canChangeName'] = Settings::get('usercanchangename') == "1"; | ||||
| 	$page['chat.title'] = topage(empty($group['vcchattitle'])?Settings::get('chattitle'):$group['vcchattitle']); | ||||
| 	$page['chat.close.confirmation'] = getlocal('chat.close.confirmation'); | ||||
| 
 | ||||
| 	setup_logo($group); | ||||
| 	if (Settings::get('sendmessagekey') == 'enter') { | ||||
| @ -295,7 +294,6 @@ function setup_chatview_for_operator($thread, $operator) | ||||
| 	$page['ct.token'] = $thread->lastToken; | ||||
| 	$page['ct.user.name'] = htmlspecialchars(topage(get_user_name($thread->userName, $thread->remote, $thread->userId))); | ||||
| 	$page['chat.title'] = topage(empty($group['vcchattitle'])?Settings::get('chattitle'):$group['vcchattitle']); | ||||
| 	$page['chat.close.confirmation'] = getlocal('chat.close.confirmation'); | ||||
| 
 | ||||
| 	setup_logo($group); | ||||
| 	if (Settings::get('sendmessagekey') == 'enter') { | ||||
|  | ||||
| @ -32,7 +32,7 @@ | ||||
|         ${page:additional_js} | ||||
|         <script type="text/javascript"><!-- | ||||
|             Mibew.Localization.set({ | ||||
|                 'chat.close.confirmation': "${page:chat.close.confirmation}", | ||||
|                 'chat.close.confirmation': "${msg:chat.close.confirmation}", | ||||
|                 'typing.remote': "${msg:typing.remote}", | ||||
|                 'chat.window.predefined.select_answer': "${msg:chat.window.predefined.select_answer}", | ||||
|                 'chat.window.send_message': "${msg:chat.window.send_message}", | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user