summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-26 16:57:39 +0100
committerEvan Prodromou <evan@controlyourself.ca>2009-01-26 16:57:39 +0100
commit8d95151f7a9d23fdd507c6b8a526e827b0f59d20 (patch)
tree2fb3558945b06203d5cc694dce67e53eb27a4246 /actions
parent44162e07c383cebdd0afc88927ce3aaa3c33c588 (diff)
fix license link in registration page
Diffstat (limited to 'actions')
-rw-r--r--actions/register.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/register.php b/actions/register.php
index a63da2e0f..433c6c291 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');