add cc-license text to all content pages
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user