summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2012-07-31 16:37:50 +0200
committerThomas Bruederli <thomas@roundcube.net>2012-07-31 16:37:50 +0200
commitb6267dadb6717eae9f661d14dc083bd24fbc3c29 (patch)
treec0087ccd21d3862722a1b7270b597d91b58d2429
parentab8fdaa604b8caecfb9192ea7c6c77417bfbdd47 (diff)
Hide product version on login screen by default
-rw-r--r--CHANGELOG3
-rw-r--r--config/main.inc.php.dist3
-rw-r--r--skins/classic/templates/login.html2
-rw-r--r--skins/larry/templates/login.html2
4 files changed, 7 insertions, 3 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 96003b18a..1f1acd95f 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -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
diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index 89f596636..8f69ca384 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -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;
diff --git a/skins/classic/templates/login.html b/skins/classic/templates/login.html
index db5771fb1..63e09bb10 100644
--- a/skins/classic/templates/login.html
+++ b/skins/classic/templates/login.html
@@ -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 />
diff --git a/skins/larry/templates/login.html b/skins/larry/templates/login.html
index c0ceb5c88..8aac930ed 100644
--- a/skins/larry/templates/login.html
+++ b/skins/larry/templates/login.html
@@ -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 />