Fix some icon paths
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 22 Jun 2009 04:11:08 +0000 (22:11 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 22 Jun 2009 04:11:08 +0000 (22:11 -0600)
imp/lib/IMP.php
imp/lib/Imap/Tree.php

index e858cef..69d5324 100644 (file)
@@ -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<br />%s</a>', 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<br />%s</a>', 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'));
 
index 7422d20..ba4d1d9 100644 (file)
@@ -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)) {