Use various page name for agent and user chat

This commit is contained in:
Dmitriy Simushev 2013-02-05 08:27:48 +00:00
parent c2f3993fc1
commit 185be59862
2 changed files with 6 additions and 6 deletions

View File

@ -176,9 +176,9 @@ if( $pparam == "mailthread" ) {
expand("styles/dialogs", getchatstyle(), "mail.tpl");
} else if( $level == "ajaxed" ) {
// Load JavaScript plugins and JavaScripts, CSS files required by them
$page['additional_css'] = get_additional_css('chatWindow');
$page['additional_js'] = get_additional_js('chatWindow');
$page['js_plugin_options'] = get_js_plugin_options('chatWindow');
$page['additional_css'] = get_additional_css('client_chat_window');
$page['additional_js'] = get_additional_js('client_chat_window');
$page['js_plugin_options'] = get_js_plugin_options('client_chat_window');
// Expand page
expand("styles/dialogs", getchatstyle(), "chat.tpl");
} else if( $level == "old" ) {

View File

@ -125,9 +125,9 @@ if ($pparam == "redirect") {
expand("../styles/dialogs", getchatstyle(), "redirect.tpl");
} else {
// Load JavaScript plugins and JavaScripts, CSS files required by them
$page['additional_css'] = get_additional_css('chatWindow');
$page['additional_js'] = get_additional_js('chatWindow');
$page['js_plugin_options'] = get_js_plugin_options('chatWindow');
$page['additional_css'] = get_additional_css('agent_chat_window');
$page['additional_js'] = get_additional_js('agent_chat_window');
$page['js_plugin_options'] = get_js_plugin_options('agent_chat_window');
// Expand page
expand("../styles/dialogs", getchatstyle(), "chat.tpl");
}