From 8d95151f7a9d23fdd507c6b8a526e827b0f59d20 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 26 Jan 2009 16:57:39 +0100 Subject: [PATCH] fix license link in registration page --- actions/register.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/actions/register.php b/actions/register.php index a63da2e0fd..433c6c2914 100644 --- a/actions/register.php +++ b/actions/register.php @@ -252,14 +252,14 @@ class RegisterAction extends Action 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', + $this->elementStart('div', array('id' => 'content_inner', 'class' => 'entry-content')); // show the actual content (forms, lists, whatever) $this->showContent(); @@ -428,7 +428,7 @@ class RegisterAction extends Action $this->element('input', $attrs); $this->text(_('My text and files are available under ')); $this->element('a', array('href' => common_config('license', 'url')), - $config['license']['title']); + common_config('license', 'title')); $this->text(_(' except this private data: password, '. 'email address, IM address, phone number.')); $this->elementEnd('li');