Changeset bc92ca5 in github


Ignore:
Timestamp:
Jul 30, 2012 7:20:56 AM (11 months ago)
Author:
Aleksander Machniak <alec@…>
Children:
90fab85, ec78f98
Parents:
6a3df52
Message:

Fixes after default->classic switch

Location:
plugins
Files:
3 edited
9 moved

Legend:

Unmodified
Added
Removed
  • plugins/enigma/enigma.php

    r48e9c14 rbc92ca5  
    436436                    'onclick' => "return ".JS_OBJECT_NAME.".enigma_import_attachment('".JQ($part)."')", 
    437437                    'title' => $this->gettext('keyattimport')), 
    438                     html::img(array('src' => $this->url('skins/default/key_add.png'), 'style' => "vertical-align:middle"))) 
     438                    html::img(array('src' => $this->url('skins/classic/key_add.png'), 'style' => "vertical-align:middle"))) 
    439439                . ' ' . html::span(null, $this->gettext('keyattfound'))); 
    440440 
  • plugins/help/help.php

    r48e9c14 rbc92ca5  
    4343        ), 'taskbar'); 
    4444 
    45         $skin = $rcmail->config->get('skin'); 
    46         if (!file_exists($this->home."/skins/$skin/help.css")) 
    47             $skin = 'default'; 
    48  
    49         // add style for taskbar button (must be here) and Help UI     
    50         $this->include_stylesheet("skins/$skin/help.css"); 
     45        // add style for taskbar button (must be here) and Help UI 
     46        $skin_path = $this->local_skin_path(); 
     47        if (is_file($this->home . "/$skin_path/help.css")) { 
     48            $this->include_stylesheet("$skin_path/help.css"); 
     49        } 
    5150    } 
    5251 
  • plugins/managesieve/managesieve.php

    rcfc27c9 rbc92ca5  
    110110    { 
    111111        // use jQuery for popup window 
    112         $this->require_plugin('jqueryui');  
     112        $this->require_plugin('jqueryui'); 
    113113 
    114114        // include js script and localization 
     
    116116 
    117117        // include styles 
    118         $skin = $this->rc->config->get('skin'); 
    119         if (!file_exists($this->home."/skins/$skin/managesieve_mail.css")) 
    120             $skin = 'default'; 
    121         $this->include_stylesheet("skins/$skin/managesieve_mail.css"); 
     118        $skin_path = $this->local_skin_path(); 
     119        if (is_file($this->home . "/$skin_path/managesieve_mail.css")) { 
     120            $this->include_stylesheet("$skin_path/managesieve_mail.css"); 
     121        } 
    122122 
    123123        // add 'Create filter' item to message menu 
Note: See TracChangeset for help on using the changeset viewer.