$propbag->add('description', PLUGIN_CREATIVECOMMONS_DESC);
$propbag->add('stackable', false);
$propbag->add('author', 'Evan Nemerson');
- $propbag->add('version', '1.0');
+ $propbag->add('version', '1.1');
$propbag->add('requirements', array(
'serendipity' => '0.8',
'smarty' => '2.6.7',
case 'frontend_display:html_layout':
$cc_visibility = 'visible';
case 'frontend_display:html:per_entry':
- $eventData['display_dat'] = '<div style="text-align: center;">';
+ $eventData['display_dat'] .= '<div style="text-align: center;">';
if ($license_string == '') {
if ($cc_visibility == 'visible') {
$eventData['display_dat'] .= '<a href="http://creativecommons.org/licenses/publicdomain">';
break;
case 'frontend_display:rss-2.0:per_entry':
- $eventData['display_dat'] = '<creativeCommons:license>'.$license_uri.'</creativeCommons:license>';
+ $eventData['display_dat'] .= '<creativeCommons:license>'.$license_uri.'</creativeCommons:license>';
return true;
break;
case 'frontend_display:rss-1.0:per_entry':
- $eventData['display_dat'] = '<cc:license rdf:resource="'.$license_uri.'" />';
+ $eventData['display_dat'] .= '<cc:license rdf:resource="'.$license_uri.'" />';
return true;
break;
case 'frontend_display:rss-1.0:once':
- $eventData['display_dat'] = '<cc:License rdf:about="'.$license_uri.'">';
+ $eventData['display_dat'] .= '<cc:License rdf:about="'.$license_uri.'">';
foreach ($rdf as $rdf_t => $rdf_v) {
$eventData['display_dat'] .= '<cc:'.$rdf_v.' rdf:resource="http://web.resource.org/cc/'.$rdf_t.'" />';
}
break;
case 'frontend_display:rss-2.0:namespace':
- $eventData['display_dat'] = 'xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"';
+ $eventData['display_dat'] .= 'xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"';
return true;
break;
case 'frontend_display:rss-1.0:namespace':
- $eventData['display_dat'] = 'xmlns:cc="http://web.resource.org/cc/"';
+ $eventData['display_dat'] .= 'xmlns:cc="http://web.resource.org/cc/"';
return true;
break;