summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-06-27 00:09:04 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-06-27 00:09:04 -0300
commitd8ad03d2d3924ec47530ff0e8b2799bfe8b53b91 (patch)
tree89b2239a0c45844af17f6ee6114d573ceda646e5 /templates
parentf53cc8086e9ce381b5235cf54aa47468ddd18885 (diff)
downloadpuppet-mail-d8ad03d2d3924ec47530ff0e8b2799bfe8b53b91.tar.gz
puppet-mail-d8ad03d2d3924ec47530ff0e8b2799bfe8b53b91.tar.bz2
Adding roundcube_login_info parameter
Diffstat (limited to 'templates')
-rw-r--r--templates/roundcube/main.inc.php.erb11
1 files changed, 10 insertions, 1 deletions
diff --git a/templates/roundcube/main.inc.php.erb b/templates/roundcube/main.inc.php.erb
index aa449d9..5582ce0 100644
--- a/templates/roundcube/main.inc.php.erb
+++ b/templates/roundcube/main.inc.php.erb
@@ -358,7 +358,7 @@ $rcmail_config['email_dns_check'] = false;
// ----------------------------------
// List of active plugins (in plugins/ directory)
-$rcmail_config['plugins'] = array();
+$rcmail_config['plugins'] = array('login_info');
// ----------------------------------
// USER INTERFACE
@@ -483,6 +483,15 @@ $rcmail_config['upload_progress'] = false;
// Setting it to 0, disables the feature.
$rcmail_config['undo_timeout'] = 0;
+<% if roundcube_login_info != false %>
+// Login_info plugin
+$rcmail_config['login_info'] = <<<EOT
+<div id="login_info" style="margin-top:3%;margin-left:auto;margin-right:auto;;width:380px;border-radius:10px;padding:10px;-moz-border-radius:10px;background-color:lightgrey;text-align:center;color:red;">
+ <%= roundcube_login_info %>
+</div>
+EOT;
+<% end -%>
+
// ----------------------------------
// ADDRESSBOOK SETTINGS
// ----------------------------------