Changeset f26f73a in github
- Timestamp:
- Aug 18, 2012 12:01:00 PM (10 months ago)
- Children:
- 51d1a02
- Parents:
- 408d141
- Files:
-
- 2 edited
- 1 moved
-
plugins/hide_blockquote/hide_blockquote.php (modified) (1 diff)
-
plugins/hide_blockquote/skins/larry/style.css (moved) (moved from plugins/hide_blockquote/skins/default/style.css)
-
program/include/rcube_plugin.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
plugins/hide_blockquote/hide_blockquote.php
r8e528fd rf26f73a 28 28 ) { 29 29 // include styles 30 $skin = $rcmail->config->get('skin'); 31 if (!file_exists($this->home."/skins/$skin/style.css")) { 32 $skin = 'default'; 33 } 34 $this->include_stylesheet("skins/$skin/style.css"); 30 $this->include_stylesheet($this->local_skin_path() . "/style.css"); 35 31 36 32 // Script and localization -
program/include/rcube_plugin.php
r71ced07 rf26f73a 18 18 | Author: Thomas Bruederli <roundcube@gmail.com> | 19 19 +-----------------------------------------------------------------------+ 20 21 $Id$22 23 20 */ 24 21 … … 338 335 public function local_skin_path() 339 336 { 340 $skin_path = 'skins/'.$this->api->config->get('skin'); 341 if (!is_dir(realpath(slashify($this->home) . $skin_path))) 342 $skin_path = 'skins/default'; 337 $rcmail = rcmail::get_instance(); 338 foreach (array($rcmail->config->get('skin'), 'larry') as $skin) { 339 $skin_path = 'skins/' . $skin; 340 if (is_dir(realpath(slashify($this->home) . $skin_path))) 341 break; 342 } 343 343 344 return $skin_path; 344 345 }
Note: See TracChangeset
for help on using the changeset viewer.
