parent::handle($args);
if (common_is_real_login()) {
- // TRANS: Client error displayed when trying to log in while already logged in.
- $this->clientError(_('Already logged in.'));
+ $user = common_current_user();
+ common_redirect(common_local_url('all', array('nickname' => $user->nickname)), 307);
} else if ($_SERVER['REQUEST_METHOD'] == 'POST') {
$this->checkLogin();
} else {
$this->elementStart('ul', 'form_data');
$this->elementStart('li');
// TRANS: Field label on login page.
- $this->input('nickname', _('Nickname'));
+ $this->input('nickname', _('Username or email address'));
$this->elementEnd('li');
$this->elementStart('li');
// TRANS: Field label on login page.
function showNoticeForm()
{
}
+
+ function showProfileBlock()
+ {
+ }
}