diff --git a/src/messenger/webim/default.css b/src/messenger/webim/default.css index 203c415e..ef4f651f 100644 --- a/src/messenger/webim/default.css +++ b/src/messenger/webim/default.css @@ -405,9 +405,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 f0128c0d..1d70ec04 100644 --- a/src/messenger/webim/libs/common.php +++ b/src/messenger/webim/libs/common.php @@ -559,9 +559,11 @@ function webim_mail($toaddr, $reply_to, $subject, $body) { } $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 ea5026ae..9edb6a53 100644 --- a/src/messenger/webim/locales/en/properties +++ b/src/messenger/webim/locales/en/properties @@ -185,6 +185,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 cffe33c5..5a358621 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 f093ca25..f20af42b 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 97ec05b1..732f8bb7 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 "