From 2ad35cef997aad1ef648fdf7bc938853bc8f2a49 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Wed, 7 Mar 2007 09:17:39 +0100 Subject: [PATCH] [svn r11466] Final fix of stylesheet loading --- main/newscorm/kevin_lp_add_item.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main/newscorm/kevin_lp_add_item.php b/main/newscorm/kevin_lp_add_item.php index 93213d8433..87c74e1905 100644 --- a/main/newscorm/kevin_lp_add_item.php +++ b/main/newscorm/kevin_lp_add_item.php @@ -64,7 +64,10 @@ $language_file = "learnpath"; Header and action code ----------------------------------------------------------- */ -$htmlHeadXtra[] = ""; +$my_style = api_get_setting('stylesheets'); +$my_code_path = api_get_path(WEB_CODE_PATH); +if(empty($my_style)){$my_style = 'default';} +$htmlHeadXtra[] = ""; $htmlHeadXtra[] = ""; //will be a merged with original learnpath.css $htmlHeadXtra[] = ""; //will be moved $htmlHeadXtra[] = ""; //will be moved