diff options
author | sarven <csarven@plantard.controlezvous.ca> | 2009-01-23 11:02:49 +0000 |
---|---|---|
committer | sarven <csarven@plantard.controlezvous.ca> | 2009-01-23 11:02:49 +0000 |
commit | c396b4d9ef28f8086e1ab690d0a4132d449af153 (patch) | |
tree | ef90d50611959df28d057f4d9020cea304ad42ca /lib/facebookutil.php | |
parent | 65ecb9c452cd60664436fa059d6e8f2d70b2c4f7 (diff) | |
parent | 767c7d293d967a45481e31f09022c13d077eb037 (diff) |
Merge branch 'master' of ../trunk
Diffstat (limited to 'lib/facebookutil.php')
-rw-r--r-- | lib/facebookutil.php | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/lib/facebookutil.php b/lib/facebookutil.php index a2a2d7cb1..b4c73da87 100644 --- a/lib/facebookutil.php +++ b/lib/facebookutil.php @@ -45,38 +45,6 @@ function getFacebook() return new Facebook($apikey, $secret); } -function startFBML($indent = true) -{ - global $xw; - $xw = new XMLWriter(); - $xw->openURI('php://output'); - $xw->setIndent($indent); -} - -function getFacebookBaseCSS() -{ - # Add a timestamp to the CSS file so Facebook cache wont ignore our changes - $ts = filemtime(INSTALLDIR.'/theme/base/css/facebookapp.base.css'); - $cssurl = theme_path('css/facebookapp.base.css', 'base') . "?ts=$ts"; - return $cssurl; -} - -function getFacebookThemeCSS() -{ - # Add a timestamp to the CSS file so Facebook cache wont ignore our changes - $ts = filemtime(theme_file('css/facebookapp.theme.css')); - $cssurl = theme_path('css/facebookapp.theme.css') . "?ts=$ts"; - return $cssurl; -} - -function getFacebookJS() { - - # Add a timestamp to the FBJS file so Facebook cache wont ignore our changes - $ts = filemtime(INSTALLDIR.'/js/facebookapp.js'); - $jsurl = common_path('js/facebookapp.js') . "?ts=$ts"; - return $jsurl; -} - function updateProfileBox($facebook, $flink, $notice) { $fbaction = new FacebookAction($output='php://output', $indent=true, $facebook, $flink); $fbaction->updateProfileBox($notice); |