';
+ $this->showInstructions();
- echo $header;
+ $this->elementStart('div', array('id' => 'content_inner'));
- }
+ $this->elementStart('form', array('method' => 'post',
+ 'class' => 'form_settings',
+ 'id' => 'login',
+ 'action' => 'index.php'));
- function show_footer()
- {
- $footer = '
';
- echo $footer;
- }
+ $this->elementStart('fieldset');
- function show_login_form()
- {
+ $this->elementStart('ul', array('class' => 'form_datas'));
+ $this->elementStart('li');
+ $this->input('nickname', _('Nickname'));
+ $this->elementEnd('li');
+ $this->elementStart('li');
+ $this->password('password', _('Password'));
+ $this->elementEnd('li');
+ $this->elementEnd('ul');
- $loginform =
- ' '
- .'
'
- .'
'
- .' Lost or forgotten password?'
- .'
'
- .'
submit('submit', _('Login'));
+ $this->elementEnd('fieldset');
+ $this->elementEnd('form');
- function render_notice($notice)
- {
+ $this->elementStart('p');
+ $this->element('a', array('href' => common_local_url('recoverpassword')),
+ _('Lost or forgotten password?'));
+ $this->elementEnd('p');
- global $config;
+ $this->elementEnd('div');
+ $this->elementEnd('div');
- $profile = $notice->getProfile();
- $avatar = $profile->getAvatar(AVATAR_STREAM_SIZE);
+ }
+
+
+ function updateProfileBox($notice)
+ {
- $noticeurl = common_local_url('shownotice', array('notice' => $notice->id));
+ // Need to include inline CSS for styling the Profile box
- # XXX: we need to figure this out better. Is this right?
- if (strcmp($notice->uri, $noticeurl) != 0 && preg_match('/^http/', $notice->uri)) {
- $noticeurl = $notice->uri;
+ $app_props = $this->facebook->api_client->Admin_getAppProperties(array('icon_url'));
+ $icon_url = $app_props['icon_url'];
+
+ $style = '';
+
+ $this->xw->openMemory();
+
+ $item = new FacebookProfileBoxNotice($notice, $this);
+ $item->show();
+
+ $fbml = "