cleanup
This commit is contained in:
parent
98cdf5d315
commit
b28b468b21
11 changed files with 38 additions and 23 deletions
|
@ -114,7 +114,7 @@ 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>';
|
||||
$o .= cc_license();
|
||||
|
||||
return $o;
|
||||
}
|
||||
|
|
|
@ -297,9 +297,8 @@ function network_content(&$a, $update = 0) {
|
|||
$o .= conversation($a,$r,$mode,$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>';
|
||||
$o .= cc_license();
|
||||
}
|
||||
|
||||
return $o;
|
||||
|
|
|
@ -236,9 +236,8 @@ function profile_content(&$a, $update = 0) {
|
|||
$o .= conversation($a,$r,'profile',$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>';
|
||||
$o .= cc_license();
|
||||
}
|
||||
|
||||
return $o;
|
||||
|
|
|
@ -501,7 +501,7 @@ function register_content(&$a) {
|
|||
}
|
||||
|
||||
|
||||
$license = t('Shared content is covered by the <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0</a> license.');
|
||||
$license = cc_license();
|
||||
|
||||
|
||||
$o = get_markup_template("register.tpl");
|
||||
|
|
|
@ -91,6 +91,7 @@ function search_content(&$a) {
|
|||
$o .= conversation($a,$r,'search',false);
|
||||
|
||||
$o .= paginate($a);
|
||||
$o .= cc_license();
|
||||
|
||||
return $o;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue