From c0e1e026d8663ae8e18e5c16eb4dc0359fe45bf3 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 15 Feb 2020 21:32:04 +0100 Subject: [PATCH] use Horde imap library --- lam/lib/modules/imapAccess.inc | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/lam/lib/modules/imapAccess.inc b/lam/lib/modules/imapAccess.inc index 4728f785..e421dde8 100644 --- a/lam/lib/modules/imapAccess.inc +++ b/lam/lib/modules/imapAccess.inc @@ -211,11 +211,9 @@ class imapAccess extends baseModule { } /** - * Returns the HTML meta data for the main account page. - * - * @return array HTML meta data + * @inheritDoc */ - function display_html_attributes() { + public function display_html_attributes() { $return = new htmlResponsiveRow(); if (!checkIfWriteAccessIsAllowed($this->get_scope())) { return $return; @@ -248,7 +246,7 @@ class imapAccess extends baseModule { $return->addLabel(new htmlOutputText(_('Mailbox'))); $mailboxGroup = new htmlGroup(); $mailboxGroup->addElement(new htmlOutputText($prefix . $this->getSep() . $this->user)); - $mailboxGroup->addElement(new htmlHelpLink('MailAddress'), true); + $mailboxGroup->addElement(new htmlHelpLink('MailAddress')); $return->addField($mailboxGroup); $return->addVerticalSpacer('2rem'); @@ -279,7 +277,7 @@ class imapAccess extends baseModule { * Returns the HTML meta data for the password page. * * @param htmlStatusMessage|null $message status message - * @return array HTML meta data + * @return htmlResponsiveRow HTML meta data */ function display_html_password($message = null) { $return = new htmlResponsiveRow(); @@ -925,5 +923,3 @@ class imapAccess extends baseModule { } } - -?>