summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-01-19 02:13:25 +0000
committerZach Copley <zach@controlyourself.ca>2009-01-19 02:13:25 +0000
commitcd6b9d6c4608cc5bb524031f8de97a3dc5cc3ea9 (patch)
treeb95f51eefbf7f0d1456fe03cbd21f1fda10c0d95
parent5f2fce04cb7726f44b797908b073e22e399b8be2 (diff)
trac750 fix method calls to get CSS files
-rw-r--r--actions/facebookhome.php10
-rw-r--r--lib/facebookaction.php10
2 files changed, 18 insertions, 2 deletions
diff --git a/actions/facebookhome.php b/actions/facebookhome.php
index d211e8844..7430cc41f 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 fd171c457..263248f67 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();