summaryrefslogtreecommitdiff
path: root/plugins/markasjunk
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/markasjunk')
-rw-r--r--plugins/markasjunk/markasjunk.php7
-rw-r--r--plugins/markasjunk/skins/default/junk_act.png (renamed from plugins/markasjunk/junk_act.png)bin1995 -> 1995 bytes
-rw-r--r--plugins/markasjunk/skins/default/junk_pas.png (renamed from plugins/markasjunk/junk_pas.png)bin1988 -> 1988 bytes
3 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');
}
}
diff --git a/plugins/markasjunk/junk_act.png b/plugins/markasjunk/skins/default/junk_act.png
index b5a84f604..b5a84f604 100644
--- a/plugins/markasjunk/junk_act.png
+++ b/plugins/markasjunk/skins/default/junk_act.png
Binary files differ
diff --git a/plugins/markasjunk/junk_pas.png b/plugins/markasjunk/skins/default/junk_pas.png
index b88a561a4..b88a561a4 100644
--- a/plugins/markasjunk/junk_pas.png
+++ b/plugins/markasjunk/skins/default/junk_pas.png
Binary files differ