- common_show_header(_t('Login'));
- if ($error) {
- common_element('div', array('class' => 'error'), $error);
- } else {
- common_element('div', 'instructions',
- _t('Login with your username and password. ' .
- 'Don\'t have a username yet? Choose register above. ' .
- '(Forgot your password? No way to get it back... yet. It\'s on the TODO list!)'));
- }
+ common_show_header(_t('Login'), NULL, $error, array($this, 'show_top'));