diff --git a/src/messenger/webim/operator/preview.php b/src/messenger/webim/operator/themes.php
similarity index 93%
rename from src/messenger/webim/operator/preview.php
rename to src/messenger/webim/operator/themes.php
index 3c90a374..61ee4830 100644
--- a/src/messenger/webim/operator/preview.php
+++ b/src/messenger/webim/operator/themes.php
@@ -47,7 +47,7 @@ if($showerrors) {
if($show == 'chat' || $show == 'mail' || $show == 'leavemessage' || $show == 'leavemessagesent' || $show == 'chatsimple' || $show == 'nochat') {
setup_chatview_for_user(array('threadid' => 0,'userName' => getstring("chat.default.username"), 'ltoken' => 123), "ajaxed");
- $page['mailLink'] = "$webimroot/operator/preview.php?preview=$preview&show=mail";
+ $page['mailLink'] = "$webimroot/operator/themes.php?preview=$preview&show=mail";
$page['info'] = "";
expand("../styles", "$preview", "$show.tpl");
exit;
@@ -83,7 +83,7 @@ if($show == 'redirect' || $show == 'redirected' || $show == 'agentchat' || $show
} elseif($show=='redirected') {
$page['message'] = getlocal2("chat.redirected.content",array("Administrator"));
}
- $page['redirectLink'] = "$webimroot/operator/preview.php?preview=$preview&show=redirect";
+ $page['redirectLink'] = "$webimroot/operator/themes.php?preview=$preview&show=redirect";
expand("../styles", "$preview", "$show.tpl");
exit;
}
@@ -118,7 +118,7 @@ $page['availableTemplates'] = array(
"agentchat", "agentrochat",
"all");
-$page['showlink'] = "$webimroot/operator/preview.php?preview=$preview&".($showerrors?"showerr=on&":"")."show=";
+$page['showlink'] = "$webimroot/operator/themes.php?preview=$preview&".($showerrors?"showerr=on&":"")."show=";
$page['previewList'] = array();
foreach($templateList as $tpl) {
@@ -130,5 +130,5 @@ foreach($templateList as $tpl) {
prepare_menu($operator);
start_html_output();
setup_settings_tabs(2);
-require('../view/preview.php');
+require('../view/themes.php');
?>
\ No newline at end of file
diff --git a/src/messenger/webim/view/preview.php b/src/messenger/webim/view/themes.php
similarity index 99%
rename from src/messenger/webim/view/preview.php
rename to src/messenger/webim/view/themes.php
index 90b9bc20..6b2edd53 100644
--- a/src/messenger/webim/view/preview.php
+++ b/src/messenger/webim/view/themes.php
@@ -23,7 +23,7 @@ function tpl_content() { global $page, $webimroot;
-