Fix use of $config in licenses
This commit is contained in:
parent
7ce054b1ed
commit
2b2fb27621
@ -432,13 +432,13 @@ class Action extends HTMLOutputter // lawsuit
|
|||||||
$this->text(_('Unless otherwise specified, contents of this site are copyright by the contributors and available under the '));
|
$this->text(_('Unless otherwise specified, contents of this site are copyright by the contributors and available under the '));
|
||||||
$this->element('a', array('class' => 'license',
|
$this->element('a', array('class' => 'license',
|
||||||
'rel' => 'external license',
|
'rel' => 'external license',
|
||||||
'href' => $config['license']['url']),
|
'href' => common_config('license', 'url')),
|
||||||
$config['license']['title']);
|
common_config('license', 'title'));
|
||||||
$this->text(_('. Contributors should be attributed by full name or nickname.'));
|
$this->text(_('. Contributors should be attributed by full name or nickname.'));
|
||||||
$this->elementEnd('p');
|
$this->elementEnd('p');
|
||||||
$this->element('img', array('id' => 'license_cc',
|
$this->element('img', array('id' => 'license_cc',
|
||||||
'src' => $config['license']['image'],
|
'src' => common_config('license', 'image'),
|
||||||
'alt' => $config['license']['title']));
|
'alt' => common_config('license', 'title')));
|
||||||
$this->elementEnd('dd');
|
$this->elementEnd('dd');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user