aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-01-23 14:56:14 -0800
committerFriendika <info@friendika.com>2011-01-23 14:56:14 -0800
commit1460fc0d710ce14d6c746eb06fc8f3a5372493c2 (patch)
tree075c3811807b324715c02d67ded1b424072f308a
parent1100d7b9580cf717f28750f7c39a2db6ff551299 (diff)
downloadvolse-hubzilla-1460fc0d710ce14d6c746eb06fc8f3a5372493c2.tar.gz
volse-hubzilla-1460fc0d710ce14d6c746eb06fc8f3a5372493c2.tar.bz2
volse-hubzilla-1460fc0d710ce14d6c746eb06fc8f3a5372493c2.zip
add cc-license text to all content pages
-rw-r--r--mod/display.php3
-rw-r--r--mod/network.php4
-rw-r--r--mod/profile.php2
3 files changed, 8 insertions, 1 deletions
diff --git a/mod/display.php b/mod/display.php
index de11ec35d..aed114abc 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 096c8a79f..f9badda78 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 936379360..505edf5ce 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;
}