From 1a941d03fdcfcd1319da17c5400fe8972a755091 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Thu, 22 Jan 2009 04:26:15 +0000 Subject: Added some CSS classes for styling doc pages differently --- actions/register.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'actions/register.php') diff --git a/actions/register.php b/actions/register.php index 159daaa73..a63da2e0f 100644 --- a/actions/register.php +++ b/actions/register.php @@ -248,6 +248,25 @@ class RegisterAction extends Action return ($user !== false); } + // overrrided to add entry-title class + function showPageTitle() { + $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 * -- cgit v1.2.3-54-g00ecf