Mailbox update
This commit is contained in:
@@ -73,8 +73,8 @@ class Emailinbox extends Renderer {
|
||||
$folderItems = [];
|
||||
var_dump($this->folder);
|
||||
foreach ($folders as $folder) {
|
||||
var_dump($folder, $this->folder === $folder);
|
||||
$item = '<li><a href="/emailinbox?folder=' . urlencode($folder['shortpath']) . '"' . ($folder === $this->folder ? ' style="active-folder"' : '') . '>' . utf8_encode($folder['shortpath']) . '</a></li>';
|
||||
var_dump($folder['shortpath'], $this->folder === $folder['shortpath']);
|
||||
$item = '<li><a href="/emailinbox?folder=' . urlencode($folder['shortpath']) . '"' . ($folder['shortpath'] === $this->folder ? ' style="active-folder"' : '') . '>' . utf8_encode($folder['shortpath']) . '</a></li>';
|
||||
$folderItems[] = $item;
|
||||
}
|
||||
$this->content['folders'] = implode('', $folderItems);
|
||||
|
||||
Reference in New Issue
Block a user