From cd6b9d6c4608cc5bb524031f8de97a3dc5cc3ea9 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Mon, 19 Jan 2009 02:13:25 +0000 Subject: [PATCH] trac750 fix method calls to get CSS files --- actions/facebookhome.php | 10 +++++++++- lib/facebookaction.php | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/actions/facebookhome.php b/actions/facebookhome.php index d211e8844d..7430cc41fa 100644 --- a/actions/facebookhome.php +++ b/actions/facebookhome.php @@ -179,7 +179,15 @@ class FacebookhomeAction extends FacebookAction common_element('link', array('rel' => 'stylesheet', 'type' => 'text/css', - 'href' => getFacebookCSS())); + 'href' => getFacebookBaseCSS())); + + common_element('link', array('rel' => 'stylesheet', + 'type' => 'text/css', + 'href' => getFacebookThemeCSS())); + + common_element('script', array('type' => 'text/javascript', + 'src' => getFacebookJS()), + ' '); $this->showLogo(); diff --git a/lib/facebookaction.php b/lib/facebookaction.php index fd171c4578..263248f679 100644 --- a/lib/facebookaction.php +++ b/lib/facebookaction.php @@ -155,7 +155,15 @@ class FacebookAction extends Action common_element('link', array('rel' => 'stylesheet', 'type' => 'text/css', - 'href' => getFacebookCSS())); + 'href' => getFacebookBaseCSS())); + + common_element('link', array('rel' => 'stylesheet', + 'type' => 'text/css', + 'href' => getFacebookThemeCSS())); + + common_element('script', array('type' => 'text/javascript', + 'src' => getFacebookJS()), + ' '); $this->showLogo();