diff options
author | alecpl <alec@alec.pl> | 2009-09-15 13:47:12 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-09-15 13:47:12 +0000 |
commit | 34aec72131fee81697685f9781358e4871ea0150 (patch) | |
tree | df2c6b6d235cc09456f00f5ad0fa5526ea20a993 /plugins/markasjunk | |
parent | 2b77e8daa7f7e5c0a71f615672cdb492dcdf0dad (diff) |
- Support skins in 'archive' and 'markasjunk' plugins
Diffstat (limited to 'plugins/markasjunk')
-rw-r--r-- | plugins/markasjunk/markasjunk.php | 7 | ||||
-rw-r--r-- | plugins/markasjunk/skins/default/junk_act.png (renamed from plugins/markasjunk/junk_act.png) | bin | 1995 -> 1995 bytes | |||
-rw-r--r-- | plugins/markasjunk/skins/default/junk_pas.png (renamed from plugins/markasjunk/junk_pas.png) | bin | 1988 -> 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 Binary files differindex b5a84f604..b5a84f604 100644 --- a/plugins/markasjunk/junk_act.png +++ b/plugins/markasjunk/skins/default/junk_act.png diff --git a/plugins/markasjunk/junk_pas.png b/plugins/markasjunk/skins/default/junk_pas.png Binary files differindex b88a561a4..b88a561a4 100644 --- a/plugins/markasjunk/junk_pas.png +++ b/plugins/markasjunk/skins/default/junk_pas.png |