summaryrefslogtreecommitdiff
path: root/lib/facebookutil.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-01-19 01:34:25 +0000
committerZach Copley <zach@controlyourself.ca>2009-01-19 01:34:25 +0000
commit64bda5bd6ca58289c3a525a20c2dc27501fb1cf8 (patch)
treece24f0c35450338108641ceb5576c6330ca028b9 /lib/facebookutil.php
parent12f7ec980ceb40d5241b63b88e7601e293c9f277 (diff)
trac750 New CSS files for FB app to allow bettter per-install theming
Diffstat (limited to 'lib/facebookutil.php')
-rw-r--r--lib/facebookutil.php14
1 files changed, 11 insertions, 3 deletions
diff --git a/lib/facebookutil.php b/lib/facebookutil.php
index 74e594592..0bde68c0f 100644
--- a/lib/facebookutil.php
+++ b/lib/facebookutil.php
@@ -107,14 +107,22 @@ function update_profile_box($facebook, $fbuid, $user, $notice)
$facebook->api_client->profile_setFBML(null, $fbuid, $fbml, null, null, $fbml_main);
}
-function getFacebookCSS()
+function getFacebookBaseCSS()
{
# Add a timestamp to the CSS file so Facebook cache wont ignore our changes
- $ts = filemtime(theme_file('facebookapp.css'));
- $cssurl = theme_path('facebookapp.css') . "?ts=$ts";
+ $ts = filemtime(theme_file('facebookapp_base.css'));
+ $cssurl = theme_path('facebookapp_base.css') . "?ts=$ts";
return $cssurl;
}
+function getFacebookThemeCSS()
+{
+ # Add a timestamp to the CSS file so Facebook cache wont ignore our changes
+ $ts = filemtime(theme_file('facebookapp_theme.css'));
+ $cssurl = theme_path('facebookapp_theme.css') . "?ts=$ts";
+ return $cssurl;
+}
+
function getFacebookJS() {
# Add a timestamp to the FBJS file so Facebook cache wont ignore our changes