diff options
author | Friendika <info@friendika.com> | 2011-08-16 20:05:02 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-08-16 20:05:02 -0700 |
commit | b28b468b2182493b958afecb388501fd66de230f (patch) | |
tree | ce7adeebc826313e86b1b8ad281e2f4b8c9020a7 /mod | |
parent | 98cdf5d3153ce3b4b7bc1bd505851f4ed5c73406 (diff) | |
download | volse-hubzilla-b28b468b2182493b958afecb388501fd66de230f.tar.gz volse-hubzilla-b28b468b2182493b958afecb388501fd66de230f.tar.bz2 volse-hubzilla-b28b468b2182493b958afecb388501fd66de230f.zip |
cleanup
Diffstat (limited to 'mod')
-rw-r--r-- | mod/display.php | 2 | ||||
-rw-r--r-- | mod/network.php | 3 | ||||
-rw-r--r-- | mod/profile.php | 3 | ||||
-rw-r--r-- | mod/register.php | 2 | ||||
-rw-r--r-- | mod/search.php | 1 |
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; } |