From 240231a8bd7f6b0753070c630ff6b9169e28afe0 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Fri, 23 Jan 2009 05:37:21 +0000 Subject: [PATCH] trac750 linked in stylesheets for login and permissions prompt screens --- actions/facebookhome.php | 5 +++++ lib/facebookaction.php | 5 +---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/actions/facebookhome.php b/actions/facebookhome.php index ea56ec0710..b05e51b911 100644 --- a/actions/facebookhome.php +++ b/actions/facebookhome.php @@ -91,6 +91,9 @@ class FacebookhomeAction extends FacebookAction function login() { + + $this->showStylesheets(); + $nickname = common_canonical_nickname($this->trimmed('nickname')); $password = $this->arg('password'); @@ -185,6 +188,8 @@ class FacebookhomeAction extends FacebookAction function getUpdatePermission() { + $this->showStylesheets(); + $this->elementStart('div', array('class' => 'content')); $instructions = sprintf(_('If you would like the %s app to automatically update ' . diff --git a/lib/facebookaction.php b/lib/facebookaction.php index 528b581541..a20e618d3a 100644 --- a/lib/facebookaction.php +++ b/lib/facebookaction.php @@ -73,9 +73,7 @@ class FacebookAction extends Action function prepare($argarray) { parent::prepare($argarray); - - common_debug("Facebookaction::prepare"); - + $this->facebook = getFacebook(); $this->fbuid = $this->facebook->require_login(); @@ -261,7 +259,6 @@ class FacebookAction extends Action function showInstructions() { - global $xw; $this->elementStart('dl', array('class' => 'system_notice')); $this->element('dt', null, 'Page Notice');