diff options
author | Sarven Capadisli <csarven@status.net> | 2010-02-01 23:10:44 +0000 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-02-01 23:10:44 +0000 |
commit | 803c6d954c92582520bed4ff4397f53b581fdc34 (patch) | |
tree | fb390181e53490ef2cae5b7bad421ac8bc6e2555 /actions/register.php | |
parent | 95e70f5e533fa267a5137b76dda828e3a46e634e (diff) |
Revert "Removed hAtom pattern from registration page."
This reverts commit d6fe865133511ac64565a583106b3233b70a0b1e.
Screws up list rendering when registration is complete.
Diffstat (limited to 'actions/register.php')
-rw-r--r-- | actions/register.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/actions/register.php b/actions/register.php index 063bbe2cc..698137346 100644 --- a/actions/register.php +++ b/actions/register.php @@ -303,6 +303,27 @@ class RegisterAction extends Action 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 * |