Fix called to text and raw in action.php

This commit is contained in:
Evan Prodromou 2009-01-15 20:24:54 +00:00
parent 37350e873d
commit 62ed9d3e73
1 changed files with 3 additions and 3 deletions

View File

@ -397,7 +397,7 @@ class Action extends HTMLOutputter // lawsuit
} }
$instr .= sprintf(_('It runs the [Laconica](http://laconi.ca/) microblogging software, version %s, available under the [GNU Affero General Public License](http://www.fsf.org/licensing/licenses/agpl-3.0.html).'), LACONICA_VERSION); $instr .= sprintf(_('It runs the [Laconica](http://laconi.ca/) microblogging software, version %s, available under the [GNU Affero General Public License](http://www.fsf.org/licensing/licenses/agpl-3.0.html).'), LACONICA_VERSION);
$output = common_markup_to_html($instr); $output = common_markup_to_html($instr);
common_raw($output); $this->raw($output);
$this->elementEnd('dd'); $this->elementEnd('dd');
// do it // do it
} }
@ -407,12 +407,12 @@ class Action extends HTMLOutputter // lawsuit
$this->element('dt', array('id' => 'site_content_license'), _('Laconica software license')); $this->element('dt', array('id' => 'site_content_license'), _('Laconica software license'));
$this->elementStart('dd', array('id' => 'site_content_license_cc')); $this->elementStart('dd', array('id' => 'site_content_license_cc'));
$this->elementStart('p'); $this->elementStart('p');
common_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' => $config['license']['url']),
$config['license']['title']); $config['license']['title']);
common_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' => $config['license']['image'],