diff --git a/src/messenger/webim/default.css b/src/messenger/webim/default.css index e4508727..775261ea 100644 --- a/src/messenger/webim/default.css +++ b/src/messenger/webim/default.css @@ -397,9 +397,9 @@ input.formauth { border: 1px solid #4C96D4; background-color: #E7F1F9; padding: 8px 11px; - font-size: 11px; + font-size: 0.85em; font-weight:bold; - width : 400px; + max-width: 700px; margin: 0px 2px 10px; color: #515151; } diff --git a/src/messenger/webim/libs/common.php b/src/messenger/webim/libs/common.php index 343f11d4..ca290c50 100644 --- a/src/messenger/webim/libs/common.php +++ b/src/messenger/webim/libs/common.php @@ -550,9 +550,11 @@ function date_to_text($unixtime) { } $dbversion = '1.6.3'; +$featuresversion = '1.6.4'; $settings = array( 'dbversion' => 0, + 'featuresversion' => 0, 'title' => 'Your Company', 'hosturl' => 'http://mibew.org', 'logo' => '', diff --git a/src/messenger/webim/locales/en/properties b/src/messenger/webim/locales/en/properties index 50ec82f4..5ab29254 100644 --- a/src/messenger/webim/locales/en/properties +++ b/src/messenger/webim/locales/en/properties @@ -182,6 +182,7 @@ install.kill_tables.notice=Impossible to update tables structure. Try to do it m install.kill_tables=Drop existing tables from database install.license=Software license agreement install.message=Follow the wizard to setup your database. +install.newfeatures=Congratulations! You now have Mibew Messenger {1} installed. Turn on more features on Optional services page. install.next=Next step: install.title=Installation install.updatedb=Please, run Update wizard to adjust your database. diff --git a/src/messenger/webim/operator/features.php b/src/messenger/webim/operator/features.php index e3527b7b..2acfbc49 100644 --- a/src/messenger/webim/operator/features.php +++ b/src/messenger/webim/operator/features.php @@ -36,6 +36,10 @@ $options = array( 'enablecaptcha'); loadsettings(); +if($settings['featuresversion'] != $featuresversion) { + $settings['featuresversion'] = $featuresversion; + update_settings(); +} $params = array(); foreach($options as $opt) { $params[$opt] = $settings[$opt]; diff --git a/src/messenger/webim/operator/index.php b/src/messenger/webim/operator/index.php index 0a958946..68a25c5e 100644 --- a/src/messenger/webim/operator/index.php +++ b/src/messenger/webim/operator/index.php @@ -30,6 +30,8 @@ $page = array( 'localeLinks' => get_locale_links("$webimroot/operator/index.php"), 'needUpdate' => $settings['dbversion'] != $dbversion, 'updateWizard' => "$webimroot/install/", + 'newFeatures' => $settings['featuresversion'] != $featuresversion, + 'featuresPage' => "$webimroot/operator/features.php", ); prepare_menu($operator); diff --git a/src/messenger/webim/view/menu.php b/src/messenger/webim/view/menu.php index b51a786f..2f9c92ef 100644 --- a/src/messenger/webim/view/menu.php +++ b/src/messenger/webim/view/menu.php @@ -38,13 +38,16 @@ function menuseparator() { if(($menuItemsCount%3) == 0) { echo "