summaryrefslogtreecommitdiff
path: root/lib/facebookaction.php
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-02-05 04:54:42 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-02-05 04:54:42 +0000
commite5b075b912e1fb416e73988547e2ece8f89e6453 (patch)
treec482bf0fec279a44c4654f86d5a7506910808333 /lib/facebookaction.php
parent68152dcf3acca51b85fc80e5549718c8123f943c (diff)
Matching Facebook app UI to identi.ca. Fixed tabs, add to profile,
widths, font-size, and some HTML markup.
Diffstat (limited to 'lib/facebookaction.php')
-rw-r--r--lib/facebookaction.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/facebookaction.php b/lib/facebookaction.php
index b6481011f..d369cc385 100644
--- a/lib/facebookaction.php
+++ b/lib/facebookaction.php
@@ -270,7 +270,6 @@ class FacebookAction extends Action
$loginmsg_part1 = _('To use the %s Facebook Application you need to login ' .
'with your username and password. Don\'t have a username yet? ');
-
$loginmsg_part2 = _(' a new account.');
$this->elementStart('dd');
@@ -279,18 +278,18 @@ class FacebookAction extends Action
$this->element('a',
array('href' => common_local_url('register')), _('Register'));
$this->text($loginmsg_part2);
+ $this->elementEnd('p');
$this->elementEnd('dd');
+
$this->elementEnd('dl');
-
$this->elementEnd('div');
-
}
function showLoginForm($msg = null)
{
- $this->elementStart('div', array('class' => 'content'));
+ $this->elementStart('div', array('id' => 'content'));
$this->element('h1', null, _('Login'));
if ($msg) {
@@ -318,6 +317,7 @@ class FacebookAction extends Action
$this->elementEnd('ul');
$this->submit('submit', _('Login'));
+ $this->elementEnd('fieldset');
$this->elementEnd('form');
$this->elementStart('p');
@@ -326,6 +326,7 @@ class FacebookAction extends Action
$this->elementEnd('p');
$this->elementEnd('div');
+ $this->elementEnd('div');
}