From 91457944003049d021947fde0a5f2658393010d9 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 19 Jan 2009 13:44:10 +0000 Subject: Update facebook stuff to use new methods change facebook stuff to use new methods for XML and HTML. --- actions/facebooksettings.php | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'actions/facebooksettings.php') diff --git a/actions/facebooksettings.php b/actions/facebooksettings.php index bc034bc46..d4f03e58c 100644 --- a/actions/facebooksettings.php +++ b/actions/facebooksettings.php @@ -104,19 +104,19 @@ class FacebooksettingsAction extends FacebookAction 'your Facebook status with your latest notice, you need ' . 'to give it permission.'), $app_name); - common_element_start('p'); - common_element('span', array('id' => 'permissions_notice'), $instructions); - common_element_end('p'); + $this->elementStart('p'); + $this->element('span', array('id' => 'permissions_notice'), $instructions); + $this->elementEnd('p'); - common_element_start('ul', array('id' => 'fb-permissions-list')); - common_element_start('li', array('id' => 'fb-permissions-item')); - common_element_start('fb:prompt-permission', array('perms' => 'status_update', + $this->elementStart('ul', array('id' => 'fb-permissions-list')); + $this->elementStart('li', array('id' => 'fb-permissions-item')); + $this->elementStart('fb:prompt-permission', array('perms' => 'status_update', 'next_fbjs' => 'document.setLocation(\'' . $app_url . '\')')); - common_element('span', array('class' => 'facebook-button'), + $this->element('span', array('class' => 'facebook-button'), _('Allow Identi.ca to update my Facebook status')); - common_element_end('fb:prompt-permission'); - common_element_end('li'); - common_element_end('ul'); + $this->elementEnd('fb:prompt-permission'); + $this->elementEnd('li'); + $this->elementEnd('ul'); } $this->showFooter(); -- cgit v1.2.3-54-g00ecf