]> git.donarmstrong.com Git - roundcube.git/blobdiff - plugins/archive/archive.php
Imported Upstream version 0.7
[roundcube.git] / plugins / archive / archive.php
index fbb01296d7f10fb08ca58a1ead069f28f44b81a7..a56806263c2fa2ed9af494a363015ff0d659d879 100644 (file)
@@ -30,6 +30,8 @@ class archive extends rcube_plugin
             'command' => 'plugin.archive',
             'imagepas' => $skin_path.'/archive_pas.png',
             'imageact' => $skin_path.'/archive_act.png',
+            'width' => 32,
+            'height' => 32,
             'title' => 'buttontitle',
             'domain' => $this->ID,
         ),
@@ -98,7 +100,7 @@ class archive extends rcube_plugin
       // load folders list when needed
       if ($CURR_SECTION)
         $select = rcmail_mailbox_select(array('noselection' => '---', 'realnames' => true,
-          'maxlength' => 30, 'exceptions' => array('INBOX')));
+          'maxlength' => 30, 'exceptions' => array('INBOX'), 'folder_filter' => 'mail', 'folder_rights' => 'w'));
       else
         $select = new html_select();