From 1460fc0d710ce14d6c746eb06fc8f3a5372493c2 Mon Sep 17 00:00:00 2001
From: Friendika <info@friendika.com>
Date: Sun, 23 Jan 2011 14:56:14 -0800
Subject: [PATCH] add cc-license text to all content pages

---
 mod/display.php | 3 +++
 mod/network.php | 4 +++-
 mod/profile.php | 2 ++
 3 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/mod/display.php b/mod/display.php
index de11ec35d6..aed114abc2 100644
--- a/mod/display.php
+++ b/mod/display.php
@@ -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;
 }
 
diff --git a/mod/network.php b/mod/network.php
index 096c8a79ff..f9badda78b 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -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
diff --git a/mod/profile.php b/mod/profile.php
index 9363793604..505edf5ced 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -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;
 }
-- 
2.39.5