|
|
|
@ -23,10 +23,13 @@ class markasjunk extends rcube_plugin
|
|
|
|
|
|
|
|
|
|
if ($rcmail->action == '' || $rcmail->action == 'show') {
|
|
|
|
|
$skin_path = $this->local_skin_path();
|
|
|
|
|
|
|
|
|
|
$this->add_texts('localization', true);
|
|
|
|
|
$this->include_script('markasjunk.js');
|
|
|
|
|
if (is_file($this->home . "/$skin_path/markasjunk.css"))
|
|
|
|
|
|
|
|
|
|
if (is_file($this->home . "/$skin_path/markasjunk.css")) {
|
|
|
|
|
$this->include_stylesheet("$skin_path/markasjunk.css");
|
|
|
|
|
$this->add_texts('localization', true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$this->add_button(array(
|
|
|
|
|
'type' => 'link',
|
|
|
|
@ -35,7 +38,8 @@ class markasjunk extends rcube_plugin
|
|
|
|
|
'class' => 'button buttonPas junk disabled',
|
|
|
|
|
'classact' => 'button junk',
|
|
|
|
|
'title' => 'buttontitle',
|
|
|
|
|
'domain' => 'markasjunk'), 'toolbar');
|
|
|
|
|
'domain' => 'markasjunk'
|
|
|
|
|
),'toolbar');
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -71,5 +75,4 @@ class markasjunk extends rcube_plugin
|
|
|
|
|
$rcmail->output->command('display_message', $this->gettext('reportedasjunk'), 'confirmation');
|
|
|
|
|
$rcmail->output->send();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|