More default->larry fixes
1 files renamed
2 files modified
| | |
| | | && ($limit = $rcmail->config->get('hide_blockquote_limit')) |
| | | ) { |
| | | // include styles |
| | | $skin = $rcmail->config->get('skin'); |
| | | if (!file_exists($this->home."/skins/$skin/style.css")) { |
| | | $skin = 'default'; |
| | | } |
| | | $this->include_stylesheet("skins/$skin/style.css"); |
| | | $this->include_stylesheet($this->local_skin_path() . "/style.css"); |
| | | |
| | | // Script and localization |
| | | $this->include_script('hide_blockquote.js'); |
| | |
| | | public function local_skin_path() |
| | | { |
| | | $rcmail = rcube::get_instance(); |
| | | foreach (array($rcmail->config->get('skin'),'default') as $skin) { |
| | | foreach (array($rcmail->config->get('skin'), 'larry') as $skin) { |
| | | $skin_path = 'skins/' . $skin; |
| | | if (is_dir(realpath(slashify($this->home) . $skin_path))) |
| | | break; |