summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2009-10-28 22:53:40 +0000
committerthomascube <thomas@roundcube.net>2009-10-28 22:53:40 +0000
commit01accaff5b52d8fa53a1821d452f265aef67cef1 (patch)
tree80769e6d5f0ed1aa7bf3659fa3d538ae0fa12ca4 /plugins
parent2b96b67e8cdb96c7106c76bed307e0b2413379ba (diff)
Add fallback to default skin if the selected one is not available in plugin directory
Diffstat (limited to 'plugins')
-rw-r--r--plugins/archive/archive.php4
-rw-r--r--plugins/markasjunk/markasjunk.php2
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(