diff --git a/src/messenger/webim/libs/settings.php b/src/messenger/webim/libs/settings.php index 5852313b..d12651ae 100644 --- a/src/messenger/webim/libs/settings.php +++ b/src/messenger/webim/libs/settings.php @@ -32,7 +32,7 @@ function setup_settings_tabs($active) { getlocal("page_settings.tab.main") => $active != 0 ? "$webimroot/operator/settings.php" : "", getlocal("page_settings.tab.features") => $active != 1 ? "$webimroot/operator/features.php" : "", getlocal("page_settings.tab.themes") => $active != 2 ? "$webimroot/operator/preview.php" : "", - getlocal("page_settings.tab.news") => $active != 3 ? "$webimroot/operator/news.php" : "", + getlocal("page_settings.tab.updates") => $active != 3 ? "$webimroot/operator/updates.php" : "", ); } diff --git a/src/messenger/webim/locales/en/properties b/src/messenger/webim/locales/en/properties index 949a2d27..fcd11fbc 100644 --- a/src/messenger/webim/locales/en/properties +++ b/src/messenger/webim/locales/en/properties @@ -247,10 +247,10 @@ page_login.remember=Remember page_login.title=Login page_search.intro=Search for chat history of a specified user or a specified phrase in a message. page_settings.intro=Specify options affecting chat window and common system behavior -page_settings.tab.news=News page_settings.tab.features=Optional Services page_settings.tab.main=General page_settings.tab.themes=Themes preview +page_settings.tab.updates=Updates pending.table.ban=Ban the visitor pending.table.head.contactid=Visitor's address pending.table.head.etc=Misc @@ -304,3 +304,5 @@ topMenu.admin=Administration topMenu.logoff=Exit topMenu.users=Visitors typing.remote=Remote user is typing... +updates.intro=Web Messenger updates. +updates.title=Updates diff --git a/src/messenger/webim/operator/news.php b/src/messenger/webim/operator/updates.php similarity index 76% rename from src/messenger/webim/operator/news.php rename to src/messenger/webim/operator/updates.php index f36b54ee..a67d417d 100644 --- a/src/messenger/webim/operator/news.php +++ b/src/messenger/webim/operator/updates.php @@ -15,15 +15,18 @@ require_once('../libs/common.php'); require_once('../libs/operator.php'); require_once('../libs/settings.php'); -require_once('../libs/config.php'); $operator = check_login(); -$page = array('agentId' => ''); $errors = array(); - +$page = array( + 'operator' => topage(get_operator_name($operator)), + 'localizations' => get_available_locales(), + 'phpVersion' => phpversion(), + 'version' => $version, +); setup_settings_tabs(3); start_html_output(); -require('../view/news.php'); +require('../view/updates.php'); ?> \ No newline at end of file diff --git a/src/messenger/webim/view/updates.php b/src/messenger/webim/view/updates.php new file mode 100644 index 00000000..e7b42ef3 --- /dev/null +++ b/src/messenger/webim/view/updates.php @@ -0,0 +1,91 @@ + + +
+ + + + + + + +
+
+
+ + +
|
+