From a266f6f07c674cd9af3f203f7465d68eeb0c856b Mon Sep 17 00:00:00 2001 From: Torsten Schulz Date: Fri, 16 Jun 2023 16:07:51 +0200 Subject: [PATCH] Mailbox update --- include/emailinbox.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/emailinbox.php b/include/emailinbox.php index 5e8163c..eb3ce96 100644 --- a/include/emailinbox.php +++ b/include/emailinbox.php @@ -68,13 +68,15 @@ class Emailinbox extends Renderer { } protected function generateFolders(): void { - var_dump($this->folder); + // var_dump($this->folder); $this->connectToImap(); $folders = $this->mbox->getMailboxes("*"); $folderItems = []; - var_dump($this->folder); + // var_dump($this->folder); foreach ($folders as $folder) { - $item = '
  • folder ? ' class="active-folder"' : '') . '>' . utf8_encode($folder['shortpath']) . '
  • '; + $item = '
  • folder ? ' class="active-folder"' : '') . '>' . + utf8_encode($folder['shortpath']) . '
  • '; $folderItems[] = $item; } $this->content['folders'] = implode('', $folderItems);