forked from GNUsocial/gnu-social
fix license link in registration page
This commit is contained in:
parent
44162e07c3
commit
8d95151f7a
@ -252,14 +252,14 @@ class RegisterAction extends Action
|
|||||||
function showPageTitle() {
|
function showPageTitle() {
|
||||||
$this->element('h1', array('class' => 'entry-title'), $this->title());
|
$this->element('h1', array('class' => 'entry-title'), $this->title());
|
||||||
}
|
}
|
||||||
|
|
||||||
// overrided to add hentry, and content-inner class
|
// overrided to add hentry, and content-inner class
|
||||||
function showContentBlock()
|
function showContentBlock()
|
||||||
{
|
{
|
||||||
$this->elementStart('div', array('id' => 'content', 'class' => 'hentry'));
|
$this->elementStart('div', array('id' => 'content', 'class' => 'hentry'));
|
||||||
$this->showPageTitle();
|
$this->showPageTitle();
|
||||||
$this->showPageNoticeBlock();
|
$this->showPageNoticeBlock();
|
||||||
$this->elementStart('div', array('id' => 'content_inner',
|
$this->elementStart('div', array('id' => 'content_inner',
|
||||||
'class' => 'entry-content'));
|
'class' => 'entry-content'));
|
||||||
// show the actual content (forms, lists, whatever)
|
// show the actual content (forms, lists, whatever)
|
||||||
$this->showContent();
|
$this->showContent();
|
||||||
@ -428,7 +428,7 @@ class RegisterAction extends Action
|
|||||||
$this->element('input', $attrs);
|
$this->element('input', $attrs);
|
||||||
$this->text(_('My text and files are available under '));
|
$this->text(_('My text and files are available under '));
|
||||||
$this->element('a', array('href' => common_config('license', 'url')),
|
$this->element('a', array('href' => common_config('license', 'url')),
|
||||||
$config['license']['title']);
|
common_config('license', 'title'));
|
||||||
$this->text(_(' except this private data: password, '.
|
$this->text(_(' except this private data: password, '.
|
||||||
'email address, IM address, phone number.'));
|
'email address, IM address, phone number.'));
|
||||||
$this->elementEnd('li');
|
$this->elementEnd('li');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user