summaryrefslogtreecommitdiff
path: root/plugins/markasjunk/markasjunk.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-09-15 13:47:12 +0000
committeralecpl <alec@alec.pl>2009-09-15 13:47:12 +0000
commit34aec72131fee81697685f9781358e4871ea0150 (patch)
treedf2c6b6d235cc09456f00f5ad0fa5526ea20a993 /plugins/markasjunk/markasjunk.php
parent2b77e8daa7f7e5c0a71f615672cdb492dcdf0dad (diff)
- Support skins in 'archive' and 'markasjunk' plugins
Diffstat (limited to 'plugins/markasjunk/markasjunk.php')
-rw-r--r--plugins/markasjunk/markasjunk.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/markasjunk/markasjunk.php b/plugins/markasjunk/markasjunk.php
index b269637f4..961a446d8 100644
--- a/plugins/markasjunk/markasjunk.php
+++ b/plugins/markasjunk/markasjunk.php
@@ -20,10 +20,13 @@ class markasjunk extends rcube_plugin
$rcmail = rcmail::get_instance();
if ($rcmail->action == '' || $rcmail->action == 'show') {
+ $skin_path = 'skins/'.$rcmail->output->config['skin'];
$this->include_script('markasjunk.js');
$this->add_texts('localization', true);
- $this->add_button(array('command' => 'plugin.markasjunk', 'imagepas' => 'junk_pas.png',
- 'imageact' => 'junk_act.png', 'title' => 'markasjunk.buttontitle'), 'toolbar');
+ $this->add_button(array('command' => 'plugin.markasjunk',
+ 'imagepas' => $skin_path.'/junk_pas.png',
+ 'imageact' => $skin_path.'/junk_act.png',
+ 'title' => 'markasjunk.buttontitle'), 'toolbar');
}
}