Permalink
Browse files

Hide product version on login screen by default

  • Loading branch information...
thomascube committed Jul 31, 2012
1 parent ab8fdaa commit b6267dadb6717eae9f661d14dc083bd24fbc3c29
Showing with 7 additions and 3 deletions.
  1. +2 −1 CHANGELOG
  2. +3 −0 config/main.inc.php.dist
  3. +1 −1 skins/classic/templates/login.html
  4. +1 −1 skins/larry/templates/login.html
View
@@ -1,7 +1,8 @@
CHANGELOG Roundcube Webmail
===========================
-- Renamed old default' skin to 'classic'. Larry is the new default skin.
+- Don't show product version on login screen (can be enabled by config)
+- Renamed old default skin to 'classic'. Larry is the new default skin.
- Support connections to memcached socket file (#1488577)
- Enable TinyMCE inlinepopups plugin
- Update to TinyMCE 3.5.6
View
@@ -230,6 +230,9 @@ $rcmail_config['login_lc'] = false;
// Includes should be interpreted as PHP files
$rcmail_config['skin_include_php'] = false;
+// display software version on login screen
+$rcmail_config['display_version'] = false;
+
// Session lifetime in minutes
// must be greater than 'keep_alive'/60
$rcmail_config['session_lifetime'] = 10;
@@ -25,7 +25,7 @@
</div>
<div id="login-bottomline">
- Roundcube Webmail <roundcube:object name="version" />
+ <roundcube:var name="config:product_name"> <roundcube:object name="version" condition="config:display_version" />
<roundcube:if condition="config:support_url" />
&nbsp;&#9679;&nbsp; <a href="<roundcube:var name='config:support_url' />" target="_blank" class="support-link"><roundcube:label name="support" /></a>
<roundcube:endif />
@@ -24,7 +24,7 @@
</div>
<div id="bottomline">
- Roundcube Webmail <roundcube:object name="version" />
+ <roundcube:var name="config:product_name"> <roundcube:object name="version" condition="config:display_version" />
<roundcube:if condition="config:support_url" />
&nbsp;&#9679;&nbsp; <a href="<roundcube:var name='config:support_url' />" target="_blank" class="support-link"><roundcube:label name="support" /></a>
<roundcube:endif />

0 comments on commit b6267da

Please sign in to comment.