]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
trac750 fix method calls to get CSS files
authorZach Copley <zach@controlyourself.ca>
Mon, 19 Jan 2009 02:13:25 +0000 (02:13 +0000)
committerZach Copley <zach@controlyourself.ca>
Mon, 19 Jan 2009 02:13:25 +0000 (02:13 +0000)
actions/facebookhome.php
lib/facebookaction.php

index d211e8844df7b65c0118a176e1cf2883b5413da5..7430cc41fa7c2428262da36cd09613351942fb14 100644 (file)
@@ -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();
 
index fd171c4578bfdbcebacf6d9cf8869b6fb68329b1..263248f679567d480a15eef714a5a8eecf991e2f 100644 (file)
@@ -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();