diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/archive/archive.php | 4 | ||||
-rw-r--r-- | plugins/markasjunk/markasjunk.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/archive/archive.php b/plugins/archive/archive.php index 8c855fea7..27887cef3 100644 --- a/plugins/archive/archive.php +++ b/plugins/archive/archive.php @@ -24,8 +24,8 @@ class archive extends rcube_plugin if ($rcmail->task == 'mail' && ($rcmail->action == '' || $rcmail->action == 'show') && ($archive_folder = $rcmail->config->get('archive_mbox'))) { - $skin_path = 'skins/'.$rcmail->output->config['skin']; - + $skin_path = $this->local_skin_path(); + $this->include_script('archive.js'); $this->add_texts('localization', true); $this->add_button( diff --git a/plugins/markasjunk/markasjunk.php b/plugins/markasjunk/markasjunk.php index f3e652d89..4f41a7eed 100644 --- a/plugins/markasjunk/markasjunk.php +++ b/plugins/markasjunk/markasjunk.php @@ -19,7 +19,7 @@ class markasjunk extends rcube_plugin $rcmail = rcmail::get_instance(); if ($rcmail->action == '' || $rcmail->action == 'show') { - $skin_path = 'skins/'.$rcmail->output->config['skin']; + $skin_path = $this->local_skin_path();; $this->include_script('markasjunk.js'); $this->add_texts('localization', true); $this->add_button(array( |