From 4b15e09d7fd735b5df41e47b6e324e0bc44fa872 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sun, 31 Jul 2005 09:35:21 +0200 Subject: Plugins can add their own CSS now Plugins can use their own styleheets now. They are loaded in the tpl_metaheader function. The following files are used if existing in the plugin's directory: style.css - overall style used always screen.css - only used in normal view (media darcs-hash:20050731073521-7ad00-dcece7a255d3b08a1d2da9f2444b31e628ee76ea.gz --- inc/template.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'inc/template.php') diff --git a/inc/template.php b/inc/template.php index 1d55ab102..bbbf5bb6b 100644 --- a/inc/template.php +++ b/inc/template.php @@ -207,7 +207,8 @@ function tpl_metaheaders(){ ptln('',$it); - //FIXME include some default CSS ? IE FIX? + // plugin stylesheets + plugin_printCSS(); } /** @@ -603,7 +604,7 @@ function tpl_mediafilelist(){ search($data,$conf['mediadir'],'search_media',array(),$dir); if(!count($data)){ - ptln('
'.$lang['nothingfound'].'
'); + ptln('
'.$lang['nothingfound'].'
'); return; } -- cgit v1.2.3