]> git.mxchange.org Git - friendica.git/commitdiff
add cc-license text to all content pages
authorFriendika <info@friendika.com>
Sun, 23 Jan 2011 22:56:14 +0000 (14:56 -0800)
committerFriendika <info@friendika.com>
Sun, 23 Jan 2011 22:56:14 +0000 (14:56 -0800)
mod/display.php
mod/network.php
mod/profile.php

index de11ec35d65f08836f23d4a5838507fdb604f4f5..aed114abc25fa42e1af2eb1edecb14f08b60548e 100644 (file)
@@ -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;
 }
 
index 096c8a79ff1e45a59fdfb9ca5476b8eb40df0cca..f9badda78bada413e513d88920515e1bba751c77 100644 (file)
@@ -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;
 }
\ No newline at end of file
index 9363793604f2f8a6ab9463ab6cc37eef9bceb2d1..505edf5ced6be421a88b1d649066442d884d1a9c 100644 (file)
@@ -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;
 }