mirror of
https://github.com/friendica/friendica
synced 2024-11-10 04:22:54 +00:00
add cc-license text to all content pages
This commit is contained in:
parent
1100d7b958
commit
1460fc0d71
3 changed files with 8 additions and 1 deletions
|
@ -291,6 +291,9 @@ function display_content(&$a) {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
$o .= '<div class="cc-license">' . t('Shared content is covered by the <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0</a> license.') . '</div>';
|
||||
|
||||
return $o;
|
||||
}
|
||||
|
||||
|
|
|
@ -430,8 +430,10 @@ function network_content(&$a, $update = 0) {
|
|||
}
|
||||
}
|
||||
|
||||
if(! $update)
|
||||
if(! $update) {
|
||||
$o .= paginate($a);
|
||||
$o .= '<div class="cc-license">' . t('Shared content is covered by the <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0</a> license.') . '</div>';
|
||||
}
|
||||
|
||||
return $o;
|
||||
}
|
|
@ -379,6 +379,8 @@ function profile_content(&$a, $update = 0) {
|
|||
}
|
||||
|
||||
$o .= paginate($a);
|
||||
$o .= '<div class="cc-license">' . t('Shared content is covered by the <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0</a> license.') . '</div>';
|
||||
|
||||
|
||||
return $o;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue