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