Dotclear

Changeset 2416


Ignore:
Timestamp:
07/01/10 16:34:44 (13 years ago)
Author:
philippe
Message:

colorbox : fixed notices with new settings

Location:
plugins/colorbox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/colorbox/_define.php

    r2256 r2416  
    1414     /* Name */               "colorbox", 
    1515     /* Description*/         "ColorBox like effect on images using jquery ColorBox plugin", 
    16      /* Author */             "Philippe aka amalgame and contributors", 
    17      /* Version */            '1.3.7', 
     16     /* Author */             "Philippe aka amalgame and Tomtom", 
     17     /* Version */            '1.3.8', 
    1818     /* Permissions */        'admin' 
    1919); 
  • plugins/colorbox/_public.php

    r2255 r2416  
    4545          if ($s->colorbox_user_files) { 
    4646               $public_path = $core->blog->public_path; 
    47                $public_url = $core->blog->settings->public_url;        
     47               $public_url = $core->blog->settings->system->public_url;          
    4848               $colorbox_user_path = $public_path.'/colorbox/themes/'; 
    4949               $colorbox_user_url = $public_url.'/colorbox/themes/'; 
     
    5656               } 
    5757          } else { 
    58                $theme_path = path::fullFromRoot($core->blog->settings->themes_path."/".$core->blog->settings->theme,DC_ROOT);; 
    59                $theme_url = $core->blog->settings->themes_url."/".$core->blog->settings->theme; 
     58               $theme_path = path::fullFromRoot($core->blog->settings->system->themes_path."/".$core->blog->settings->system->theme,DC_ROOT);; 
     59               $theme_url = $core->blog->settings->system->themes_url."/".$core->blog->settings->system->theme; 
    6060               $colorbox_user_path = $theme_path.'/colorbox/themes/'.$s->colorbox_theme.'/colorbox_user.css'; 
    6161               $colorbox_user_url = $theme_url.'/colorbox/themes/'.$s->colorbox_theme.'/colorbox_user.css'; 
     
    6363               echo 
    6464                    '<style type="text/css">'."\n". 
    65                     #'@import url('.$theme_url.'/colorbox_'.$s->colorbox_theme.'/colorbox_user.css);'."\n". 
    6665                    '@import url('.$colorbox_user_url.');'."\n". 
    6766                    "</style>\n"; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map