summaryrefslogtreecommitdiff
path: root/actions/facebookhome.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-19 13:44:10 +0000
committerEvan Prodromou <evan@controlyourself.ca>2009-01-19 13:44:10 +0000
commit91457944003049d021947fde0a5f2658393010d9 (patch)
treefacd9199c76dea6a7215ad1f420dfe3e1080e0c9 /actions/facebookhome.php
parent12c475c101c070cbcc4c63f7b1049f6d3282b9ee (diff)
Update facebook stuff to use new methods
change facebook stuff to use new methods for XML and HTML.
Diffstat (limited to 'actions/facebookhome.php')
-rw-r--r--actions/facebookhome.php32
1 files changed, 16 insertions, 16 deletions
diff --git a/actions/facebookhome.php b/actions/facebookhome.php
index ae29ee1f8..14342f944 100644
--- a/actions/facebookhome.php
+++ b/actions/facebookhome.php
@@ -184,7 +184,7 @@ class FacebookhomeAction extends FacebookAction
$this->showLogo();
- common_element_start('div', array('class' => 'content'));
+ $this->elementStart('div', array('class' => 'content'));
// Figure what the URL of our app is.
$app_props = $facebook->api_client->Admin_getAppProperties(
@@ -196,30 +196,30 @@ class FacebookhomeAction 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('form', array('method' => 'post',
+ $this->elementStart('form', array('method' => 'post',
'action' => $app_url,
'id' => 'facebook-skip-permissions'));
- 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');
+ $this->elementEnd('fb:prompt-permission');
+ $this->elementEnd('li');
- common_element_start('li', array('id' => 'fb-permissions-item'));
+ $this->elementStart('li', array('id' => 'fb-permissions-item'));
common_submit('skip', _('Skip'));
- common_element_end('li');
- common_element_end('ul');
+ $this->elementEnd('li');
+ $this->elementEnd('ul');
- common_element_end('form');
- common_element_end('div');
+ $this->elementEnd('form');
+ $this->elementEnd('div');
common_end_xml();