Changeset 10252


Ignore:
Timestamp:
04/10/11 21:03:52 (9 years ago)
Author:
grum
Message:

bug:2149
Compatibility with Piwigo 2.2 (fix css problem)

Location:
extensions/GrumPluginClasses
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GrumPluginClasses/classes/GPCCss.class.inc.php

    r10246 r10252  
    5454    { 
    5555      //if no filename given, load the gpc.css file 
    56       $fileName='./plugins/'.basename(dirname(dirname(__FILE__))).'/css/gpc.css'; 
    57       GPCCore::addHeaderCSS('gpc', $fileName); 
     56      $fileName='./plugins/'.basename(dirname(dirname(__FILE__))).'/css/gpc'; 
     57      GPCCore::addHeaderCSS('gpc', $fileName.'.css'); 
     58      GPCCore::addHeaderCSS('gpc_theme', $fileName.'_'.$template->get_themeconf('name').'.css'); 
    5859    } 
    5960    elseif(file_exists($fileName)) 
Note: See TracChangeset for help on using the changeset viewer.