diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-01-19 13:44:10 +0000 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-01-19 13:44:10 +0000 |
commit | 91457944003049d021947fde0a5f2658393010d9 (patch) | |
tree | facd9199c76dea6a7215ad1f420dfe3e1080e0c9 /actions/facebooksettings.php | |
parent | 12c475c101c070cbcc4c63f7b1049f6d3282b9ee (diff) |
Update facebook stuff to use new methods
change facebook stuff to use new methods for XML and HTML.
Diffstat (limited to 'actions/facebooksettings.php')
-rw-r--r-- | actions/facebooksettings.php | 20 |
1 files changed, 10 insertions, 10 deletions
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(); |