aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/display.php2
-rw-r--r--mod/network.php3
-rw-r--r--mod/profile.php3
-rw-r--r--mod/register.php2
-rw-r--r--mod/search.php1
5 files changed, 5 insertions, 6 deletions
diff --git a/mod/display.php b/mod/display.php
index 159ff57ed..52a84e755 100644
--- a/mod/display.php
+++ b/mod/display.php
@@ -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;
}
diff --git a/mod/network.php b/mod/network.php
index 7bdd3f3f1..05b74b50a 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -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;
diff --git a/mod/profile.php b/mod/profile.php
index 71912458f..a4c6ea710 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -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;
diff --git a/mod/register.php b/mod/register.php
index fbd21a567..5fceebd4b 100644
--- a/mod/register.php
+++ b/mod/register.php
@@ -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");
diff --git a/mod/search.php b/mod/search.php
index 9b465c0e5..88ff9bbb7 100644
--- a/mod/search.php
+++ b/mod/search.php
@@ -91,6 +91,7 @@ function search_content(&$a) {
$o .= conversation($a,$r,'search',false);
$o .= paginate($a);
+ $o .= cc_license();
return $o;
}