From 4bb522c3faa23a738c1a47440759aff741925d78 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Tue, 6 Jan 2009 15:57:38 -0500 Subject: trac750 better settings tab workflow darcs-hash:20090106205738-7b5ce-e80f73130a1f699e8d33f31c63cf90ee259b72cd.gz --- actions/facebookhome.php | 2 +- actions/facebooksettings.php | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'actions') diff --git a/actions/facebookhome.php b/actions/facebookhome.php index 069ea5e75..6206fb6c2 100644 --- a/actions/facebookhome.php +++ b/actions/facebookhome.php @@ -75,7 +75,7 @@ class FacebookhomeAction extends FacebookAction $flink_id = $flink->insert(); if ($flink_id) { - echo ''; + echo ''; } $this->show_home($facebook, $fbuid, $user); diff --git a/actions/facebooksettings.php b/actions/facebooksettings.php index 469bcfc45..d28b1aa5c 100644 --- a/actions/facebooksettings.php +++ b/actions/facebooksettings.php @@ -69,10 +69,12 @@ class FacebooksettingsAction extends FacebookAction $fbml = '' .'

Add an Identi.ca box to my profile

' - .'' + .'

' .'
'; - $fbml .= '

Allow Identi.ca to update my Facebook status

'; + $fbml .= '

Allow Identi.ca to update my Facebook status

'; + + if ($facebook->api_client->users_hasAppPermission('status_update')) { $fbml .= '
' .'

Sync preferences

' @@ -101,6 +103,8 @@ class FacebooksettingsAction extends FacebookAction .'

' .'
'; + } + echo $fbml; $this->show_footer(); -- cgit v1.2.3-54-g00ecf