From: Michael M Slusarz Date: Mon, 22 Jun 2009 04:11:08 +0000 (-0600) Subject: Fix some icon paths X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=b38646e71ac311cda0039bf92fb5b6c8534a9b78;p=horde.git Fix some icon paths --- diff --git a/imp/lib/IMP.php b/imp/lib/IMP.php index e858cef5e..69d5324fd 100644 --- a/imp/lib/IMP.php +++ b/imp/lib/IMP.php @@ -670,7 +670,7 @@ class IMP $t->set('ak', $ak); $t->set('flist', self::flistSelect(array('selected' => $GLOBALS['imp_mbox']['mailbox'], 'inc_vfolder' => true))); - $t->set('flink', sprintf('%s%s
%s', Horde::link('#'), ($menu_view != 'text') ? Horde::img('folders/folder_open.png', _("Open Folder"), ($menu_view == 'icon') ? array('title' => _("Open Folder")) : array()) : '', ($menu_view != 'icon') ? Horde::highlightAccessKey(_("Open Fo_lder"), $ak) : '')); + $t->set('flink', sprintf('%s%s
%s', Horde::link('#'), ($menu_view != 'text') ? Horde::img('folders/open.png', _("Open Folder"), ($menu_view == 'icon') ? array('title' => _("Open Folder")) : array()) : '', ($menu_view != 'icon') ? Horde::highlightAccessKey(_("Open Fo_lder"), $ak) : '')); } $t->set('menu_string', self::getMenu('string')); diff --git a/imp/lib/Imap/Tree.php b/imp/lib/Imap/Tree.php index 7422d200d..ba4d1d958 100644 --- a/imp/lib/Imap/Tree.php +++ b/imp/lib/Imap/Tree.php @@ -1903,7 +1903,7 @@ class IMP_Imap_Tree case $elt['trash']: if ($GLOBALS['prefs']->getValue('use_vtrash')) { - $row['icon'] = ($this->isOpen($mailbox)) ? 'folders/folder_open.png' : 'folders/folder.png'; + $row['icon'] = ($this->isOpen($mailbox)) ? 'folders/open.png' : 'folders/folder.png'; $row['alt'] = _("Mailbox"); } else { $row['icon'] = 'folders/trash.png'; @@ -1930,7 +1930,7 @@ class IMP_Imap_Tree $row['alt'] = _("Sent mail folder"); $row['special'] = self::SPECIAL_SENT; } else { - $row['icon'] = ($this->isOpen($mailbox)) ? 'folders/folder_open.png' : 'folders/folder.png'; + $row['icon'] = ($this->isOpen($mailbox)) ? 'folders/open.png' : 'folders/folder.png'; $row['alt'] = _("Mailbox"); } break; @@ -1954,11 +1954,11 @@ class IMP_Imap_Tree /* We are dealing with folders here. */ $row['container'] = true; if ($this->_forceopen && $this->isOpen($mailbox)) { - $row['icon'] = 'folders/folder_open.png'; + $row['icon'] = 'folders/open.png'; $row['alt'] = _("Opened Folder"); } else { $row['icon'] = 'folders/folder.png'; - $row['iconopen'] = 'folders/folder_open.png'; + $row['iconopen'] = 'folders/open.png'; $row['alt'] = ($this->_forceopen) ? _("Closed Folder") : _("Folder"); } if ($this->isVFolder($mailbox)) {