Revert "Removed hAtom pattern from registration page."

This reverts commit d6fe865133.

Screws up list rendering when registration is complete.
This commit is contained in:
Sarven Capadisli 2010-02-01 23:10:44 +00:00
parent 95e70f5e53
commit 803c6d954c

View File

@ -303,6 +303,27 @@ class RegisterAction extends Action
return ($user !== false); return ($user !== false);
} }
// overrrided to add entry-title class
function showPageTitle() {
if (Event::handle('StartShowPageTitle', array($this))) {
$this->element('h1', array('class' => 'entry-title'), $this->title());
}
}
// overrided to add hentry, and content-inner class
function showContentBlock()
{
$this->elementStart('div', array('id' => 'content', 'class' => 'hentry'));
$this->showPageTitle();
$this->showPageNoticeBlock();
$this->elementStart('div', array('id' => 'content_inner',
'class' => 'entry-content'));
// show the actual content (forms, lists, whatever)
$this->showContent();
$this->elementEnd('div');
$this->elementEnd('div');
}
/** /**
* Instructions or a notice for the page * Instructions or a notice for the page
* *