- Timestamp:
- Apr 10, 2011, 7:43:01 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/GrumPluginClasses/classes/GPCCss.class.inc.php
r5958 r10246 3 3 /* ----------------------------------------------------------------------------- 4 4 class name: GPCCss 5 class version : 3. 0.06 plugin version : 3. 0.07 date : 201 0-03-305 class version : 3.1.0 6 plugin version : 3.5.0 7 date : 2011-01-31 8 8 9 9 ------------------------------------------------------------------------------ … … 21 21 | 3.0.0 | 2010/03/30 | * Update class & function names 22 22 | | | 23 | | |23 | 3.1.0 | 2011/01/31 | * Updated for piwigo 2.2 24 24 | | | 25 25 | | | … … 54 54 { 55 55 //if no filename given, load the gpc.css file 56 $fileName= basename(dirname(dirname(__FILE__))).'/css/gpc.css';57 $template->append('head_elements', '<link rel="stylesheet" type="text/css" href="plugins/'.$fileName.'">');56 $fileName='./plugins/'.basename(dirname(dirname(__FILE__))).'/css/gpc.css'; 57 GPCCore::addHeaderCSS('gpc', $fileName); 58 58 } 59 59 elseif(file_exists($fileName)) 60 60 { 61 $template->append('head_elements', '<link rel="stylesheet" type="text/css" href="plugins/'.basename(dirname($fileName))."/".basename($fileName).'">');61 GPCCore::addHeaderCSS(basename(dirname($fileName)), 'plugins/'.basename(dirname($fileName)).'/'.basename($fileName).''); 62 62 } 63 63 }
Note: See TracChangeset
for help on using the changeset viewer.