diff --git a/data/web/js/site/mailbox.js b/data/web/js/site/mailbox.js index 8f541ffa..c74494aa 100644 --- a/data/web/js/site/mailbox.js +++ b/data/web/js/site/mailbox.js @@ -358,6 +358,7 @@ jQuery(function($){ item.pop3_access = ''; item.imap_access = ''; item.smtp_access = ''; + item.sieve_access = ''; if (item.attributes.quarantine_notification === 'never') { item.quarantine_notification = lang.never; } else if (item.attributes.quarantine_notification === 'hourly') { @@ -375,15 +376,13 @@ jQuery(function($){ item.quarantine_category = lang.q_all; } if (acl_data.login_as === 1) { - var btnSize = 'btn-xs-third'; - if (ALLOW_ADMIN_EMAIL_LOGIN) btnSize = 'btn-xs-quart'; - item.action = '
' + - ' ' + lang.edit + '' + - ' ' + lang.remove + '' + - ' Login'; + item.action = '
' + + ' ' + lang.edit + '' + + ' ' + lang.remove + '' + + ''; if (ALLOW_ADMIN_EMAIL_LOGIN) { - item.action += ''; + item.action += ''; } item.action += '
'; } @@ -504,6 +503,11 @@ jQuery(function($){ data: 'pop3_access', defaultContent: '' }, + { + title: 'SIEVE', + data: 'sieve_access', + defaultContent: '' + }, { title: lang.quarantine_notification, data: 'quarantine_notification', diff --git a/data/web/templates/mailbox/tab-mailboxes.twig b/data/web/templates/mailbox/tab-mailboxes.twig index 6ce65beb..7f5e21a3 100644 --- a/data/web/templates/mailbox/tab-mailboxes.twig +++ b/data/web/templates/mailbox/tab-mailboxes.twig @@ -54,6 +54,9 @@
  • {{ lang.mailbox.activate }}
  • {{ lang.mailbox.deactivate }}
  • + +
  • {{ lang.mailbox.activate }}
  • +
  • {{ lang.mailbox.deactivate }}
  • {{ lang.mailbox.add_mailbox }}
    @@ -95,6 +98,9 @@
  • {{ lang.mailbox.activate }}
  • {{ lang.mailbox.deactivate }}
  • + +
  • {{ lang.mailbox.activate }}
  • +
  • {{ lang.mailbox.deactivate }}