Fixes after default->classic switch

pull/16/head
Aleksander Machniak 12 years ago
parent 6a3df52f82
commit bc92ca56ef

@ -435,7 +435,7 @@ class enigma extends rcube_plugin
'href' => "#", 'href' => "#",
'onclick' => "return ".JS_OBJECT_NAME.".enigma_import_attachment('".JQ($part)."')", 'onclick' => "return ".JS_OBJECT_NAME.".enigma_import_attachment('".JQ($part)."')",
'title' => $this->gettext('keyattimport')), 'title' => $this->gettext('keyattimport')),
html::img(array('src' => $this->url('skins/default/key_add.png'), 'style' => "vertical-align:middle"))) html::img(array('src' => $this->url('skins/classic/key_add.png'), 'style' => "vertical-align:middle")))
. ' ' . html::span(null, $this->gettext('keyattfound'))); . ' ' . html::span(null, $this->gettext('keyattfound')));
$attach_script = true; $attach_script = true;

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

@ -42,12 +42,11 @@ class help extends rcube_plugin
'label' => 'help.help', 'label' => 'help.help',
), 'taskbar'); ), 'taskbar');
$skin = $rcmail->config->get('skin');
if (!file_exists($this->home."/skins/$skin/help.css"))
$skin = 'default';
// add style for taskbar button (must be here) and Help UI // add style for taskbar button (must be here) and Help UI
$this->include_stylesheet("skins/$skin/help.css"); $skin_path = $this->local_skin_path();
if (is_file($this->home . "/$skin_path/help.css")) {
$this->include_stylesheet("$skin_path/help.css");
}
} }
function action() function action()

@ -115,10 +115,10 @@ class managesieve extends rcube_plugin
$this->init_ui(); $this->init_ui();
// include styles // include styles
$skin = $this->rc->config->get('skin'); $skin_path = $this->local_skin_path();
if (!file_exists($this->home."/skins/$skin/managesieve_mail.css")) if (is_file($this->home . "/$skin_path/managesieve_mail.css")) {
$skin = 'default'; $this->include_stylesheet("$skin_path/managesieve_mail.css");
$this->include_stylesheet("skins/$skin/managesieve_mail.css"); }
// add 'Create filter' item to message menu // add 'Create filter' item to message menu
$this->api->add_content(html::tag('li', null, $this->api->add_content(html::tag('li', null,

Loading…
Cancel
Save