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->elementStart('dd', array('id' => 'site_content_license_cc'));
$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',
'rel' => 'external license',
'href' => common_config('license', 'url')),
common_config('license', 'title'));
$this->text(_('. Contributors should be attributed by full name or nickname.'));
$this->text(_('license.'));
$this->elementEnd('p');
$this->element('img', array('id' => 'license_cc',
'src' => common_config('license', 'image'),
'alt' => common_config('license', 'title')));
$this->elementEnd('dd');
}

View File

@ -79,7 +79,7 @@ $config =
'license' =>
array('url' => 'http://creativecommons.org/licenses/by/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' =>
array('backend' => 'mail',
'params' => null),

View File

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