Updating Creative Commons text and image

This commit is contained in:
sarven 2009-01-16 15:52:17 +00:00
parent 0b8131deec
commit 4549e577ac
3 changed files with 13 additions and 10 deletions

View File

@ -436,16 +436,16 @@ 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');
$this->text(_('Unless otherwise specified, contents of this site are copyright by the contributors and available under the ')); $this->element('img', array('id' => 'license_cc',
'src' => common_config('license', 'image'),
'alt' => common_config('license', 'title')));
$this->text(_('All criti.ca content and data are available under the '));
$this->element('a', array('class' => 'license', $this->element('a', array('class' => 'license',
'rel' => 'external license', 'rel' => 'external license',
'href' => common_config('license', 'url')), 'href' => common_config('license', 'url')),
common_config('license', 'title')); common_config('license', 'title'));
$this->text(_('. Contributors should be attributed by full name or nickname.')); $this->text(_('license.'));
$this->elementEnd('p'); $this->elementEnd('p');
$this->element('img', array('id' => 'license_cc',
'src' => common_config('license', 'image'),
'alt' => common_config('license', 'title')));
$this->elementEnd('dd'); $this->elementEnd('dd');
} }

View File

@ -79,7 +79,7 @@ $config =
'license' => 'license' =>
array('url' => 'http://creativecommons.org/licenses/by/3.0/', array('url' => 'http://creativecommons.org/licenses/by/3.0/',
'title' => 'Creative Commons Attribution 3.0', 'title' => 'Creative Commons Attribution 3.0',
'image' => 'http://i.creativecommons.org/l/by/3.0/88x31.png'), 'image' => 'http://i.creativecommons.org/l/by/3.0/80x15.png'),
'mail' => 'mail' =>
array('backend' => 'mail', array('backend' => 'mail',
'params' => null), 'params' => null),

View File

@ -253,6 +253,9 @@ margin-left:0;
#licenses {
font-size:0.9em;
}
#licenses dt { #licenses dt {
font-weight:bold; font-weight:bold;
@ -260,17 +263,17 @@ display:none;
} }
#licenses dd { #licenses dd {
margin-bottom:11px; margin-bottom:11px;
line-height:1.5;
} }
#site_content_license_cc p { #site_content_license_cc p {
float:left;
margin-left:10%;
width:90%; width:90%;
} }
#site_content_license_cc img { #site_content_license_cc img {
float:left; display:inline;
margin-left:-100%; vertical-align:top;
margin-right:4px;
} }