| 1 |
<?php |
<?php |
| 2 |
// $Id: creativecommons.module,v 1.9.2.63 2009/11/04 08:16:42 balleyne Exp $ |
// $Id: creativecommons.module,v 1.9.2.64 2009/11/04 08:40:49 balleyne Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 1684 |
|
|
| 1685 |
if (variable_get('creativecommons_site_license_display', FALSE)) { |
if (variable_get('creativecommons_site_license_display', FALSE)) { |
| 1686 |
$cc = creativecommons_get_site_license(); |
$cc = creativecommons_get_site_license(); |
| 1687 |
if ($cc->is_available() && $cc->has_license()) { |
if ($cc->is_available()) { |
| 1688 |
$output = "\n<!--Creative Commons Site License-->\n". |
$output = "\n<!--Creative Commons Site License-->\n"; |
| 1689 |
|
|
| 1690 |
// HTML output |
// HTML output |
| 1691 |
$output .= $cc->get_html(TRUE); |
$output .= $cc->get_html(TRUE); |
| 1696 |
} |
} |
| 1697 |
|
|
| 1698 |
// RDF output |
// RDF output |
| 1699 |
if (variable_get('creativecommons_rdf', TRUE)) { |
if ($cc->has_license() && variable_get('creativecommons_rdf', TRUE)) { |
| 1700 |
$output .= "\n<!-- ". $cc->get_rdf() ." -->\n"; |
$output .= "\n<!-- ". $cc->get_rdf() ." -->\n"; |
| 1701 |
} |
} |
| 1702 |
|
|