From d8ad03d2d3924ec47530ff0e8b2799bfe8b53b91 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 27 Jun 2012 00:09:04 -0300 Subject: Adding roundcube_login_info parameter --- templates/roundcube/main.inc.php.erb | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'templates') 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'] = << + <%= roundcube_login_info %> + +EOT; +<% end -%> + // ---------------------------------- // ADDRESSBOOK SETTINGS // ---------------------------------- -- cgit v1.2.3