]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
CC license fixes (no remote image, https for href)
authorMikael Nordfeldth <mmn@hethane.se>
Thu, 8 Jan 2015 17:13:33 +0000 (18:13 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Thu, 8 Jan 2015 17:13:33 +0000 (18:13 +0100)
lib/default.php
theme/licenses/cc_by-sa_3.0_80x15.png [new file with mode: 0644]
theme/licenses/cc_by_3.0_80x15.png [new file with mode: 0644]

index 3f4f9ab056765828c153719de6738b6c01b8d6c0..d442e1a85af11f8955283359fa8bcdee26824976 100644 (file)
@@ -113,9 +113,9 @@ $default =
         'license' =>
         array('type' => 'cc', # can be 'cc', 'allrightsreserved', 'private'
               'owner' => null, # can be name of content owner e.g. for enterprise
-              'url' => 'http://creativecommons.org/licenses/by/3.0/',
+              'url' => 'https://creativecommons.org/licenses/by/3.0/',
               'title' => 'Creative Commons Attribution 3.0',
-              'image' => 'http://i.creativecommons.org/l/by/3.0/80x15.png'),
+              'image' => $_path . '/theme/licenses/cc_by_3.0_80x15.png'),
         'mail' =>
         array('backend' => 'mail',
               'params' => null,
diff --git a/theme/licenses/cc_by-sa_3.0_80x15.png b/theme/licenses/cc_by-sa_3.0_80x15.png
new file mode 100644 (file)
index 0000000..c67509f
Binary files /dev/null and b/theme/licenses/cc_by-sa_3.0_80x15.png differ
diff --git a/theme/licenses/cc_by_3.0_80x15.png b/theme/licenses/cc_by_3.0_80x15.png
new file mode 100644 (file)
index 0000000..ecd2abc
Binary files /dev/null and b/theme/licenses/cc_by_3.0_80x15.png differ